code_text
stringlengths
604
999k
repo_name
stringlengths
4
100
file_path
stringlengths
4
873
language
stringclasses
23 values
license
stringclasses
15 values
size
int32
1.02k
999k
// Type definitions for React v0.14 (react-addons-perf) // Project: http://facebook.github.io/react/ // Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="react.d.ts" /> declare namespace __React { interface ComponentPerfContext { current: string; owner: string; } interface NumericPerfContext { [key: string]: number; } interface Measurements { exclusive: NumericPerfContext; inclusive: NumericPerfContext; render: NumericPerfContext; counts: NumericPerfContext; writes: NumericPerfContext; displayNames: { [key: string]: ComponentPerfContext; }; totalTime: number; } namespace __Addons { namespace Perf { export function start(): void; export function stop(): void; export function printInclusive(measurements: Measurements[]): void; export function printExclusive(measurements: Measurements[]): void; export function printWasted(measurements: Measurements[]): void; export function printDOM(measurements: Measurements[]): void; export function getLastMeasurements(): Measurements[]; } } } declare module "react-addons-perf" { import Perf = __React.__Addons.Perf; export = Perf; }
arcticwaters/DefinitelyTyped
react/react-addons-perf.d.ts
TypeScript
mit
1,483
package com.github.mikephil.charting.test; import com.github.mikephil.charting.components.YAxis; import com.github.mikephil.charting.renderer.AxisRenderer; import com.github.mikephil.charting.renderer.YAxisRenderer; import org.junit.Test; import static junit.framework.Assert.assertEquals; /** * Created by philipp on 31/05/16. */ public class AxisRendererTest { @Test public void testComputeAxisValues() { YAxis yAxis = new YAxis(); yAxis.setLabelCount(6); AxisRenderer renderer = new YAxisRenderer(null, yAxis, null); renderer.computeAxis(0, 100, false); float[] entries = yAxis.mEntries; assertEquals(6, entries.length); assertEquals(20, entries[1] - entries[0], 0.01); // interval 20 assertEquals(0, entries[0], 0.01); assertEquals(100, entries[entries.length - 1], 0.01); yAxis = new YAxis(); yAxis.setLabelCount(6); yAxis.setGranularity(50f); renderer = new YAxisRenderer(null, yAxis, null); renderer.computeAxis(0, 100, false); entries = yAxis.mEntries; assertEquals(3, entries.length); assertEquals(50, entries[1] - entries[0], 0.01); // interval 50 assertEquals(0, entries[0], 0.01); assertEquals(100, entries[entries.length - 1], 0.01); yAxis = new YAxis(); yAxis.setLabelCount(5, true); renderer = new YAxisRenderer(null, yAxis, null); renderer.computeAxis(0, 100, false); entries = yAxis.mEntries; assertEquals(5, entries.length); assertEquals(25, entries[1] - entries[0], 0.01); // interval 25 assertEquals(0, entries[0], 0.01); assertEquals(100, entries[entries.length - 1], 0.01); yAxis = new YAxis(); yAxis.setLabelCount(5, true); renderer = new YAxisRenderer(null, yAxis, null); renderer.computeAxis(0, 0.01f, false); entries = yAxis.mEntries; assertEquals(5, entries.length); assertEquals(0.0025, entries[1] - entries[0], 0.0001); assertEquals(0, entries[0], 0.0001); assertEquals(0.01, entries[entries.length - 1], 0.0001); yAxis = new YAxis(); yAxis.setLabelCount(5, false); renderer = new YAxisRenderer(null, yAxis, null); renderer.computeAxis(0, 0.01f, false); entries = yAxis.mEntries; assertEquals(5, entries.length); assertEquals(0.0020, entries[1] - entries[0], 0.0001); assertEquals(0, entries[0], 0.0001); assertEquals(0.0080, entries[entries.length - 1], 0.0001); yAxis = new YAxis(); yAxis.setLabelCount(6); renderer = new YAxisRenderer(null, yAxis, null); renderer.computeAxis(-50, 50, false); entries = yAxis.mEntries; assertEquals(5, entries.length); assertEquals(-40, entries[0], 0.0001); assertEquals(0, entries[2], 0.0001); assertEquals(40, entries[entries.length - 1], 0.0001); yAxis = new YAxis(); yAxis.setLabelCount(6); renderer = new YAxisRenderer(null, yAxis, null); renderer.computeAxis(-50, 100, false); entries = yAxis.mEntries; assertEquals(5, entries.length); assertEquals(-30, entries[0], 0.0001); assertEquals(30, entries[2], 0.0001); assertEquals(90, entries[entries.length - 1], 0.0001); } }
NatashaFlores/Garfo
MPChartLib/src/test/java/com/github/mikephil/charting/test/AxisRendererTest.java
Java
mit
3,396
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bridge\Doctrine; use Doctrine\Common\EventArgs; use Doctrine\Common\EventManager; use Symfony\Component\DependencyInjection\ContainerInterface; /** * Allows lazy loading of listener services. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ class ContainerAwareEventManager extends EventManager { /** * Map of registered listeners. * <event> => <listeners> * * @var array */ private $listeners = array(); private $initialized = array(); private $container; public function __construct(ContainerInterface $container) { $this->container = $container; } /** * Dispatches an event to all registered listeners. * * @param string $eventName The name of the event to dispatch. The name of the event is * the name of the method that is invoked on listeners. * @param EventArgs $eventArgs The event arguments to pass to the event handlers/listeners. * If not supplied, the single empty EventArgs instance is used. * @return boolean */ public function dispatchEvent($eventName, EventArgs $eventArgs = null) { if (isset($this->listeners[$eventName])) { $eventArgs = $eventArgs === null ? EventArgs::getEmptyInstance() : $eventArgs; $initialized = isset($this->initialized[$eventName]); foreach ($this->listeners[$eventName] as $hash => $listener) { if (!$initialized && is_string($listener)) { $this->listeners[$eventName][$hash] = $listener = $this->container->get($listener); } $listener->$eventName($eventArgs); } $this->initialized[$eventName] = true; } } /** * Gets the listeners of a specific event or all listeners. * * @param string $event The name of the event. * * @return array The event listeners for the specified event, or all event listeners. */ public function getListeners($event = null) { return $event ? $this->listeners[$event] : $this->listeners; } /** * Checks whether an event has any registered listeners. * * @param string $event * * @return boolean TRUE if the specified event has any listeners, FALSE otherwise. */ public function hasListeners($event) { return isset($this->listeners[$event]) && $this->listeners[$event]; } /** * Adds an event listener that listens on the specified events. * * @param string|array $events The event(s) to listen on. * @param object|string $listener The listener object. * * @throws \RuntimeException */ public function addEventListener($events, $listener) { if (is_string($listener)) { if ($this->initialized) { throw new \RuntimeException('Adding lazy-loading listeners after construction is not supported.'); } $hash = '_service_'.$listener; } else { // Picks the hash code related to that listener $hash = spl_object_hash($listener); } foreach ((array) $events as $event) { // Overrides listener if a previous one was associated already // Prevents duplicate listeners on same event (same instance only) $this->listeners[$event][$hash] = $listener; } } /** * Removes an event listener from the specified events. * * @param string|array $events * @param object|string $listener */ public function removeEventListener($events, $listener) { if (is_string($listener)) { $hash = '_service_'.$listener; } else { // Picks the hash code related to that listener $hash = spl_object_hash($listener); } foreach ((array) $events as $event) { // Check if actually have this listener associated if (isset($this->listeners[$event][$hash])) { unset($this->listeners[$event][$hash]); } } } }
gonnavfr/ProyectoDaw
vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php
PHP
mit
4,550
"use strict";angular.module("ngLocale",[],["$provide",function(e){var r="one",a="other";e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"],ERANAMES:["avant Cristus","suenter Cristus"],ERAS:["av. Cr.","s. Cr."],FIRSTDAYOFWEEK:0,MONTH:["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december"],SHORTDAY:["du","gli","ma","me","gie","ve","so"],SHORTMONTH:["schan.","favr.","mars","avr.","matg","zercl.","fan.","avust","sett.","oct.","nov.","dec."],STANDALONEMONTH:["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december"],WEEKENDRANGE:[5,6],fullDate:"EEEE, 'ils' d 'da' MMMM y",longDate:"d 'da' MMMM y",medium:"dd-MM-y HH:mm:ss",mediumDate:"dd-MM-y",mediumTime:"HH:mm:ss",short:"dd-MM-yy HH:mm",shortDate:"dd-MM-yy",shortTime:"HH:mm"},NUMBER_FORMATS:{CURRENCY_SYM:"CHF",DECIMAL_SEP:".",GROUP_SEP:"’",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-",negSuf:" ¤",posPre:"",posSuf:" ¤"}]},id:"rm-ch",localeID:"rm_CH",pluralCat:function(e,m){var n=0|e,t=function(e,r){var a,m,n=r;void 0===n&&(n=Math.min((a=e,-1==(m=(a+="").indexOf("."))?0:a.length-m-1),3));var t=Math.pow(10,n);return{v:n,f:(e*t|0)%t}}(e,m);return 1==n&&0==t.v?r:a}})}]);
ahocevar/cdnjs
ajax/libs/angular-i18n/1.6.9/angular-locale_rm-ch.min.js
JavaScript
mit
1,444
/*! * froala_editor v2.7.4 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2018 Froala Labs */ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c)}:a(window.jQuery)}(function(a){a.extend(a.FE.DEFAULTS,{helpSets:[{title:"Inline Editor",commands:[{val:"OSkeyE",desc:"Show the editor"}]},{title:"Common actions",commands:[{val:"OSkeyC",desc:"Copy"},{val:"OSkeyX",desc:"Cut"},{val:"OSkeyV",desc:"Paste"},{val:"OSkeyZ",desc:"Undo"},{val:"OSkeyShift+Z",desc:"Redo"},{val:"OSkeyK",desc:"Insert Link"},{val:"OSkeyP",desc:"Insert Image"}]},{title:"Basic Formatting",commands:[{val:"OSkeyA",desc:"Select All"},{val:"OSkeyB",desc:"Bold"},{val:"OSkeyI",desc:"Italic"},{val:"OSkeyU",desc:"Underline"},{val:"OSkeyS",desc:"Strikethrough"},{val:"OSkey]",desc:"Increase Indent"},{val:"OSkey[",desc:"Decrease Indent"}]},{title:"Quote",commands:[{val:"OSkey'",desc:"Increase quote level"},{val:"OSkeyShift+'",desc:"Decrease quote level"}]},{title:"Image / Video",commands:[{val:"OSkey+",desc:"Resize larger"},{val:"OSkey-",desc:"Resize smaller"}]},{title:"Table",commands:[{val:"Alt+Space",desc:"Select table cell"},{val:"Shift+Left/Right arrow",desc:"Extend selection one cell"},{val:"Shift+Up/Down arrow",desc:"Extend selection one row"}]},{title:"Navigation",commands:[{val:"OSkey/",desc:"Shortcuts"},{val:"Alt+F10",desc:"Focus popup / toolbar"},{val:"Esc",desc:"Return focus to previous position"}]}]}),a.FE.PLUGINS.help=function(b){function c(){}function d(){for(var c='<div class="fr-help-modal">',d=0;d<a.FE.DEFAULTS.helpSets.length;d++){var e=a.FE.DEFAULTS.helpSets[d],f="<table>";f+="<thead><tr><th>"+b.language.translate(e.title)+"</th></tr></thead>",f+="<tbody>";for(var g=0;g<e.commands.length;g++){var h=e.commands[g];f+="<tr>",f+="<td>"+b.language.translate(h.desc)+"</td>",f+="<td>"+h.val.replace("OSkey",b.helpers.isMac()?"&#8984;":"Ctrl+")+"</td>",f+="</tr>"}f+="</tbody></table>",c+=f}return c+="</div>"}function e(){if(!g){var c="<h4>"+b.language.translate("Shortcuts")+"</h4>",e=d(),f=b.modals.create(j,c,e);g=f.$modal,h=f.$head,i=f.$body,b.events.$on(a(b.o_win),"resize",function(){b.modals.resize(j)})}b.modals.show(j),b.modals.resize(j)}function f(){b.modals.hide(j)}var g,h,i,j="help";return{_init:c,show:e,hide:f}},a.FroalaEditor.DefineIcon("help",{NAME:"question"}),a.FE.RegisterShortcut(a.FE.KEYCODE.SLASH,"help",null,"/"),a.FE.RegisterCommand("help",{title:"Help",icon:"help",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:"help",showOnMobile:!1})});
joeyparrish/cdnjs
ajax/libs/froala-editor/2.7.4/js/plugins/help.min.js
JavaScript
mit
2,731
(function () { 'use strict'; /** * This is a generic helper to instrument "foreign" servers process. */ var spawn = require('child_process').spawn; var npmlog = require('npmlog'); var util = require('util'); var EventEmitter = require('events').EventEmitter; var Generic = function (command, args) { if (!((args = args || []) instanceof Array)) { args = [args]; } var child; var started = false; this.setCommand = function (c) { command = c; }; this.mute = false; this.start = function (moreArgs, stdin) { if (!((moreArgs = moreArgs || []) instanceof Array)) { moreArgs = [moreArgs]; } child = spawn(command, args.concat(moreArgs)); var stdout = '', stderr = ''; child.stdout.setEncoding('utf8'); child.stdout.once('data', function () { if (!started) { started = true; this.emit('started'); npmlog.silly('Server#' + command, 'started with', args, 'and', moreArgs); } }.bind(this)); child.stderr.once('data', function () { if (!started) { started = true; this.emit('started'); npmlog.silly('Server#' + command, 'started with', args, 'and', moreArgs); } }.bind(this)); child.stdout.on('data', function (data) { stdout += data; npmlog.silly('Server#' + command, '', data); }); child.stderr.setEncoding('utf8'); child.stderr.on('data', function (data) { stderr += data; if (this.mute) { npmlog.silly('Server#' + command, '', data); } else { npmlog.error('Server#' + command, '', data); } }.bind(this)); child.on('error', function(err) { var msg = 'Failed to spawn ' + '"' + command + ' ' + args.concat(moreArgs) + '" ' + '(' + err + ')'; npmlog.error(msg); this.emit('error', new Error(msg)); }.bind(this)); child.on('close', function (code) { child = null; npmlog.silly('Server#' + command, '', 'Done with exit code ' + code); this.emit('stopped'); }.bind(this)); if (stdin) { if (stdin instanceof Array) { stdin = stdin.join('\n'); } child.stdin.write(stdin + '\n'); child.stdin.end(); } return this; }; this.stop = function () { if (started) { npmlog.silly('Server#' + command, '', 'Will close'); started = false; child.kill(); } return this; }; }; util.inherits(Generic, EventEmitter); module.exports = Generic; })();
jamesbond12/hipache
test/fixtures/servers/generic.js
JavaScript
mit
3,209
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\IpMessaging\V1\Service; use Twilio\ListResource; use Twilio\Options; use Twilio\Values; use Twilio\Version; class UserList extends ListResource { /** * Construct the UserList * * @param Version $version Version that contains the resource * @param string $serviceSid The unique id of the Service this user belongs to. * @return \Twilio\Rest\IpMessaging\V1\Service\UserList */ public function __construct(Version $version, $serviceSid) { parent::__construct($version); // Path Solution $this->solution = array('serviceSid' => $serviceSid, ); $this->uri = '/Services/' . rawurlencode($serviceSid) . '/Users'; } /** * Create a new UserInstance * * @param string $identity A unique string that identifies the user within this * service - often a username or email address. * @param array|Options $options Optional Arguments * @return UserInstance Newly created UserInstance * @throws TwilioException When an HTTP error occurs. */ public function create($identity, $options = array()) { $options = new Values($options); $data = Values::of(array( 'Identity' => $identity, 'RoleSid' => $options['roleSid'], 'Attributes' => $options['attributes'], 'FriendlyName' => $options['friendlyName'], )); $payload = $this->version->create( 'POST', $this->uri, array(), $data ); return new UserInstance($this->version, $payload, $this->solution['serviceSid']); } /** * Streams UserInstance records from the API as a generator stream. * This operation lazily loads records as efficiently as possible until the * limit * is reached. * The results are returned as a generator, so this operation is memory * efficient. * * @param int $limit Upper limit for the number of records to return. stream() * guarantees to never return more than limit. Default is no * limit * @param mixed $pageSize Number of records to fetch per request, when not set * will use the default value of 50 records. If no * page_size is defined but a limit is defined, stream() * will attempt to read the limit with the most * efficient page size, i.e. min(limit, 1000) * @return \Twilio\Stream stream of results */ public function stream($limit = null, $pageSize = null) { $limits = $this->version->readLimits($limit, $pageSize); $page = $this->page($limits['pageSize']); return $this->version->stream($page, $limits['limit'], $limits['pageLimit']); } /** * Reads UserInstance records from the API as a list. * Unlike stream(), this operation is eager and will load `limit` records into * memory before returning. * * @param int $limit Upper limit for the number of records to return. read() * guarantees to never return more than limit. Default is no * limit * @param mixed $pageSize Number of records to fetch per request, when not set * will use the default value of 50 records. If no * page_size is defined but a limit is defined, read() * will attempt to read the limit with the most * efficient page size, i.e. min(limit, 1000) * @return UserInstance[] Array of results */ public function read($limit = null, $pageSize = null) { return iterator_to_array($this->stream($limit, $pageSize), false); } /** * Retrieve a single page of UserInstance records from the API. * Request is executed immediately * * @param mixed $pageSize Number of records to return, defaults to 50 * @param string $pageToken PageToken provided by the API * @param mixed $pageNumber Page Number, this value is simply for client state * @return \Twilio\Page Page of UserInstance */ public function page($pageSize = Values::NONE, $pageToken = Values::NONE, $pageNumber = Values::NONE) { $params = Values::of(array( 'PageToken' => $pageToken, 'Page' => $pageNumber, 'PageSize' => $pageSize, )); $response = $this->version->page( 'GET', $this->uri, $params ); return new UserPage($this->version, $response, $this->solution); } /** * Retrieve a specific page of UserInstance records from the API. * Request is executed immediately * * @param string $targetUrl API-generated URL for the requested results page * @return \Twilio\Page Page of UserInstance */ public function getPage($targetUrl) { $response = $this->version->getDomain()->getClient()->request( 'GET', $targetUrl ); return new UserPage($this->version, $response, $this->solution); } /** * Constructs a UserContext * * @param string $sid The sid * @return \Twilio\Rest\IpMessaging\V1\Service\UserContext */ public function getContext($sid) { return new UserContext($this->version, $this->solution['serviceSid'], $sid); } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { return '[Twilio.IpMessaging.V1.UserList]'; } }
camperjz/una
plugins/Twilio/Rest/IpMessaging/V1/Service/UserList.php
PHP
mit
5,848
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>posix::basic_stream_descriptor::lowest_layer_type</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../posix__basic_stream_descriptor.html" title="posix::basic_stream_descriptor"> <link rel="prev" href="lowest_layer/overload2.html" title="posix::basic_stream_descriptor::lowest_layer (2 of 2 overloads)"> <link rel="next" href="native.html" title="posix::basic_stream_descriptor::native"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="lowest_layer/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../posix__basic_stream_descriptor.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type"></a><a class="link" href="lowest_layer_type.html" title="posix::basic_stream_descriptor::lowest_layer_type">posix::basic_stream_descriptor::lowest_layer_type</a> </h4></div></div></div> <p> <span class="emphasis"><em>Inherited from posix::basic_descriptor.</em></span> </p> <p> <a class="indexterm" name="idp155347504"></a> A <a class="link" href="../posix__basic_descriptor.html" title="posix::basic_descriptor"><code class="computeroutput"><span class="identifier">posix</span><span class="special">::</span><span class="identifier">basic_descriptor</span></code></a> is always the lowest layer. </p> <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_descriptor</span><span class="special">&lt;</span> <span class="identifier">StreamDescriptorService</span> <span class="special">&gt;</span> <span class="identifier">lowest_layer_type</span><span class="special">;</span> </pre> <h6> <a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.h0"></a> <span class="phrase"><a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.types"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.types">Types</a> </h6> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/bytes_readable.html" title="posix::basic_descriptor::bytes_readable"><span class="bold"><strong>bytes_readable</strong></span></a> </p> </td> <td> <p> IO control command to get the amount of data that can be read without blocking. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/implementation_type.html" title="posix::basic_descriptor::implementation_type"><span class="bold"><strong>implementation_type</strong></span></a> </p> </td> <td> <p> The underlying implementation type of I/O object. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/lowest_layer_type.html" title="posix::basic_descriptor::lowest_layer_type"><span class="bold"><strong>lowest_layer_type</strong></span></a> </p> </td> <td> <p> A basic_descriptor is always the lowest layer. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/native_handle_type.html" title="posix::basic_descriptor::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a> </p> </td> <td> <p> The native representation of a descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/native_type.html" title="posix::basic_descriptor::native_type"><span class="bold"><strong>native_type</strong></span></a> </p> </td> <td> <p> (Deprecated: Use native_handle_type.) The native representation of a descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/non_blocking_io.html" title="posix::basic_descriptor::non_blocking_io"><span class="bold"><strong>non_blocking_io</strong></span></a> </p> </td> <td> <p> (Deprecated: Use non_blocking().) IO control command to set the blocking mode of the descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/service_type.html" title="posix::basic_descriptor::service_type"><span class="bold"><strong>service_type</strong></span></a> </p> </td> <td> <p> The type of the service that will be used to provide I/O operations. </p> </td> </tr> </tbody> </table></div> <h6> <a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.h1"></a> <span class="phrase"><a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.member_functions"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.member_functions">Member Functions</a> </h6> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/assign.html" title="posix::basic_descriptor::assign"><span class="bold"><strong>assign</strong></span></a> </p> </td> <td> <p> Assign an existing native descriptor to the descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/basic_descriptor.html" title="posix::basic_descriptor::basic_descriptor"><span class="bold"><strong>basic_descriptor</strong></span></a> </p> </td> <td> <p> Construct a basic_descriptor without opening it. </p> <p> Construct a basic_descriptor on an existing native descriptor. </p> <p> Move-construct a basic_descriptor from another. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/cancel.html" title="posix::basic_descriptor::cancel"><span class="bold"><strong>cancel</strong></span></a> </p> </td> <td> <p> Cancel all asynchronous operations associated with the descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/close.html" title="posix::basic_descriptor::close"><span class="bold"><strong>close</strong></span></a> </p> </td> <td> <p> Close the descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/get_io_service.html" title="posix::basic_descriptor::get_io_service"><span class="bold"><strong>get_io_service</strong></span></a> </p> </td> <td> <p> Get the io_service associated with the object. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/io_control.html" title="posix::basic_descriptor::io_control"><span class="bold"><strong>io_control</strong></span></a> </p> </td> <td> <p> Perform an IO control command on the descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/is_open.html" title="posix::basic_descriptor::is_open"><span class="bold"><strong>is_open</strong></span></a> </p> </td> <td> <p> Determine whether the descriptor is open. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/lowest_layer.html" title="posix::basic_descriptor::lowest_layer"><span class="bold"><strong>lowest_layer</strong></span></a> </p> </td> <td> <p> Get a reference to the lowest layer. </p> <p> Get a const reference to the lowest layer. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/native.html" title="posix::basic_descriptor::native"><span class="bold"><strong>native</strong></span></a> </p> </td> <td> <p> (Deprecated: Use native_handle().) Get the native descriptor representation. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/native_handle.html" title="posix::basic_descriptor::native_handle"><span class="bold"><strong>native_handle</strong></span></a> </p> </td> <td> <p> Get the native descriptor representation. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/native_non_blocking.html" title="posix::basic_descriptor::native_non_blocking"><span class="bold"><strong>native_non_blocking</strong></span></a> </p> </td> <td> <p> Gets the non-blocking mode of the native descriptor implementation. </p> <p> Sets the non-blocking mode of the native descriptor implementation. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/non_blocking.html" title="posix::basic_descriptor::non_blocking"><span class="bold"><strong>non_blocking</strong></span></a> </p> </td> <td> <p> Gets the non-blocking mode of the descriptor. </p> <p> Sets the non-blocking mode of the descriptor. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/operator_eq_.html" title="posix::basic_descriptor::operator="><span class="bold"><strong>operator=</strong></span></a> </p> </td> <td> <p> Move-assign a basic_descriptor from another. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/release.html" title="posix::basic_descriptor::release"><span class="bold"><strong>release</strong></span></a> </p> </td> <td> <p> Release ownership of the native descriptor implementation. </p> </td> </tr> </tbody> </table></div> <h6> <a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.h2"></a> <span class="phrase"><a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.protected_member_functions"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.protected_member_functions">Protected Member Functions</a> </h6> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/get_implementation.html" title="posix::basic_descriptor::get_implementation"><span class="bold"><strong>get_implementation</strong></span></a> </p> </td> <td> <p> Get the underlying implementation of the I/O object. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/get_service.html" title="posix::basic_descriptor::get_service"><span class="bold"><strong>get_service</strong></span></a> </p> </td> <td> <p> Get the service associated with the I/O object. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/_basic_descriptor.html" title="posix::basic_descriptor::~basic_descriptor"><span class="bold"><strong>~basic_descriptor</strong></span></a> </p> </td> <td> <p> Protected destructor to prevent deletion through this type. </p> </td> </tr> </tbody> </table></div> <h6> <a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.h3"></a> <span class="phrase"><a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.protected_data_members"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.protected_data_members">Protected Data Members</a> </h6> <div class="informaltable"><table class="table"> <colgroup> <col> <col> </colgroup> <thead><tr> <th> <p> Name </p> </th> <th> <p> Description </p> </th> </tr></thead> <tbody> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/implementation.html" title="posix::basic_descriptor::implementation"><span class="bold"><strong>implementation</strong></span></a> </p> </td> <td> <p> (Deprecated: Use get_implementation().) The underlying implementation of the I/O object. </p> </td> </tr> <tr> <td> <p> <a class="link" href="../posix__basic_descriptor/service.html" title="posix::basic_descriptor::service"><span class="bold"><strong>service</strong></span></a> </p> </td> <td> <p> (Deprecated: Use get_service().) The service associated with the I/O object. </p> </td> </tr> </tbody> </table></div> <p> The <a class="link" href="../posix__basic_descriptor.html" title="posix::basic_descriptor"><code class="computeroutput"><span class="identifier">posix</span><span class="special">::</span><span class="identifier">basic_descriptor</span></code></a> class template provides the ability to wrap a POSIX descriptor. </p> <h6> <a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.h4"></a> <span class="phrase"><a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.thread_safety"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.thread_safety">Thread Safety</a> </h6> <p> <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe. </p> <p> <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe. </p> <h6> <a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.h5"></a> <span class="phrase"><a name="boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.requirements"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.posix__basic_stream_descriptor.lowest_layer_type.requirements">Requirements</a> </h6> <p> <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/posix/basic_stream_descriptor.hpp</code> </p> <p> <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2003-2015 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="lowest_layer/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../posix__basic_stream_descriptor.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="native.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
ycsoft/FatCat-Server
LIBS/boost_1_58_0/doc/html/boost_asio/reference/posix__basic_stream_descriptor/lowest_layer_type.html
HTML
mit
20,457
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@zend.com so we can send you a copy immediately. * * @category Zend * @package Zend_Form * @subpackage UnitTests * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @version $Id$ */ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Zend_Form_SubFormTest::main'); } // error_reporting(E_ALL); require_once 'Zend/Form/SubForm.php'; require_once 'Zend/View.php'; require_once 'Zend/Version.php'; /** * @category Zend * @package Zend_Form * @subpackage UnitTests * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @group Zend_Form */ class Zend_Form_SubFormTest extends PHPUnit_Framework_TestCase { public static function main() { $suite = new PHPUnit_Framework_TestSuite('Zend_Form_SubFormTest'); $result = PHPUnit_TextUI_TestRunner::run($suite); } public function setUp() { Zend_Form::setDefaultTranslator(null); $this->form = new Zend_Form_SubForm(); } public function tearDown() { } // General public function testSubFormUtilizesDefaultDecorators() { $decorators = $this->form->getDecorators(); $this->assertTrue(array_key_exists('Zend_Form_Decorator_FormElements', $decorators)); $this->assertTrue(array_key_exists('Zend_Form_Decorator_HtmlTag', $decorators)); $this->assertTrue(array_key_exists('Zend_Form_Decorator_Fieldset', $decorators)); $this->assertTrue(array_key_exists('Zend_Form_Decorator_DtDdWrapper', $decorators)); $htmlTag = $decorators['Zend_Form_Decorator_HtmlTag']; $tag = $htmlTag->getOption('tag'); $this->assertEquals('dl', $tag); } public function testSubFormIsArrayByDefault() { $this->assertTrue($this->form->isArray()); } public function testElementsBelongToSubFormNameByDefault() { $this->testSubFormIsArrayByDefault(); $this->form->setName('foo'); $this->assertEquals($this->form->getName(), $this->form->getElementsBelongTo()); } // Extensions public function testInitCalledBeforeLoadDecorators() { $form = new Zend_Form_SubFormTest_SubForm(); $decorators = $form->getDecorators(); $this->assertTrue(empty($decorators)); } // Bugfixes /** * @group ZF-2883 */ public function testDisplayGroupsShouldInheritSubFormNamespace() { $this->form->addElement('text', 'foo') ->addElement('text', 'bar') ->addDisplayGroup(array('foo', 'bar'), 'foobar'); $form = new Zend_Form(); $form->addSubForm($this->form, 'attributes'); $html = $form->render(new Zend_View()); $this->assertContains('name="attributes[foo]"', $html); $this->assertContains('name="attributes[bar]"', $html); } /** * @group ZF-3272 */ public function testRenderedSubFormDtShouldContainNoBreakSpace() { $subForm = new Zend_Form_SubForm(array( 'elements' => array( 'foo' => 'text', 'bar' => 'text', ), )); $form = new Zend_Form(); $form->addSubForm($subForm, 'foobar') ->setView(new Zend_View); $html = $form->render(); $this->assertContains('>&#160;</dt>', $html ); } /** * Prove the fluent interface on Zend_Form_Subform::loadDefaultDecorators * * @link http://framework.zend.com/issues/browse/ZF-9913 * @return void */ public function testFluentInterfaceOnLoadDefaultDecorators() { $this->assertSame($this->form, $this->form->loadDefaultDecorators()); } /** * @see ZF-11504 */ public function testSubFormWithNumericName() { $subForm = new Zend_Form_SubForm(array( 'elements' => array( 'foo' => 'text', 'bar' => 'text', ), )); $form = new Zend_Form(); $form->addSubForm($subForm, 0); $form->addSubForm($subForm, 234); $form2 = clone $form; $this->assertEquals($form2->getSubForm(234)->getName(),234); $this->assertEquals($form2->getSubForm(0)->getName(),0); } } class Zend_Form_SubFormTest_SubForm extends Zend_Form_SubForm { public function init() { $this->setDisableLoadDefaultDecorators(true); } } if (PHPUnit_MAIN_METHOD == 'Zend_Form_SubFormTest::main') { Zend_Form_SubFormTest::main(); }
cappadona/Suma
service/lib/zend/tests/Zend/Form/SubFormTest.php
PHP
mit
5,119
package lfs // Batcher provides a way to process a set of items in groups of n. Items can // be added to the batcher from multiple goroutines and pulled off in groups // when one of the following conditions occurs: // * The batch size is reached // * Flush() is called // * Exit() is called // When a timeout, Flush(), or Exit() occurs, the group may be smaller than the // batch size. type Batcher struct { batchSize int input chan Transferable batchReady chan []Transferable } // NewBatcher creates a Batcher with the batchSize. func NewBatcher(batchSize int) *Batcher { b := &Batcher{ batchSize: batchSize, input: make(chan Transferable, batchSize), batchReady: make(chan []Transferable), } b.run() return b } // Add adds an item to the batcher. Add is safe to call from multiple // goroutines. func (b *Batcher) Add(t Transferable) { b.input <- t } // Next will wait for the one of the above batch triggers to occur and return // the accumulated batch. func (b *Batcher) Next() []Transferable { return <-b.batchReady } // Exit stops all batching and allows Next() to return. Calling Add() after // calling Exit() will result in a panic. func (b *Batcher) Exit() { close(b.input) } func (b *Batcher) run() { go func() { exit := false for { batch := make([]Transferable, 0, b.batchSize) Loop: for i := 0; i < b.batchSize; i++ { select { case t, ok := <-b.input: if ok { batch = append(batch, t) } else { exit = true // input channel was closed by Exit() break Loop } } } b.batchReady <- batch if exit { return } } }() }
JeckoHeroOrg/-git-lfs_miilkyway
lfs/batcher.go
GO
mit
1,642
<?php /* * This file is part of the broadway/broadway package. * * (c) Qandidate.com <opensource@qandidate.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Broadway\EventSourcing; use Broadway\Domain\AggregateRoot as AggregateRootInterface; use Broadway\Domain\DomainEventStream; use Broadway\Domain\DomainEventStreamInterface; use Broadway\Domain\DomainMessage; use Broadway\Domain\Metadata; /** * Convenience base class for event sourced aggregate roots. */ abstract class EventSourcedAggregateRoot implements AggregateRootInterface { /** * @var array */ private $uncommittedEvents = array(); private $playhead = -1; // 0-based playhead allows events[0] to contain playhead 0 /** * Applies an event. The event is added to the AggregateRoot's list of uncommitted events. * * @param $event */ public function apply($event) { $this->handleRecursively($event); $this->playhead++; $this->uncommittedEvents[] = DomainMessage::recordNow( $this->getAggregateRootId(), $this->playhead, new Metadata(array()), $event ); } /** * {@inheritDoc} */ public function getUncommittedEvents() { $stream = new DomainEventStream($this->uncommittedEvents); $this->uncommittedEvents = array(); return $stream; } /** * Initializes the aggregate using the given "history" of events. */ public function initializeState(DomainEventStreamInterface $stream) { foreach ($stream as $message) { $this->playhead++; $this->handleRecursively($message->getPayload()); } } /** * Handles event if capable. * * @param $event */ protected function handle($event) { $method = $this->getApplyMethod($event); if (! method_exists($this, $method)) { return; } $this->$method($event); } /** * {@inheritDoc} */ protected function handleRecursively($event) { $this->handle($event); foreach ($this->getChildEntities() as $entity) { $entity->registerAggregateRoot($this); $entity->handleRecursively($event); } } /** * Returns all child entities * * Override this method if your aggregate root contains child entities. * * @return array */ protected function getChildEntities() { return array(); } private function getApplyMethod($event) { $classParts = explode('\\', get_class($event)); return 'apply' . end($classParts); } }
Miliooo/broadway
src/Broadway/EventSourcing/EventSourcedAggregateRoot.php
PHP
mit
2,800
// Copyright 1998-2002 John Maddock // Copyright 2017 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // See library home page at http://www.boost.org/libs/regex #include <boost/regex.hpp> #include <boost/core/lightweight_test.hpp> #include <string> bool validate_card_format(const std::string& s) { static const boost::regex e("(\\d{4}[- ]){3}\\d{4}"); return boost::regex_match(s, e); } const boost::regex card_rx("\\A(\\d{3,4})[- ]?(\\d{4})[- ]?(\\d{4})[- ]?(\\d{4})\\z"); const std::string machine_format("\\1\\2\\3\\4"); const std::string human_format("\\1-\\2-\\3-\\4"); std::string machine_readable_card_number(const std::string& s) { return boost::regex_replace(s, card_rx, machine_format, boost::match_default | boost::format_sed); } std::string human_readable_card_number(const std::string& s) { return boost::regex_replace(s, card_rx, human_format, boost::match_default | boost::format_sed); } int main() { std::string s[ 4 ] = { "0000111122223333", "0000 1111 2222 3333", "0000-1111-2222-3333", "000-1111-2222-3333" }; BOOST_TEST( !validate_card_format( s[0] ) ); BOOST_TEST_EQ( machine_readable_card_number( s[0] ), s[0] ); BOOST_TEST_EQ( human_readable_card_number( s[0] ), s[2] ); BOOST_TEST( validate_card_format( s[1] ) ); BOOST_TEST_EQ( machine_readable_card_number( s[1] ), s[0] ); BOOST_TEST_EQ( human_readable_card_number( s[1] ), s[2] ); BOOST_TEST( validate_card_format( s[2] ) ); BOOST_TEST_EQ( machine_readable_card_number( s[2] ), s[0] ); BOOST_TEST_EQ( human_readable_card_number( s[2] ), s[2] ); BOOST_TEST( !validate_card_format( s[3] ) ); return boost::report_errors(); }
rcaelers/esp32-beacon-scanner
components/loopp/boost/ext/libs/regex/test/quick.cpp
C++
mit
1,803
/* AstAlg_nutation_corr.c ====================== Author: Kile Baker */ /* Copyright and License Information This source file is part of a library of files implementing portions of the algorithms given in the book _Astronomical Algorithms_ by Jean Meeus. Software Copyright (C) 2006, U.S. Government Author: Kile B. Baker National Science Foundation 4201 Wilson Blvd, Arlington, VA 22230 email: kbaker@nsf.gov 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 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* This routine calculates the corrections to the solar longitude and obliquity that arize due to the nutation of the earth's spin. Calling Sequence: void AstAlg_nutation_corr(double jd, double *slong_corr, double *obliq_corr) */ /* ----------------- REFERENCE ------------------------ The software contained herein is derived from algorithms published in the book _Astronomical Algorithms_, Second Edition, by Jean Meeus, publisher: Willman-Bell, Inc., Richmond, Virginia, 1998 (corrections dated 2005). The book will be referred to as "Meeus" for short. */ #include <math.h> #include "AstAlg.h" void AstAlg_nutation_corr(double jd, double *slong_corr, double *obliq_corr) { double slong, lunlong, omega; static double last_jd, last_slcorr, last_oblcorr; /* just return the values if they've already been calculated */ if (jd == last_jd) { *slong_corr = last_slcorr; *obliq_corr = last_oblcorr; } /* get the mean solar longitude and mean lunar longitude in radians */ slong = AstAlg_DTOR * AstAlg_mean_solar_longitude(jd); lunlong = AstAlg_DTOR * AstAlg_mean_lunar_longitude(jd); omega = AstAlg_DTOR * AstAlg_lunar_ascending_node(jd); /* the next line computes the correction to the solar longitude in arcsecs */ *slong_corr = -17.20 * sin(omega) - 1.32 * sin(2.0*slong) - 0.23 * sin(2.0*lunlong) + 0.21 * sin(2.0*omega); /* convert from arcsec to degrees */ *slong_corr = *slong_corr/3600.0; /* Next we calculate the correction to the obliquity in arcsecs */ *obliq_corr = 9.20 * cos(omega) + 0.57 * cos(2.0*slong) + 0.10 * cos(2.0*lunlong) - 0.09 * cos(2.0*omega); *obliq_corr = *obliq_corr/3600.0; /* save the calculated values in case their needed again */ last_jd = jd; last_slcorr = *slong_corr; last_oblcorr = *obliq_corr; return; }
simonmr/SuperDARN_MSI_ROS
linux/home/radar/ros.3.6/codebase/analysis/src.lib/astalg/astalg.1.5/src/AstAlg_nutation_corr.c
C
mit
3,050
define("dojo/_base/declare", ["./kernel", "../has", "./lang"], function(dojo, has, lang){ // module: // dojo/_base/declare var mix = lang.mixin, op = Object.prototype, opts = op.toString, xtor = new Function, counter = 0, cname = "constructor"; function err(msg, cls){ throw new Error("declare" + (cls ? " " + cls : "") + ": " + msg); } // C3 Method Resolution Order (see http://www.python.org/download/releases/2.3/mro/) function c3mro(bases, className){ var result = [], roots = [{cls: 0, refs: []}], nameMap = {}, clsCount = 1, l = bases.length, i = 0, j, lin, base, top, proto, rec, name, refs; // build a list of bases naming them if needed for(; i < l; ++i){ base = bases[i]; if(!base){ err("mixin #" + i + " is unknown. Did you use dojo.require to pull it in?", className); }else if(opts.call(base) != "[object Function]"){ err("mixin #" + i + " is not a callable constructor.", className); } lin = base._meta ? base._meta.bases : [base]; top = 0; // add bases to the name map for(j = lin.length - 1; j >= 0; --j){ proto = lin[j].prototype; if(!proto.hasOwnProperty("declaredClass")){ proto.declaredClass = "uniqName_" + (counter++); } name = proto.declaredClass; if(!nameMap.hasOwnProperty(name)){ nameMap[name] = {count: 0, refs: [], cls: lin[j]}; ++clsCount; } rec = nameMap[name]; if(top && top !== rec){ rec.refs.push(top); ++top.count; } top = rec; } ++top.count; roots[0].refs.push(top); } // remove classes without external references recursively while(roots.length){ top = roots.pop(); result.push(top.cls); --clsCount; // optimization: follow a single-linked chain while(refs = top.refs, refs.length == 1){ top = refs[0]; if(!top || --top.count){ // branch or end of chain => do not end to roots top = 0; break; } result.push(top.cls); --clsCount; } if(top){ // branch for(i = 0, l = refs.length; i < l; ++i){ top = refs[i]; if(!--top.count){ roots.push(top); } } } } if(clsCount){ err("can't build consistent linearization", className); } // calculate the superclass offset base = bases[0]; result[0] = base ? base._meta && base === result[result.length - base._meta.bases.length] ? base._meta.bases.length : 1 : 0; return result; } function inherited(args, a, f){ var name, chains, bases, caller, meta, base, proto, opf, pos, cache = this._inherited = this._inherited || {}; // crack arguments if(typeof args == "string"){ name = args; args = a; a = f; } f = 0; caller = args.callee; name = name || caller.nom; if(!name){ err("can't deduce a name to call inherited()", this.declaredClass); } meta = this.constructor._meta; bases = meta.bases; pos = cache.p; if(name != cname){ // method if(cache.c !== caller){ // cache bust pos = 0; base = bases[0]; meta = base._meta; if(meta.hidden[name] !== caller){ // error detection chains = meta.chains; if(chains && typeof chains[name] == "string"){ err("calling chained method with inherited: " + name, this.declaredClass); } // find caller do{ meta = base._meta; proto = base.prototype; if(meta && (proto[name] === caller && proto.hasOwnProperty(name) || meta.hidden[name] === caller)){ break; } }while(base = bases[++pos]); // intentional assignment pos = base ? pos : -1; } } // find next base = bases[++pos]; if(base){ proto = base.prototype; if(base._meta && proto.hasOwnProperty(name)){ f = proto[name]; }else{ opf = op[name]; do{ proto = base.prototype; f = proto[name]; if(f && (base._meta ? proto.hasOwnProperty(name) : f !== opf)){ break; } }while(base = bases[++pos]); // intentional assignment } } f = base && f || op[name]; }else{ // constructor if(cache.c !== caller){ // cache bust pos = 0; meta = bases[0]._meta; if(meta && meta.ctor !== caller){ // error detection chains = meta.chains; if(!chains || chains.constructor !== "manual"){ err("calling chained constructor with inherited", this.declaredClass); } // find caller while(base = bases[++pos]){ // intentional assignment meta = base._meta; if(meta && meta.ctor === caller){ break; } } pos = base ? pos : -1; } } // find next while(base = bases[++pos]){ // intentional assignment meta = base._meta; f = meta ? meta.ctor : base; if(f){ break; } } f = base && f; } // cache the found super method cache.c = f; cache.p = pos; // now we have the result if(f){ return a === true ? f : f.apply(this, a || args); } // intentionally no return if a super method was not found } function getInherited(name, args){ if(typeof name == "string"){ return this.__inherited(name, args, true); } return this.__inherited(name, true); } function inherited__debug(args, a1, a2){ var f = this.getInherited(args, a1); if(f){ return f.apply(this, a2 || a1 || args); } // intentionally no return if a super method was not found } var inheritedImpl = dojo.config.isDebug ? inherited__debug : inherited; // emulation of "instanceof" function isInstanceOf(cls){ var bases = this.constructor._meta.bases; for(var i = 0, l = bases.length; i < l; ++i){ if(bases[i] === cls){ return true; } } return this instanceof cls; } function mixOwn(target, source){ // add props adding metadata for incoming functions skipping a constructor for(var name in source){ if(name != cname && source.hasOwnProperty(name)){ target[name] = source[name]; } } if(has("bug-for-in-skips-shadowed")){ for(var extraNames= lang._extraNames, i= extraNames.length; i;){ name = extraNames[--i]; if(name != cname && source.hasOwnProperty(name)){ target[name] = source[name]; } } } } // implementation of safe mixin function function safeMixin(target, source){ // summary: // Mix in properties skipping a constructor and decorating functions // like it is done by declare(). // target: Object // Target object to accept new properties. // source: Object // Source object for new properties. // description: // This function is used to mix in properties like lang.mixin does, // but it skips a constructor property and decorates functions like // declare() does. // // It is meant to be used with classes and objects produced with // declare. Functions mixed in with dojo.safeMixin can use // this.inherited() like normal methods. // // This function is used to implement extend() method of a constructor // produced with declare(). // // example: // | var A = declare(null, { // | m1: function(){ // | console.log("A.m1"); // | }, // | m2: function(){ // | console.log("A.m2"); // | } // | }); // | var B = declare(A, { // | m1: function(){ // | this.inherited(arguments); // | console.log("B.m1"); // | } // | }); // | B.extend({ // | m2: function(){ // | this.inherited(arguments); // | console.log("B.m2"); // | } // | }); // | var x = new B(); // | dojo.safeMixin(x, { // | m1: function(){ // | this.inherited(arguments); // | console.log("X.m1"); // | }, // | m2: function(){ // | this.inherited(arguments); // | console.log("X.m2"); // | } // | }); // | x.m2(); // | // prints: // | // A.m1 // | // B.m1 // | // X.m1 var name, t; // add props adding metadata for incoming functions skipping a constructor for(name in source){ t = source[name]; if((t !== op[name] || !(name in op)) && name != cname){ if(opts.call(t) == "[object Function]"){ // non-trivial function method => attach its name t.nom = name; } target[name] = t; } } if(has("bug-for-in-skips-shadowed") && source){ for(var extraNames= lang._extraNames, i= extraNames.length; i;){ name = extraNames[--i]; t = source[name]; if((t !== op[name] || !(name in op)) && name != cname){ if(opts.call(t) == "[object Function]"){ // non-trivial function method => attach its name t.nom = name; } target[name] = t; } } } return target; } function extend(source){ declare.safeMixin(this.prototype, source); return this; } function createSubclass(mixins, props){ // crack parameters if(!(mixins instanceof Array || typeof mixins == 'function')){ props = mixins; mixins = undefined; } props = props || {}; mixins = mixins || []; return declare([this].concat(mixins), props); } // chained constructor compatible with the legacy declare() function chainedConstructor(bases, ctorSpecial){ return function(){ var a = arguments, args = a, a0 = a[0], f, i, m, l = bases.length, preArgs; if(!(this instanceof a.callee)){ // not called via new, so force it return applyNew(a); } //this._inherited = {}; // perform the shaman's rituals of the original declare() // 1) call two types of the preamble if(ctorSpecial && (a0 && a0.preamble || this.preamble)){ // full blown ritual preArgs = new Array(bases.length); // prepare parameters preArgs[0] = a; for(i = 0;;){ // process the preamble of the 1st argument a0 = a[0]; if(a0){ f = a0.preamble; if(f){ a = f.apply(this, a) || a; } } // process the preamble of this class f = bases[i].prototype; f = f.hasOwnProperty("preamble") && f.preamble; if(f){ a = f.apply(this, a) || a; } // one peculiarity of the preamble: // it is called if it is not needed, // e.g., there is no constructor to call // let's watch for the last constructor // (see ticket #9795) if(++i == l){ break; } preArgs[i] = a; } } // 2) call all non-trivial constructors using prepared arguments for(i = l - 1; i >= 0; --i){ f = bases[i]; m = f._meta; f = m ? m.ctor : f; if(f){ f.apply(this, preArgs ? preArgs[i] : a); } } // 3) continue the original ritual: call the postscript f = this.postscript; if(f){ f.apply(this, args); } }; } // chained constructor compatible with the legacy declare() function singleConstructor(ctor, ctorSpecial){ return function(){ var a = arguments, t = a, a0 = a[0], f; if(!(this instanceof a.callee)){ // not called via new, so force it return applyNew(a); } //this._inherited = {}; // perform the shaman's rituals of the original declare() // 1) call two types of the preamble if(ctorSpecial){ // full blown ritual if(a0){ // process the preamble of the 1st argument f = a0.preamble; if(f){ t = f.apply(this, t) || t; } } f = this.preamble; if(f){ // process the preamble of this class f.apply(this, t); // one peculiarity of the preamble: // it is called even if it is not needed, // e.g., there is no constructor to call // let's watch for the last constructor // (see ticket #9795) } } // 2) call a constructor if(ctor){ ctor.apply(this, a); } // 3) continue the original ritual: call the postscript f = this.postscript; if(f){ f.apply(this, a); } }; } // plain vanilla constructor (can use inherited() to call its base constructor) function simpleConstructor(bases){ return function(){ var a = arguments, i = 0, f, m; if(!(this instanceof a.callee)){ // not called via new, so force it return applyNew(a); } //this._inherited = {}; // perform the shaman's rituals of the original declare() // 1) do not call the preamble // 2) call the top constructor (it can use this.inherited()) for(; f = bases[i]; ++i){ // intentional assignment m = f._meta; f = m ? m.ctor : f; if(f){ f.apply(this, a); break; } } // 3) call the postscript f = this.postscript; if(f){ f.apply(this, a); } }; } function chain(name, bases, reversed){ return function(){ var b, m, f, i = 0, step = 1; if(reversed){ i = bases.length - 1; step = -1; } for(; b = bases[i]; i += step){ // intentional assignment m = b._meta; f = (m ? m.hidden : b.prototype)[name]; if(f){ f.apply(this, arguments); } } }; } // forceNew(ctor) // return a new object that inherits from ctor.prototype but // without actually running ctor on the object. function forceNew(ctor){ // create object with correct prototype using a do-nothing // constructor xtor.prototype = ctor.prototype; var t = new xtor; xtor.prototype = null; // clean up return t; } // applyNew(args) // just like 'new ctor()' except that the constructor and its arguments come // from args, which must be an array or an arguments object function applyNew(args){ // create an object with ctor's prototype but without // calling ctor on it. var ctor = args.callee, t = forceNew(ctor); // execute the real constructor on the new object ctor.apply(t, args); return t; } function declare(className, superclass, props){ // summary: // Create a feature-rich constructor from compact notation. // className: String? // The optional name of the constructor (loosely, a "class") // stored in the "declaredClass" property in the created prototype. // It will be used as a global name for a created constructor. // superclass: Function|Function[] // May be null, a Function, or an Array of Functions. This argument // specifies a list of bases (the left-most one is the most deepest // base). // props: Object // An object whose properties are copied to the created prototype. // Add an instance-initialization function by making it a property // named "constructor". // returns: dojo/_base/declare.__DeclareCreatedObject // New constructor function. // description: // Create a constructor using a compact notation for inheritance and // prototype extension. // // Mixin ancestors provide a type of multiple inheritance. // Prototypes of mixin ancestors are copied to the new class: // changes to mixin prototypes will not affect classes to which // they have been mixed in. // // Ancestors can be compound classes created by this version of // declare(). In complex cases all base classes are going to be // linearized according to C3 MRO algorithm // (see http://www.python.org/download/releases/2.3/mro/ for more // details). // // "className" is cached in "declaredClass" property of the new class, // if it was supplied. The immediate super class will be cached in // "superclass" property of the new class. // // Methods in "props" will be copied and modified: "nom" property // (the declared name of the method) will be added to all copied // functions to help identify them for the internal machinery. Be // very careful, while reusing methods: if you use the same // function under different names, it can produce errors in some // cases. // // It is possible to use constructors created "manually" (without // declare()) as bases. They will be called as usual during the // creation of an instance, their methods will be chained, and even // called by "this.inherited()". // // Special property "-chains-" governs how to chain methods. It is // a dictionary, which uses method names as keys, and hint strings // as values. If a hint string is "after", this method will be // called after methods of its base classes. If a hint string is // "before", this method will be called before methods of its base // classes. // // If "constructor" is not mentioned in "-chains-" property, it will // be chained using the legacy mode: using "after" chaining, // calling preamble() method before each constructor, if available, // and calling postscript() after all constructors were executed. // If the hint is "after", it is chained as a regular method, but // postscript() will be called after the chain of constructors. // "constructor" cannot be chained "before", but it allows // a special hint string: "manual", which means that constructors // are not going to be chained in any way, and programmer will call // them manually using this.inherited(). In the latter case // postscript() will be called after the construction. // // All chaining hints are "inherited" from base classes and // potentially can be overridden. Be very careful when overriding // hints! Make sure that all chained methods can work in a proposed // manner of chaining. // // Once a method was chained, it is impossible to unchain it. The // only exception is "constructor". You don't need to define a // method in order to supply a chaining hint. // // If a method is chained, it cannot use this.inherited() because // all other methods in the hierarchy will be called automatically. // // Usually constructors and initializers of any kind are chained // using "after" and destructors of any kind are chained as // "before". Note that chaining assumes that chained methods do not // return any value: any returned value will be discarded. // // example: // | declare("my.classes.bar", my.classes.foo, { // | // properties to be added to the class prototype // | someValue: 2, // | // initialization function // | constructor: function(){ // | this.myComplicatedObject = new ReallyComplicatedObject(); // | }, // | // other functions // | someMethod: function(){ // | doStuff(); // | } // | }); // // example: // | var MyBase = declare(null, { // | // constructor, properties, and methods go here // | // ... // | }); // | var MyClass1 = declare(MyBase, { // | // constructor, properties, and methods go here // | // ... // | }); // | var MyClass2 = declare(MyBase, { // | // constructor, properties, and methods go here // | // ... // | }); // | var MyDiamond = declare([MyClass1, MyClass2], { // | // constructor, properties, and methods go here // | // ... // | }); // // example: // | var F = function(){ console.log("raw constructor"); }; // | F.prototype.method = function(){ // | console.log("raw method"); // | }; // | var A = declare(F, { // | constructor: function(){ // | console.log("A.constructor"); // | }, // | method: function(){ // | console.log("before calling F.method..."); // | this.inherited(arguments); // | console.log("...back in A"); // | } // | }); // | new A().method(); // | // will print: // | // raw constructor // | // A.constructor // | // before calling F.method... // | // raw method // | // ...back in A // // example: // | var A = declare(null, { // | "-chains-": { // | destroy: "before" // | } // | }); // | var B = declare(A, { // | constructor: function(){ // | console.log("B.constructor"); // | }, // | destroy: function(){ // | console.log("B.destroy"); // | } // | }); // | var C = declare(B, { // | constructor: function(){ // | console.log("C.constructor"); // | }, // | destroy: function(){ // | console.log("C.destroy"); // | } // | }); // | new C().destroy(); // | // prints: // | // B.constructor // | // C.constructor // | // C.destroy // | // B.destroy // // example: // | var A = declare(null, { // | "-chains-": { // | constructor: "manual" // | } // | }); // | var B = declare(A, { // | constructor: function(){ // | // ... // | // call the base constructor with new parameters // | this.inherited(arguments, [1, 2, 3]); // | // ... // | } // | }); // // example: // | var A = declare(null, { // | "-chains-": { // | m1: "before" // | }, // | m1: function(){ // | console.log("A.m1"); // | }, // | m2: function(){ // | console.log("A.m2"); // | } // | }); // | var B = declare(A, { // | "-chains-": { // | m2: "after" // | }, // | m1: function(){ // | console.log("B.m1"); // | }, // | m2: function(){ // | console.log("B.m2"); // | } // | }); // | var x = new B(); // | x.m1(); // | // prints: // | // B.m1 // | // A.m1 // | x.m2(); // | // prints: // | // A.m2 // | // B.m2 // crack parameters if(typeof className != "string"){ props = superclass; superclass = className; className = ""; } props = props || {}; var proto, i, t, ctor, name, bases, chains, mixins = 1, parents = superclass; // build a prototype if(opts.call(superclass) == "[object Array]"){ // C3 MRO bases = c3mro(superclass, className); t = bases[0]; mixins = bases.length - t; superclass = bases[mixins]; }else{ bases = [0]; if(superclass){ if(opts.call(superclass) == "[object Function]"){ t = superclass._meta; bases = bases.concat(t ? t.bases : superclass); }else{ err("base class is not a callable constructor.", className); } }else if(superclass !== null){ err("unknown base class. Did you use dojo.require to pull it in?", className); } } if(superclass){ for(i = mixins - 1;; --i){ proto = forceNew(superclass); if(!i){ // stop if nothing to add (the last base) break; } // mix in properties t = bases[i]; (t._meta ? mixOwn : mix)(proto, t.prototype); // chain in new constructor ctor = new Function; ctor.superclass = superclass; ctor.prototype = proto; superclass = proto.constructor = ctor; } }else{ proto = {}; } // add all properties declare.safeMixin(proto, props); // add constructor t = props.constructor; if(t !== op.constructor){ t.nom = cname; proto.constructor = t; } // collect chains and flags for(i = mixins - 1; i; --i){ // intentional assignment t = bases[i]._meta; if(t && t.chains){ chains = mix(chains || {}, t.chains); } } if(proto["-chains-"]){ chains = mix(chains || {}, proto["-chains-"]); } // build ctor t = !chains || !chains.hasOwnProperty(cname); bases[0] = ctor = (chains && chains.constructor === "manual") ? simpleConstructor(bases) : (bases.length == 1 ? singleConstructor(props.constructor, t) : chainedConstructor(bases, t)); // add meta information to the constructor ctor._meta = {bases: bases, hidden: props, chains: chains, parents: parents, ctor: props.constructor}; ctor.superclass = superclass && superclass.prototype; ctor.extend = extend; ctor.createSubclass = createSubclass; ctor.prototype = proto; proto.constructor = ctor; // add "standard" methods to the prototype proto.getInherited = getInherited; proto.isInstanceOf = isInstanceOf; proto.inherited = inheritedImpl; proto.__inherited = inherited; // add name if specified if(className){ proto.declaredClass = className; lang.setObject(className, ctor); } // build chains and add them to the prototype if(chains){ for(name in chains){ if(proto[name] && typeof chains[name] == "string" && name != cname){ t = proto[name] = chain(name, bases, chains[name] === "after"); t.nom = name; } } } // chained methods do not return values // no need to chain "invisible" functions return ctor; // Function } /*===== declare.__DeclareCreatedObject = { // summary: // dojo/_base/declare() returns a constructor `C`. `new C()` returns an Object with the following // methods, in addition to the methods and properties specified via the arguments passed to declare(). inherited: function(name, args, newArgs){ // summary: // Calls a super method. // name: String? // The optional method name. Should be the same as the caller's // name. Usually "name" is specified in complex dynamic cases, when // the calling method was dynamically added, undecorated by // declare(), and it cannot be determined. // args: Arguments // The caller supply this argument, which should be the original // "arguments". // newArgs: Object? // If "true", the found function will be returned without // executing it. // If Array, it will be used to call a super method. Otherwise // "args" will be used. // returns: // Whatever is returned by a super method, or a super method itself, // if "true" was specified as newArgs. // description: // This method is used inside method of classes produced with // declare() to call a super method (next in the chain). It is // used for manually controlled chaining. Consider using the regular // chaining, because it is faster. Use "this.inherited()" only in // complex cases. // // This method cannot me called from automatically chained // constructors including the case of a special (legacy) // constructor chaining. It cannot be called from chained methods. // // If "this.inherited()" cannot find the next-in-chain method, it // does nothing and returns "undefined". The last method in chain // can be a default method implemented in Object, which will be // called last. // // If "name" is specified, it is assumed that the method that // received "args" is the parent method for this call. It is looked // up in the chain list and if it is found the next-in-chain method // is called. If it is not found, the first-in-chain method is // called. // // If "name" is not specified, it will be derived from the calling // method (using a methoid property "nom"). // // example: // | var B = declare(A, { // | method1: function(a, b, c){ // | this.inherited(arguments); // | }, // | method2: function(a, b){ // | return this.inherited(arguments, [a + b]); // | } // | }); // | // next method is not in the chain list because it is added // | // manually after the class was created. // | B.prototype.method3 = function(){ // | console.log("This is a dynamically-added method."); // | this.inherited("method3", arguments); // | }; // example: // | var B = declare(A, { // | method: function(a, b){ // | var super = this.inherited(arguments, true); // | // ... // | if(!super){ // | console.log("there is no super method"); // | return 0; // | } // | return super.apply(this, arguments); // | } // | }); return {}; // Object }, getInherited: function(name, args){ // summary: // Returns a super method. // name: String? // The optional method name. Should be the same as the caller's // name. Usually "name" is specified in complex dynamic cases, when // the calling method was dynamically added, undecorated by // declare(), and it cannot be determined. // args: Arguments // The caller supply this argument, which should be the original // "arguments". // returns: // Returns a super method (Function) or "undefined". // description: // This method is a convenience method for "this.inherited()". // It uses the same algorithm but instead of executing a super // method, it returns it, or "undefined" if not found. // // example: // | var B = declare(A, { // | method: function(a, b){ // | var super = this.getInherited(arguments); // | // ... // | if(!super){ // | console.log("there is no super method"); // | return 0; // | } // | return super.apply(this, arguments); // | } // | }); return {}; // Object }, isInstanceOf: function(cls){ // summary: // Checks the inheritance chain to see if it is inherited from this // class. // cls: Function // Class constructor. // returns: // "true", if this object is inherited from this class, "false" // otherwise. // description: // This method is used with instances of classes produced with // declare() to determine of they support a certain interface or // not. It models "instanceof" operator. // // example: // | var A = declare(null, { // | // constructor, properties, and methods go here // | // ... // | }); // | var B = declare(null, { // | // constructor, properties, and methods go here // | // ... // | }); // | var C = declare([A, B], { // | // constructor, properties, and methods go here // | // ... // | }); // | var D = declare(A, { // | // constructor, properties, and methods go here // | // ... // | }); // | // | var a = new A(), b = new B(), c = new C(), d = new D(); // | // | console.log(a.isInstanceOf(A)); // true // | console.log(b.isInstanceOf(A)); // false // | console.log(c.isInstanceOf(A)); // true // | console.log(d.isInstanceOf(A)); // true // | // | console.log(a.isInstanceOf(B)); // false // | console.log(b.isInstanceOf(B)); // true // | console.log(c.isInstanceOf(B)); // true // | console.log(d.isInstanceOf(B)); // false // | // | console.log(a.isInstanceOf(C)); // false // | console.log(b.isInstanceOf(C)); // false // | console.log(c.isInstanceOf(C)); // true // | console.log(d.isInstanceOf(C)); // false // | // | console.log(a.isInstanceOf(D)); // false // | console.log(b.isInstanceOf(D)); // false // | console.log(c.isInstanceOf(D)); // false // | console.log(d.isInstanceOf(D)); // true return {}; // Object }, extend: function(source){ // summary: // Adds all properties and methods of source to constructor's // prototype, making them available to all instances created with // constructor. This method is specific to constructors created with // declare(). // source: Object // Source object which properties are going to be copied to the // constructor's prototype. // description: // Adds source properties to the constructor's prototype. It can // override existing properties. // // This method is similar to dojo.extend function, but it is specific // to constructors produced by declare(). It is implemented // using dojo.safeMixin, and it skips a constructor property, // and properly decorates copied functions. // // example: // | var A = declare(null, { // | m1: function(){}, // | s1: "Popokatepetl" // | }); // | A.extend({ // | m1: function(){}, // | m2: function(){}, // | f1: true, // | d1: 42 // | }); }, createSubclass: function(mixins, props){ // summary: // Create a subclass of the declared class from a list of base classes. // mixins: Function[] // Specifies a list of bases (the left-most one is the most deepest // base). // props: Object? // An optional object whose properties are copied to the created prototype. // returns: dojo/_base/declare.__DeclareCreatedObject // New constructor function. // description: // Create a constructor using a compact notation for inheritance and // prototype extension. // // Mixin ancestors provide a type of multiple inheritance. // Prototypes of mixin ancestors are copied to the new class: // changes to mixin prototypes will not affect classes to which // they have been mixed in. // // example: // | var A = declare(null, { // | m1: function(){}, // | s1: "bar" // | }); // | var B = declare(null, { // | m2: function(){}, // | s2: "foo" // | }); // | var C = declare(null, { // | }); // | var D1 = A.createSubclass([B, C], { // | m1: function(){}, // | d1: 42 // | }); // | var d1 = new D1(); // | // | // this is equivalent to: // | var D2 = declare([A, B, C], { // | m1: function(){}, // | d1: 42 // | }); // | var d2 = new D2(); } }; =====*/ // For back-compat, remove for 2.0 dojo.safeMixin = declare.safeMixin = safeMixin; dojo.declare = declare; return declare; });
dmachi/p3_web
public/js/release/dojo/_base/declare.js
JavaScript
mit
32,338
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {newArray} from '../util/array_utils'; import {BindingDef, BindingFlags, NodeDef, NodeFlags, PureExpressionData, ViewData, asPureExpressionData} from './types'; import {calcBindingFlags, checkAndUpdateBinding} from './util'; export function purePipeDef(checkIndex: number, argCount: number): NodeDef { // argCount + 1 to include the pipe as first arg return _pureExpressionDef(NodeFlags.TypePurePipe, checkIndex, newArray(argCount + 1)); } export function pureArrayDef(checkIndex: number, argCount: number): NodeDef { return _pureExpressionDef(NodeFlags.TypePureArray, checkIndex, newArray(argCount)); } export function pureObjectDef(checkIndex: number, propToIndex: {[p: string]: number}): NodeDef { const keys = Object.keys(propToIndex); const nbKeys = keys.length; const propertyNames = []; for (let i = 0; i < nbKeys; i++) { const key = keys[i]; const index = propToIndex[key]; propertyNames.push(key); } return _pureExpressionDef(NodeFlags.TypePureObject, checkIndex, propertyNames); } function _pureExpressionDef( flags: NodeFlags, checkIndex: number, propertyNames: string[]): NodeDef { const bindings: BindingDef[] = []; for (let i = 0; i < propertyNames.length; i++) { const prop = propertyNames[i]; bindings.push({ flags: BindingFlags.TypeProperty, name: prop, ns: null, nonMinifiedName: prop, securityContext: null, suffix: null }); } return { // will bet set by the view definition nodeIndex: -1, parent: null, renderParent: null, bindingIndex: -1, outputIndex: -1, // regular values checkIndex, flags, childFlags: 0, directChildFlags: 0, childMatchedQueries: 0, matchedQueries: {}, matchedQueryIds: 0, references: {}, ngContentIndex: -1, childCount: 0, bindings, bindingFlags: calcBindingFlags(bindings), outputs: [], element: null, provider: null, text: null, query: null, ngContent: null }; } export function createPureExpression(view: ViewData, def: NodeDef): PureExpressionData { return {value: undefined}; } export function checkAndUpdatePureExpressionInline( view: ViewData, def: NodeDef, v0: any, v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any, v9: any): boolean { const bindings = def.bindings; let changed = false; const bindLen = bindings.length; if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0)) changed = true; if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1)) changed = true; if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2)) changed = true; if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3)) changed = true; if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4)) changed = true; if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5)) changed = true; if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6)) changed = true; if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7)) changed = true; if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8)) changed = true; if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9)) changed = true; if (changed) { const data = asPureExpressionData(view, def.nodeIndex); let value: any; switch (def.flags & NodeFlags.Types) { case NodeFlags.TypePureArray: value = []; if (bindLen > 0) value.push(v0); if (bindLen > 1) value.push(v1); if (bindLen > 2) value.push(v2); if (bindLen > 3) value.push(v3); if (bindLen > 4) value.push(v4); if (bindLen > 5) value.push(v5); if (bindLen > 6) value.push(v6); if (bindLen > 7) value.push(v7); if (bindLen > 8) value.push(v8); if (bindLen > 9) value.push(v9); break; case NodeFlags.TypePureObject: value = {}; if (bindLen > 0) value[bindings[0].name !] = v0; if (bindLen > 1) value[bindings[1].name !] = v1; if (bindLen > 2) value[bindings[2].name !] = v2; if (bindLen > 3) value[bindings[3].name !] = v3; if (bindLen > 4) value[bindings[4].name !] = v4; if (bindLen > 5) value[bindings[5].name !] = v5; if (bindLen > 6) value[bindings[6].name !] = v6; if (bindLen > 7) value[bindings[7].name !] = v7; if (bindLen > 8) value[bindings[8].name !] = v8; if (bindLen > 9) value[bindings[9].name !] = v9; break; case NodeFlags.TypePurePipe: const pipe = v0; switch (bindLen) { case 1: value = pipe.transform(v0); break; case 2: value = pipe.transform(v1); break; case 3: value = pipe.transform(v1, v2); break; case 4: value = pipe.transform(v1, v2, v3); break; case 5: value = pipe.transform(v1, v2, v3, v4); break; case 6: value = pipe.transform(v1, v2, v3, v4, v5); break; case 7: value = pipe.transform(v1, v2, v3, v4, v5, v6); break; case 8: value = pipe.transform(v1, v2, v3, v4, v5, v6, v7); break; case 9: value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8); break; case 10: value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8, v9); break; } break; } data.value = value; } return changed; } export function checkAndUpdatePureExpressionDynamic( view: ViewData, def: NodeDef, values: any[]): boolean { const bindings = def.bindings; let changed = false; for (let i = 0; i < values.length; i++) { // Note: We need to loop over all values, so that // the old values are updates as well! if (checkAndUpdateBinding(view, def, i, values[i])) { changed = true; } } if (changed) { const data = asPureExpressionData(view, def.nodeIndex); let value: any; switch (def.flags & NodeFlags.Types) { case NodeFlags.TypePureArray: value = values; break; case NodeFlags.TypePureObject: value = {}; for (let i = 0; i < values.length; i++) { value[bindings[i].name !] = values[i]; } break; case NodeFlags.TypePurePipe: const pipe = values[0]; const params = values.slice(1); value = (<any>pipe.transform)(...params); break; } data.value = value; } return changed; }
mhevery/angular
packages/core/src/view/pure_expression.ts
TypeScript
mit
6,765
/*! * Bootstrap-select v1.13.0-beta (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2018 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Нищо избрано",noneResultsText:"Няма резултат за {0}",countSelectedText:function(a,b){return 1==a?"{0} избран елемент":"{0} избрани елемента"},maxOptionsText:function(a,b){return[1==a?"Лимита е достигнат ({n} елемент максимум)":"Лимита е достигнат ({n} елемента максимум)",1==b?"Груповия лимит е достигнат ({n} елемент максимум)":"Груповия лимит е достигнат ({n} елемента максимум)"]},selectAllText:"Избери всички",deselectAllText:"Размаркирай всички",multipleSeparator:", "}}(a)});
sashberd/cdnjs
ajax/libs/bootstrap-select/1.13.0-beta/js/i18n/defaults-bg_BG.min.js
JavaScript
mit
1,209
<?php /* @var $panel yii\debug\panels\LogPanel */ /* @var $data array */ use yii\log\Target; use yii\log\Logger; ?> <?php $titles = ['all' => Yii::$app->i18n->format('Logged {n,plural,=1{1 message} other{# messages}}', ['n' => count($data['messages'])], 'en-US')]; $errorCount = count(Target::filterMessages($data['messages'], Logger::LEVEL_ERROR)); $warningCount = count(Target::filterMessages($data['messages'], Logger::LEVEL_WARNING)); if ($errorCount) { $titles['errors'] = Yii::$app->i18n->format('{n,plural,=1{1 error} other{# errors}}', ['n' => $errorCount], 'en-US'); } if ($warningCount) { $titles['warnings'] = Yii::$app->i18n->format('{n,plural,=1{1 warning} other{# warnings}}', ['n' => $warningCount], 'en-US'); } ?> <div class="yii-debug-toolbar__block"> <a href="<?= $panel->getUrl() ?>" title="<?= implode(',&nbsp;', $titles) ?>">Log <span class="yii-debug-toolbar__label"><?= count($data['messages']) ?></span> </a> <?php if ($errorCount): ?> <a href="<?= $panel->getUrl(['Log[level]' => Logger::LEVEL_ERROR])?>" title="<?= $titles['errors'] ?>"> <span class="yii-debug-toolbar__label yii-debug-toolbar__label_important"><?= $errorCount ?></span> </a> <?php endif; ?> <?php if ($warningCount): ?> <a href="<?= $panel->getUrl(['Log[level]' => Logger::LEVEL_WARNING])?>" title="<?= $titles['warnings'] ?>"> <span class="yii-debug-toolbar__label yii-debug-toolbar__label_warning"><?= $warningCount ?></span> </a> <?php endif; ?> </div>
shi-yang/iisns
vendor/yiisoft/yii2-debug/views/default/panels/log/summary.php
PHP
mit
1,528
//--------------------------------------------------------------------- // <copyright file="EntitySetAnnotation.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //--------------------------------------------------------------------- namespace Microsoft.Test.Taupo.Astoria.Contracts.OData { using System.Globalization; using Microsoft.OData.Edm.Library; using Microsoft.Test.Taupo.Contracts.EntityModel; /// <summary> /// Payload annotation containing an entity set /// </summary> public class EntitySetAnnotation : ODataPayloadElementEquatableAnnotation { /// <summary> /// Gets or sets the entity set /// </summary> public EdmEntitySet EdmEntitySet { get; set; } /// <summary> /// Gets or sets the entity set /// </summary> public EntitySet EntitySet { get; set; } /// <summary> /// Gets a string representation of the annotation to make debugging easier /// </summary> public override string StringRepresentation { get { if (this.EdmEntitySet != null) { return string.Format(CultureInfo.InvariantCulture, "EdmEntitySet:{0}", this.EdmEntitySet.Name); } else { return string.Format(CultureInfo.InvariantCulture, "EntitySet:{0}", this.EntitySet.Name); } } } /// <summary> /// Creates a clone of the annotation /// </summary> /// <returns>a clone of the annotation</returns> public override ODataPayloadElementAnnotation Clone() { return new EntitySetAnnotation { EntitySet = this.EntitySet, EdmEntitySet = this.EdmEntitySet }; } /// <summary> /// Returns whether or not the given annotation is equal to the current annotation /// </summary> /// <param name="other">The annotation to compare to</param> /// <returns>True if the annotations are equivalent, false otherwise</returns> public override bool Equals(ODataPayloadElementEquatableAnnotation other) { return this.CastAndCheckEquality<EntitySetAnnotation>( other, o => o.EntitySet == this.EntitySet && o.EdmEntitySet == this.EdmEntitySet); } } }
abkmr/odata.net
test/FunctionalTests/Taupo/Source/Taupo.Astoria/Contracts/OData/EntitySetAnnotation.cs
C#
mit
2,650
window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),i="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===i.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,n=!1,i=0,a=[],d=function(t){clearTimeout(i),i=setTimeout(function(){for(var t=0,n=a.length;t<n;t++){var i=a[t].mql,d=a[t].listeners||[],r=e(i.media).matches;if(r!==i.matches){i.matches=r;for(var c=0,m=d.length;c<m;c++)d[c].call(window,i)}}},30)};window.matchMedia=function(i){var r=e(i),c=[],m=0;return r.addListener=function(e){t&&(n||(n=!0,window.addEventListener("resize",d,!0)),0===m&&(m=a.push({mql:r,listeners:c})),c.push(e))},r.removeListener=function(e){for(var t=0,n=c.length;t<n;t++)c[t]===e&&c.splice(t,1)},r}}();
gigantlabmaster/lundbergsab.github.io
user/plugins/gantry5/assets/js/matchmedia.polyfill.js
JavaScript
mit
1,243
/** * Pure Javascript is Unicode friendly but not nice to binary data. When * dealing with TCP streams or the file system, it's necessary to handle * octet streams. Node has several strategies for manipulating, creating, * and consuming octet streams. */ var buffer = {}; /** * The Buffer class is a global type for dealing with binary data directly. * @constructor */ buffer.Buffer = function() {} /** * Gives the actual byte length of a string. encoding defaults to 'utf8'. * @param string {String} * @param encoding='utf8' {String} * @returns Number */ buffer.Buffer.byteLength = function(string, encoding) {} /** * Returns a new buffer which references the same memory as the old, but * offset and cropped by the start (defaults to 0) and end (defaults to * buffer.length) indexes. * @param start=0 {Number} * @param end=buffer.length {Number} * @returns {buffer.Buffer} a new buffer which references the same memory as the old, but offset and cropped by the start (defaults to 0) and end (defaults to buffer.length) indexes */ buffer.Buffer.prototype.slice = function(start, end) {} /** * Writes string to the buffer at offset using the given encoding. * @param string * @param offset=0 {Number} * @param length=buffer.length - offset {Number} * @param encoding='utf8' {String} */ buffer.Buffer.prototype.write = function(string, offset, length, encoding) {} /** * The size of the buffer in bytes. Note that this is not necessarily the * size of the contents. length refers to the amount of memory allocated * for the buffer object. It does not change when the contents of the * buffer are changed. */ buffer.Buffer.prototype.length = 0; /** * Decodes and returns a string from buffer data encoded with encoding * (defaults to 'utf8') beginning at start (defaults to 0) and ending at * end (defaults to buffer.length). * @param encoding='utf8' {String} * @param start=0 {Number} * @param end=buffer.length {Number} */ buffer.Buffer.prototype.toString = function(encoding, start, end) {} /** * Does copy between buffers. The source and target regions can be * overlapped. * @param targetBuffer * @param targetStart=0 {Number} * @param sourceStart=0 {Number} * @param sourceEnd=buffer.length {Number} */ buffer.Buffer.prototype.copy = function(targetBuffer, targetStart, sourceStart, sourceEnd) {} /** * Tests if obj is a Buffer. * @param obj * @returns Boolean */ buffer.Buffer.isBuffer = function(obj) {} /** * Fills the buffer with the specified value. If the offset (defaults to 0) * and end (defaults to buffer.length) are not given it will fill the * entire buffer. * @param value * @param offset=0 {Number} * @param end=buffer.length {Number} */ buffer.Buffer.prototype.fill = function(value, offset, end) {} /** * Reads a 64 bit double from the buffer at the specified offset with * specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readDoubleBE = function(offset, noAssert) {} /** * Reads a 64 bit double from the buffer at the specified offset with * specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readDoubleLE = function(offset, noAssert) {} /** * Reads a 32 bit float from the buffer at the specified offset with * specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readFloatBE = function(offset, noAssert) {} /** * Reads a 32 bit float from the buffer at the specified offset with * specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readFloatLE = function(offset, noAssert) {} /** * Reads a signed 16 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readInt16BE = function(offset, noAssert) {} /** * Reads a signed 16 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readInt16LE = function(offset, noAssert) {} /** * Reads a signed 32 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readInt32BE = function(offset, noAssert) {} /** * Reads a signed 32 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readInt32LE = function(offset, noAssert) {} /** * Reads a signed 8 bit integer from the buffer at the specified offset. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readInt8 = function(offset, noAssert) {} /** * Reads an unsigned 16 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readUInt16BE = function(offset, noAssert) {} /** * Reads an unsigned 16 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readUInt16LE = function(offset, noAssert) {} /** * Reads an unsigned 32 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readUInt32BE = function(offset, noAssert) {} /** * Reads an unsigned 32 bit integer from the buffer at the specified offset * with specified endian format. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readUInt32LE = function(offset, noAssert) {} /** * Reads an unsigned 8 bit integer from the buffer at the specified offset. * @param offset {Number} * @param noAssert=false {Boolean} * @returns Number */ buffer.Buffer.prototype.readUInt8 = function(offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid 64 bit double. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeDoubleBE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid 64 bit double. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeDoubleLE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid 32 bit float. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeFloatBE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid 32 bit float. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeFloatLE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid signed 16 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeInt16BE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid signed 16 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeInt16LE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid signed 32 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeInt32BE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid signed 32 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeInt32LE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset. Note, value must be * a valid signed 8 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeInt8 = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid unsigned 16 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeUInt16BE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid unsigned 16 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeUInt16LE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid unsigned 32 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeUInt32BE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset with specified endian * format. Note, value must be a valid unsigned 32 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeUInt32LE = function(value, offset, noAssert) {} /** * Writes value to the buffer at the specified offset. Note, value must be * a valid unsigned 8 bit integer. * @param value {Number} * @param offset {Number} * @param noAssert=false {Boolean} */ buffer.Buffer.prototype.writeUInt8 = function(value, offset, noAssert) {} /** * This class is primarily for internal use. JavaScript programs should use * Buffer instead of using SlowBuffer. * @constructor */ buffer.SlowBuffer = function() {} /** * How many bytes will be returned when buffer.inspect() is called. This * can be overridden by user modules. */ buffer.INSPECT_MAX_BYTES = 50; exports = buffer;
dostavro/dotfiles
sublime2/Packages/SublimeCodeIntel/libs/codeintel2/lib_srcs/node.js/0.6/buffer.js
JavaScript
mit
10,970
ReactIntl.__addLocaleData({"locale":"ug","pluralRuleFunction":function (n,ord){if(ord)return"other";return n==1?"one":"other"},"fields":{"year":{"displayName":"يىل","relative":{"0":"بۇ يىل","1":"كېلەر يىل","-1":"ئۆتكەن يىل"},"relativeTime":{"future":{"one":"{0} يىلدىن كېيىن","other":"{0} يىلدىن كېيىن"},"past":{"one":"{0} يىل ئىلگىرى","other":"{0} يىل ئىلگىرى"}}},"month":{"displayName":"ئاي","relative":{"0":"بۇ ئاي","1":"كېلەر ئاي","-1":"ئۆتكەن ئاي"},"relativeTime":{"future":{"one":"{0} ئايدىن كېيىن","other":"{0} ئايدىن كېيىن"},"past":{"one":"{0} ئاي ئىلگىرى","other":"{0} ئاي ئىلگىرى"}}},"day":{"displayName":"كۈن","relative":{"0":"بۈگۈن","1":"ئەتە","-1":"تۈنۈگۈن"},"relativeTime":{"future":{"one":"{0} كۈندىن كېيىن","other":"{0} كۈندىن كېيىن"},"past":{"one":"{0} كۈن ئىلگىرى","other":"{0} كۈن ئىلگىرى"}}},"hour":{"displayName":"سائەت","relativeTime":{"future":{"one":"{0} سائەتتىن كېيىن","other":"{0} سائەتتىن كېيىن"},"past":{"one":"{0} سائەت ئىلگىرى","other":"{0} سائەت ئىلگىرى"}}},"minute":{"displayName":"مىنۇت","relativeTime":{"future":{"one":"{0} مىنۇتتىن كېيىن","other":"{0} مىنۇتتىن كېيىن"},"past":{"one":"{0} مىنۇت ئىلگىرى","other":"{0} مىنۇت ئىلگىرى"}}},"second":{"displayName":"سېكۇنت","relative":{"0":"now"},"relativeTime":{"future":{"one":"{0} سېكۇنتتىن كېيىن","other":"{0} سېكۇنتتىن كېيىن"},"past":{"one":"{0} سېكۇنت ئىلگىرى","other":"{0} سېكۇنت ئىلگىرى"}}}}}); ReactIntl.__addLocaleData({"locale":"ug-Arab","parentLocale":"ug"}); ReactIntl.__addLocaleData({"locale":"ug-Arab-CN","parentLocale":"ug-Arab"});
jonobr1/cdnjs
ajax/libs/react-intl/1.2.1/locale-data/ug.js
JavaScript
mit
1,893
ReactIntl.__addLocaleData({"locale":"hsb","pluralRuleFunction":function (n,ord){var s=String(n).split("."),i=s[0],f=s[1]||"",v0=!s[1],i100=i.slice(-2),f100=f.slice(-2);if(ord)return"other";return v0&&i100==1||f100==1?"one":v0&&i100==2||f100==2?"two":v0&&(i100==3||i100==4)||(f100==3||f100==4)?"few":"other"},"fields":{"year":{"displayName":"lěto","relative":{"0":"lětsa","1":"klětu","-1":"loni"},"relativeTime":{"future":{"one":"za {0} lěto","two":"za {0} lěće","few":"za {0} lěta","other":"za {0} lět"},"past":{"one":"před {0} lětom","two":"před {0} lětomaj","few":"před {0} lětami","other":"před {0} lětami"}}},"month":{"displayName":"měsac","relative":{"0":"tutón měsac","1":"přichodny měsac","-1":"zašły měsac"},"relativeTime":{"future":{"one":"za {0} měsac","two":"za {0} měsacaj","few":"za {0} měsacy","other":"za {0} měsacow"},"past":{"one":"před {0} měsacom","two":"před {0} měsacomaj","few":"před {0} měsacami","other":"před {0} měsacami"}}},"day":{"displayName":"dźeń","relative":{"0":"dźensa","1":"jutře","-1":"wčera"},"relativeTime":{"future":{"one":"za {0} dźeń","two":"za {0} dnjej","few":"za {0} dny","other":"za {0} dnjow"},"past":{"one":"před {0} dnjom","two":"před {0} dnjomaj","few":"před {0} dnjemi","other":"před {0} dnjemi"}}},"hour":{"displayName":"hodźina","relativeTime":{"future":{"one":"za {0} hodźinu","two":"za {0} hodźinje","few":"za {0} hodźiny","other":"za {0} hodźin"},"past":{"one":"před {0} hodźinu","two":"před {0} hodźinomaj","few":"před {0} hodźinami","other":"před {0} hodźinami"}}},"minute":{"displayName":"minuta","relativeTime":{"future":{"one":"za {0} minutu","two":"za {0} minuće","few":"za {0} minuty","other":"za {0} minutow"},"past":{"one":"před {0} minutu","two":"před {0} minutomaj","few":"před {0} minutami","other":"před {0} minutami"}}},"second":{"displayName":"sekunda","relative":{"0":"now"},"relativeTime":{"future":{"one":"za {0} sekundu","two":"za {0} sekundźe","few":"za {0} sekundy","other":"za {0} sekundow"},"past":{"one":"před {0} sekundu","two":"před {0} sekundomaj","few":"před {0} sekundami","other":"před {0} sekundami"}}}}}); ReactIntl.__addLocaleData({"locale":"hsb-DE","parentLocale":"hsb"});
sreym/cdnjs
ajax/libs/react-intl/1.2.0/locale-data/hsb.js
JavaScript
mit
2,232
ReactIntl.__addLocaleData({"locale":"lb","pluralRuleFunction":function (n,ord){if(ord)return"other";return n==1?"one":"other"},"fields":{"year":{"displayName":"Joer","relative":{"0":"dëst Joer","1":"nächst Joer","-1":"lescht Joer"},"relativeTime":{"future":{"one":"an {0} Joer","other":"a(n) {0} Joer"},"past":{"one":"virun {0} Joer","other":"viru(n) {0} Joer"}}},"month":{"displayName":"Mount","relative":{"0":"dëse Mount","1":"nächste Mount","-1":"leschte Mount"},"relativeTime":{"future":{"one":"an {0} Mount","other":"a(n) {0} Méint"},"past":{"one":"virun {0} Mount","other":"viru(n) {0} Méint"}}},"day":{"displayName":"Dag","relative":{"0":"haut","1":"muer","-1":"gëschter"},"relativeTime":{"future":{"one":"an {0} Dag","other":"a(n) {0} Deeg"},"past":{"one":"virun {0} Dag","other":"viru(n) {0} Deeg"}}},"hour":{"displayName":"Stonn","relativeTime":{"future":{"one":"an {0} Stonn","other":"a(n) {0} Stonnen"},"past":{"one":"virun {0} Stonn","other":"viru(n) {0} Stonnen"}}},"minute":{"displayName":"Minutt","relativeTime":{"future":{"one":"an {0} Minutt","other":"a(n) {0} Minutten"},"past":{"one":"virun {0} Minutt","other":"viru(n) {0} Minutten"}}},"second":{"displayName":"Sekonn","relative":{"0":"now"},"relativeTime":{"future":{"one":"an {0} Sekonn","other":"a(n) {0} Sekonnen"},"past":{"one":"virun {0} Sekonn","other":"viru(n) {0} Sekonnen"}}}}}); ReactIntl.__addLocaleData({"locale":"lb-LU","parentLocale":"lb"});
amoyeh/cdnjs
ajax/libs/react-intl/1.2.0/locale-data/lb.js
JavaScript
mit
1,435
ReactIntl.__addLocaleData({"locale":"ru","pluralRuleFunction":function (n,ord){var s=String(n).split("."),i=s[0],v0=!s[1],i10=i.slice(-1),i100=i.slice(-2);if(ord)return"other";return v0&&i10==1&&i100!=11?"one":v0&&(i10>=2&&i10<=4)&&(i100<12||i100>14)?"few":v0&&i10==0||v0&&(i10>=5&&i10<=9)||v0&&(i100>=11&&i100<=14)?"many":"other"},"fields":{"year":{"displayName":"Год","relative":{"0":"в этому году","1":"в следующем году","-1":"в прошлом году"},"relativeTime":{"future":{"one":"через {0} год","few":"через {0} года","many":"через {0} лет","other":"через {0} года"},"past":{"one":"{0} год назад","few":"{0} года назад","many":"{0} лет назад","other":"{0} года назад"}}},"month":{"displayName":"Месяц","relative":{"0":"в этом месяце","1":"в следующем месяце","-1":"в прошлом месяце"},"relativeTime":{"future":{"one":"через {0} месяц","few":"через {0} месяца","many":"через {0} месяцев","other":"через {0} месяца"},"past":{"one":"{0} месяц назад","few":"{0} месяца назад","many":"{0} месяцев назад","other":"{0} месяца назад"}}},"day":{"displayName":"День","relative":{"0":"сегодня","1":"завтра","2":"послезавтра","-1":"вчера","-2":"позавчера"},"relativeTime":{"future":{"one":"через {0} день","few":"через {0} дня","many":"через {0} дней","other":"через {0} дней"},"past":{"one":"{0} день назад","few":"{0} дня назад","many":"{0} дней назад","other":"{0} дня назад"}}},"hour":{"displayName":"Час","relativeTime":{"future":{"one":"через {0} час","few":"через {0} часа","many":"через {0} часов","other":"через {0} часа"},"past":{"one":"{0} час назад","few":"{0} часа назад","many":"{0} часов назад","other":"{0} часа назад"}}},"minute":{"displayName":"Минута","relativeTime":{"future":{"one":"через {0} минуту","few":"через {0} минуты","many":"через {0} минут","other":"через {0} минуты"},"past":{"one":"{0} минуту назад","few":"{0} минуты назад","many":"{0} минут назад","other":"{0} минуты назад"}}},"second":{"displayName":"Секунда","relative":{"0":"сейчас"},"relativeTime":{"future":{"one":"через {0} секунду","few":"через {0} секунды","many":"через {0} секунд","other":"через {0} секунды"},"past":{"one":"{0} секунду назад","few":"{0} секунды назад","many":"{0} секунд назад","other":"{0} секунды назад"}}}}}); ReactIntl.__addLocaleData({"locale":"ru-BY","parentLocale":"ru"}); ReactIntl.__addLocaleData({"locale":"ru-KG","parentLocale":"ru"}); ReactIntl.__addLocaleData({"locale":"ru-KZ","parentLocale":"ru"}); ReactIntl.__addLocaleData({"locale":"ru-MD","parentLocale":"ru"}); ReactIntl.__addLocaleData({"locale":"ru-RU","parentLocale":"ru"}); ReactIntl.__addLocaleData({"locale":"ru-UA","parentLocale":"ru"});
vetruvet/cdnjs
ajax/libs/react-intl/1.2.0/locale-data/ru.js
JavaScript
mit
3,242
/* * Brazillian CPF number (Cadastrado de Pessoas Físicas) is the equivalent of a Brazilian tax registration number. * CPF numbers have 11 digits in total: 9 numbers followed by 2 check numbers that are being used for validation. */ $.validator.addMethod( "cpfBR", function( value ) { // Removing special characters from value value = value.replace( /([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g, "" ); // Checking value to have 11 digits only if ( value.length !== 11 ) { return false; } var sum = 0, firstCN, secondCN, checkResult, i; firstCN = parseInt( value.substring( 9, 10 ), 10 ); secondCN = parseInt( value.substring( 10, 11 ), 10 ); checkResult = function( sum, cn ) { var result = ( sum * 10 ) % 11; if ( ( result === 10 ) || ( result === 11 ) ) { result = 0; } return ( result === cn ); }; // Checking for dump data if ( value === "" || value === "00000000000" || value === "11111111111" || value === "22222222222" || value === "33333333333" || value === "44444444444" || value === "55555555555" || value === "66666666666" || value === "77777777777" || value === "88888888888" || value === "99999999999" ) { return false; } // Step 1 - using first Check Number: for ( i = 1; i <= 9; i++ ) { sum = sum + parseInt( value.substring( i - 1, i ), 10 ) * ( 11 - i ); } // If first Check Number (CN) is valid, move to Step 2 - using second Check Number: if ( checkResult( sum, firstCN ) ) { sum = 0; for ( i = 1; i <= 10; i++ ) { sum = sum + parseInt( value.substring( i - 1, i ), 10 ) * ( 12 - i ); } return checkResult( sum, secondCN ); } return false; }, "Please specify a valid CPF number" );
aspnetboilerplate/module-zero-template
src/AbpCompanyName.AbpProjectName.WebSpaAngular/lib/jquery-validation/src/additional/cpfBR.js
JavaScript
mit
1,686
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("base-build",function(e,t){function f(e,t,n){n[e]&&(t[e]=(t[e]||[]).concat(n[e]))}function l(e,t,n){n._ATTR_CFG&&(t._ATTR_CFG_HASH=null,f.apply(null,arguments))}function c(e,t,r){n.modifyAttrs(t,r.ATTRS)}var n=e.BaseCore,r=e.Base,i=e.Lang,s="initializer",o="destructor",u=["_PLUG","_UNPLUG"],a;r._build=function(t,n,i,u,a,f){var l=r._build,c=l._ctor(n,f),h=l._cfg(n,f,i),p=l._mixCust,d=c._yuibuild.dynamic,v,m,g,y,b,w;for(v=0,m=i.length;v<m;v++)g=i[v],y=g.prototype,b=y[s],w=y[o],delete y[s],delete y[o],e.mix(c,g,!0,null,1),p(c,g,h),b&&(y[s]=b),w&&(y[o]=w),c._yuibuild.exts.push(g);return u&&e.mix(c.prototype,u,!0),a&&(e.mix(c,l._clean(a,h),!0),p(c,a,h)),c.prototype.hasImpl=l._impl,d&&(c.NAME=t,c.prototype.constructor=c,c.modifyAttrs=n.modifyAttrs),c},a=r._build,e.mix(a,{_mixCust:function(t,n,r){var s,o,u,a,f,l;r&&(s=r.aggregates,o=r.custom,u=r.statics),u&&e.mix(t,n,!0,u);if(s)for(l=0,f=s.length;l<f;l++)a=s[l],!t.hasOwnProperty(a)&&n.hasOwnProperty(a)&&(t[a]=i.isArray(n[a])?[]:{}),e.aggregate(t,n,!0,[a]);if(o)for(l in o)o.hasOwnProperty(l)&&o[l](l,t,n)},_tmpl:function(t){function n(){n.superclass.constructor.apply(this,arguments)}return e.extend(n,t),n},_impl:function(e){var t=this._getClasses(),n,r,i,s,o,u;for(n=0,r=t.length;n<r;n++){i=t[n];if(i._yuibuild){s=i._yuibuild.exts,o=s.length;for(u=0;u<o;u++)if(s[u]===e)return!0}}return!1},_ctor:function(e,t){var n=t&&!1===t.dynamic?!1:!0,r=n?a._tmpl(e):e,i=r._yuibuild;return i||(i=r._yuibuild={}),i.id=i.id||null,i.exts=i.exts||[],i.dynamic=n,r},_cfg:function(t,n,r){var i=[],s={},o=[],u,a=n&&n.aggregates,f=n&&n.custom,l=n&&n.statics,c=t,h,p;while(c&&c.prototype)u=c._buildCfg,u&&(u.aggregates&&(i=i.concat(u.aggregates)),u.custom&&e.mix(s,u.custom,!0),u.statics&&(o=o.concat(u.statics))),c=c.superclass?c.superclass.constructor:null;if(r)for(h=0,p=r.length;h<p;h++)c=r[h],u=c._buildCfg,u&&(u.aggregates&&(i=i.concat(u.aggregates)),u.custom&&e.mix(s,u.custom,!0),u.statics&&(o=o.concat(u.statics)));return a&&(i=i.concat(a)),f&&e.mix(s,n.cfgBuild,!0),l&&(o=o.concat(l)),{aggregates:i,custom:s,statics:o}},_clean:function(t,n){var r,i,s,o=e.merge(t),u=n.aggregates,a=n.custom;for(r in a)o.hasOwnProperty(r)&&delete o[r];for(i=0,s=u.length;i<s;i++)r=u[i],o.hasOwnProperty(r)&&delete o[r];return o}}),r.build=function(e,t,n,r){return a(e,t,n,null,null,r)},r.create=function(e,t,n,r,i){return a(e,t,n,r,i)},r.mix=function(e,t){return e._CACHED_CLASS_DATA&&(e._CACHED_CLASS_DATA=null),a(null,e,t,null,null,{dynamic:!1})},n._buildCfg={aggregates:u.concat(),custom:{ATTRS:c,_ATTR_CFG:l,_NON_ATTRS_CFG:f}},r._buildCfg={aggregates:u.concat(),custom:{ATTRS:c,_ATTR_CFG:l,_NON_ATTRS_CFG:f}}},"3.17.2",{requires:["base-base"]});
artpolikarpov/cdnjs
ajax/libs/yui/3.17.2/base-build/base-build-min.js
JavaScript
mit
2,834
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("event-valuechange",function(e,t){var n="_valuechange",r="value",i="nodeName",s,o={POLL_INTERVAL:50,TIMEOUT:1e4,_poll:function(t,r){var i=t._node,s=r.e,u=t._data&&t._data[n],a=0,f,l,c,h,p,d;if(!i||!u){o._stopPolling(t);return}l=u.prevVal,h=u.nodeName,u.isEditable?c=i.innerHTML:h==="input"||h==="textarea"?c=i.value:h==="select"&&(p=i.options[i.selectedIndex],c=p.value||p.text),c!==l&&(u.prevVal=c,f={_event:s,currentTarget:s&&s.currentTarget||t,newVal:c,prevVal:l,target:s&&s.target||t},e.Object.some(u.notifiers,function(e){var t=e.handle.evt,n;a!==1?e.fire(f):t.el===d&&e.fire(f),n=t&&t._facade?t._facade.stopped:0,n>a&&(a=n,a===1&&(d=t.el));if(a===2)return!0}),o._refreshTimeout(t))},_refreshTimeout:function(e,t){if(!e._node)return;var r=e.getData(n);o._stopTimeout(e),r.timeout=setTimeout(function(){o._stopPolling(e,t)},o.TIMEOUT)},_startPolling:function(t,s,u){var a,f;if(!t.test("input,textarea,select")&&!(f=o._isEditable(t)))return;a=t.getData(n),a||(a={nodeName:t.get(i).toLowerCase(),isEditable:f,prevVal:f?t.getDOMNode().innerHTML:t.get(r)},t.setData(n,a)),a.notifiers||(a.notifiers={});if(a.interval){if(!u.force){a.notifiers[e.stamp(s)]=s;return}o._stopPolling(t,s)}a.notifiers[e.stamp(s)]=s,a.interval=setInterval(function(){o._poll(t,u)},o.POLL_INTERVAL),o._refreshTimeout(t,s)},_stopPolling:function(t,r){if(!t._node)return;var i=t.getData(n)||{};clearInterval(i.interval),delete i.interval,o._stopTimeout(t),r?i.notifiers&&delete i.notifiers[e.stamp(r)]:i.notifiers={}},_stopTimeout:function(e){var t=e.getData(n)||{};clearTimeout(t.timeout),delete t.timeout},_isEditable:function(e){var t=e._node;return t.contentEditable==="true"||t.contentEditable===""},_onBlur:function(e,t){o._stopPolling(e.currentTarget,t)},_onFocus:function(e,t){var s=e.currentTarget,u=s.getData(n);u||(u={isEditable:o._isEditable(s),nodeName:s.get(i).toLowerCase()},s.setData(n,u)),u.prevVal=u.isEditable?s.getDOMNode().innerHTML:s.get(r),o._startPolling(s,t,{e:e})},_onKeyDown:function(e,t){o._startPolling(e.currentTarget,t,{e:e})},_onKeyUp:function(e,t){(e.charCode===229||e.charCode===197)&&o._startPolling(e.currentTarget,t,{e:e,force:!0})},_onMouseDown:function(e,t){o._startPolling(e.currentTarget,t,{e:e})},_onSubscribe:function(t,s,u,a){var f,l,c,h,p;l={blur:o._onBlur,focus:o._onFocus,keydown:o._onKeyDown,keyup:o._onKeyUp,mousedown:o._onMouseDown},f=u._valuechange={};if(a)f.delegated=!0,f.getNodes=function(){return h=t.all("input,textarea,select").filter(a),p=t.all('[contenteditable="true"],[contenteditable=""]').filter(a),h.concat(p)},f.getNodes().each(function(e){e.getData(n)||e.setData(n,{nodeName:e.get(i).toLowerCase(),isEditable:o._isEditable(e),prevVal:c?e.getDOMNode().innerHTML:e.get(r)})}),u._handles=e.delegate(l,t,a,null,u);else{c=o._isEditable(t);if(!t.test("input,textarea,select")&&!c)return;t.getData(n)||t.setData(n,{nodeName:t.get(i).toLowerCase(),isEditable:c,prevVal:c?t.getDOMNode().innerHTML:t.get(r)}),u._handles=t.on(l,null,null,u)}},_onUnsubscribe:function(e,t,n){var r=n._valuechange;n._handles&&n._handles.detach(),r.delegated?r.getNodes().each(function(e){o._stopPolling(e,n)}):o._stopPolling(e,n)}};s={detach:o._onUnsubscribe,on:o._onSubscribe,delegate:o._onSubscribe,detachDelegate:o._onUnsubscribe,publishConfig:{emitFacade:!0}},e.Event.define("valuechange",s),e.Event.define("valueChange",s),e.ValueChange=o},"3.17.2",{requires:["event-focus","event-synthetic"]});
Third9/jsdelivr
files/yui/3.17.2/event-valuechange/event-valuechange-min.js
JavaScript
mit
3,563
typeof JSON!="object"&&(JSON={}),function(){"use strict";function f(e){return e<10?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return typeof t=="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,s,o=gap,u,a=t[e];a&&typeof a=="object"&&typeof a.toJSON=="function"&&(a=a.toJSON(e)),typeof rep=="function"&&(a=rep.call(t,e,a));switch(typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";gap+=indent,u=[];if(Object.prototype.toString.apply(a)==="[object Array]"){s=a.length;for(n=0;n<s;n+=1)u[n]=str(n,a)||"null";return i=u.length===0?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+o+"]":"["+u.join(",")+"]",gap=o,i}if(rep&&typeof rep=="object"){s=rep.length;for(n=0;n<s;n+=1)typeof rep[n]=="string"&&(r=rep[n],i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i))}else for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i));return i=u.length===0?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+o+"}":"{"+u.join(",")+"}",gap=o,i}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(e,t,n){var r;gap="",indent="";if(typeof n=="number")for(r=0;r<n;r+=1)indent+=" ";else typeof n=="string"&&(indent=n);rep=t;if(!t||typeof t=="function"||typeof t=="object"&&typeof t.length=="number")return str("",{"":e});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&typeof i=="object")for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),r!==undefined?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(e,t){"use strict";var n=e.History=e.History||{};if(typeof n.Adapter!="undefined")throw new Error("History.js Adapter has already been loaded...");n.Adapter={handlers:{},_uid:1,uid:function(e){return e._uid||(e._uid=n.Adapter._uid++)},bind:function(e,t,r){var i=n.Adapter.uid(e);n.Adapter.handlers[i]=n.Adapter.handlers[i]||{},n.Adapter.handlers[i][t]=n.Adapter.handlers[i][t]||[],n.Adapter.handlers[i][t].push(r),e["on"+t]=function(e,t){return function(r){n.Adapter.trigger(e,t,r)}}(e,t)},trigger:function(e,t,r){r=r||{};var i=n.Adapter.uid(e),s,o;n.Adapter.handlers[i]=n.Adapter.handlers[i]||{},n.Adapter.handlers[i][t]=n.Adapter.handlers[i][t]||[];for(s=0,o=n.Adapter.handlers[i][t].length;s<o;++s)n.Adapter.handlers[i][t][s].apply(this,[r])},extractEventData:function(e,n){var r=n&&n[e]||t;return r},onDomLoad:function(t){var n=e.setTimeout(function(){t()},2e3);e.onload=function(){clearTimeout(n),t()}}},typeof n.init!="undefined"&&n.init()}(window),function(e,t){"use strict";var n=e.document,r=e.setTimeout||r,i=e.clearTimeout||i,s=e.setInterval||s,o=e.History=e.History||{};if(typeof o.initHtml4!="undefined")throw new Error("History.js HTML4 Support has already been loaded...");o.initHtml4=function(){if(typeof o.initHtml4.initialized!="undefined")return!1;o.initHtml4.initialized=!0,o.enabled=!0,o.savedHashes=[],o.isLastHash=function(e){var t=o.getHashByIndex(),n;return n=e===t,n},o.isHashEqual=function(e,t){return e=encodeURIComponent(e).replace(/%25/g,"%"),t=encodeURIComponent(t).replace(/%25/g,"%"),e===t},o.saveHash=function(e){return o.isLastHash(e)?!1:(o.savedHashes.push(e),!0)},o.getHashByIndex=function(e){var t=null;return typeof e=="undefined"?t=o.savedHashes[o.savedHashes.length-1]:e<0?t=o.savedHashes[o.savedHashes.length+e]:t=o.savedHashes[e],t},o.discardedHashes={},o.discardedStates={},o.discardState=function(e,t,n){var r=o.getHashByState(e),i;return i={discardedState:e,backState:n,forwardState:t},o.discardedStates[r]=i,!0},o.discardHash=function(e,t,n){var r={discardedHash:e,backState:n,forwardState:t};return o.discardedHashes[e]=r,!0},o.discardedState=function(e){var t=o.getHashByState(e),n;return n=o.discardedStates[t]||!1,n},o.discardedHash=function(e){var t=o.discardedHashes[e]||!1;return t},o.recycleState=function(e){var t=o.getHashByState(e);return o.discardedState(e)&&delete o.discardedStates[t],!0},o.emulated.hashChange&&(o.hashChangeInit=function(){o.checkerFunction=null;var t="",r,i,u,a,f=Boolean(o.getHash());return o.isInternetExplorer()?(r="historyjs-iframe",i=n.createElement("iframe"),i.setAttribute("id",r),i.setAttribute("src","#"),i.style.display="none",n.body.appendChild(i),i.contentWindow.document.open(),i.contentWindow.document.close(),u="",a=!1,o.checkerFunction=function(){if(a)return!1;a=!0;var n=o.getHash(),r=o.getHash(i.contentWindow.document);return n!==t?(t=n,r!==n&&(u=r=n,i.contentWindow.document.open(),i.contentWindow.document.close(),i.contentWindow.document.location.hash=o.escapeHash(n)),o.Adapter.trigger(e,"hashchange")):r!==u&&(u=r,f&&r===""?o.back():o.setHash(r,!1)),a=!1,!0}):o.checkerFunction=function(){var n=o.getHash()||"";return n!==t&&(t=n,o.Adapter.trigger(e,"hashchange")),!0},o.intervalList.push(s(o.checkerFunction,o.options.hashChangeInterval)),!0},o.Adapter.onDomLoad(o.hashChangeInit)),o.emulated.pushState&&(o.onHashChange=function(t){var n=t&&t.newURL||o.getLocationHref(),r=o.getHashByUrl(n),i=null,s=null,u=null,a;return o.isLastHash(r)?(o.busy(!1),!1):(o.doubleCheckComplete(),o.saveHash(r),r&&o.isTraditionalAnchor(r)?(o.Adapter.trigger(e,"anchorchange"),o.busy(!1),!1):(i=o.extractState(o.getFullUrl(r||o.getLocationHref()),!0),o.isLastSavedState(i)?(o.busy(!1),!1):(s=o.getHashByState(i),a=o.discardedState(i),a?(o.getHashByIndex(-2)===o.getHashByState(a.forwardState)?o.back(!1):o.forward(!1),!1):(o.pushState(i.data,i.title,encodeURI(i.url),!1),!0))))},o.Adapter.bind(e,"hashchange",o.onHashChange),o.pushState=function(t,n,r,i){r=encodeURI(r).replace(/%25/g,"%");if(o.getHashByUrl(r))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(i!==!1&&o.busy())return o.pushQueue({scope:o,callback:o.pushState,args:arguments,queue:i}),!1;o.busy(!0);var s=o.createStateObject(t,n,r),u=o.getHashByState(s),a=o.getState(!1),f=o.getHashByState(a),l=o.getHash(),c=o.expectedStateId==s.id;return o.storeState(s),o.expectedStateId=s.id,o.recycleState(s),o.setTitle(s),u===f?(o.busy(!1),!1):(o.saveState(s),c||o.Adapter.trigger(e,"statechange"),!o.isHashEqual(u,l)&&!o.isHashEqual(u,o.getShortUrl(o.getLocationHref()))&&o.setHash(u,!1),o.busy(!1),!0)},o.replaceState=function(t,n,r,i){r=encodeURI(r).replace(/%25/g,"%");if(o.getHashByUrl(r))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(i!==!1&&o.busy())return o.pushQueue({scope:o,callback:o.replaceState,args:arguments,queue:i}),!1;o.busy(!0);var s=o.createStateObject(t,n,r),u=o.getHashByState(s),a=o.getState(!1),f=o.getHashByState(a),l=o.getStateByIndex(-2);return o.discardState(a,s,l),u===f?(o.storeState(s),o.expectedStateId=s.id,o.recycleState(s),o.setTitle(s),o.saveState(s),o.Adapter.trigger(e,"statechange"),o.busy(!1)):o.pushState(s.data,s.title,s.url,!1),!0}),o.emulated.pushState&&o.getHash()&&!o.emulated.hashChange&&o.Adapter.onDomLoad(function(){o.Adapter.trigger(e,"hashchange")})},typeof o.init!="undefined"&&o.init()}(window),function(e,t){"use strict";var n=e.console||t,r=e.document,i=e.navigator,s=e.sessionStorage||!1,o=e.setTimeout,u=e.clearTimeout,a=e.setInterval,f=e.clearInterval,l=e.JSON,c=e.alert,h=e.History=e.History||{},p=e.history;try{s.setItem("TEST","1"),s.removeItem("TEST")}catch(d){s=!1}l.stringify=l.stringify||l.encode,l.parse=l.parse||l.decode;if(typeof h.init!="undefined")throw new Error("History.js Core has already been loaded...");h.init=function(e){return typeof h.Adapter=="undefined"?!1:(typeof h.initCore!="undefined"&&h.initCore(),typeof h.initHtml4!="undefined"&&h.initHtml4(),!0)},h.initCore=function(d){if(typeof h.initCore.initialized!="undefined")return!1;h.initCore.initialized=!0,h.options=h.options||{},h.options.hashChangeInterval=h.options.hashChangeInterval||100,h.options.safariPollInterval=h.options.safariPollInterval||500,h.options.doubleCheckInterval=h.options.doubleCheckInterval||500,h.options.disableSuid=h.options.disableSuid||!1,h.options.storeInterval=h.options.storeInterval||1e3,h.options.busyDelay=h.options.busyDelay||250,h.options.debug=h.options.debug||!1,h.options.initialTitle=h.options.initialTitle||r.title,h.options.html4Mode=h.options.html4Mode||!1,h.options.delayInit=h.options.delayInit||!1,h.intervalList=[],h.clearAllIntervals=function(){var e,t=h.intervalList;if(typeof t!="undefined"&&t!==null){for(e=0;e<t.length;e++)f(t[e]);h.intervalList=null}},h.debug=function(){(h.options.debug||!1)&&h.log.apply(h,arguments)},h.log=function(){var e=typeof n!="undefined"&&typeof n.log!="undefined"&&typeof n.log.apply!="undefined",t=r.getElementById("log"),i,s,o,u,a;e?(u=Array.prototype.slice.call(arguments),i=u.shift(),typeof n.debug!="undefined"?n.debug.apply(n,[i,u]):n.log.apply(n,[i,u])):i="\n"+arguments[0]+"\n";for(s=1,o=arguments.length;s<o;++s){a=arguments[s];if(typeof a=="object"&&typeof l!="undefined")try{a=l.stringify(a)}catch(f){}i+="\n"+a+"\n"}return t?(t.value+=i+"\n-----\n",t.scrollTop=t.scrollHeight-t.clientHeight):e||c(i),!0},h.getInternetExplorerMajorVersion=function(){var e=h.getInternetExplorerMajorVersion.cached=typeof h.getInternetExplorerMajorVersion.cached!="undefined"?h.getInternetExplorerMajorVersion.cached:function(){var e=3,t=r.createElement("div"),n=t.getElementsByTagName("i");while((t.innerHTML="<!--[if gt IE "+ ++e+"]><i></i><![endif]-->")&&n[0]);return e>4?e:!1}();return e},h.isInternetExplorer=function(){var e=h.isInternetExplorer.cached=typeof h.isInternetExplorer.cached!="undefined"?h.isInternetExplorer.cached:Boolean(h.getInternetExplorerMajorVersion());return e},h.options.html4Mode?h.emulated={pushState:!0,hashChange:!0}:h.emulated={pushState:!Boolean(e.history&&e.history.pushState&&e.history.replaceState&&!/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(i.userAgent)&&!/AppleWebKit\/5([0-2]|3[0-2])/i.test(i.userAgent)),hashChange:Boolean(!("onhashchange"in e||"onhashchange"in r)||h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<8)},h.enabled=!h.emulated.pushState,h.bugs={setHash:Boolean(!h.emulated.pushState&&i.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(i.userAgent)),safariPoll:Boolean(!h.emulated.pushState&&i.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(i.userAgent)),ieDoubleCheck:Boolean(h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<7)},h.isEmptyObject=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},h.cloneObject=function(e){var t,n;return e?(t=l.stringify(e),n=l.parse(t)):n={},n},h.getRootUrl=function(){var e=r.location.protocol+"//"+(r.location.hostname||r.location.host);if(r.location.port||!1)e+=":"+r.location.port;return e+="/",e},h.getBaseHref=function(){var e=r.getElementsByTagName("base"),t=null,n="";return e.length===1&&(t=e[0],n=t.href.replace(/[^\/]+$/,"")),n=n.replace(/\/+$/,""),n&&(n+="/"),n},h.getBaseUrl=function(){var e=h.getBaseHref()||h.getBasePageUrl()||h.getRootUrl();return e},h.getPageUrl=function(){var e=h.getState(!1,!1),t=(e||{}).url||h.getLocationHref(),n;return n=t.replace(/\/+$/,"").replace(/[^\/]+$/,function(e,t,n){return/\./.test(e)?e:e+"/"}),n},h.getBasePageUrl=function(){var e=h.getLocationHref().replace(/[#\?].*/,"").replace(/[^\/]+$/,function(e,t,n){return/[^\/]$/.test(e)?"":e}).replace(/\/+$/,"")+"/";return e},h.getFullUrl=function(e,t){var n=e,r=e.substring(0,1);return t=typeof t=="undefined"?!0:t,/[a-z]+\:\/\//.test(e)||(r==="/"?n=h.getRootUrl()+e.replace(/^\/+/,""):r==="#"?n=h.getPageUrl().replace(/#.*/,"")+e:r==="?"?n=h.getPageUrl().replace(/[\?#].*/,"")+e:t?n=h.getBaseUrl()+e.replace(/^(\.\/)+/,""):n=h.getBasePageUrl()+e.replace(/^(\.\/)+/,"")),n.replace(/\#$/,"")},h.getShortUrl=function(e){var t=e,n=h.getBaseUrl(),r=h.getRootUrl();return h.emulated.pushState&&(t=t.replace(n,"")),t=t.replace(r,"/"),h.isTraditionalAnchor(t)&&(t="./"+t),t=t.replace(/^(\.\/)+/g,"./").replace(/\#$/,""),t},h.getLocationHref=function(e){return e=e||r,e.URL===e.location.href?e.location.href:e.location.href===decodeURIComponent(e.URL)?e.URL:e.location.hash&&decodeURIComponent(e.location.href.replace(/^[^#]+/,""))===e.location.hash?e.location.href:e.URL.indexOf("#")==-1&&e.location.href.indexOf("#")!=-1?e.location.href:e.URL||e.location.href},h.store={},h.idToState=h.idToState||{},h.stateToId=h.stateToId||{},h.urlToId=h.urlToId||{},h.storedStates=h.storedStates||[],h.savedStates=h.savedStates||[],h.normalizeStore=function(){h.store.idToState=h.store.idToState||{},h.store.urlToId=h.store.urlToId||{},h.store.stateToId=h.store.stateToId||{}},h.getState=function(e,t){typeof e=="undefined"&&(e=!0),typeof t=="undefined"&&(t=!0);var n=h.getLastSavedState();return!n&&t&&(n=h.createStateObject()),e&&(n=h.cloneObject(n),n.url=n.cleanUrl||n.url),n},h.getIdByState=function(e){var t=h.extractId(e.url),n;if(!t){n=h.getStateString(e);if(typeof h.stateToId[n]!="undefined")t=h.stateToId[n];else if(typeof h.store.stateToId[n]!="undefined")t=h.store.stateToId[n];else{for(;;){t=(new Date).getTime()+String(Math.random()).replace(/\D/g,"");if(typeof h.idToState[t]=="undefined"&&typeof h.store.idToState[t]=="undefined")break}h.stateToId[n]=t,h.idToState[t]=e}}return t},h.normalizeState=function(e){var t,n;if(!e||typeof e!="object")e={};if(typeof e.normalized!="undefined")return e;if(!e.data||typeof e.data!="object")e.data={};return t={},t.normalized=!0,t.title=e.title||"",t.url=h.getFullUrl(e.url?e.url:h.getLocationHref()),t.hash=h.getShortUrl(t.url),t.data=h.cloneObject(e.data),t.id=h.getIdByState(t),t.cleanUrl=t.url.replace(/\??\&_suid.*/,""),t.url=t.cleanUrl,n=!h.isEmptyObject(t.data),(t.title||n)&&h.options.disableSuid!==!0&&(t.hash=h.getShortUrl(t.url).replace(/\??\&_suid.*/,""),/\?/.test(t.hash)||(t.hash+="?"),t.hash+="&_suid="+t.id),t.hashedUrl=h.getFullUrl(t.hash),(h.emulated.pushState||h.bugs.safariPoll)&&h.hasUrlDuplicate(t)&&(t.url=t.hashedUrl),t},h.createStateObject=function(e,t,n){var r={data:e,title:t,url:n};return r=h.normalizeState(r),r},h.getStateById=function(e){e=String(e);var n=h.idToState[e]||h.store.idToState[e]||t;return n},h.getStateString=function(e){var t,n,r;return t=h.normalizeState(e),n={data:t.data,title:e.title,url:e.url},r=l.stringify(n),r},h.getStateId=function(e){var t,n;return t=h.normalizeState(e),n=t.id,n},h.getHashByState=function(e){var t,n;return t=h.normalizeState(e),n=t.hash,n},h.extractId=function(e){var t,n,r,i;return e.indexOf("#")!=-1?i=e.split("#")[0]:i=e,n=/(.*)\&_suid=([0-9]+)$/.exec(i),r=n?n[1]||e:e,t=n?String(n[2]||""):"",t||!1},h.isTraditionalAnchor=function(e){var t=!/[\/\?\.]/.test(e);return t},h.extractState=function(e,t){var n=null,r,i;return t=t||!1,r=h.extractId(e),r&&(n=h.getStateById(r)),n||(i=h.getFullUrl(e),r=h.getIdByUrl(i)||!1,r&&(n=h.getStateById(r)),!n&&t&&!h.isTraditionalAnchor(e)&&(n=h.createStateObject(null,null,i))),n},h.getIdByUrl=function(e){var n=h.urlToId[e]||h.store.urlToId[e]||t;return n},h.getLastSavedState=function(){return h.savedStates[h.savedStates.length-1]||t},h.getLastStoredState=function(){return h.storedStates[h.storedStates.length-1]||t},h.hasUrlDuplicate=function(e){var t=!1,n;return n=h.extractState(e.url),t=n&&n.id!==e.id,t},h.storeState=function(e){return h.urlToId[e.url]=e.id,h.storedStates.push(h.cloneObject(e)),e},h.isLastSavedState=function(e){var t=!1,n,r,i;return h.savedStates.length&&(n=e.id,r=h.getLastSavedState(),i=r.id,t=n===i),t},h.saveState=function(e){return h.isLastSavedState(e)?!1:(h.savedStates.push(h.cloneObject(e)),!0)},h.getStateByIndex=function(e){var t=null;return typeof e=="undefined"?t=h.savedStates[h.savedStates.length-1]:e<0?t=h.savedStates[h.savedStates.length+e]:t=h.savedStates[e],t},h.getCurrentIndex=function(){var e=null;return h.savedStates.length<1?e=0:e=h.savedStates.length-1,e},h.getHash=function(e){var t=h.getLocationHref(e),n;return n=h.getHashByUrl(t),n},h.unescapeHash=function(e){var t=h.normalizeHash(e);return t=decodeURIComponent(t),t},h.normalizeHash=function(e){var t=e.replace(/[^#]*#/,"").replace(/#.*/,"");return t},h.setHash=function(e,t){var n,i;return t!==!1&&h.busy()?(h.pushQueue({scope:h,callback:h.setHash,args:arguments,queue:t}),!1):(h.busy(!0),n=h.extractState(e,!0),n&&!h.emulated.pushState?h.pushState(n.data,n.title,n.url,!1):h.getHash()!==e&&(h.bugs.setHash?(i=h.getPageUrl(),h.pushState(null,null,i+"#"+e,!1)):r.location.hash=e),h)},h.escapeHash=function(t){var n=h.normalizeHash(t);return n=e.encodeURIComponent(n),h.bugs.hashEscape||(n=n.replace(/\%21/g,"!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?")),n},h.getHashByUrl=function(e){var t=String(e).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return t=h.unescapeHash(t),t},h.setTitle=function(e){var t=e.title,n;t||(n=h.getStateByIndex(0),n&&n.url===e.url&&(t=n.title||h.options.initialTitle));try{r.getElementsByTagName("title")[0].innerHTML=t.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(i){}return r.title=t,h},h.queues=[],h.busy=function(e){typeof e!="undefined"?h.busy.flag=e:typeof h.busy.flag=="undefined"&&(h.busy.flag=!1);if(!h.busy.flag){u(h.busy.timeout);var t=function(){var e,n,r;if(h.busy.flag)return;for(e=h.queues.length-1;e>=0;--e){n=h.queues[e];if(n.length===0)continue;r=n.shift(),h.fireQueueItem(r),h.busy.timeout=o(t,h.options.busyDelay)}};h.busy.timeout=o(t,h.options.busyDelay)}return h.busy.flag},h.busy.flag=!1,h.fireQueueItem=function(e){return e.callback.apply(e.scope||h,e.args||[])},h.pushQueue=function(e){return h.queues[e.queue||0]=h.queues[e.queue||0]||[],h.queues[e.queue||0].push(e),h},h.queue=function(e,t){return typeof e=="function"&&(e={callback:e}),typeof t!="undefined"&&(e.queue=t),h.busy()?h.pushQueue(e):h.fireQueueItem(e),h},h.clearQueue=function(){return h.busy.flag=!1,h.queues=[],h},h.stateChanged=!1,h.doubleChecker=!1,h.doubleCheckComplete=function(){return h.stateChanged=!0,h.doubleCheckClear(),h},h.doubleCheckClear=function(){return h.doubleChecker&&(u(h.doubleChecker),h.doubleChecker=!1),h},h.doubleCheck=function(e){return h.stateChanged=!1,h.doubleCheckClear(),h.bugs.ieDoubleCheck&&(h.doubleChecker=o(function(){return h.doubleCheckClear(),h.stateChanged||e(),!0},h.options.doubleCheckInterval)),h},h.safariStatePoll=function(){var t=h.extractState(h.getLocationHref()),n;if(!h.isLastSavedState(t))return n=t,n||(n=h.createStateObject()),h.Adapter.trigger(e,"popstate"),h;return},h.back=function(e){return e!==!1&&h.busy()?(h.pushQueue({scope:h,callback:h.back,args:arguments,queue:e}),!1):(h.busy(!0),h.doubleCheck(function(){h.back(!1)}),p.go(-1),!0)},h.forward=function(e){return e!==!1&&h.busy()?(h.pushQueue({scope:h,callback:h.forward,args:arguments,queue:e}),!1):(h.busy(!0),h.doubleCheck(function(){h.forward(!1)}),p.go(1),!0)},h.go=function(e,t){var n;if(e>0)for(n=1;n<=e;++n)h.forward(t);else{if(!(e<0))throw new Error("History.go: History.go requires a positive or negative integer passed.");for(n=-1;n>=e;--n)h.back(t)}return h};if(h.emulated.pushState){var v=function(){};h.pushState=h.pushState||v,h.replaceState=h.replaceState||v}else h.onPopState=function(t,n){var r=!1,i=!1,s,o;return h.doubleCheckComplete(),s=h.getHash(),s?(o=h.extractState(s||h.getLocationHref(),!0),o?h.replaceState(o.data,o.title,o.url,!1):(h.Adapter.trigger(e,"anchorchange"),h.busy(!1)),h.expectedStateId=!1,!1):(r=h.Adapter.extractEventData("state",t,n)||!1,r?i=h.getStateById(r):h.expectedStateId?i=h.getStateById(h.expectedStateId):i=h.extractState(h.getLocationHref()),i||(i=h.createStateObject(null,null,h.getLocationHref())),h.expectedStateId=!1,h.isLastSavedState(i)?(h.busy(!1),!1):(h.storeState(i),h.saveState(i),h.setTitle(i),h.Adapter.trigger(e,"statechange"),h.busy(!1),!0))},h.Adapter.bind(e,"popstate",h.onPopState),h.pushState=function(t,n,r,i){if(h.getHashByUrl(r)&&h.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(i!==!1&&h.busy())return h.pushQueue({scope:h,callback:h.pushState,args:arguments,queue:i}),!1;h.busy(!0);var s=h.createStateObject(t,n,r);return h.isLastSavedState(s)?h.busy(!1):(h.storeState(s),h.expectedStateId=s.id,p.pushState(s.id,s.title,s.url),h.Adapter.trigger(e,"popstate")),!0},h.replaceState=function(t,n,r,i){if(h.getHashByUrl(r)&&h.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(i!==!1&&h.busy())return h.pushQueue({scope:h,callback:h.replaceState,args:arguments,queue:i}),!1;h.busy(!0);var s=h.createStateObject(t,n,r);return h.isLastSavedState(s)?h.busy(!1):(h.storeState(s),h.expectedStateId=s.id,p.replaceState(s.id,s.title,s.url),h.Adapter.trigger(e,"popstate")),!0};if(s){try{h.store=l.parse(s.getItem("History.store"))||{}}catch(m){h.store={}}h.normalizeStore()}else h.store={},h.normalizeStore();h.Adapter.bind(e,"unload",h.clearAllIntervals),h.saveState(h.storeState(h.extractState(h.getLocationHref(),!0))),s&&(h.onUnload=function(){var e,t,n;try{e=l.parse(s.getItem("History.store"))||{}}catch(r){e={}}e.idToState=e.idToState||{},e.urlToId=e.urlToId||{},e.stateToId=e.stateToId||{};for(t in h.idToState){if(!h.idToState.hasOwnProperty(t))continue;e.idToState[t]=h.idToState[t]}for(t in h.urlToId){if(!h.urlToId.hasOwnProperty(t))continue;e.urlToId[t]=h.urlToId[t]}for(t in h.stateToId){if(!h.stateToId.hasOwnProperty(t))continue;e.stateToId[t]=h.stateToId[t]}h.store=e,h.normalizeStore(),n=l.stringify(e);try{s.setItem("History.store",n)}catch(i){if(i.code!==DOMException.QUOTA_EXCEEDED_ERR)throw i;s.length&&(s.removeItem("History.store"),s.setItem("History.store",n))}},h.intervalList.push(a(h.onUnload,h.options.storeInterval)),h.Adapter.bind(e,"beforeunload",h.onUnload),h.Adapter.bind(e,"unload",h.onUnload));if(!h.emulated.pushState){h.bugs.safariPoll&&h.intervalList.push(a(h.safariStatePoll,h.options.safariPollInterval));if(i.vendor==="Apple Computer, Inc."||(i.appCodeName||"")==="Mozilla")h.Adapter.bind(e,"hashchange",function(){h.Adapter.trigger(e,"popstate")}),h.getHash()&&h.Adapter.onDomLoad(function(){h.Adapter.trigger(e,"hashchange")})}},(!h.options||!h.options.delayInit)&&h.init()}(window)
nolsherry/cdnjs
ajax/libs/history.js/1.8/bundled/html4+html5/native.history.js
JavaScript
mit
23,458
var falafel = require('falafel'); var test = require('../'); test('nested array test', function (t) { t.plan(5); var src = '(' + function () { var xs = [ 1, 2, [ 3, 4 ] ]; var ys = [ 5, 6 ]; g([ xs, ys ]); } + ')()'; var output = falafel(src, function (node) { if (node.type === 'ArrayExpression') { node.update('fn(' + node.source() + ')'); } }); t.test('inside test', function (q) { q.plan(2); q.ok(true); setTimeout(function () { q.equal(3, 4); }, 3000); }); var arrays = [ [ 3, 4 ], [ 1, 2, [ 3, 4 ] ], [ 5, 6 ], [ [ 1, 2, [ 3, 4 ] ], [ 5, 6 ] ], ]; Function(['fn','g'], output)( function (xs) { t.same(arrays.shift(), xs); return xs; }, function (xs) { t.same(xs, [ [ 1, 2, [ 3, 4 ] ], [ 5, 6 ] ]); } ); }); test('another', function (t) { t.plan(1); setTimeout(function () { t.ok(true); }, 100); });
wenjoy/homePage
node_modules/geetest/node_modules/request/node_modules/har-validator/node_modules/should/node_modules/gulp-rename/node_modules/gulp-util/node_modules/istanbul-coveralls/node_modules/sum-up/node_modules/tape/example/nested_fail.js
JavaScript
mit
1,101
.yui3-skin-sam .yui3-separate-console { position:absolute; right:1em; top:1em; z-index:999; } .yui3-skin-sam .yui3-inline-console { /* xbrowser inline-block styles */ display: -moz-inline-stack; /* FF2 */ display: inline-block; *display: inline; /* IE 7- (with zoom) */ zoom: 1; vertical-align: top; } .yui3-skin-sam .yui3-inline-console .yui3-console-content { position: relative; } .yui3-skin-sam .yui3-console-content { background: #777; _background: #D8D8DA url(bg.png) repeat-x 0 0; font: normal 13px/1.3 Arial, sans-serif; text-align: left; border: 1px solid #777; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; } .yui3-skin-sam .yui3-console-hd, .yui3-skin-sam .yui3-console-bd, .yui3-skin-sam .yui3-console-ft { position: relative; } .yui3-skin-sam .yui3-console-hd, .yui3-skin-sam .yui3-console-ft .yui3-console-controls { text-align: right; } .yui3-skin-sam .yui3-console-hd { background: #D8D8DA url(bg.png) repeat-x 0 0; padding: 1ex; border: 1px solid transparent; _border: 0 none; border-top-right-radius: 10px; border-top-left-radius: 10px; -moz-border-radius-topright: 10px; -moz-border-radius-topleft: 10px; -webkit-border-top-right-radius: 10px; -webkit-border-top-left-radius: 10px; } .yui3-skin-sam .yui3-console-bd { background: #fff; border-top: 1px solid #777; border-bottom: 1px solid #777; color: #000; font-size: 11px; overflow: auto; overflow-x: auto; overflow-y: scroll; _width: 100%; } .yui3-skin-sam .yui3-console-ft { background: #D8D8DA url(bg.png) repeat-x 0 0; border: 1px solid transparent; _border: 0 none; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; -moz-border-radius-bottomright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; } .yui3-skin-sam .yui3-console-controls { padding: 4px 1ex; zoom: 1; } .yui3-skin-sam .yui3-console-title { color: #000; display: inline; float: left; font-weight: bold; font-size: 13px; height: 24px; line-height: 24px; margin: 0; padding-left: 1ex; } .yui3-skin-sam .yui3-console-pause-label { float: left; } .yui3-skin-sam .yui3-console-button { line-height: 1.3; } .yui3-skin-sam .yui3-console-collapsed .yui3-console-bd, .yui3-skin-sam .yui3-console-collapsed .yui3-console-ft { display: none; } .yui3-skin-sam .yui3-console-content.yui3-console-collapsed { -webkit-border-radius: 0; } .yui3-skin-sam .yui3-console-collapsed .yui3-console-hd { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 0; } /* Log entries */ .yui3-skin-sam .yui3-console-entry { border-bottom: 1px solid #aaa; min-height: 32px; _height: 32px; } .yui3-skin-sam .yui3-console-entry-meta { margin: 0; overflow: hidden; } .yui3-skin-sam .yui3-console-entry-content { margin: 0; padding: 0 1ex; white-space: pre-wrap; word-wrap: break-word; } .yui3-skin-sam .yui3-console-entry-meta .yui3-console-entry-src { color: #000; font-style: italic; font-weight: bold; float: right; margin: 2px 5px 0 0; } .yui3-skin-sam .yui3-console-entry-meta .yui3-console-entry-time { color: #777; padding-left: 1ex; } .yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-meta .yui3-console-entry-time { color: #555; } .yui3-skin-sam .yui3-console-entry-info .yui3-console-entry-meta .yui3-console-entry-cat, .yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-meta .yui3-console-entry-cat, .yui3-skin-sam .yui3-console-entry-error .yui3-console-entry-meta .yui3-console-entry-cat { display: none; } .yui3-skin-sam .yui3-console-entry-warn { background: #aee url(warn_error.png) no-repeat -15px 15px; } .yui3-skin-sam .yui3-console-entry-error { background: #ffa url(warn_error.png) no-repeat 5px -24px; color: #900; } .yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-content, .yui3-skin-sam .yui3-console-entry-error .yui3-console-entry-content { padding-left: 24px; } .yui3-skin-sam .yui3-console-entry-cat { text-transform: uppercase; padding: 1px 4px; background-color: #ccc; } .yui3-skin-sam .yui3-console-entry-info .yui3-console-entry-cat { background-color: #ac2; } .yui3-skin-sam .yui3-console-entry-warn .yui3-console-entry-cat { background-color: #e81; } .yui3-skin-sam .yui3-console-entry-error .yui3-console-entry-cat { background-color: #b00; color: #fff; } .yui3-skin-sam .yui3-console-hidden { display: none; }
qooxdoo/cdnjs
ajax/libs/yui/3.1.2/console/assets/skins/sam/console-skin.css
CSS
mit
4,728
videojs.addLanguage("bg",{ "Play": "Възпроизвеждане", "Pause": "Пауза", "Current Time": "Текущо време", "Duration Time": "Продължителност", "Remaining Time": "Оставащо време", "Stream Type": "Тип на потока", "LIVE": "НА ЖИВО", "Loaded": "Заредено", "Progress": "Прогрес", "Fullscreen": "Цял екран", "Non-Fullscreen": "Спиране на цял екран", "Mute": "Без звук", "Unmuted": "Със звук", "Playback Rate": "Скорост на възпроизвеждане", "Subtitles": "Субтитри", "subtitles off": "Спряни субтитри", "Captions": "Аудио надписи", "captions off": "Спряни аудио надписи", "Chapters": "Глави", "You aborted the video playback": "Спряхте възпроизвеждането на видеото", "A network error caused the video download to fail part-way.": "Грешка в мрежата провали изтеглянето на видеото.", "The video could not be loaded, either because the server or network failed or because the format is not supported.": "Видеото не може да бъде заредено заради проблем със сървъра или мрежата или защото този формат не е поддържан.", "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Възпроизвеждането на видеото беше прекъснато заради проблем с файла или защото видеото използва опции които браузърът Ви не поддържа.", "No compatible source was found for this video.": "Не беше намерен съвместим източник за това видео." });
humbletim/cdnjs
ajax/libs/video.js/5.0.0-17/lang/bg.js
JavaScript
mit
1,927
videojs.addLanguage("bg",{ "Play": "Възпроизвеждане", "Pause": "Пауза", "Current Time": "Текущо време", "Duration Time": "Продължителност", "Remaining Time": "Оставащо време", "Stream Type": "Тип на потока", "LIVE": "НА ЖИВО", "Loaded": "Заредено", "Progress": "Прогрес", "Fullscreen": "Цял екран", "Non-Fullscreen": "Спиране на цял екран", "Mute": "Без звук", "Unmuted": "Със звук", "Playback Rate": "Скорост на възпроизвеждане", "Subtitles": "Субтитри", "subtitles off": "Спряни субтитри", "Captions": "Аудио надписи", "captions off": "Спряни аудио надписи", "Chapters": "Глави", "You aborted the video playback": "Спряхте възпроизвеждането на видеото", "A network error caused the video download to fail part-way.": "Грешка в мрежата провали изтеглянето на видеото.", "The video could not be loaded, either because the server or network failed or because the format is not supported.": "Видеото не може да бъде заредено заради проблем със сървъра или мрежата или защото този формат не е поддържан.", "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "Възпроизвеждането на видеото беше прекъснато заради проблем с файла или защото видеото използва опции които браузърът Ви не поддържа.", "No compatible source was found for this video.": "Не беше намерен съвместим източник за това видео." });
x112358/cdnjs
ajax/libs/video.js/5.0.0-rc.14/lang/bg.js
JavaScript
mit
1,927
!function(a){"use strict";function b(a,c,d){var e,f=document.createElement("img");if(f.onerror=function(e){return b.onerror(f,e,a,c,d)},f.onload=function(e){return b.onload(f,e,a,c,d)},b.isInstanceOf("Blob",a)||b.isInstanceOf("File",a))e=f._objectURL=b.createObjectURL(a);else{if("string"!=typeof a)return!1;e=a,d&&d.crossOrigin&&(f.crossOrigin=d.crossOrigin)}return e?(f.src=e,f):b.readFile(a,function(a){var b=a.target;b&&b.result?f.src=b.result:c&&c(a)})}function c(a,c){!a._objectURL||c&&c.noRevoke||(b.revokeObjectURL(a._objectURL),delete a._objectURL)}var d=window.createObjectURL&&window||window.URL&&URL.revokeObjectURL&&URL||window.webkitURL&&webkitURL;b.isInstanceOf=function(a,b){return Object.prototype.toString.call(b)==="[object "+a+"]"},b.transform=function(a,c,d,e,f){d(b.scale(a,c,f),f)},b.onerror=function(a,b,d,e,f){c(a,f),e&&e.call(a,b)},b.onload=function(a,d,e,f,g){c(a,g),f&&b.transform(a,g,f,e,{})},b.transformCoordinates=function(){},b.getTransformedOptions=function(a,b){var c,d,e,f,g=b.aspectRatio;if(!g)return b;c={};for(d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c.crop=!0,e=a.naturalWidth||a.width,f=a.naturalHeight||a.height,e/f>g?(c.maxWidth=f*g,c.maxHeight=f):(c.maxWidth=e,c.maxHeight=e/g),c},b.renderImageToCanvas=function(a,b,c,d,e,f,g,h,i,j){return a.getContext("2d").drawImage(b,c,d,e,f,g,h,i,j),a},b.hasCanvasOption=function(a){return a.canvas||a.crop||!!a.aspectRatio},b.scale=function(a,c,d){function e(){var a=Math.max((i||v)/v,(j||w)/w);a>1&&(v*=a,w*=a)}function f(){var a=Math.min((g||v)/v,(h||w)/w);a<1&&(v*=a,w*=a)}c=c||{};var g,h,i,j,k,l,m,n,o,p,q,r=document.createElement("canvas"),s=a.getContext||b.hasCanvasOption(c)&&r.getContext,t=a.naturalWidth||a.width,u=a.naturalHeight||a.height,v=t,w=u;if(s&&(c=b.getTransformedOptions(a,c,d),m=c.left||0,n=c.top||0,c.sourceWidth?(k=c.sourceWidth,void 0!==c.right&&void 0===c.left&&(m=t-k-c.right)):k=t-m-(c.right||0),c.sourceHeight?(l=c.sourceHeight,void 0!==c.bottom&&void 0===c.top&&(n=u-l-c.bottom)):l=u-n-(c.bottom||0),v=k,w=l),g=c.maxWidth,h=c.maxHeight,i=c.minWidth,j=c.minHeight,s&&g&&h&&c.crop?(v=g,w=h,q=k/l-g/h,q<0?(l=h*k/g,void 0===c.top&&void 0===c.bottom&&(n=(u-l)/2)):q>0&&(k=g*l/h,void 0===c.left&&void 0===c.right&&(m=(t-k)/2))):((c.contain||c.cover)&&(i=g=g||i,j=h=h||j),c.cover?(f(),e()):(e(),f())),s){if(o=c.pixelRatio,o>1&&(r.style.width=v+"px",r.style.height=w+"px",v*=o,w*=o,r.getContext("2d").scale(o,o)),p=.5,p>0&&p<1&&v<k&&w<l)for(;k*p>v;)r.width=k*p,r.height=l*p,b.renderImageToCanvas(r,a,m,n,k,l,0,0,r.width,r.height),k=r.width,l=r.height,a=document.createElement("canvas"),a.width=k,a.height=l,b.renderImageToCanvas(a,r,0,0,k,l,0,0,k,l);return r.width=v,r.height=w,b.transformCoordinates(r,c),b.renderImageToCanvas(r,a,m,n,k,l,0,0,v,w)}return a.width=v,a.height=w,a},b.createObjectURL=function(a){return!!d&&d.createObjectURL(a)},b.revokeObjectURL=function(a){return!!d&&d.revokeObjectURL(a)},b.readFile=function(a,b,c){if(window.FileReader){var d=new FileReader;if(d.onload=d.onerror=b,c=c||"readAsDataURL",d[c])return d[c](a),d}return!1},"function"==typeof define&&define.amd?define(function(){return b}):"object"==typeof module&&module.exports?module.exports=b:a.loadImage=b}(window),function(a){"use strict";"function"==typeof define&&define.amd?define(["load-image"],a):a(window.loadImage)}(function(a){"use strict";if(window.navigator&&window.navigator.platform&&/iP(hone|od|ad)/.test(window.navigator.platform)){var b=a.renderImageToCanvas;a.detectSubsampling=function(a){var b,c;return a.width*a.height>1048576&&(b=document.createElement("canvas"),b.width=b.height=1,c=b.getContext("2d"),c.drawImage(a,-a.width+1,0),0===c.getImageData(0,0,1,1).data[3])},a.detectVerticalSquash=function(a,b){var c,d,e,f,g,h=a.naturalHeight||a.height,i=document.createElement("canvas"),j=i.getContext("2d");for(b&&(h/=2),i.width=1,i.height=h,j.drawImage(a,0,0),c=j.getImageData(0,0,1,h).data,d=0,e=h,f=h;f>d;)g=c[4*(f-1)+3],0===g?e=f:d=f,f=e+d>>1;return f/h||1},a.renderImageToCanvas=function(c,d,e,f,g,h,i,j,k,l){if("image/jpeg"===d._type){var m,n,o,p,q=c.getContext("2d"),r=document.createElement("canvas"),s=1024,t=r.getContext("2d");if(r.width=s,r.height=s,q.save(),m=a.detectSubsampling(d),m&&(e/=2,f/=2,g/=2,h/=2),n=a.detectVerticalSquash(d,m),m||1!==n){for(f*=n,k=Math.ceil(s*k/g),l=Math.ceil(s*l/h/n),j=0,p=0;p<h;){for(i=0,o=0;o<g;)t.clearRect(0,0,s,s),t.drawImage(d,e,f,g,h,-o,-p,g,h),q.drawImage(r,0,0,s,s,i,j,k,l),o+=s,i+=k;p+=s,j+=l}return q.restore(),c}}return b(c,d,e,f,g,h,i,j,k,l)}}}),function(a){"use strict";"function"==typeof define&&define.amd?define(["load-image"],a):a(window.loadImage)}(function(a){"use strict";var b=a.hasCanvasOption,c=a.transformCoordinates,d=a.getTransformedOptions;a.hasCanvasOption=function(c){return b.call(a,c)||c.orientation},a.transformCoordinates=function(b,d){c.call(a,b,d);var e=b.getContext("2d"),f=b.width,g=b.height,h=d.orientation;if(h&&!(h>8))switch(h>4&&(b.width=g,b.height=f),h){case 2:e.translate(f,0),e.scale(-1,1);break;case 3:e.translate(f,g),e.rotate(Math.PI);break;case 4:e.translate(0,g),e.scale(1,-1);break;case 5:e.rotate(.5*Math.PI),e.scale(1,-1);break;case 6:e.rotate(.5*Math.PI),e.translate(0,-g);break;case 7:e.rotate(.5*Math.PI),e.translate(f,-g),e.scale(-1,1);break;case 8:e.rotate(-.5*Math.PI),e.translate(-f,0)}},a.getTransformedOptions=function(b,c){var e,f,g=d.call(a,b,c),h=g.orientation;if(!h||h>8||1===h)return g;e={};for(f in g)g.hasOwnProperty(f)&&(e[f]=g[f]);switch(g.orientation){case 2:e.left=g.right,e.right=g.left;break;case 3:e.left=g.right,e.top=g.bottom,e.right=g.left,e.bottom=g.top;break;case 4:e.top=g.bottom,e.bottom=g.top;break;case 5:e.left=g.top,e.top=g.left,e.right=g.bottom,e.bottom=g.right;break;case 6:e.left=g.top,e.top=g.right,e.right=g.bottom,e.bottom=g.left;break;case 7:e.left=g.bottom,e.top=g.right,e.right=g.top,e.bottom=g.left;break;case 8:e.left=g.bottom,e.top=g.left,e.right=g.top,e.bottom=g.right}return g.orientation>4&&(e.maxWidth=g.maxHeight,e.maxHeight=g.maxWidth,e.minWidth=g.minHeight,e.minHeight=g.minWidth,e.sourceWidth=g.sourceHeight,e.sourceHeight=g.sourceWidth),e}}),function(a){"use strict";"function"==typeof define&&define.amd?define(["load-image"],a):a(window.loadImage)}(function(a){"use strict";var b=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice);a.blobSlice=b&&function(){var a=this.slice||this.webkitSlice||this.mozSlice;return a.apply(this,arguments)},a.metaDataParsers={jpeg:{65505:[]}},a.parseMetaData=function(b,c,d){d=d||{};var e=this,f=d.maxMetaDataSize||262144,g={},h=!(window.DataView&&b&&b.size>=12&&"image/jpeg"===b.type&&a.blobSlice);!h&&a.readFile(a.blobSlice.call(b,0,f),function(b){if(b.target.error)return console.log(b.target.error),void c(g);var f,h,i,j,k=b.target.result,l=new DataView(k),m=2,n=l.byteLength-4,o=m;if(65496===l.getUint16(0)){for(;m<n&&(f=l.getUint16(m),f>=65504&&f<=65519||65534===f);){if(h=l.getUint16(m+2)+2,m+h>l.byteLength){console.log("Invalid meta data: Invalid segment size.");break}if(i=a.metaDataParsers.jpeg[f])for(j=0;j<i.length;j+=1)i[j].call(e,l,m,h,g,d);m+=h,o=m}!d.disableImageHead&&o>6&&(k.slice?g.imageHead=k.slice(0,o):g.imageHead=new Uint8Array(k).subarray(0,o))}else console.log("Invalid JPEG file: Missing JPEG marker.");c(g)},"readAsArrayBuffer")||c(g)}}),function(a){"use strict";"function"==typeof define&&define.amd?define(["load-image","load-image-meta"],a):a(window.loadImage)}(function(a){"use strict";a.ExifMap=function(){return this},a.ExifMap.prototype.map={Orientation:274},a.ExifMap.prototype.get=function(a){return this[a]||this[this.map[a]]},a.getExifThumbnail=function(a,b,c){var d,e,f;if(!c||b+c>a.byteLength)return void console.log("Invalid Exif data: Invalid thumbnail data.");for(d=[],e=0;e<c;e+=1)f=a.getUint8(b+e),d.push((f<16?"0":"")+f.toString(16));return"data:image/jpeg,%"+d.join("%")},a.exifTagTypes={1:{getValue:function(a,b){return a.getUint8(b)},size:1},2:{getValue:function(a,b){return String.fromCharCode(a.getUint8(b))},size:1,ascii:!0},3:{getValue:function(a,b,c){return a.getUint16(b,c)},size:2},4:{getValue:function(a,b,c){return a.getUint32(b,c)},size:4},5:{getValue:function(a,b,c){return a.getUint32(b,c)/a.getUint32(b+4,c)},size:8},9:{getValue:function(a,b,c){return a.getInt32(b,c)},size:4},10:{getValue:function(a,b,c){return a.getInt32(b,c)/a.getInt32(b+4,c)},size:8}},a.exifTagTypes[7]=a.exifTagTypes[1],a.getExifValue=function(b,c,d,e,f,g){var h,i,j,k,l,m,n=a.exifTagTypes[e];if(!n)return void console.log("Invalid Exif data: Invalid tag type.");if(h=n.size*f,i=h>4?c+b.getUint32(d+8,g):d+8,i+h>b.byteLength)return void console.log("Invalid Exif data: Invalid data offset.");if(1===f)return n.getValue(b,i,g);for(j=[],k=0;k<f;k+=1)j[k]=n.getValue(b,i+k*n.size,g);if(n.ascii){for(l="",k=0;k<j.length&&(m=j[k],"\0"!==m);k+=1)l+=m;return l}return j},a.parseExifTag=function(b,c,d,e,f){var g=b.getUint16(d,e);f.exif[g]=a.getExifValue(b,c,d,b.getUint16(d+2,e),b.getUint32(d+4,e),e)},a.parseExifTags=function(a,b,c,d,e){var f,g,h;if(c+6>a.byteLength)return void console.log("Invalid Exif data: Invalid directory offset.");if(f=a.getUint16(c,d),g=c+2+12*f,g+4>a.byteLength)return void console.log("Invalid Exif data: Invalid directory size.");for(h=0;h<f;h+=1)this.parseExifTag(a,b,c+2+12*h,d,e);return a.getUint32(g,d)},a.parseExifData=function(b,c,d,e,f){if(!f.disableExif){var g,h,i,j=c+10;if(1165519206===b.getUint32(c+4)){if(j+8>b.byteLength)return void console.log("Invalid Exif data: Invalid segment size.");if(0!==b.getUint16(c+8))return void console.log("Invalid Exif data: Missing byte alignment offset.");switch(b.getUint16(j)){case 18761:g=!0;break;case 19789:g=!1;break;default:return void console.log("Invalid Exif data: Invalid byte alignment marker.")}if(42!==b.getUint16(j+2,g))return void console.log("Invalid Exif data: Missing TIFF marker.");h=b.getUint32(j+4,g),e.exif=new a.ExifMap,h=a.parseExifTags(b,j,j+h,g,e),h&&!f.disableExifThumbnail&&(i={exif:{}},h=a.parseExifTags(b,j,j+h,g,i),i.exif[513]&&(e.exif.Thumbnail=a.getExifThumbnail(b,j+i.exif[513],i.exif[514]))),e.exif[34665]&&!f.disableExifSub&&a.parseExifTags(b,j,j+e.exif[34665],g,e),e.exif[34853]&&!f.disableExifGps&&a.parseExifTags(b,j,j+e.exif[34853],g,e)}}},a.metaDataParsers.jpeg[65505].push(a.parseExifData)}),function(a){"use strict";"function"==typeof define&&define.amd?define(["load-image","load-image-exif"],a):a(window.loadImage)}(function(a){"use strict";a.ExifMap.prototype.tags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright",36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",42240:"Gamma",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"PhotographicSensitivity",34856:"OECF",34864:"SensitivityType",34865:"StandardOutputSensitivity",34866:"RecommendedExposureIndex",34867:"ISOSpeed",34868:"ISOSpeedLatitudeyyy",34869:"ISOSpeedLatitudezzz",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRatio",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",42016:"ImageUniqueID",42032:"CameraOwnerName",42033:"BodySerialNumber",42034:"LensSpecification",42035:"LensMake",42036:"LensModel",42037:"LensSerialNumber",0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential",31:"GPSHPositioningError"},a.ExifMap.prototype.stringValues={ExposureProgram:{0:"Undefined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Undefined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},ComponentsConfiguration:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"},Orientation:{1:"top-left",2:"top-right",3:"bottom-right",4:"bottom-left",5:"left-top",6:"right-top",7:"right-bottom",8:"left-bottom"}},a.ExifMap.prototype.getText=function(a){var b=this.get(a);switch(a){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":case"Orientation":return this.stringValues[a][b];case"ExifVersion":case"FlashpixVersion":return String.fromCharCode(b[0],b[1],b[2],b[3]);case"ComponentsConfiguration":return this.stringValues[a][b[0]]+this.stringValues[a][b[1]]+this.stringValues[a][b[2]]+this.stringValues[a][b[3]];case"GPSVersionID":return b[0]+"."+b[1]+"."+b[2]+"."+b[3]}return String(b)},function(a){var b,c=a.tags,d=a.map;for(b in c)c.hasOwnProperty(b)&&(d[c[b]]=b)}(a.ExifMap.prototype),a.ExifMap.prototype.getAll=function(){var a,b,c={};for(a in this)this.hasOwnProperty(a)&&(b=this.tags[a],b&&(c[b]=this.getText(b)));return c}}),function(a){"use strict";var b=a.HTMLCanvasElement&&a.HTMLCanvasElement.prototype,c=a.Blob&&function(){try{return Boolean(new Blob)}catch(a){return!1}}(),d=c&&a.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(a){return!1}}(),e=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder,f=(c||e)&&a.atob&&a.ArrayBuffer&&a.Uint8Array&&function(a){var b,f,g,h,i,j;for(b=a.split(",")[0].indexOf("base64")>=0?atob(a.split(",")[1]):decodeURIComponent(a.split(",")[1]),f=new ArrayBuffer(b.length),g=new Uint8Array(f),h=0;h<b.length;h+=1)g[h]=b.charCodeAt(h);return i=a.split(",")[0].split(":")[1].split(";")[0],c?new Blob([d?g:f],{type:i}):(j=new e,j.append(f),j.getBlob(i))};a.HTMLCanvasElement&&!b.toBlob&&(b.mozGetAsFile?b.toBlob=function(a,c,d){a(d&&b.toDataURL&&f?f(this.toDataURL(c,d)):this.mozGetAsFile("blob",c))}:b.toDataURL&&f&&(b.toBlob=function(a,b,c){a(f(this.toDataURL(b,c)))})),"function"==typeof define&&define.amd?define(function(){return f}):a.dataURLtoBlob=f}(window),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(window.jQuery)}(function(a){"use strict";var b=0;a.ajaxTransport("iframe",function(c){if(c.async){var d,e,f,g=c.initialIframeSrc||"javascript:false;";return{send:function(h,i){d=a('<form style="display:none;"></form>'),d.attr("accept-charset",c.formAcceptCharset),f=/\?/.test(c.url)?"&":"?","DELETE"===c.type?(c.url=c.url+f+"_method=DELETE",c.type="POST"):"PUT"===c.type?(c.url=c.url+f+"_method=PUT",c.type="POST"):"PATCH"===c.type&&(c.url=c.url+f+"_method=PATCH",c.type="POST"),b+=1,e=a('<iframe src="'+g+'" name="iframe-transport-'+b+'"></iframe>').bind("load",function(){var b,f=a.isArray(c.paramName)?c.paramName:[c.paramName];e.unbind("load").bind("load",function(){var b;try{if(b=e.contents(),!b.length||!b[0].firstChild)throw new Error}catch(a){b=void 0}i(200,"success",{iframe:b}),a('<iframe src="'+g+'"></iframe>').appendTo(d),window.setTimeout(function(){d.remove()},0)}),d.prop("target",e.prop("name")).prop("action",c.url).prop("method",c.type),c.formData&&a.each(c.formData,function(b,c){a('<input type="hidden"/>').prop("name",c.name).val(c.value).appendTo(d)}),c.fileInput&&c.fileInput.length&&"POST"===c.type&&(b=c.fileInput.clone(),c.fileInput.after(function(a){return b[a]}),c.paramName&&c.fileInput.each(function(b){a(this).prop("name",f[b]||c.paramName)}),d.append(c.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data")),d.submit(),b&&b.length&&c.fileInput.each(function(c,d){var e=a(b[c]);a(d).prop("name",e.prop("name")),e.replaceWith(d)})}),d.append(e).appendTo(document.body)},abort:function(){e&&e.unbind("load").prop("src",g),d&&d.remove()}}}}),a.ajaxSetup({converters:{"iframe text":function(b){return b&&a(b[0].body).text()},"iframe json":function(b){return b&&a.parseJSON(a(b[0].body).text())},"iframe html":function(b){return b&&a(b[0].body).html()},"iframe xml":function(b){var c=b&&b[0];return c&&a.isXMLDoc(c)?c:a.parseXML(c.XMLDocument&&c.XMLDocument.xml||a(c.body).html())},"iframe script":function(b){return b&&a.globalEval(a(b[0].body).text())}}})}),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],a):a(window.jQuery)}(function(a){"use strict";a.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||a('<input type="file">').prop("disabled")),a.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),a.support.xhrFormDataFileUpload=!!window.FormData,a.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),a.widget("blueimp.fileupload",{options:{dropZone:a(document),pasteZone:a(document),fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(b,c){return b=this.messages[b]||b.toString(),c&&a.each(c,function(a,c){b=b.replace("{"+a+"}",c)}),b},formData:function(a){return a.serializeArray()},add:function(b,c){return!b.isDefaultPrevented()&&void((c.autoUpload||c.autoUpload!==!1&&a(this).fileupload("option","autoUpload"))&&c.process().done(function(){c.submit()}))},processData:!1,contentType:!1,cache:!1},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:a.support.blobSlice&&function(){var a=this.slice||this.webkitSlice||this.mozSlice;return a.apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(a,b,c){var d=a-this.timestamp;return(!this.bitrate||!c||d>c)&&(this.bitrate=(b-this.loaded)*(1e3/d)*8,this.loaded=b,this.timestamp=a),this.bitrate}},_isXHRUpload:function(b){return!b.forceIframeTransport&&(!b.multipart&&a.support.xhrFileUpload||a.support.xhrFormDataFileUpload)},_getFormData:function(b){var c;return"function"===a.type(b.formData)?b.formData(b.form):a.isArray(b.formData)?b.formData:"object"===a.type(b.formData)?(c=[],a.each(b.formData,function(a,b){c.push({name:a,value:b})}),c):[]},_getTotal:function(b){var c=0;return a.each(b,function(a,b){c+=b.size||1}),c},_initProgressObject:function(b){var c={loaded:0,total:0,bitrate:0};b._progress?a.extend(b._progress,c):b._progress=c},_initResponseObject:function(a){var b;if(a._response)for(b in a._response)a._response.hasOwnProperty(b)&&delete a._response[b];else a._response={}},_onProgress:function(b,c){if(b.lengthComputable){var d,e=Date.now?Date.now():(new Date).getTime();if(c._time&&c.progressInterval&&e-c._time<c.progressInterval&&b.loaded!==b.total)return;c._time=e,d=Math.floor(b.loaded/b.total*(c.chunkSize||c._progress.total))+(c.uploadedBytes||0),this._progress.loaded+=d-c._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(e,this._progress.loaded,c.bitrateInterval),c._progress.loaded=c.loaded=d,c._progress.bitrate=c.bitrate=c._bitrateTimer.getBitrate(e,d,c.bitrateInterval),this._trigger("progress",a.Event("progress",{delegatedEvent:b}),c),this._trigger("progressall",a.Event("progressall",{delegatedEvent:b}),this._progress)}},_initProgressListener:function(b){var c=this,d=b.xhr?b.xhr():a.ajaxSettings.xhr();d.upload&&(a(d.upload).bind("progress",function(a){var d=a.originalEvent;a.lengthComputable=d.lengthComputable,a.loaded=d.loaded,a.total=d.total,c._onProgress(a,b)}),b.xhr=function(){return d})},_isInstanceOf:function(a,b){return Object.prototype.toString.call(b)==="[object "+a+"]"},_initXHRData:function(b){var c,d=this,e=b.files[0],f=b.multipart||!a.support.xhrFileUpload,g=b.paramName[0];b.headers=a.extend({},b.headers),b.contentRange&&(b.headers["Content-Range"]=b.contentRange),f&&!b.blob&&this._isInstanceOf("File",e)||(b.headers["Content-Disposition"]='attachment; filename="'+encodeURI(e.name)+'"'),f?a.support.xhrFormDataFileUpload&&(b.postMessage?(c=this._getFormData(b),b.blob?c.push({name:g,value:b.blob}):a.each(b.files,function(a,d){c.push({name:b.paramName[a]||g,value:d})})):(d._isInstanceOf("FormData",b.formData)?c=b.formData:(c=new FormData,a.each(this._getFormData(b),function(a,b){c.append(b.name,b.value)})),b.blob?c.append(g,b.blob,e.name):a.each(b.files,function(a,e){(d._isInstanceOf("File",e)||d._isInstanceOf("Blob",e))&&c.append(b.paramName[a]||g,e,e.uploadName||e.name)})),b.data=c):(b.contentType=e.type,b.data=b.blob||e),b.blob=null},_initIframeSettings:function(b){var c=a("<a></a>").prop("href",b.url).prop("host");b.dataType="iframe "+(b.dataType||""),b.formData=this._getFormData(b),b.redirect&&c&&c!==location.host&&b.formData.push({name:b.redirectParamName||"redirect",value:b.redirect})},_initDataSettings:function(a){this._isXHRUpload(a)?(this._chunkedUpload(a,!0)||(a.data||this._initXHRData(a),this._initProgressListener(a)),a.postMessage&&(a.dataType="postmessage "+(a.dataType||""))):this._initIframeSettings(a)},_getParamName:function(b){var c=a(b.fileInput),d=b.paramName;return d?a.isArray(d)||(d=[d]):(d=[],c.each(function(){for(var b=a(this),c=b.prop("name")||"files[]",e=(b.prop("files")||[1]).length;e;)d.push(c),e-=1}),d.length||(d=[c.prop("name")||"files[]"])),d},_initFormSettings:function(b){b.form&&b.form.length||(b.form=a(b.fileInput.prop("form")),b.form.length||(b.form=a(this.options.fileInput.prop("form")))),b.paramName=this._getParamName(b),b.url||(b.url=b.form.prop("action")||location.href),b.type=(b.type||"string"===a.type(b.form.prop("method"))&&b.form.prop("method")||"").toUpperCase(),"POST"!==b.type&&"PUT"!==b.type&&"PATCH"!==b.type&&(b.type="POST"),b.formAcceptCharset||(b.formAcceptCharset=b.form.attr("accept-charset"))},_getAJAXSettings:function(b){var c=a.extend({},this.options,b);return this._initFormSettings(c),this._initDataSettings(c),c},_getDeferredState:function(a){return a.state?a.state():a.isResolved()?"resolved":a.isRejected()?"rejected":"pending"},_enhancePromise:function(a){return a.success=a.done,a.error=a.fail,a.complete=a.always,a},_getXHRPromise:function(b,c,d){var e=a.Deferred(),f=e.promise();return c=c||this.options.context||f,b===!0?e.resolveWith(c,d):b===!1&&e.rejectWith(c,d),f.abort=e.promise,this._enhancePromise(f)},_addConvenienceMethods:function(b,c){var d=this,e=function(b){return a.Deferred().resolveWith(d,b).promise()};c.process=function(b,f){return(b||f)&&(c._processQueue=this._processQueue=(this._processQueue||e([this])).pipe(function(){return c.errorThrown?a.Deferred().rejectWith(d,[c]).promise():e(arguments)}).pipe(b,f)),this._processQueue||e([this])},c.submit=function(){return"pending"!==this.state()&&(c.jqXHR=this.jqXHR=d._trigger("submit",a.Event("submit",{delegatedEvent:b}),this)!==!1&&d._onSend(b,this)),this.jqXHR||d._getXHRPromise()},c.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",d._trigger("fail",null,this),d._getXHRPromise(!1))},c.state=function(){return this.jqXHR?d._getDeferredState(this.jqXHR):this._processQueue?d._getDeferredState(this._processQueue):void 0},c.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===d._getDeferredState(this._processQueue)},c.progress=function(){return this._progress},c.response=function(){return this._response}},_getUploadedBytes:function(a){var b=a.getResponseHeader("Range"),c=b&&b.split("-"),d=c&&c.length>1&&parseInt(c[1],10);return d&&d+1},_chunkedUpload:function(b,c){b.uploadedBytes=b.uploadedBytes||0;var d,e,f=this,g=b.files[0],h=g.size,i=b.uploadedBytes,j=b.maxChunkSize||h,k=this._blobSlice,l=a.Deferred(),m=l.promise();return!(!(this._isXHRUpload(b)&&k&&(i||j<h))||b.data)&&(!!c||(i>=h?(g.error=b.i18n("uploadedBytes"),this._getXHRPromise(!1,b.context,[null,"error",g.error])):(e=function(){var c=a.extend({},b),m=c._progress.loaded;c.blob=k.call(g,i,i+j,g.type),c.chunkSize=c.blob.size,c.contentRange="bytes "+i+"-"+(i+c.chunkSize-1)+"/"+h,f._initXHRData(c),f._initProgressListener(c),d=(f._trigger("chunksend",null,c)!==!1&&a.ajax(c)||f._getXHRPromise(!1,c.context)).done(function(d,g,j){i=f._getUploadedBytes(j)||i+c.chunkSize,m+c.chunkSize-c._progress.loaded&&f._onProgress(a.Event("progress",{lengthComputable:!0,loaded:i-c.uploadedBytes,total:i-c.uploadedBytes}),c),b.uploadedBytes=c.uploadedBytes=i,c.result=d,c.textStatus=g,c.jqXHR=j,f._trigger("chunkdone",null,c),f._trigger("chunkalways",null,c),i<h?e():l.resolveWith(c.context,[d,g,j])}).fail(function(a,b,d){c.jqXHR=a,c.textStatus=b,c.errorThrown=d,f._trigger("chunkfail",null,c),f._trigger("chunkalways",null,c),l.rejectWith(c.context,[a,b,d])})},this._enhancePromise(m),m.abort=function(){return d.abort()},e(),m)))},_beforeSend:function(a,b){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(b),this._initProgressObject(b),b._progress.loaded=b.loaded=b.uploadedBytes||0,b._progress.total=b.total=this._getTotal(b.files)||1,b._progress.bitrate=b.bitrate=0,this._active+=1,this._progress.loaded+=b.loaded,this._progress.total+=b.total},_onDone:function(b,c,d,e){var f=e._progress.total,g=e._response;e._progress.loaded<f&&this._onProgress(a.Event("progress",{lengthComputable:!0,loaded:f,total:f}),e),g.result=e.result=b,g.textStatus=e.textStatus=c,g.jqXHR=e.jqXHR=d,this._trigger("done",null,e)},_onFail:function(a,b,c,d){var e=d._response;d.recalculateProgress&&(this._progress.loaded-=d._progress.loaded,this._progress.total-=d._progress.total),e.jqXHR=d.jqXHR=a,e.textStatus=d.textStatus=b,e.errorThrown=d.errorThrown=c,this._trigger("fail",null,d)},_onAlways:function(a,b,c,d){this._trigger("always",null,d)},_onSend:function(b,c){c.submit||this._addConvenienceMethods(b,c);var d,e,f,g,h=this,i=h._getAJAXSettings(c),j=function(){return h._sending+=1,i._bitrateTimer=new h._BitrateTimer,d=d||((e||h._trigger("send",a.Event("send",{delegatedEvent:b}),i)===!1)&&h._getXHRPromise(!1,i.context,e)||h._chunkedUpload(i)||a.ajax(i)).done(function(a,b,c){h._onDone(a,b,c,i)}).fail(function(a,b,c){h._onFail(a,b,c,i)}).always(function(a,b,c){if(h._onAlways(a,b,c,i),h._sending-=1,h._active-=1,i.limitConcurrentUploads&&i.limitConcurrentUploads>h._sending)for(var d=h._slots.shift();d;){if("pending"===h._getDeferredState(d)){d.resolve();break}d=h._slots.shift()}0===h._active&&h._trigger("stop")})};return this._beforeSend(b,i),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(f=a.Deferred(),this._slots.push(f),g=f.pipe(j)):(this._sequence=this._sequence.pipe(j,j),g=this._sequence),g.abort=function(){return e=[void 0,"abort","abort"],d?d.abort():(f&&f.rejectWith(i.context,e),j())},this._enhancePromise(g)):j()},_onAdd:function(b,c){var d,e,f,g,h=this,i=!0,j=a.extend({},this.options,c),k=c.files,l=k.length,m=j.limitMultiFileUploads,n=j.limitMultiFileUploadSize,o=j.limitMultiFileUploadSizeOverhead,p=0,q=this._getParamName(j),r=0;if(!n||l&&void 0!==k[0].size||(n=void 0),(j.singleFileUploads||m||n)&&this._isXHRUpload(j))if(j.singleFileUploads||n||!m)if(!j.singleFileUploads&&n)for(f=[],d=[],g=0;g<l;g+=1)p+=k[g].size+o,(g+1===l||p+k[g+1].size+o>n)&&(f.push(k.slice(r,g+1)),e=q.slice(r,g+1),e.length||(e=q),d.push(e),r=g+1,p=0);else d=q;else for(f=[],d=[],g=0;g<l;g+=m)f.push(k.slice(g,g+m)), e=q.slice(g,g+m),e.length||(e=q),d.push(e);else f=[k],d=[q];return c.originalFiles=k,a.each(f||k,function(e,g){var j=a.extend({},c);return j.files=f?g:[g],j.paramName=d[e],h._initResponseObject(j),h._initProgressObject(j),h._addConvenienceMethods(b,j),i=h._trigger("add",a.Event("add",{delegatedEvent:b}),j)}),i},_replaceFileInput:function(b){var c=b.clone(!0);a("<form></form>").append(c)[0].reset(),b.after(c).detach(),a.cleanData(b.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(a,d){return d===b[0]?c[0]:d}),b[0]===this.element[0]&&(this.element=c)},_handleFileTreeEntry:function(b,c){var d,e=this,f=a.Deferred(),g=function(a){a&&!a.entry&&(a.entry=b),f.resolve([a])};return c=c||"",b.isFile?b._file?(b._file.relativePath=c,f.resolve(b._file)):b.file(function(a){a.relativePath=c,f.resolve(a)},g):b.isDirectory?(d=b.createReader(),d.readEntries(function(a){e._handleFileTreeEntries(a,c+b.name+"/").done(function(a){f.resolve(a)}).fail(g)},g)):f.resolve([]),f.promise()},_handleFileTreeEntries:function(b,c){var d=this;return a.when.apply(a,a.map(b,function(a){return d._handleFileTreeEntry(a,c)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(b){b=b||{};var c=b.items;return c&&c.length&&(c[0].webkitGetAsEntry||c[0].getAsEntry)?this._handleFileTreeEntries(a.map(c,function(a){var b;return a.webkitGetAsEntry?(b=a.webkitGetAsEntry(),b&&(b._file=a.getAsFile()),b):a.getAsEntry()})):a.Deferred().resolve(a.makeArray(b.files)).promise()},_getSingleFileInputFiles:function(b){b=a(b);var c,d,e=b.prop("webkitEntries")||b.prop("entries");if(e&&e.length)return this._handleFileTreeEntries(e);if(c=a.makeArray(b.prop("files")),c.length)void 0===c[0].name&&c[0].fileName&&a.each(c,function(a,b){b.name=b.fileName,b.size=b.fileSize});else{if(d=b.prop("value"),!d)return a.Deferred().resolve([]).promise();c=[{name:d.replace(/^.*\\/,"")}]}return a.Deferred().resolve(c).promise()},_getFileInputFiles:function(b){return b instanceof a&&1!==b.length?a.when.apply(a,a.map(b,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(b)},_onChange:function(b){var c=this,d={fileInput:a(b.target),form:a(b.target.form)};this._getFileInputFiles(d.fileInput).always(function(e){d.files=e,c.options.replaceFileInput&&c._replaceFileInput(d.fileInput),c._trigger("change",a.Event("change",{delegatedEvent:b}),d)!==!1&&c._onAdd(b,d)})},_onPaste:function(b){var c=b.originalEvent&&b.originalEvent.clipboardData&&b.originalEvent.clipboardData.items,d={files:[]};c&&c.length&&(a.each(c,function(a,b){var c=b.getAsFile&&b.getAsFile();c&&d.files.push(c)}),this._trigger("paste",a.Event("paste",{delegatedEvent:b}),d)!==!1&&this._onAdd(b,d))},_onDrop:function(b){b.dataTransfer=b.originalEvent&&b.originalEvent.dataTransfer;var c=this,d=b.dataTransfer,e={};d&&d.files&&d.files.length&&(b.preventDefault(),this._getDroppedFiles(d).always(function(d){e.files=d,c._trigger("drop",a.Event("drop",{delegatedEvent:b}),e)!==!1&&c._onAdd(b,e)}))},_onDragOver:function(b){b.dataTransfer=b.originalEvent&&b.originalEvent.dataTransfer;var c=b.dataTransfer;c&&a.inArray("Files",c.types)!==-1&&this._trigger("dragover",a.Event("dragover",{delegatedEvent:b}))!==!1&&(b.preventDefault(),c.dropEffect="copy")},_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop}),this._on(this.options.pasteZone,{paste:this._onPaste})),a.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(b,c){var d=a.inArray(b,this._specialOptions)!==-1;d&&this._destroyEventHandlers(),this._super(b,c),d&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var b=this.options;void 0===b.fileInput?b.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):b.fileInput instanceof a||(b.fileInput=a(b.fileInput)),b.dropZone instanceof a||(b.dropZone=a(b.dropZone)),b.pasteZone instanceof a||(b.pasteZone=a(b.pasteZone))},_getRegExp:function(a){var b=a.split("/"),c=b.pop();return b.shift(),new RegExp(b.join("/"),c)},_isRegExpOption:function(b,c){return"url"!==b&&"string"===a.type(c)&&/^\/.*\/[igm]{0,3}$/.test(c)},_initDataAttributes:function(){var b=this,c=this.options;a.each(a(this.element[0].cloneNode(!1)).data(),function(a,d){b._isRegExpOption(a,d)&&(d=b._getRegExp(d)),c[a]=d})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(b){var c=this;b&&!this.options.disabled&&(b.fileInput&&!b.files?this._getFileInputFiles(b.fileInput).always(function(a){b.files=a,c._onAdd(null,b)}):(b.files=a.makeArray(b.files),this._onAdd(null,b)))},send:function(b){if(b&&!this.options.disabled){if(b.fileInput&&!b.files){var c,d,e=this,f=a.Deferred(),g=f.promise();return g.abort=function(){return d=!0,c?c.abort():(f.reject(null,"abort","abort"),g)},this._getFileInputFiles(b.fileInput).always(function(a){if(!d){if(!a.length)return void f.reject();b.files=a,c=e._onSend(null,b).then(function(a,b,c){f.resolve(a,b,c)},function(a,b,c){f.reject(a,b,c)})}}),this._enhancePromise(g)}if(b.files=a.makeArray(b.files),b.files.length)return this._onSend(null,b)}return this._getXHRPromise(!1,b&&b.context)}})}),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery","./jquery.fileupload"],a):a("object"==typeof exports?require("jquery"):window.jQuery)}(function(a){"use strict";var b=a.blueimp.fileupload.prototype.options.add;a.widget("blueimp.fileupload",a.blueimp.fileupload,{options:{processQueue:[],add:function(c,d){var e=a(this);d.process(function(){return e.fileupload("process",d)}),b.call(this,c,d)}},processActions:{},_processFile:function(b,c){var d=this,e=a.Deferred().resolveWith(d,[b]),f=e.promise();return this._trigger("process",null,b),a.each(b.processQueue,function(b,e){var g=function(b){return c.errorThrown?a.Deferred().rejectWith(d,[c]).promise():d.processActions[e.action].call(d,b,e)};f=f.pipe(g,e.always&&g)}),f.done(function(){d._trigger("processdone",null,b),d._trigger("processalways",null,b)}).fail(function(){d._trigger("processfail",null,b),d._trigger("processalways",null,b)}),f},_transformProcessQueue:function(b){var c=[];a.each(b.processQueue,function(){var d={},e=this.action,f=this.prefix===!0?e:this.prefix;a.each(this,function(c,e){"string"===a.type(e)&&"@"===e.charAt(0)?d[c]=b[e.slice(1)||(f?f+c.charAt(0).toUpperCase()+c.slice(1):c)]:d[c]=e}),c.push(d)}),b.processQueue=c},processing:function(){return this._processing},process:function(b){var c=this,d=a.extend({},this.options,b);return d.processQueue&&d.processQueue.length&&(this._transformProcessQueue(d),0===this._processing&&this._trigger("processstart"),a.each(b.files,function(e){var f=e?a.extend({},d):d,g=function(){return b.errorThrown?a.Deferred().rejectWith(c,[b]).promise():c._processFile(f,b)};f.index=e,c._processing+=1,c._processingQueue=c._processingQueue.pipe(g,g).always(function(){c._processing-=1,0===c._processing&&c._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=a.Deferred().resolveWith(this).promise()}})}),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery","load-image","load-image-meta","load-image-exif","load-image-ios","canvas-to-blob","./jquery.fileupload-process"],a):"object"==typeof exports?a(require("jquery"),require("load-image")):a(window.jQuery,window.loadImage)}(function(a,b){"use strict";a.blueimp.fileupload.prototype.options.processQueue.unshift({action:"loadImageMetaData",disableImageHead:"@",disableExif:"@",disableExifThumbnail:"@",disableExifSub:"@",disableExifGps:"@",disabled:"@disableImageMetaDataLoad"},{action:"loadImage",prefix:!0,fileTypes:"@",maxFileSize:"@",noRevoke:"@",disabled:"@disableImageLoad"},{action:"resizeImage",prefix:"image",maxWidth:"@",maxHeight:"@",minWidth:"@",minHeight:"@",crop:"@",orientation:"@",forceResize:"@",disabled:"@disableImageResize"},{action:"saveImage",quality:"@imageQuality",type:"@imageType",disabled:"@disableImageResize"},{action:"saveImageMetaData",disabled:"@disableImageMetaDataSave"},{action:"resizeImage",prefix:"preview",maxWidth:"@",maxHeight:"@",minWidth:"@",minHeight:"@",crop:"@",orientation:"@",thumbnail:"@",canvas:"@",disabled:"@disableImagePreview"},{action:"setImage",name:"@imagePreviewName",disabled:"@disableImagePreview"},{action:"deleteImageReferences",disabled:"@disableImageReferencesDeletion"}),a.widget("blueimp.fileupload",a.blueimp.fileupload,{options:{loadImageFileTypes:/^image\/(gif|jpeg|png|svg\+xml)$/,loadImageMaxFileSize:1e7,imageMaxWidth:1920,imageMaxHeight:1080,imageOrientation:!1,imageCrop:!1,disableImageResize:!0,previewMaxWidth:80,previewMaxHeight:80,previewOrientation:!0,previewThumbnail:!0,previewCrop:!1,previewCanvas:!0},processActions:{loadImage:function(c,d){if(d.disabled)return c;var e=this,f=c.files[c.index],g=a.Deferred();return"number"===a.type(d.maxFileSize)&&f.size>d.maxFileSize||d.fileTypes&&!d.fileTypes.test(f.type)||!b(f,function(a){a.src&&(c.img=a),g.resolveWith(e,[c])},d)?c:g.promise()},resizeImage:function(c,d){if(d.disabled||!c.canvas&&!c.img)return c;d=a.extend({canvas:!0},d);var e,f=this,g=a.Deferred(),h=d.canvas&&c.canvas||c.img,i=function(a){a&&(a.width!==h.width||a.height!==h.height||d.forceResize)&&(c[a.getContext?"canvas":"img"]=a),c.preview=a,g.resolveWith(f,[c])};if(c.exif){if(d.orientation===!0&&(d.orientation=c.exif.get("Orientation")),d.thumbnail&&(e=c.exif.get("Thumbnail")))return b(e,i,d),g.promise();c.orientation?delete d.orientation:c.orientation=d.orientation}return h?(i(b.scale(h,d)),g.promise()):c},saveImage:function(b,c){if(!b.canvas||c.disabled)return b;var d=this,e=b.files[b.index],f=a.Deferred();return b.canvas.toBlob?(b.canvas.toBlob(function(a){a.name||(e.type===a.type?a.name=e.name:e.name&&(a.name=e.name.replace(/\.\w+$/,"."+a.type.substr(6)))),e.type!==a.type&&delete b.imageHead,b.files[b.index]=a,f.resolveWith(d,[b])},c.type||e.type,c.quality),f.promise()):b},loadImageMetaData:function(c,d){if(d.disabled)return c;var e=this,f=a.Deferred();return b.parseMetaData(c.files[c.index],function(b){a.extend(c,b),f.resolveWith(e,[c])},d),f.promise()},saveImageMetaData:function(a,b){if(!(a.imageHead&&a.canvas&&a.canvas.toBlob)||b.disabled)return a;var c=a.files[a.index],d=new Blob([a.imageHead,this._blobSlice.call(c,20)],{type:c.type});return d.name=c.name,a.files[a.index]=d,a},setImage:function(a,b){return a.preview&&!b.disabled&&(a.files[a.index][b.name||"preview"]=a.preview),a},deleteImageReferences:function(a,b){return b.disabled||(delete a.img,delete a.canvas,delete a.preview,delete a.imageHead),a}}})});
rikzuiderlicht/concrete5
concrete/js/jquery-fileupload.js
JavaScript
mit
43,162
package org.bouncycastle.pqc.crypto.mceliece; import java.security.SecureRandom; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.params.ParametersWithRandom; import org.bouncycastle.pqc.crypto.MessageEncryptor; import org.bouncycastle.pqc.math.linearalgebra.GF2Matrix; import org.bouncycastle.pqc.math.linearalgebra.GF2Vector; import org.bouncycastle.pqc.math.linearalgebra.GF2mField; import org.bouncycastle.pqc.math.linearalgebra.GoppaCode; import org.bouncycastle.pqc.math.linearalgebra.Permutation; import org.bouncycastle.pqc.math.linearalgebra.PolynomialGF2mSmallM; import org.bouncycastle.pqc.math.linearalgebra.Vector; /** * This class implements the McEliece Public Key cryptosystem (McEliecePKCS). It * was first described in R.J. McEliece, "A public key cryptosystem based on * algebraic coding theory", DSN progress report, 42-44:114-116, 1978. The * McEliecePKCS is the first cryptosystem which is based on error correcting * codes. The trapdoor for the McEliece cryptosystem using Goppa codes is the * knowledge of the Goppa polynomial used to generate the code. */ public class McEliecePKCSCipher implements MessageEncryptor { /** * The OID of the algorithm. */ public static final String OID = "1.3.6.1.4.1.8301.3.1.3.4.1"; // the source of randomness private SecureRandom sr; // the McEliece main parameters private int n, k, t; // The maximum number of bytes the cipher can decrypt public int maxPlainTextSize; // The maximum number of bytes the cipher can encrypt public int cipherTextSize; McElieceKeyParameters key; public void init(boolean forSigning, CipherParameters param) { if (forSigning) { if (param instanceof ParametersWithRandom) { ParametersWithRandom rParam = (ParametersWithRandom)param; this.sr = rParam.getRandom(); this.key = (McEliecePublicKeyParameters)rParam.getParameters(); this.initCipherEncrypt((McEliecePublicKeyParameters)key); } else { this.sr = new SecureRandom(); this.key = (McEliecePublicKeyParameters)param; this.initCipherEncrypt((McEliecePublicKeyParameters)key); } } else { this.key = (McEliecePrivateKeyParameters)param; this.initCipherDecrypt((McEliecePrivateKeyParameters)key); } } /** * Return the key size of the given key object. * * @param key the McElieceKeyParameters object * @return the keysize of the given key object */ public int getKeySize(McElieceKeyParameters key) { if (key instanceof McEliecePublicKeyParameters) { return ((McEliecePublicKeyParameters)key).getN(); } if (key instanceof McEliecePrivateKeyParameters) { return ((McEliecePrivateKeyParameters)key).getN(); } throw new IllegalArgumentException("unsupported type"); } public void initCipherEncrypt(McEliecePublicKeyParameters pubKey) { this.sr = sr != null ? sr : new SecureRandom(); n = pubKey.getN(); k = pubKey.getK(); t = pubKey.getT(); cipherTextSize = n >> 3; maxPlainTextSize = (k >> 3); } public void initCipherDecrypt(McEliecePrivateKeyParameters privKey) { n = privKey.getN(); k = privKey.getK(); maxPlainTextSize = (k >> 3); cipherTextSize = n >> 3; } /** * Encrypt a plain text. * * @param input the plain text * @return the cipher text */ public byte[] messageEncrypt(byte[] input) { GF2Vector m = computeMessageRepresentative(input); GF2Vector z = new GF2Vector(n, t, sr); GF2Matrix g = ((McEliecePublicKeyParameters)key).getG(); Vector mG = g.leftMultiply(m); GF2Vector mGZ = (GF2Vector)mG.add(z); return mGZ.getEncoded(); } private GF2Vector computeMessageRepresentative(byte[] input) { byte[] data = new byte[maxPlainTextSize + ((k & 0x07) != 0 ? 1 : 0)]; System.arraycopy(input, 0, data, 0, input.length); data[input.length] = 0x01; return GF2Vector.OS2VP(k, data); } /** * Decrypt a cipher text. * * @param input the cipher text * @return the plain text * @throws Exception if the cipher text is invalid. */ public byte[] messageDecrypt(byte[] input) throws Exception { GF2Vector vec = GF2Vector.OS2VP(n, input); McEliecePrivateKeyParameters privKey = (McEliecePrivateKeyParameters)key; GF2mField field = privKey.getField(); PolynomialGF2mSmallM gp = privKey.getGoppaPoly(); GF2Matrix sInv = privKey.getSInv(); Permutation p1 = privKey.getP1(); Permutation p2 = privKey.getP2(); GF2Matrix h = privKey.getH(); PolynomialGF2mSmallM[] qInv = privKey.getQInv(); // compute permutation P = P1 * P2 Permutation p = p1.rightMultiply(p2); // compute P^-1 Permutation pInv = p.computeInverse(); // compute c P^-1 GF2Vector cPInv = (GF2Vector)vec.multiply(pInv); // compute syndrome of c P^-1 GF2Vector syndrome = (GF2Vector)h.rightMultiply(cPInv); // decode syndrome GF2Vector z = GoppaCode.syndromeDecode(syndrome, field, gp, qInv); GF2Vector mSG = (GF2Vector)cPInv.add(z); // multiply codeword with P1 and error vector with P mSG = (GF2Vector)mSG.multiply(p1); z = (GF2Vector)z.multiply(p); // extract mS (last k columns of mSG) GF2Vector mS = mSG.extractRightVector(k); // compute plaintext vector GF2Vector mVec = (GF2Vector)sInv.leftMultiply(mS); // compute and return plaintext return computeMessage(mVec); } private byte[] computeMessage(GF2Vector mr) throws Exception { byte[] mrBytes = mr.getEncoded(); // find first non-zero byte int index; for (index = mrBytes.length - 1; index >= 0 && mrBytes[index] == 0; index--) { ; } // check if padding byte is valid if (index<0 || mrBytes[index] != 0x01) { throw new Exception("Bad Padding: invalid ciphertext"); } // extract and return message byte[] mBytes = new byte[index]; System.arraycopy(mrBytes, 0, mBytes, 0, index); return mBytes; } }
adammfrank/Bridge
AmazonDynamoDB/jars/crypto-152/core/src/main/java/org/bouncycastle/pqc/crypto/mceliece/McEliecePKCSCipher.java
Java
mit
6,674
package codechicken.nei.recipe; import codechicken.lib.gui.GuiDraw; import codechicken.nei.InventoryCraftingDummy; import codechicken.nei.NEIClientUtils; import codechicken.nei.PositionedStack; import codechicken.nei.guihook.GuiContainerManager; import net.minecraft.init.Items; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.RecipeFireworks; import java.awt.*; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; public class FireworkRecipeHandler extends ShapelessRecipeHandler { public class CachedFireworkRecipe extends CachedShapelessRecipe { LinkedList<Object> itemList = new LinkedList<Object>(); public Object[] baseIngredients; public Object extraIngred; public int recipeType; public CachedFireworkRecipe(Object[] base, Object extra, int type) { super(new ItemStack(Items.fireworks)); this.baseIngredients = base; this.extraIngred = extra; this.recipeType = type; cycle(); } public void cycle() { itemList.clear(); for (Object obj : baseIngredients) itemList.add(obj); int extras = (cycleticks / 40) % (10 - itemList.size()); for (int i = 0; i < extras; i++) itemList.add(extraIngred); setIngredients(itemList); List<PositionedStack> ingreds = getIngredients(); for (int i = 0; i < 9; i++) inventoryCrafting.setInventorySlotContents(i, i < ingreds.size() ? ingreds.get(i).item : null); if (!recipeFireworks.matches(inventoryCrafting, null)) throw new RuntimeException("Invalid Recipe?"); setResult(recipeFireworks.getCraftingResult(null)); } } private InventoryCrafting inventoryCrafting = new InventoryCraftingDummy(); private RecipeFireworks recipeFireworks = new RecipeFireworks(); public ArrayList<CachedFireworkRecipe> mfireworks = new ArrayList<CachedFireworkRecipe>(); public FireworkRecipeHandler() { super(); stackorder = new int[][]{ {0, 0}, {1, 0}, {2, 0}, {0, 1}, {1, 1}, {2, 1}, {0, 2}, {1, 2}, {2, 2}}; loadAllFireworks(); } private void loadAllFireworks() { //charges Item[] shapes = new Item[]{null, Items.fire_charge, Items.gold_nugget, Items.feather, Items.skull}; Item[] effects = new Item[]{null, Items.diamond, Items.glowstone_dust}; for (Item shape : shapes) for (Item effect : effects) genRecipe(Items.gunpowder, shape, effect, Items.dye, Items.dye, 0); //fireworks genRecipe(Items.gunpowder, Items.paper, Items.firework_charge, 2); genRecipe(Items.gunpowder, Items.gunpowder, Items.paper, Items.firework_charge, 2); genRecipe(Items.gunpowder, Items.gunpowder, Items.gunpowder, Items.paper, Items.firework_charge, 2); //setup a valid charge to use for the recolour recipe for (int i = 0; i < 9; i++) inventoryCrafting.setInventorySlotContents(i, null); inventoryCrafting.setInventorySlotContents(0, new ItemStack(Items.gunpowder)); inventoryCrafting.setInventorySlotContents(1, new ItemStack(Items.dye)); recipeFireworks.matches(inventoryCrafting, null); ItemStack charge = recipeFireworks.getCraftingResult(null); genRecipe(charge, Items.dye, Items.dye, 1); } private void genRecipe(Object... params) { int numIngreds = 0; for (int i = 0; i < params.length - 2; i++) if (params[i] != null) numIngreds++; for (int i = 0; i < params.length - 1; i++) if (params[i] instanceof Item) params[i] = new ItemStack((Item) params[i], 1, Short.MAX_VALUE); Object[] ingreds = new Object[numIngreds]; for (int i = 0, j = 0; i < params.length - 2; i++) if (params[i] != null) ingreds[j++] = params[i]; mfireworks.add(new CachedFireworkRecipe(ingreds, params[params.length - 2], (Integer) params[params.length - 1])); } @Override public void loadCraftingRecipes(ItemStack result) { for (CachedFireworkRecipe recipe : mfireworks) { if (recipe.result.item.getItem() == result.getItem()) { recipe.cycle(); arecipes.add(recipe); } } //show random recolouring recipes as well } @Override public void loadCraftingRecipes(String outputId, Object... results) { if (outputId.equals("crafting") && getClass() == FireworkRecipeHandler.class) { arecipes.addAll(mfireworks); } else { super.loadCraftingRecipes(outputId, results); } } @Override public void loadUsageRecipes(ItemStack ingredient) { for (CachedFireworkRecipe recipe : mfireworks) { if (recipe.contains(recipe.ingredients, ingredient)) { recipe.cycle(); arecipes.add(recipe); } } } @Override public void onUpdate() { if (!NEIClientUtils.shiftKey()) { cycleticks++; if (cycleticks % 20 == 0) for (CachedRecipe crecipe : arecipes) ((CachedFireworkRecipe) crecipe).cycle(); } } @Override public String getRecipeName() { return NEIClientUtils.translate("recipe.firework"); } @Override public List<String> handleTooltip(GuiRecipe gui, List<String> currenttip, int recipe) { currenttip = super.handleTooltip(gui, currenttip, recipe); Point mousepos = GuiDraw.getMousePosition(); Point relMouse = new Point(mousepos.x - gui.guiLeft, mousepos.y - gui.guiTop); Point recipepos = gui.getRecipePosition(recipe); if (currenttip.isEmpty() && GuiContainerManager.getStackMouseOver(gui) == null && new Rectangle(recipepos.x, recipepos.y, 166, 55).contains(relMouse)) currenttip.add(NEIClientUtils.translate( "recipe.firework.tooltip" + ((CachedFireworkRecipe) arecipes.get(recipe)).recipeType)); return currenttip; } }
KJ4IPS/NotEnoughItems
src/codechicken/nei/recipe/FireworkRecipeHandler.java
Java
mit
6,488
/* Copyright (c) 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // // GTLYouTubeChannelContentDetails.m // // ---------------------------------------------------------------------------- // NOTE: This file is generated from Google APIs Discovery Service. // Service: // YouTube Data API (youtube/v3) // Description: // Supports core YouTube features, such as uploading videos, creating and // managing playlists, searching for content, and much more. // Documentation: // https://developers.google.com/youtube/v3 // Classes: // GTLYouTubeChannelContentDetails (0 custom class methods, 2 custom properties) // GTLYouTubeChannelContentDetailsRelatedPlaylists (0 custom class methods, 5 custom properties) #import "GTLYouTubeChannelContentDetails.h" // ---------------------------------------------------------------------------- // // GTLYouTubeChannelContentDetails // @implementation GTLYouTubeChannelContentDetails @dynamic googlePlusUserId, relatedPlaylists; @end // ---------------------------------------------------------------------------- // // GTLYouTubeChannelContentDetailsRelatedPlaylists // @implementation GTLYouTubeChannelContentDetailsRelatedPlaylists @dynamic favorites, likes, uploads, watchHistory, watchLater; @end
0xced/XCDYouTubeKit
XCDYouTubeKit Demo/Pods/GoogleAPIClient/Source/Services/YouTube/Generated/GTLYouTubeChannelContentDetails.m
Matlab
mit
1,791
/** * Theme: Adminto Admin Template * Author: Coderthemes * Component: Editable * */ (function( $ ) { 'use strict'; var EditableTable = { options: { addButton: '#addToTable', table: '#datatable-editable', dialog: { wrapper: '#dialog', cancelButton: '#dialogCancel', confirmButton: '#dialogConfirm', } }, initialize: function() { this .setVars() .build() .events(); }, setVars: function() { this.$table = $( this.options.table ); this.$addButton = $( this.options.addButton ); // dialog this.dialog = {}; this.dialog.$wrapper = $( this.options.dialog.wrapper ); this.dialog.$cancel = $( this.options.dialog.cancelButton ); this.dialog.$confirm = $( this.options.dialog.confirmButton ); return this; }, build: function() { this.datatable = this.$table.DataTable({ aoColumns: [ null, null, null, { "bSortable": false } ] }); window.dt = this.datatable; return this; }, events: function() { var _self = this; this.$table .on('click', 'a.save-row', function( e ) { e.preventDefault(); _self.rowSave( $(this).closest( 'tr' ) ); }) .on('click', 'a.cancel-row', function( e ) { e.preventDefault(); _self.rowCancel( $(this).closest( 'tr' ) ); }) .on('click', 'a.edit-row', function( e ) { e.preventDefault(); _self.rowEdit( $(this).closest( 'tr' ) ); }) .on( 'click', 'a.remove-row', function( e ) { e.preventDefault(); var $row = $(this).closest( 'tr' ); $.magnificPopup.open({ items: { src: _self.options.dialog.wrapper, type: 'inline' }, preloader: false, modal: true, callbacks: { change: function() { _self.dialog.$confirm.on( 'click', function( e ) { e.preventDefault(); _self.rowRemove( $row ); $.magnificPopup.close(); }); }, close: function() { _self.dialog.$confirm.off( 'click' ); } } }); }); this.$addButton.on( 'click', function(e) { e.preventDefault(); _self.rowAdd(); }); this.dialog.$cancel.on( 'click', function( e ) { e.preventDefault(); $.magnificPopup.close(); }); return this; }, // ========================================================================================== // ROW FUNCTIONS // ========================================================================================== rowAdd: function() { this.$addButton.attr({ 'disabled': 'disabled' }); var actions, data, $row; actions = [ '<a href="#" class="hidden on-editing save-row"><i class="fa fa-save"></i></a>', '<a href="#" class="hidden on-editing cancel-row"><i class="fa fa-times"></i></a>', '<a href="#" class="on-default edit-row"><i class="fa fa-pencil"></i></a>', '<a href="#" class="on-default remove-row"><i class="fa fa-trash-o"></i></a>' ].join(' '); data = this.datatable.row.add([ '', '', '', actions ]); $row = this.datatable.row( data[0] ).nodes().to$(); $row .addClass( 'adding' ) .find( 'td:last' ) .addClass( 'actions' ); this.rowEdit( $row ); this.datatable.order([0,'asc']).draw(); // always show fields }, rowCancel: function( $row ) { var _self = this, $actions, i, data; if ( $row.hasClass('adding') ) { this.rowRemove( $row ); } else { data = this.datatable.row( $row.get(0) ).data(); this.datatable.row( $row.get(0) ).data( data ); $actions = $row.find('td.actions'); if ( $actions.get(0) ) { this.rowSetActionsDefault( $row ); } this.datatable.draw(); } }, rowEdit: function( $row ) { var _self = this, data; data = this.datatable.row( $row.get(0) ).data(); $row.children( 'td' ).each(function( i ) { var $this = $( this ); if ( $this.hasClass('actions') ) { _self.rowSetActionsEditing( $row ); } else { $this.html( '<input type="text" class="form-control input-block" value="' + data[i] + '"/>' ); } }); }, rowSave: function( $row ) { var _self = this, $actions, values = []; if ( $row.hasClass( 'adding' ) ) { this.$addButton.removeAttr( 'disabled' ); $row.removeClass( 'adding' ); } values = $row.find('td').map(function() { var $this = $(this); if ( $this.hasClass('actions') ) { _self.rowSetActionsDefault( $row ); return _self.datatable.cell( this ).data(); } else { return $.trim( $this.find('input').val() ); } }); this.datatable.row( $row.get(0) ).data( values ); $actions = $row.find('td.actions'); if ( $actions.get(0) ) { this.rowSetActionsDefault( $row ); } this.datatable.draw(); }, rowRemove: function( $row ) { if ( $row.hasClass('adding') ) { this.$addButton.removeAttr( 'disabled' ); } this.datatable.row( $row.get(0) ).remove().draw(); }, rowSetActionsEditing: function( $row ) { $row.find( '.on-editing' ).removeClass( 'hidden' ); $row.find( '.on-default' ).addClass( 'hidden' ); }, rowSetActionsDefault: function( $row ) { $row.find( '.on-editing' ).addClass( 'hidden' ); $row.find( '.on-default' ).removeClass( 'hidden' ); } }; $(function() { EditableTable.initialize(); }); }).apply( this, [ jQuery ]);
agailevictor/pettycashapp
PettyCash/PettyCashApp/assets/pages/datatables.editable.init.js
JavaScript
mit
5,376
CREATE TABLE country (id VARCHAR(2) NOT NULL, name VARCHAR(64) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB; INSERT INTO `country` (`id`, `name`) VALUES ('AF', 'Afganujo'); INSERT INTO `country` (`id`, `name`) VALUES ('AL', 'Albanujo'); INSERT INTO `country` (`id`, `name`) VALUES ('DZ', 'Alĝerio'); INSERT INTO `country` (`id`, `name`) VALUES ('AD', 'Andoro'); INSERT INTO `country` (`id`, `name`) VALUES ('AO', 'Angolo'); INSERT INTO `country` (`id`, `name`) VALUES ('AI', 'Angvilo'); INSERT INTO `country` (`id`, `name`) VALUES ('AQ', 'Antarkto'); INSERT INTO `country` (`id`, `name`) VALUES ('AG', 'Antigvo-Barbudo'); INSERT INTO `country` (`id`, `name`) VALUES ('AR', 'Argentino'); INSERT INTO `country` (`id`, `name`) VALUES ('AM', 'Armenujo'); INSERT INTO `country` (`id`, `name`) VALUES ('AW', 'Arubo'); INSERT INTO `country` (`id`, `name`) VALUES ('AZ', 'Azerbajĝano'); INSERT INTO `country` (`id`, `name`) VALUES ('AU', 'Aŭstralio'); INSERT INTO `country` (`id`, `name`) VALUES ('AT', 'Aŭstrujo'); INSERT INTO `country` (`id`, `name`) VALUES ('BS', 'Bahamoj'); INSERT INTO `country` (`id`, `name`) VALUES ('BD', 'Bangladeŝo'); INSERT INTO `country` (`id`, `name`) VALUES ('BB', 'Barbado'); INSERT INTO `country` (`id`, `name`) VALUES ('BH', 'Barejno'); INSERT INTO `country` (`id`, `name`) VALUES ('PW', 'Belaŭo'); INSERT INTO `country` (`id`, `name`) VALUES ('BE', 'Belgujo'); INSERT INTO `country` (`id`, `name`) VALUES ('BZ', 'Belizo'); INSERT INTO `country` (`id`, `name`) VALUES ('BY', 'Belorusujo'); INSERT INTO `country` (`id`, `name`) VALUES ('BJ', 'Benino'); INSERT INTO `country` (`id`, `name`) VALUES ('BM', 'Bermudoj'); INSERT INTO `country` (`id`, `name`) VALUES ('BW', 'Bocvano'); INSERT INTO `country` (`id`, `name`) VALUES ('BO', 'Bolivio'); INSERT INTO `country` (`id`, `name`) VALUES ('BA', 'Bosnio-Hercegovino'); INSERT INTO `country` (`id`, `name`) VALUES ('BR', 'Brazilo'); INSERT INTO `country` (`id`, `name`) VALUES ('IO', 'Brita Hindoceana Teritorio'); INSERT INTO `country` (`id`, `name`) VALUES ('VG', 'Britaj Virgulininsuloj'); INSERT INTO `country` (`id`, `name`) VALUES ('BN', 'Brunejo'); INSERT INTO `country` (`id`, `name`) VALUES ('BG', 'Bulgarujo'); INSERT INTO `country` (`id`, `name`) VALUES ('BF', 'Burkino'); INSERT INTO `country` (`id`, `name`) VALUES ('BI', 'Burundo'); INSERT INTO `country` (`id`, `name`) VALUES ('BT', 'Butano'); INSERT INTO `country` (`id`, `name`) VALUES ('CF', 'Centr-Afrika Respubliko'); INSERT INTO `country` (`id`, `name`) VALUES ('DK', 'Danujo'); INSERT INTO `country` (`id`, `name`) VALUES ('DO', 'Domingo'); INSERT INTO `country` (`id`, `name`) VALUES ('DM', 'Dominiko'); INSERT INTO `country` (`id`, `name`) VALUES ('CI', 'Ebur-Bordo'); INSERT INTO `country` (`id`, `name`) VALUES ('EG', 'Egipto'); INSERT INTO `country` (`id`, `name`) VALUES ('EC', 'Ekvadoro'); INSERT INTO `country` (`id`, `name`) VALUES ('GQ', 'Ekvatora Gvineo'); INSERT INTO `country` (`id`, `name`) VALUES ('ER', 'Eritreo'); INSERT INTO `country` (`id`, `name`) VALUES ('EE', 'Estonujo'); INSERT INTO `country` (`id`, `name`) VALUES ('ET', 'Etiopujo'); INSERT INTO `country` (`id`, `name`) VALUES ('FO', 'Ferooj'); INSERT INTO `country` (`id`, `name`) VALUES ('PH', 'Filipinoj'); INSERT INTO `country` (`id`, `name`) VALUES ('FI', 'Finnlando'); INSERT INTO `country` (`id`, `name`) VALUES ('FJ', 'Fiĝoj'); INSERT INTO `country` (`id`, `name`) VALUES ('GF', 'Franca Gviano'); INSERT INTO `country` (`id`, `name`) VALUES ('PF', 'Franca Polinezio'); INSERT INTO `country` (`id`, `name`) VALUES ('FR', 'Francujo'); INSERT INTO `country` (`id`, `name`) VALUES ('GA', 'Gabono'); INSERT INTO `country` (`id`, `name`) VALUES ('GM', 'Gambio'); INSERT INTO `country` (`id`, `name`) VALUES ('GH', 'Ganao'); INSERT INTO `country` (`id`, `name`) VALUES ('DE', 'Germanujo'); INSERT INTO `country` (`id`, `name`) VALUES ('GR', 'Grekujo'); INSERT INTO `country` (`id`, `name`) VALUES ('GD', 'Grenado'); INSERT INTO `country` (`id`, `name`) VALUES ('GL', 'Gronlando'); INSERT INTO `country` (`id`, `name`) VALUES ('GY', 'Gujano'); INSERT INTO `country` (`id`, `name`) VALUES ('GP', 'Gvadelupo'); INSERT INTO `country` (`id`, `name`) VALUES ('GU', 'Gvamo'); INSERT INTO `country` (`id`, `name`) VALUES ('GT', 'Gvatemalo'); INSERT INTO `country` (`id`, `name`) VALUES ('GN', 'Gvineo'); INSERT INTO `country` (`id`, `name`) VALUES ('GW', 'Gvineo-Bisaŭo'); INSERT INTO `country` (`id`, `name`) VALUES ('HT', 'Haitio'); INSERT INTO `country` (`id`, `name`) VALUES ('HM', 'Herda kaj Makdonaldaj Insuloj'); INSERT INTO `country` (`id`, `name`) VALUES ('IN', 'Hindujo'); INSERT INTO `country` (`id`, `name`) VALUES ('ES', 'Hispanujo'); INSERT INTO `country` (`id`, `name`) VALUES ('HN', 'Honduro'); INSERT INTO `country` (`id`, `name`) VALUES ('HU', 'Hungarujo'); INSERT INTO `country` (`id`, `name`) VALUES ('ID', 'Indonezio'); INSERT INTO `country` (`id`, `name`) VALUES ('IQ', 'Irako'); INSERT INTO `country` (`id`, `name`) VALUES ('IR', 'Irano'); INSERT INTO `country` (`id`, `name`) VALUES ('IE', 'Irlando'); INSERT INTO `country` (`id`, `name`) VALUES ('IS', 'Islando'); INSERT INTO `country` (`id`, `name`) VALUES ('IL', 'Israelo'); INSERT INTO `country` (`id`, `name`) VALUES ('IT', 'Italujo'); INSERT INTO `country` (`id`, `name`) VALUES ('JM', 'Jamajko'); INSERT INTO `country` (`id`, `name`) VALUES ('JP', 'Japanujo'); INSERT INTO `country` (`id`, `name`) VALUES ('YE', 'Jemeno'); INSERT INTO `country` (`id`, `name`) VALUES ('JO', 'Jordanio'); INSERT INTO `country` (`id`, `name`) VALUES ('CV', 'Kabo-Verdo'); INSERT INTO `country` (`id`, `name`) VALUES ('KH', 'Kamboĝo'); INSERT INTO `country` (`id`, `name`) VALUES ('CM', 'Kameruno'); INSERT INTO `country` (`id`, `name`) VALUES ('CA', 'Kanado'); INSERT INTO `country` (`id`, `name`) VALUES ('GE', 'Kartvelujo'); INSERT INTO `country` (`id`, `name`) VALUES ('QA', 'Kataro'); INSERT INTO `country` (`id`, `name`) VALUES ('KZ', 'Kazaĥstano'); INSERT INTO `country` (`id`, `name`) VALUES ('KY', 'Kejmanoj'); INSERT INTO `country` (`id`, `name`) VALUES ('KE', 'Kenjo'); INSERT INTO `country` (`id`, `name`) VALUES ('CY', 'Kipro'); INSERT INTO `country` (`id`, `name`) VALUES ('KG', 'Kirgizistano'); INSERT INTO `country` (`id`, `name`) VALUES ('KI', 'Kiribato'); INSERT INTO `country` (`id`, `name`) VALUES ('CO', 'Kolombio'); INSERT INTO `country` (`id`, `name`) VALUES ('KM', 'Komoroj'); INSERT INTO `country` (`id`, `name`) VALUES ('CG', 'Kongolo'); INSERT INTO `country` (`id`, `name`) VALUES ('CR', 'Kostariko'); INSERT INTO `country` (`id`, `name`) VALUES ('HR', 'Kroatujo'); INSERT INTO `country` (`id`, `name`) VALUES ('CU', 'Kubo'); INSERT INTO `country` (`id`, `name`) VALUES ('CK', 'Kukinsuloj'); INSERT INTO `country` (`id`, `name`) VALUES ('KW', 'Kuvajto'); INSERT INTO `country` (`id`, `name`) VALUES ('LA', 'Laoso'); INSERT INTO `country` (`id`, `name`) VALUES ('LV', 'Latvujo'); INSERT INTO `country` (`id`, `name`) VALUES ('LS', 'Lesoto'); INSERT INTO `country` (`id`, `name`) VALUES ('LB', 'Libano'); INSERT INTO `country` (`id`, `name`) VALUES ('LR', 'Liberio'); INSERT INTO `country` (`id`, `name`) VALUES ('LY', 'Libio'); INSERT INTO `country` (`id`, `name`) VALUES ('LT', 'Litovujo'); INSERT INTO `country` (`id`, `name`) VALUES ('LI', 'Liĥtenŝtejno'); INSERT INTO `country` (`id`, `name`) VALUES ('LU', 'Luksemburgo'); INSERT INTO `country` (`id`, `name`) VALUES ('MG', 'Madagaskaro'); INSERT INTO `country` (`id`, `name`) VALUES ('YT', 'Majoto'); INSERT INTO `country` (`id`, `name`) VALUES ('MK', 'Makedonujo'); INSERT INTO `country` (`id`, `name`) VALUES ('MY', 'Malajzio'); INSERT INTO `country` (`id`, `name`) VALUES ('MW', 'Malavio'); INSERT INTO `country` (`id`, `name`) VALUES ('MV', 'Maldivoj'); INSERT INTO `country` (`id`, `name`) VALUES ('ML', 'Malio'); INSERT INTO `country` (`id`, `name`) VALUES ('MT', 'Malto'); INSERT INTO `country` (`id`, `name`) VALUES ('MA', 'Maroko'); INSERT INTO `country` (`id`, `name`) VALUES ('MQ', 'Martiniko'); INSERT INTO `country` (`id`, `name`) VALUES ('MH', 'Marŝaloj'); INSERT INTO `country` (`id`, `name`) VALUES ('MU', 'Maŭricio'); INSERT INTO `country` (`id`, `name`) VALUES ('MR', 'Maŭritanujo'); INSERT INTO `country` (`id`, `name`) VALUES ('MX', 'Meksiko'); INSERT INTO `country` (`id`, `name`) VALUES ('FM', 'Mikronezio'); INSERT INTO `country` (`id`, `name`) VALUES ('MM', 'Mjanmao'); INSERT INTO `country` (`id`, `name`) VALUES ('MD', 'Moldavujo'); INSERT INTO `country` (`id`, `name`) VALUES ('MC', 'Monako'); INSERT INTO `country` (`id`, `name`) VALUES ('MN', 'Mongolujo'); INSERT INTO `country` (`id`, `name`) VALUES ('MZ', 'Mozambiko'); INSERT INTO `country` (`id`, `name`) VALUES ('NA', 'Namibio'); INSERT INTO `country` (`id`, `name`) VALUES ('NR', 'Nauro'); INSERT INTO `country` (`id`, `name`) VALUES ('AN', 'Nederlandaj Antiloj'); INSERT INTO `country` (`id`, `name`) VALUES ('NL', 'Nederlando'); INSERT INTO `country` (`id`, `name`) VALUES ('NP', 'Nepalo'); INSERT INTO `country` (`id`, `name`) VALUES ('NI', 'Nikaragvo'); INSERT INTO `country` (`id`, `name`) VALUES ('NU', 'Niuo'); INSERT INTO `country` (`id`, `name`) VALUES ('NG', 'Niĝerio'); INSERT INTO `country` (`id`, `name`) VALUES ('NE', 'Niĝero'); INSERT INTO `country` (`id`, `name`) VALUES ('KP', 'Nord-Koreo'); INSERT INTO `country` (`id`, `name`) VALUES ('MP', 'Nord-Marianoj'); INSERT INTO `country` (`id`, `name`) VALUES ('NF', 'Norfolkinsulo'); INSERT INTO `country` (`id`, `name`) VALUES ('NO', 'Norvegujo'); INSERT INTO `country` (`id`, `name`) VALUES ('NC', 'Nov-Kaledonio'); INSERT INTO `country` (`id`, `name`) VALUES ('NZ', 'Nov-Zelando'); INSERT INTO `country` (`id`, `name`) VALUES ('EH', 'Okcidenta Saharo'); INSERT INTO `country` (`id`, `name`) VALUES ('OM', 'Omano'); INSERT INTO `country` (`id`, `name`) VALUES ('PK', 'Pakistano'); INSERT INTO `country` (`id`, `name`) VALUES ('PA', 'Panamo'); INSERT INTO `country` (`id`, `name`) VALUES ('PG', 'Papuo-Nov-Gvineo'); INSERT INTO `country` (`id`, `name`) VALUES ('PY', 'Paragvajo'); INSERT INTO `country` (`id`, `name`) VALUES ('PE', 'Peruo'); INSERT INTO `country` (`id`, `name`) VALUES ('PN', 'Pitkarna Insulo'); INSERT INTO `country` (`id`, `name`) VALUES ('PL', 'Pollando'); INSERT INTO `country` (`id`, `name`) VALUES ('PT', 'Portugalujo'); INSERT INTO `country` (`id`, `name`) VALUES ('PR', 'Puerto-Riko'); INSERT INTO `country` (`id`, `name`) VALUES ('RE', 'Reunio'); INSERT INTO `country` (`id`, `name`) VALUES ('RW', 'Ruando'); INSERT INTO `country` (`id`, `name`) VALUES ('RO', 'Rumanujo'); INSERT INTO `country` (`id`, `name`) VALUES ('RU', 'Rusujo'); INSERT INTO `country` (`id`, `name`) VALUES ('SB', 'Salomonoj'); INSERT INTO `country` (`id`, `name`) VALUES ('SV', 'Salvadoro'); INSERT INTO `country` (`id`, `name`) VALUES ('WS', 'Samoo'); INSERT INTO `country` (`id`, `name`) VALUES ('SM', 'San-Marino'); INSERT INTO `country` (`id`, `name`) VALUES ('ST', 'Sao-Tomeo kaj Principeo'); INSERT INTO `country` (`id`, `name`) VALUES ('SA', 'Saŭda Arabujo'); INSERT INTO `country` (`id`, `name`) VALUES ('SC', 'Sejŝeloj'); INSERT INTO `country` (`id`, `name`) VALUES ('SN', 'Senegalo'); INSERT INTO `country` (`id`, `name`) VALUES ('SH', 'Sent-Heleno'); INSERT INTO `country` (`id`, `name`) VALUES ('KN', 'Sent-Kristofo kaj Neviso'); INSERT INTO `country` (`id`, `name`) VALUES ('LC', 'Sent-Lucio'); INSERT INTO `country` (`id`, `name`) VALUES ('PM', 'Sent-Piero kaj Mikelono'); INSERT INTO `country` (`id`, `name`) VALUES ('VC', 'Sent-Vincento kaj la Grenadinoj'); INSERT INTO `country` (`id`, `name`) VALUES ('CS', 'Serbujo'); INSERT INTO `country` (`id`, `name`) VALUES ('SL', 'Siera-Leono'); INSERT INTO `country` (`id`, `name`) VALUES ('SG', 'Singapuro'); INSERT INTO `country` (`id`, `name`) VALUES ('SY', 'Sirio'); INSERT INTO `country` (`id`, `name`) VALUES ('SK', 'Slovakujo'); INSERT INTO `country` (`id`, `name`) VALUES ('SI', 'Slovenujo'); INSERT INTO `country` (`id`, `name`) VALUES ('SO', 'Somalujo'); INSERT INTO `country` (`id`, `name`) VALUES ('LK', 'Sri-Lanko'); INSERT INTO `country` (`id`, `name`) VALUES ('ZA', 'Sud-Afriko'); INSERT INTO `country` (`id`, `name`) VALUES ('GS', 'Sud-Georgio kaj Sud-Sandviĉinsuloj'); INSERT INTO `country` (`id`, `name`) VALUES ('KR', 'Sud-Koreo'); INSERT INTO `country` (`id`, `name`) VALUES ('SD', 'Sudano'); INSERT INTO `country` (`id`, `name`) VALUES ('SR', 'Surinamo'); INSERT INTO `country` (`id`, `name`) VALUES ('SJ', 'Svalbardo kaj Jan-Majen-insulo'); INSERT INTO `country` (`id`, `name`) VALUES ('SZ', 'Svazilando'); INSERT INTO `country` (`id`, `name`) VALUES ('SE', 'Svedujo'); INSERT INTO `country` (`id`, `name`) VALUES ('CH', 'Svisujo'); INSERT INTO `country` (`id`, `name`) VALUES ('TH', 'Tajlando'); INSERT INTO `country` (`id`, `name`) VALUES ('TW', 'Tajvano'); INSERT INTO `country` (`id`, `name`) VALUES ('TZ', 'Tanzanio'); INSERT INTO `country` (`id`, `name`) VALUES ('TJ', 'Taĝikujo'); INSERT INTO `country` (`id`, `name`) VALUES ('TG', 'Togolo'); INSERT INTO `country` (`id`, `name`) VALUES ('TO', 'Tongo'); INSERT INTO `country` (`id`, `name`) VALUES ('TT', 'Trinidado kaj Tobago'); INSERT INTO `country` (`id`, `name`) VALUES ('TN', 'Tunizio'); INSERT INTO `country` (`id`, `name`) VALUES ('TM', 'Turkmenujo'); INSERT INTO `country` (`id`, `name`) VALUES ('TR', 'Turkujo'); INSERT INTO `country` (`id`, `name`) VALUES ('TV', 'Tuvalo'); INSERT INTO `country` (`id`, `name`) VALUES ('UG', 'Ugando'); INSERT INTO `country` (`id`, `name`) VALUES ('UA', 'Ukrajno'); INSERT INTO `country` (`id`, `name`) VALUES ('GB', 'Unuiĝinta Reĝlando'); INSERT INTO `country` (`id`, `name`) VALUES ('AE', 'Unuiĝintaj Arabaj Emirlandos'); INSERT INTO `country` (`id`, `name`) VALUES ('UY', 'Urugvajo'); INSERT INTO `country` (`id`, `name`) VALUES ('VI', 'Usonaj Virgulininsuloj'); INSERT INTO `country` (`id`, `name`) VALUES ('UM', 'Usonaj malgrandaj insuloj'); INSERT INTO `country` (`id`, `name`) VALUES ('US', 'Usono'); INSERT INTO `country` (`id`, `name`) VALUES ('UZ', 'Uzbekujo'); INSERT INTO `country` (`id`, `name`) VALUES ('WF', 'Valiso kaj Futuno'); INSERT INTO `country` (`id`, `name`) VALUES ('VU', 'Vanuatuo'); INSERT INTO `country` (`id`, `name`) VALUES ('VA', 'Vatikano'); INSERT INTO `country` (`id`, `name`) VALUES ('VE', 'Venezuelo'); INSERT INTO `country` (`id`, `name`) VALUES ('VN', 'Vjetnamo'); INSERT INTO `country` (`id`, `name`) VALUES ('ZM', 'Zambio'); INSERT INTO `country` (`id`, `name`) VALUES ('ZW', 'Zimbabvo'); INSERT INTO `country` (`id`, `name`) VALUES ('TD', 'Ĉado'); INSERT INTO `country` (`id`, `name`) VALUES ('CZ', 'Ĉeĥujo'); INSERT INTO `country` (`id`, `name`) VALUES ('CL', 'Ĉilio'); INSERT INTO `country` (`id`, `name`) VALUES ('CN', 'Ĉinujo'); INSERT INTO `country` (`id`, `name`) VALUES ('GI', 'Ĝibraltaro'); INSERT INTO `country` (`id`, `name`) VALUES ('DJ', 'Ĝibutio');
ddpruitt/country-list
country/cldr/eo/country.mysql.sql
SQL
mit
14,867
// Copyright (C) 2013 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #include <sstream> #include <string> #include <cstdlib> #include <ctime> #include <dlib/matrix.h> #include <dlib/rand.h> #include <dlib/compress_stream.h> #include <dlib/base64.h> #include "tester.h" namespace { using namespace test; using namespace dlib; using namespace std; logger dlog("test.fft"); // ---------------------------------------------------------------------------------------- matrix<complex<double> > rand_complex(long num) { static dlib::rand rnd; matrix<complex<double> > m(num,1); for (long i = 0; i < m.size(); ++i) { m(i) = complex<double>(rnd.get_random_gaussian()*10, rnd.get_random_gaussian()*10); } return m; } const std::string get_decoded_string(); void test_against_saved_good_ffts() { print_spinner(); istringstream sin(get_decoded_string()); matrix<complex<double>,0,1> m1, m2; matrix<complex<float>,0,1> fm1, fm2; while (sin.peek() != EOF) { deserialize(m1,sin); deserialize(m2,sin); fm1 = matrix_cast<complex<float> >(m1); fm2 = matrix_cast<complex<float> >(m2); DLIB_TEST(max(norm(fft(m1)-m2)) < 1e-16); DLIB_TEST(max(norm(m1-ifft(m2))) < 1e-16); DLIB_TEST(max(norm(fft(fm1)-fm2)) < 1e-7); DLIB_TEST(max(norm(fm1-ifft(fm2))) < 1e-7); } } // ---------------------------------------------------------------------------------------- void test_random_ffts() { print_spinner(); for (int iter = 0; iter < 10; ++iter) { for (int size = 1; size <= 64; size *= 2) { const matrix<complex<double>,0,1> m1 = rand_complex(size); const matrix<complex<float>,0,1> fm1 = matrix_cast<complex<float> >(rand_complex(size)); DLIB_TEST(max(norm(ifft(fft(m1))-m1)) < 1e-16); DLIB_TEST(max(norm(ifft(fft(fm1))-fm1)) < 1e-7); } } } // ---------------------------------------------------------------------------------------- void test_random_real_ffts() { print_spinner(); for (int iter = 0; iter < 10; ++iter) { for (int size = 1; size <= 64; size *= 2) { const matrix<complex<double>,0,1> m1 = complex_matrix(real(rand_complex(size))); const matrix<complex<float>,0,1> fm1 = matrix_cast<complex<float> >(complex_matrix(real(rand_complex(size)))); DLIB_TEST(max(norm(ifft(fft(complex_matrix(real(m1))))-m1)) < 1e-16); } } } // ---------------------------------------------------------------------------------------- class test_fft : public tester { public: test_fft ( ) : tester ("test_fft", "Runs tests on the fft routines.") {} void perform_test ( ) { test_against_saved_good_ffts(); test_random_ffts(); test_random_real_ffts(); } } a; // ---------------------------------------------------------------------------------------- // This function returns the contents of the file 'fft_test_data.dat' const std::string get_decoded_string() { dlib::base64 base64_coder; dlib::compress_stream::kernel_1ea compressor; std::ostringstream sout; std::istringstream sin; // The base64 encoded data from the file 'fft_test_data.dat' we want to decode and return. sout << "gO1l2wKz8OsyeYMPYcGx6QdBG65vnrB+omgAJ7Bnsuk9vkTw/Y9Y/UZEFXhVf6qnq92QHPLV16Fo"; sout << "a+IUHNTjoPAfBOTyfb8QRcTj9SaWpxA65+UCJ+5L6x/TEyPKDtB23S0KRpRSdfxBSW9/rnUrkIv7"; sout << "6i6LWcxKzdsw2WGsRCX1k3t0adQW49m/yb8LV9Loqs7/phzY7HkJ4D2PLtpc6Wyk1qG/h6KQ7nkF"; sout << "GFkHIoh+xKXhHpqWaSofx8H8m/++H++g0VSPqfQ1ktFz+K8UtiGoyR2GqpP+br47YLXG3WqVU5Km"; sout << "Di3+IjQoBH2m4jykD926aRvdRrgUH4gZunokl+U6shv20Zm0NL8j4A46/2f++YPGCVBNJJmcJdI7"; sout << "9RlPL9SFbJ8rnH5bbLvZ2pKZmmbeZN78yzLUhdGwn4DGpf/Zo1fU2YPUjVKkwY6olW4w3tiBl05a"; sout << "cS1HwBeQjnajqsXNyudbrBkM1Z9XiwM+J5iMsu5ldaJ8iLn30W2Te2RnZhJRHO8MgL7Fn1j0n0Qb"; sout << "8dB+6aQYv0l/5LQkr5SX6YSRYX5b5rnqhi8IzJKms6dzoyBm97IGTm8pRxtLXcmsk1MvJcHF2gl2"; sout << "CslQazsl5iIS6fMxEodmlMdwdfIpp/6MqmeIydSHwdyJJZnNPl2p5X+Il5egmwdaSoDQNphPfTaQ"; sout << "R0Xh3xqsZKgHLKxB14Rsf/R7Eu9ZASTByX3UrEHsSzLSUo9/G+tS3n1iC30Liusksh2Wkt+/QtDy"; sout << "A1ZX31H5OlSFwCYC/TYitwyl4U9k7WhHBDoT7MdmVTYQEK1dK48nwOhnZa9prE8n3dD40CCe25q3"; sout << "Qo4VVYc5tBWu1TfTbshvkmHAcp3Gyw/caqq6jdq5Z2BD1b67i/bY66xhmowOFS8xeA7v6tKdkvpp"; sout << "Rk8FegzVdB72wpw3872T4K+eplMDcCPGkwIieF5pZStWxhGsNOC0p2wvpFvTpQgfNOGUvRt69hsd"; sout << "xaUEYlWZcY3sfsiOwPGgBUEEv6b+8W7+8Ddj8Nx4wG+bdWozphfz7THbmOeaDM63imIEHmJbZ47I"; sout << "QgoyzFD5WoWtZ1wMEv4LL+a63B3FzBcvPvdPaa2QEmyiK9yN7GEePs2Fv2A3ymhGw5NeR1dOzAjz"; sout << "lEQW01p8opk/dpyLO18zj8d+Hn4EnJkKD0p1u+XuLRda8AnRu/WmSOOpyG5EUrUoEyuvbECLbY9X"; sout << "3AMgzkbxltmZlkyOOwfCGM0yumGYKdz0aGKdyid7ddLMTpQ908dCNLyRgTybdZG9137PQirgX5+O"; sout << "08T/+L4EIyyrslOYxpUaLm2ASnSUgiivoIJvfnu8IeH2W9fPupY89ioXIYuwZU8f9FDCA9z7peQw"; sout << "9H6l4PDdDrB7nwQhncpV9FYLkHQLbSgE1VD+eL6Y2k48pI2zUndcoHEZW72NcmK6E8fDvfgbKkYD"; sout << "m02RiGuj4tvEEsIVuVa29Q0JGO+37n7Mlz7+RMcUMo1pLnh+jibas6R+1LCy7b4ubiKMFB1gvjut"; sout << "gjMABy1dJxSOdb9xUa0K/Alwwu3MxdkrbTxwqkn0C2JnVV7z9S2I+PWcfZKzcpg8Itzh/ON6I/DE"; sout << "EGK3s39XhLI2xPg3PE9R9QMaisqxb3FeP1NkBXrLQtuQfrSk+KZk6ArQWVgtem799fxgipQsa5RH"; sout << "z2Dq9t+pJzNGUnWg5PWzaAY3lWMscn+BIRhsZfDJ3QBtS9Vmib8r2dtYwXi/Q+FhnAHFfcXbhDC3"; sout << "GHn16aP2PY1sw8KMtfPRAcqY8Ylbr9EQXjWoIYUs0YyX2Ks8ZgibunTPFz/Wu98RVYswMtjubFaJ"; sout << "jb0pK9S6qoe/w10CAAHqoAfca7uMOxw9trZZmjCf5vF4leH/nDgsNjesYn21rE6rLhSbg8vaZXo5"; sout << "I/e1uhZlRz4ZNnMlZSnL70Jt0IjuR0YNphCsGZjmvvZ4ihxrcLrHvAcSTJuqW5EARtvjyQWqBKSP"; sout << "5XhlkrI73Ejvy+Lhv6n6O7+VrfWa/tGRuvvAToS1wPOP1T2oniDXsNlD0QbMnCao+dTWgkTDiNTk"; sout << "sFxsoN8YjwHqYUAp+hfnu1Vh2ovyemAUmo87vuG7at6f8MgFSuZffmBkGuijKNDDy7OrHoh7+5/+"; sout << "aOkcvp0pW3ONZ4l6peRNvzaW5DEBTvcZGvRwVCHWII1eGpzeJKaHWvDfLqjaPkFrG5pR7SGCY/9L"; sout << "73W2U0JCe2h7VjWbCM7hdvJEgYi/mEarVQpt+0P834es6Rm9rsMCbgbrWl7uv35+LVMTHU29Oxln"; sout << "bDzBUJQs5KIA81IWR3R7D+HuJvpMkAYMF73c1owI7K74SBOsTq1ayC81aNlK7YwOOjZyBqwsQ5sy"; sout << "zZi0k9AcKRGmTC323o7Tp/n/gkAU3NObTnqPEJitjGloXqrhPvorixBhHXSZy+wgL5R+04KiF1uU"; sout << "LEFOzJ0zKUMstTB+fgC7D6ZnVEtUq3HEYnmaRRwEhRSgMTLXE8VvnOdo802pMVN5GMCkH299rJm5"; sout << "Ina8mTwlC9JrNuYHot5KK/Gny4KPyUeS51cifByPwroemwBHe9EmKCkcEJPoDpG3QMaV36aopyJl"; sout << "GwhZxaZSqbut9XSWr0IMxHUkFeslRB+n/7Vx+xWpDNjQ7JA5S/B0ZW+YBQPcjA3sRQTey25JD4Jy"; sout << "RsULxNY5e3mjn59fI8OpBOYfNPTt2Jzppm1GDpym0LHuz7KZ6xk6QAyogk+HMjC/5RcQA7zJWDRM"; sout << "dXC4CXUjrBxVzmm/YHXv76LrsaFdzJgn+/qzlM6IvIgicMhcJl+hA1swTkgcw6JRalJiDqnvapKP"; sout << "V+T+/X5PSNMswgZURHQJ2l0PkMrUT909pBOC9t4GCsK8k4rYS2o0I0UYfcpm4jMRU5X34zlT8Qv+"; sout << "GV3mA0oGq1U2dJwArlPX3gI5sZ2Jsw7Qa5edvQNG5GoRb2j2Muo4AkZXXjbx0KEa5leLIhVL4BAE"; sout << "2GTdbL7T8hUGY3QlRQGwSVAytjUfXg4jCyn9w6ZbxUOu5MDBuCEtrhRSJNKuBLInK3Bh+fr2FshC"; sout << "T1eDtIFE2EDEaSbLj4NCNWpTFdKMXZ9CQg2VtoVOIJfgKzqAjjcWX8kqWpMFlQgtdTfIqN7gnFit"; sout << "do/FO0OzLghevyexHdl+Ze+MjITKOF0mTPPMkcIYcINIR1za6q3rLDZg03+GouzYhL8lwM3WAnkg"; sout << "Qg+NM6reQATKFK3ieOxacZYnIwOR/ZMM/lO/rHY/ZbdAnJHbMBWwRtK1vDi+o+ZgS7EgsDpsmz/l"; sout << "PguXPK0Ws51OUhIJJ5YDBv+nVPJabxOYV3dU0z49xFpxNTW9pTISo8mKZvLp2D765kExGJ9YKoAx"; sout << "Hfi6WEg3pFS9YQLNhOZjE4bQThugIWXhi+2OPgqUIUoV5ctSnP5Lv+xhbkZfjnQQQQffrrU4peSz"; sout << "6CuNEVLuNuG/mc3WEDZwf1HxYv3u9pr7A79QG0EROf23zPzaf5biE9e9xH+ruPApRHM58H2RpxXU"; sout << "RlkYnfoAUqyvT3Lhhk6ngv8Axhi4otvz7sRiXQmZO7mtzWzsCTkCJoziwRKlD6P6LYnbm4fRYP1M"; sout << "MvOuW3NhsQNrsDtgMuvqiVQpRzg157ES1i1qnTjJxTD5emK1RljuQEetbGksyetctWdWiEd8ZfSh"; sout << "DHBJC2FLucmkMt0LHsVPnk4ni055uMRdKPRKjTE2MjpEsxR52xiWR3MtwXiEhH9fZnUl1IdBl3PG"; sout << "TfLiZ286m4ePm6JOgNM1chtZir+q8pr4ghk/xycWvHmgkqT9dQcFP8iEtlVLCS22/2mS79cTev2r"; sout << "yE90otp9vibcTnpORzrnLrMhhpmYRTxRjRaHGhwdJYluARJFBBVTMEenK2ubdLOJ8skZjLzPv1dt"; sout << "9IrO1sNUwrMpEie8PG7D7DzQ7//jdlC/HUZaGKrwj5aMUULi+ZYiBLYoeL4N8ozAK1u3KtXLKlRE"; sout << "3Akys4Py8+CmrY5qaaDOXZvwl3FF3skmGhx5KValRXrbndqr3Cks0hXglHgNonZh795galZwu0Jp"; sout << "ww/mTQLCV0djTdEfjXBUnP49zyGXWWsEsl2jfqEAfBDcT4+mMzAUtBSwwPJYXXAJQz45R32MThNb"; sout << "k21X+rw63QJe0zIbOJepHz3jaedMkj8GKNYBjqzibNqfYelunBUqW0bpi81HYdN5OFY/3GNKgygG"; sout << "4R5HJaP+x9e1HxehpI/4pKFC+TAIb29uSV5GtkNTb1fYLm0kjeCZNA5GKtf42gBY52N6STl+lcI0"; sout << "gD+jJ/ogknne3sRtEJEtCFFe1c50oikyJamQbeUO1PcDUBt8Phl1rI/p4PTP+H686usJVhSDY+b5"; sout << "9CdS6F7XSSDiXlpFl+Esex30fRZ8zAQsTo9oN0sSZUUJKcyVk0dCqw2mHWPpyM6hYKQ3ij1nYjYl"; sout << "3PzRfFMlu+dgStcBn70jvlEv5pOWXb2OqrN9nJtb29n8jrB2K2nlbcYoPPiQ3yXk+Wpom82LoT5W"; sout << "F9NeNwwAB4EDWtB96OU6noW8NHJj7NiADQJGvQpk/3JzIzeBJQCxULYJMRJdBKf61+24F791reHa"; sout << "qrH+rLUrrv05dIPDTUvGW5LQLTTFFa59OmMIu7WJE7Ln6gMIwDw3FXnGFzaWnHlHL/9jJ0zM1FQL"; sout << "kfK4wTd++GbeI0gsnXWFK0N0kV/FiHm++J4udWwIXZxH7qZCHtwlT/5oGDVujtAtOPag+txUrjVc"; sout << "G4iLeiPbV/2Vfc2D1oV5/yyXDDii9qrLH6SOOfgvdiJZr7X3uMUIDGO75x5wBDSxr9t3I2CrX2dM"; sout << "M6kD7U1+bf5QVRbkh3Us4NAhFVnLNEcrm0x9Yx0wRmxPKgJeGGbWi7/BHi8ShIFllizuxuMyfypC"; sout << "hhzSlxxbYAQwtcC3cHEnyYZAO7HC6hyke+HQJfxAmKyfguGtzEzsiG18XJVruwz7IoOpZS/O71zy"; sout << "Nv+T8trOhy59ZUAgIsCAAQJYEBWl/T/qFtkE+tITbVRKtHjbxHSeN12OnHFRoKguJYaakTo4qLs0"; sout << "fr4E4nZUMfjdF7oI7YutegY9TkiJ9ujLJw4pfY1XRtPrRukEl8orypWXq0gErnYO/RVtK3XImrDp"; sout << "LY5sXH5pNzkqVH9VCl6lh9sg2HWjNwv9bDcDlIhvTL19Mx9yUtx/iQtG/OKy22tW6ByahPNnMNtA"; sout << "tBVB38RLf6eJr68mhn10Qg68cXxVL7/zEIZd9rUaCo8xCzeFblDNErKfG02JJ6fbQ6M6ZdNez7Q0"; sout << "x2IYbz2DEk0wHmR7OtA/oTFMvJlyMt+dDWTEpHnvqkbe+veENpxn2WWy3UsumkvhhtzzmLxyD6Sh"; sout << "mMbMPwgUjvMG51JfRrgMfJzT49z0sebSfzvid/9QV4lNkR7s9nfUJEwAued4S4klRy3LiFdQhjQR"; sout << "FOZZNqUge8vxVOzVCfS+xsjvnGrd7azt7LJg6wPXFgPfeE2bRlx+8AoRFG7SUpudmm/bkNw+uNgS"; sout << "YRdaH8p16RyNoMlSfi/7BNDhtKwrl202pVuCqhFey0mPYehYee2HhLZs6ph+HKMYy8lZ/ac1Q17d"; sout << "1tcI4WH0Hz0B/3GWl8xWfoq2OO40EIjuCPNhk70MpiytWXggJrKoKPu52GOqTU8+jZ6F+u6U2muZ"; sout << "6QZLYXDwPaNz/lq5U4ACw767DkhUHd1/h0g6r/RwtLKxdrzYldQto99TAMmHc+z9aIciTv7kl/Gs"; sout << "WA58nI8aODhwjIkOGaExdlR1k/3JR2tAAj5vRzYlJeakhAA82pA+8xMPZr3HRlQx4DlEjH1spAA="; // Put the data into the istream sin sin.str(sout.str()); sout.str(""); // Decode the base64 text into its compressed binary form base64_coder.decode(sin,sout); sin.clear(); sin.str(sout.str()); sout.str(""); // Decompress the data into its original form compressor.decompress(sin,sout); // Return the decoded and decompressed data return sout.str(); } }
kaathleen/LeapGesture-library
DynamicGestures/dlib-18.5/dlib/test/fft.cpp
C++
mit
11,500
package org.knowm.xchange.coinbase.dto.account; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import java.util.Date; import java.util.List; import org.knowm.xchange.coinbase.dto.CoinbaseBaseResponse; import org.knowm.xchange.utils.jackson.ISO8601DateDeserializer; /** @author jamespedwards42 */ public class CoinbaseAddress extends CoinbaseBaseResponse { private final String address; private final String callbackUrl; private final String label; private final Date createdAt; CoinbaseAddress( String address, final String callbackUrl, final String label, final Date createdAt) { super(true, null); this.address = address; this.callbackUrl = callbackUrl; this.label = label; this.createdAt = createdAt; } private CoinbaseAddress( @JsonProperty("address") final String address, @JsonProperty("callback_url") final String callbackUrl, @JsonProperty("label") final String label, @JsonProperty("created_at") @JsonDeserialize(using = ISO8601DateDeserializer.class) final Date createdAt, @JsonProperty("success") final boolean success, @JsonProperty("errors") final List<String> errors) { super(success, errors); this.address = address; this.callbackUrl = callbackUrl; this.label = label; this.createdAt = createdAt; } public String getAddress() { return address; } public String getCallbackUrl() { return callbackUrl; } public String getLabel() { return label; } public Date getCreatedAt() { return createdAt; } @Override public String toString() { return "CoinbaseAddress [address=" + address + ", callbackUrl=" + callbackUrl + ", label=" + label + ", createdAt=" + createdAt + "]"; } }
ww3456/XChange
xchange-coinbase/src/main/java/org/knowm/xchange/coinbase/dto/account/CoinbaseAddress.java
Java
mit
1,888
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ngMock/angular-mocks.js?message=docs(angular.mock.module)%3A%20describe%20your%20change...#L2164' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.3.2/src/ngMock/angular-mocks.js#L2164' class='view-source pull-right btn btn-primary'> <i class="glyphicon glyphicon-zoom-in">&nbsp;</i>View Source </a> <header class="api-profile-header"> <h1 class="api-profile-header-heading">angular.mock.module</h1> <ol class="api-profile-header-structure naked-list step-list"> <li> - function in module <a href="api/ngMock">ngMock</a> </li> </ol> </header> <div class="api-profile-description"> <p><em>NOTE</em>: This function is also published on window for easy access.<br> <em>NOTE</em>: This function is declared ONLY WHEN running tests with jasmine or mocha</p> <p>This function registers a module configuration code. It collects the configuration information which will be used when the injector is created by <a href="api/ngMock/function/angular.mock.inject">inject</a>.</p> <p>See <a href="api/ngMock/function/angular.mock.inject">inject</a> for usage example</p> </div> <div> <h2 id="usage">Usage</h2> <p><code>angular.mock.module(fns);</code></p> <section class="api-section"> <h3>Arguments</h3> <table class="variables-matrix input-arguments"> <thead> <tr> <th>Param</th> <th>Type</th> <th>Details</th> </tr> </thead> <tbody> <tr> <td> fns </td> <td> <a href="" class="label type-hint type-hint-string">string</a><a href="" class="label type-hint type-hint-function">function()</a><a href="" class="label type-hint type-hint-object">Object</a> </td> <td> <p>any number of modules which are represented as string aliases or as anonymous module initialization functions. The modules are used to configure the injector. The &#39;ng&#39; and &#39;ngMock&#39; modules are automatically loaded. If an object literal is passed they will be registered as values in the module, the key being the module name and the value being what is returned.</p> </td> </tr> </tbody> </table> </section> </div>
aditya-12plo/azmi
assets/angular/docs/partials/api/ngMock/function/angular.mock.module.html
HTML
mit
2,437
CREATE TABLE country (id NVARCHAR(2) NOT NULL, name NVARCHAR(64) NOT NULL, PRIMARY KEY (id)); INSERT INTO [country] ([id], [name]) VALUES ('ZA', 'Huafrika iya Hukusini'); INSERT INTO [country] ([id], [name]) VALUES ('AF', 'Huafuganistani'); INSERT INTO [country] ([id], [name]) VALUES ('IS', 'Huaislandi'); INSERT INTO [country] ([id], [name]) VALUES ('AR', 'Huajendina'); INSERT INTO [country] ([id], [name]) VALUES ('AL', 'Hualbania'); INSERT INTO [country] ([id], [name]) VALUES ('DZ', 'Hualjelia'); INSERT INTO [country] ([id], [name]) VALUES ('AW', 'Hualuba'); INSERT INTO [country] ([id], [name]) VALUES ('AM', 'Huamenia'); INSERT INTO [country] ([id], [name]) VALUES ('AD', 'Huandola'); INSERT INTO [country] ([id], [name]) VALUES ('AO', 'Huangola'); INSERT INTO [country] ([id], [name]) VALUES ('AI', 'Huanguila'); INSERT INTO [country] ([id], [name]) VALUES ('AG', 'Huantigua na Hubarubuda'); INSERT INTO [country] ([id], [name]) VALUES ('AN', 'Huantili dza Huuholanzi'); INSERT INTO [country] ([id], [name]) VALUES ('AT', 'Huastlia'); INSERT INTO [country] ([id], [name]) VALUES ('AU', 'Huaustlalia'); INSERT INTO [country] ([id], [name]) VALUES ('IE', 'Huayalandi'); INSERT INTO [country] ([id], [name]) VALUES ('AZ', 'Huazabajani'); INSERT INTO [country] ([id], [name]) VALUES ('BB', 'Hubabadosi'); INSERT INTO [country] ([id], [name]) VALUES ('BH', 'Hubahaleni'); INSERT INTO [country] ([id], [name]) VALUES ('BS', 'Hubahama'); INSERT INTO [country] ([id], [name]) VALUES ('BD', 'Hubangaladeshi'); INSERT INTO [country] ([id], [name]) VALUES ('BY', 'Hubelalusi'); INSERT INTO [country] ([id], [name]) VALUES ('BZ', 'Hubelize'); INSERT INTO [country] ([id], [name]) VALUES ('BM', 'Hubelmuda'); INSERT INTO [country] ([id], [name]) VALUES ('BJ', 'Hubenini'); INSERT INTO [country] ([id], [name]) VALUES ('BR', 'Hublazili'); INSERT INTO [country] ([id], [name]) VALUES ('BO', 'Hubolivia'); INSERT INTO [country] ([id], [name]) VALUES ('BA', 'Hubosinia na Huhezegovina'); INSERT INTO [country] ([id], [name]) VALUES ('BW', 'Hubotiswana'); INSERT INTO [country] ([id], [name]) VALUES ('BN', 'Hubrunei'); INSERT INTO [country] ([id], [name]) VALUES ('BF', 'Hubukinafaso'); INSERT INTO [country] ([id], [name]) VALUES ('MG', 'Hubukini'); INSERT INTO [country] ([id], [name]) VALUES ('BG', 'Hubulgaria'); INSERT INTO [country] ([id], [name]) VALUES ('BI', 'Huburundi'); INSERT INTO [country] ([id], [name]) VALUES ('BT', 'Hubutani'); INSERT INTO [country] ([id], [name]) VALUES ('TD', 'Huchadi'); INSERT INTO [country] ([id], [name]) VALUES ('CL', 'Huchile'); INSERT INTO [country] ([id], [name]) VALUES ('CN', 'Huchina'); INSERT INTO [country] ([id], [name]) VALUES ('DK', 'Hudenmaki'); INSERT INTO [country] ([id], [name]) VALUES ('DM', 'Hudominika'); INSERT INTO [country] ([id], [name]) VALUES ('EC', 'Huekwado'); INSERT INTO [country] ([id], [name]) VALUES ('SV', 'Huelsavado'); INSERT INTO [country] ([id], [name]) VALUES ('ER', 'Hueritrea'); INSERT INTO [country] ([id], [name]) VALUES ('EE', 'Huestonia'); INSERT INTO [country] ([id], [name]) VALUES ('AE', 'Hufalme dza Hihalabu'); INSERT INTO [country] ([id], [name]) VALUES ('FJ', 'Hufiji'); INSERT INTO [country] ([id], [name]) VALUES ('PH', 'Hufilipino'); INSERT INTO [country] ([id], [name]) VALUES ('GA', 'Hugaboni'); INSERT INTO [country] ([id], [name]) VALUES ('GM', 'Hugambia'); INSERT INTO [country] ([id], [name]) VALUES ('GH', 'Hughana'); INSERT INTO [country] ([id], [name]) VALUES ('GW', 'Huginebisau'); INSERT INTO [country] ([id], [name]) VALUES ('GQ', 'Huginekweta'); INSERT INTO [country] ([id], [name]) VALUES ('GD', 'Hugrenada'); INSERT INTO [country] ([id], [name]) VALUES ('GY', 'Huguyana'); INSERT INTO [country] ([id], [name]) VALUES ('GP', 'Hugwadelupe'); INSERT INTO [country] ([id], [name]) VALUES ('GU', 'Hugwam'); INSERT INTO [country] ([id], [name]) VALUES ('GT', 'Hugwatemala'); INSERT INTO [country] ([id], [name]) VALUES ('GF', 'Hugwiyana ya Huufaransa'); INSERT INTO [country] ([id], [name]) VALUES ('HT', 'Huhaiti'); INSERT INTO [country] ([id], [name]) VALUES ('ES', 'Huhispania'); INSERT INTO [country] ([id], [name]) VALUES ('HN', 'Huhondulasi'); INSERT INTO [country] ([id], [name]) VALUES ('HU', 'Huhungalia'); INSERT INTO [country] ([id], [name]) VALUES ('IQ', 'Huilaki'); INSERT INTO [country] ([id], [name]) VALUES ('IN', 'Huindia'); INSERT INTO [country] ([id], [name]) VALUES ('ID', 'Huindonesia'); INSERT INTO [country] ([id], [name]) VALUES ('IL', 'Huislaheli'); INSERT INTO [country] ([id], [name]) VALUES ('IT', 'Huitalia'); INSERT INTO [country] ([id], [name]) VALUES ('JM', 'Hujamaika'); INSERT INTO [country] ([id], [name]) VALUES ('JP', 'Hujapani'); INSERT INTO [country] ([id], [name]) VALUES ('GI', 'Hujiblalta'); INSERT INTO [country] ([id], [name]) VALUES ('DJ', 'Hujibuti'); INSERT INTO [country] ([id], [name]) VALUES ('GN', 'Hujine'); INSERT INTO [country] ([id], [name]) VALUES ('GL', 'Hujinlandi'); INSERT INTO [country] ([id], [name]) VALUES ('GE', 'Hujojia'); INSERT INTO [country] ([id], [name]) VALUES ('KH', 'Hukambodia'); INSERT INTO [country] ([id], [name]) VALUES ('CM', 'Hukameruni'); INSERT INTO [country] ([id], [name]) VALUES ('CA', 'Hukanada'); INSERT INTO [country] ([id], [name]) VALUES ('QA', 'Hukatali'); INSERT INTO [country] ([id], [name]) VALUES ('KZ', 'Hukazakistani'); INSERT INTO [country] ([id], [name]) VALUES ('KE', 'Hukenya'); INSERT INTO [country] ([id], [name]) VALUES ('CV', 'Hukepuvede'); INSERT INTO [country] ([id], [name]) VALUES ('KI', 'Hukilibati'); INSERT INTO [country] ([id], [name]) VALUES ('KG', 'Hukiligizistani'); INSERT INTO [country] ([id], [name]) VALUES ('CI', 'Hukodivaa'); INSERT INTO [country] ([id], [name]) VALUES ('KP', 'Hukolea Kaskazini'); INSERT INTO [country] ([id], [name]) VALUES ('KR', 'Hukolea Kusini'); INSERT INTO [country] ([id], [name]) VALUES ('CO', 'Hukolombia'); INSERT INTO [country] ([id], [name]) VALUES ('KM', 'Hukomoro'); INSERT INTO [country] ([id], [name]) VALUES ('CG', 'Hukongo'); INSERT INTO [country] ([id], [name]) VALUES ('HR', 'Hukorasia'); INSERT INTO [country] ([id], [name]) VALUES ('CR', 'Hukostarika'); INSERT INTO [country] ([id], [name]) VALUES ('CU', 'Hukuba'); INSERT INTO [country] ([id], [name]) VALUES ('CY', 'Hukuprosi'); INSERT INTO [country] ([id], [name]) VALUES ('KW', 'Hukuwaiti'); INSERT INTO [country] ([id], [name]) VALUES ('LA', 'Hulaosi'); INSERT INTO [country] ([id], [name]) VALUES ('LU', 'Hulasembagi'); INSERT INTO [country] ([id], [name]) VALUES ('LV', 'Hulativia'); INSERT INTO [country] ([id], [name]) VALUES ('LB', 'Hulebanoni'); INSERT INTO [country] ([id], [name]) VALUES ('LS', 'Hulesoto'); INSERT INTO [country] ([id], [name]) VALUES ('LR', 'Hulibelia'); INSERT INTO [country] ([id], [name]) VALUES ('LY', 'Hulibiya'); INSERT INTO [country] ([id], [name]) VALUES ('LI', 'Hulishenteni'); INSERT INTO [country] ([id], [name]) VALUES ('LT', 'Hulitwania'); INSERT INTO [country] ([id], [name]) VALUES ('RE', 'Huliyunioni'); INSERT INTO [country] ([id], [name]) VALUES ('RO', 'Hulomania'); INSERT INTO [country] ([id], [name]) VALUES ('RW', 'Hulwanda'); INSERT INTO [country] ([id], [name]) VALUES ('MW', 'Humalawi'); INSERT INTO [country] ([id], [name]) VALUES ('US', 'Humalekani'); INSERT INTO [country] ([id], [name]) VALUES ('MY', 'Humalesia'); INSERT INTO [country] ([id], [name]) VALUES ('ML', 'Humali'); INSERT INTO [country] ([id], [name]) VALUES ('MT', 'Humalta'); INSERT INTO [country] ([id], [name]) VALUES ('MQ', 'Humartiniki'); INSERT INTO [country] ([id], [name]) VALUES ('MK', 'Humasedonia'); INSERT INTO [country] ([id], [name]) VALUES ('YT', 'Humayotte'); INSERT INTO [country] ([id], [name]) VALUES ('MX', 'Humeksiko'); INSERT INTO [country] ([id], [name]) VALUES ('FM', 'Humikronesia'); INSERT INTO [country] ([id], [name]) VALUES ('EG', 'Humisri'); INSERT INTO [country] ([id], [name]) VALUES ('MV', 'Humodivu'); INSERT INTO [country] ([id], [name]) VALUES ('MD', 'Humoldova'); INSERT INTO [country] ([id], [name]) VALUES ('MU', 'Humolisi'); INSERT INTO [country] ([id], [name]) VALUES ('MR', 'Humolitania'); INSERT INTO [country] ([id], [name]) VALUES ('MA', 'Humoloko'); INSERT INTO [country] ([id], [name]) VALUES ('MC', 'Humonako'); INSERT INTO [country] ([id], [name]) VALUES ('MN', 'Humongolia'); INSERT INTO [country] ([id], [name]) VALUES ('MS', 'Humontserrati'); INSERT INTO [country] ([id], [name]) VALUES ('MZ', 'Humusumbiji'); INSERT INTO [country] ([id], [name]) VALUES ('MM', 'Humyama'); INSERT INTO [country] ([id], [name]) VALUES ('NA', 'Hunamibia'); INSERT INTO [country] ([id], [name]) VALUES ('NR', 'Hunauru'); INSERT INTO [country] ([id], [name]) VALUES ('NP', 'Hunepali'); INSERT INTO [country] ([id], [name]) VALUES ('NE', 'Hunijeli'); INSERT INTO [country] ([id], [name]) VALUES ('NG', 'Hunijelia'); INSERT INTO [country] ([id], [name]) VALUES ('NI', 'Hunikaragwa'); INSERT INTO [country] ([id], [name]) VALUES ('NU', 'Huniue'); INSERT INTO [country] ([id], [name]) VALUES ('NO', 'Hunolwe'); INSERT INTO [country] ([id], [name]) VALUES ('NC', 'Hunyukaledonia'); INSERT INTO [country] ([id], [name]) VALUES ('NZ', 'Hunyuzilandi'); INSERT INTO [country] ([id], [name]) VALUES ('OM', 'Huomani'); INSERT INTO [country] ([id], [name]) VALUES ('PK', 'Hupakistani'); INSERT INTO [country] ([id], [name]) VALUES ('PY', 'Hupalagwai'); INSERT INTO [country] ([id], [name]) VALUES ('PW', 'Hupalau'); INSERT INTO [country] ([id], [name]) VALUES ('PA', 'Hupanama'); INSERT INTO [country] ([id], [name]) VALUES ('PG', 'Hupapua'); INSERT INTO [country] ([id], [name]) VALUES ('PE', 'Hupelu'); INSERT INTO [country] ([id], [name]) VALUES ('PN', 'Hupitkaini'); INSERT INTO [country] ([id], [name]) VALUES ('PL', 'Hupolandi'); INSERT INTO [country] ([id], [name]) VALUES ('PF', 'Hupolinesia ya Huufaransa'); INSERT INTO [country] ([id], [name]) VALUES ('PR', 'Hupwetoriko'); INSERT INTO [country] ([id], [name]) VALUES ('SM', 'Husamalino'); INSERT INTO [country] ([id], [name]) VALUES ('WS', 'Husamoa'); INSERT INTO [country] ([id], [name]) VALUES ('AS', 'Husamoa ya Humalekani'); INSERT INTO [country] ([id], [name]) VALUES ('SH', 'Husantahelena'); INSERT INTO [country] ([id], [name]) VALUES ('KN', 'Husantakitzi na Hunevis'); INSERT INTO [country] ([id], [name]) VALUES ('LC', 'Husantalusia'); INSERT INTO [country] ([id], [name]) VALUES ('PM', 'Husantapieri na Humikeloni'); INSERT INTO [country] ([id], [name]) VALUES ('VC', 'Husantavisenti na Hugrenadini'); INSERT INTO [country] ([id], [name]) VALUES ('ST', 'Husaotome na Huprinsipe'); INSERT INTO [country] ([id], [name]) VALUES ('SA', 'Husaudi'); INSERT INTO [country] ([id], [name]) VALUES ('CS', 'Huselbia na Humonteneglo'); INSERT INTO [country] ([id], [name]) VALUES ('SN', 'Husenegali'); INSERT INTO [country] ([id], [name]) VALUES ('SC', 'Hushelisheli'); INSERT INTO [country] ([id], [name]) VALUES ('SL', 'Husiela Lioni'); INSERT INTO [country] ([id], [name]) VALUES ('SY', 'Husilia'); INSERT INTO [country] ([id], [name]) VALUES ('SG', 'Husingapoo'); INSERT INTO [country] ([id], [name]) VALUES ('LK', 'Husirilanka'); INSERT INTO [country] ([id], [name]) VALUES ('SK', 'Huslovakia'); INSERT INTO [country] ([id], [name]) VALUES ('SI', 'Huslovenia'); INSERT INTO [country] ([id], [name]) VALUES ('SO', 'Husomalia'); INSERT INTO [country] ([id], [name]) VALUES ('SD', 'Husudani'); INSERT INTO [country] ([id], [name]) VALUES ('SR', 'Husurinamu'); INSERT INTO [country] ([id], [name]) VALUES ('TH', 'Hutailandi'); INSERT INTO [country] ([id], [name]) VALUES ('TW', 'Hutaiwani'); INSERT INTO [country] ([id], [name]) VALUES ('TJ', 'Hutajikistani'); INSERT INTO [country] ([id], [name]) VALUES ('TZ', 'Hutanzania'); INSERT INTO [country] ([id], [name]) VALUES ('TL', 'Hutimori ya Mashariki'); INSERT INTO [country] ([id], [name]) VALUES ('TG', 'Hutogo'); INSERT INTO [country] ([id], [name]) VALUES ('TK', 'Hutokelau'); INSERT INTO [country] ([id], [name]) VALUES ('TO', 'Hutonga'); INSERT INTO [country] ([id], [name]) VALUES ('TT', 'Hutrinad na Hutobago'); INSERT INTO [country] ([id], [name]) VALUES ('TN', 'Hutunisia'); INSERT INTO [country] ([id], [name]) VALUES ('TV', 'Hutuvalu'); INSERT INTO [country] ([id], [name]) VALUES ('IR', 'Huuajemi'); INSERT INTO [country] ([id], [name]) VALUES ('BE', 'Huubelgiji'); INSERT INTO [country] ([id], [name]) VALUES ('FR', 'Huufaransa'); INSERT INTO [country] ([id], [name]) VALUES ('FI', 'Huufini'); INSERT INTO [country] ([id], [name]) VALUES ('UG', 'Huuganda'); INSERT INTO [country] ([id], [name]) VALUES ('GR', 'Huugiliki'); INSERT INTO [country] ([id], [name]) VALUES ('ET', 'Huuhabeshi'); INSERT INTO [country] ([id], [name]) VALUES ('NL', 'Huuholanzi'); INSERT INTO [country] ([id], [name]) VALUES ('GB', 'Huuingereza'); INSERT INTO [country] ([id], [name]) VALUES ('DE', 'Huujerumani'); INSERT INTO [country] ([id], [name]) VALUES ('UA', 'Huukraini'); INSERT INTO [country] ([id], [name]) VALUES ('PT', 'Huuleno'); INSERT INTO [country] ([id], [name]) VALUES ('UY', 'Huulugwai'); INSERT INTO [country] ([id], [name]) VALUES ('RU', 'Huulusi'); INSERT INTO [country] ([id], [name]) VALUES ('SZ', 'Huuswazi'); INSERT INTO [country] ([id], [name]) VALUES ('SE', 'Huuswidi'); INSERT INTO [country] ([id], [name]) VALUES ('CH', 'Huuswisi'); INSERT INTO [country] ([id], [name]) VALUES ('TR', 'Huuturuki'); INSERT INTO [country] ([id], [name]) VALUES ('TM', 'Huuturukimenistani'); INSERT INTO [country] ([id], [name]) VALUES ('UZ', 'Huuzibekistani'); INSERT INTO [country] ([id], [name]) VALUES ('VU', 'Huvanuatu'); INSERT INTO [country] ([id], [name]) VALUES ('VA', 'Huvatikani'); INSERT INTO [country] ([id], [name]) VALUES ('VE', 'Huvenezuela'); INSERT INTO [country] ([id], [name]) VALUES ('VN', 'Huvietinamu'); INSERT INTO [country] ([id], [name]) VALUES ('WF', 'Huwalis na Hufutuna'); INSERT INTO [country] ([id], [name]) VALUES ('YE', 'Huyemeni'); INSERT INTO [country] ([id], [name]) VALUES ('JO', 'Huyolodani'); INSERT INTO [country] ([id], [name]) VALUES ('ZM', 'Huzambia'); INSERT INTO [country] ([id], [name]) VALUES ('ZW', 'Huzimbabwe'); INSERT INTO [country] ([id], [name]) VALUES ('FK', 'Ifisima fya Falkland'); INSERT INTO [country] ([id], [name]) VALUES ('KY', 'Ifisima fya Kayman'); INSERT INTO [country] ([id], [name]) VALUES ('CK', 'Ifisima fya Kook'); INSERT INTO [country] ([id], [name]) VALUES ('MP', 'Ifisima fya Mariana fya Hukaskazini'); INSERT INTO [country] ([id], [name]) VALUES ('MH', 'Ifisima fya Marshal'); INSERT INTO [country] ([id], [name]) VALUES ('SB', 'Ifisima fya Solomon'); INSERT INTO [country] ([id], [name]) VALUES ('TC', 'Ifisima fya Turki na Kaiko'); INSERT INTO [country] ([id], [name]) VALUES ('VG', 'Ifisima fya Virgin fya Huingereza'); INSERT INTO [country] ([id], [name]) VALUES ('VI', 'Ifisima fya Virgin fya Humelekani'); INSERT INTO [country] ([id], [name]) VALUES ('NF', 'Ihisima sha Norfok'); INSERT INTO [country] ([id], [name]) VALUES ('CF', 'Ijamhuri ya Afrika ya Pagati'); INSERT INTO [country] ([id], [name]) VALUES ('CZ', 'Ijamhuri ya Cheki'); INSERT INTO [country] ([id], [name]) VALUES ('CD', 'Ijamhuri ya Hidemokrasi ya Hukongo'); INSERT INTO [country] ([id], [name]) VALUES ('DO', 'Ijamhuri ya Hudominika'); INSERT INTO [country] ([id], [name]) VALUES ('IO', 'Ulubali lwa Hubahari ya Hindi lwa Huingereza'); INSERT INTO [country] ([id], [name]) VALUES ('PS', 'Ulubali lwa Magharibi nu Gaza wa Hupalestina');
JumpLink/country-list
country/icu/bez/country.sqlserver.sql
SQL
mit
15,346
<?php /** * PEAR_Command_Install (install, upgrade, upgrade-all, uninstall, bundle, run-scripts commands) * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt. If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @category pear * @package PEAR * @author Stig Bakken <ssb@php.net> * @author Greg Beaver <cellog@php.net> * @copyright 1997-2008 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version CVS: $Id: Install.php,v 1.141 2008/05/13 18:32:29 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ /** * base class */ require_once 'PEAR/Command/Common.php'; /** * PEAR commands for installation or deinstallation/upgrading of * packages. * * @category pear * @package PEAR * @author Stig Bakken <ssb@php.net> * @author Greg Beaver <cellog@php.net> * @copyright 1997-2008 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version Release: 1.7.2 * @link http://pear.php.net/package/PEAR * @since Class available since Release 0.1 */ class PEAR_Command_Install extends PEAR_Command_Common { // {{{ properties var $commands = array( 'install' => array( 'summary' => 'Install Package', 'function' => 'doInstall', 'shortcut' => 'i', 'options' => array( 'force' => array( 'shortopt' => 'f', 'doc' => 'will overwrite newer installed packages', ), 'loose' => array( 'shortopt' => 'l', 'doc' => 'do not check for recommended dependency version', ), 'nodeps' => array( 'shortopt' => 'n', 'doc' => 'ignore dependencies, install anyway', ), 'register-only' => array( 'shortopt' => 'r', 'doc' => 'do not install files, only register the package as installed', ), 'soft' => array( 'shortopt' => 's', 'doc' => 'soft install, fail silently, or upgrade if already installed', ), 'nobuild' => array( 'shortopt' => 'B', 'doc' => 'don\'t build C extensions', ), 'nocompress' => array( 'shortopt' => 'Z', 'doc' => 'request uncompressed files when downloading', ), 'installroot' => array( 'shortopt' => 'R', 'arg' => 'DIR', 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT), use packagingroot for RPM', ), 'packagingroot' => array( 'shortopt' => 'P', 'arg' => 'DIR', 'doc' => 'root directory used when packaging files, like RPM packaging', ), 'ignore-errors' => array( 'doc' => 'force install even if there were errors', ), 'alldeps' => array( 'shortopt' => 'a', 'doc' => 'install all required and optional dependencies', ), 'onlyreqdeps' => array( 'shortopt' => 'o', 'doc' => 'install all required dependencies', ), 'offline' => array( 'shortopt' => 'O', 'doc' => 'do not attempt to download any urls or contact channels', ), 'pretend' => array( 'shortopt' => 'p', 'doc' => 'Only list the packages that would be downloaded', ), ), 'doc' => '[channel/]<package> ... Installs one or more PEAR packages. You can specify a package to install in four ways: "Package-1.0.tgz" : installs from a local file "http://example.com/Package-1.0.tgz" : installs from anywhere on the net. "package.xml" : installs the package described in package.xml. Useful for testing, or for wrapping a PEAR package in another package manager such as RPM. "Package[-version/state][.tar]" : queries your default channel\'s server ({config master_server}) and downloads the newest package with the preferred quality/state ({config preferred_state}). To retrieve Package version 1.1, use "Package-1.1," to retrieve Package state beta, use "Package-beta." To retrieve an uncompressed file, append .tar (make sure there is no file by the same name first) To download a package from another channel, prefix with the channel name like "channel/Package" More than one package may be specified at once. It is ok to mix these four ways of specifying packages. '), 'upgrade' => array( 'summary' => 'Upgrade Package', 'function' => 'doInstall', 'shortcut' => 'up', 'options' => array( 'force' => array( 'shortopt' => 'f', 'doc' => 'overwrite newer installed packages', ), 'loose' => array( 'shortopt' => 'l', 'doc' => 'do not check for recommended dependency version', ), 'nodeps' => array( 'shortopt' => 'n', 'doc' => 'ignore dependencies, upgrade anyway', ), 'register-only' => array( 'shortopt' => 'r', 'doc' => 'do not install files, only register the package as upgraded', ), 'nobuild' => array( 'shortopt' => 'B', 'doc' => 'don\'t build C extensions', ), 'nocompress' => array( 'shortopt' => 'Z', 'doc' => 'request uncompressed files when downloading', ), 'installroot' => array( 'shortopt' => 'R', 'arg' => 'DIR', 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)', ), 'ignore-errors' => array( 'doc' => 'force install even if there were errors', ), 'alldeps' => array( 'shortopt' => 'a', 'doc' => 'install all required and optional dependencies', ), 'onlyreqdeps' => array( 'shortopt' => 'o', 'doc' => 'install all required dependencies', ), 'offline' => array( 'shortopt' => 'O', 'doc' => 'do not attempt to download any urls or contact channels', ), 'pretend' => array( 'shortopt' => 'p', 'doc' => 'Only list the packages that would be downloaded', ), ), 'doc' => '<package> ... Upgrades one or more PEAR packages. See documentation for the "install" command for ways to specify a package. When upgrading, your package will be updated if the provided new package has a higher version number (use the -f option if you need to upgrade anyway). More than one package may be specified at once. '), 'upgrade-all' => array( 'summary' => 'Upgrade All Packages', 'function' => 'doUpgradeAll', 'shortcut' => 'ua', 'options' => array( 'nodeps' => array( 'shortopt' => 'n', 'doc' => 'ignore dependencies, upgrade anyway', ), 'register-only' => array( 'shortopt' => 'r', 'doc' => 'do not install files, only register the package as upgraded', ), 'nobuild' => array( 'shortopt' => 'B', 'doc' => 'don\'t build C extensions', ), 'nocompress' => array( 'shortopt' => 'Z', 'doc' => 'request uncompressed files when downloading', ), 'installroot' => array( 'shortopt' => 'R', 'arg' => 'DIR', 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT), use packagingroot for RPM', ), 'ignore-errors' => array( 'doc' => 'force install even if there were errors', ), 'loose' => array( 'doc' => 'do not check for recommended dependency version', ), ), 'doc' => ' Upgrades all packages that have a newer release available. Upgrades are done only if there is a release available of the state specified in "preferred_state" (currently {config preferred_state}), or a state considered more stable. '), 'uninstall' => array( 'summary' => 'Un-install Package', 'function' => 'doUninstall', 'shortcut' => 'un', 'options' => array( 'nodeps' => array( 'shortopt' => 'n', 'doc' => 'ignore dependencies, uninstall anyway', ), 'register-only' => array( 'shortopt' => 'r', 'doc' => 'do not remove files, only register the packages as not installed', ), 'installroot' => array( 'shortopt' => 'R', 'arg' => 'DIR', 'doc' => 'root directory used when installing files (ala PHP\'s INSTALL_ROOT)', ), 'ignore-errors' => array( 'doc' => 'force install even if there were errors', ), 'offline' => array( 'shortopt' => 'O', 'doc' => 'do not attempt to uninstall remotely', ), ), 'doc' => '[channel/]<package> ... Uninstalls one or more PEAR packages. More than one package may be specified at once. Prefix with channel name to uninstall from a channel not in your default channel ({config default_channel}) '), 'bundle' => array( 'summary' => 'Unpacks a Pecl Package', 'function' => 'doBundle', 'shortcut' => 'bun', 'options' => array( 'destination' => array( 'shortopt' => 'd', 'arg' => 'DIR', 'doc' => 'Optional destination directory for unpacking (defaults to current path or "ext" if exists)', ), 'force' => array( 'shortopt' => 'f', 'doc' => 'Force the unpacking even if there were errors in the package', ), ), 'doc' => '<package> Unpacks a Pecl Package into the selected location. It will download the package if needed. '), 'run-scripts' => array( 'summary' => 'Run Post-Install Scripts bundled with a package', 'function' => 'doRunScripts', 'shortcut' => 'rs', 'options' => array( ), 'doc' => '<package> Run post-installation scripts in package <package>, if any exist. '), ); // }}} // {{{ constructor /** * PEAR_Command_Install constructor. * * @access public */ function PEAR_Command_Install(&$ui, &$config) { parent::PEAR_Command_Common($ui, $config); } // }}} /** * For unit testing purposes */ function &getDownloader(&$ui, $options, &$config) { if (!class_exists('PEAR_Downloader')) { require_once 'PEAR/Downloader.php'; } $a = &new PEAR_Downloader($ui, $options, $config); return $a; } /** * For unit testing purposes */ function &getInstaller(&$ui) { if (!class_exists('PEAR_Installer')) { require_once 'PEAR/Installer.php'; } $a = &new PEAR_Installer($ui); return $a; } function enableExtension($binaries, $type) { if (!($phpini = $this->config->get('php_ini', null, 'pear.php.net'))) { return PEAR::raiseError('configuration option "php_ini" is not set to php.ini location'); } $ini = $this->_parseIni($phpini); if (PEAR::isError($ini)) { return $ini; } $line = 0; if ($type == 'extsrc' || $type == 'extbin') { $search = 'extensions'; $enable = 'extension'; } else { $search = 'zend_extensions'; ob_start(); phpinfo(INFO_GENERAL); $info = ob_get_contents(); ob_end_clean(); $debug = function_exists('leak') ? '_debug' : ''; $ts = preg_match('Thread Safety.+enabled', $info) ? '_ts' : ''; $enable = 'zend_extension' . $debug . $ts; } foreach ($ini[$search] as $line => $extension) { if (in_array($extension, $binaries, true) || in_array( $ini['extension_dir'] . DIRECTORY_SEPARATOR . $extension, $binaries, true)) { // already enabled - assume if one is, all are return true; } } if ($line) { $newini = array_slice($ini['all'], 0, $line); } else { $newini = array(); } foreach ($binaries as $binary) { if ($ini['extension_dir']) { $binary = basename($binary); } $newini[] = $enable . '="' . $binary . '"' . (OS_UNIX ? "\n" : "\r\n"); } $newini = array_merge($newini, array_slice($ini['all'], $line)); $fp = @fopen($phpini, 'wb'); if (!$fp) { return PEAR::raiseError('cannot open php.ini "' . $phpini . '" for writing'); } foreach ($newini as $line) { fwrite($fp, $line); } fclose($fp); return true; } function disableExtension($binaries, $type) { if (!($phpini = $this->config->get('php_ini', null, 'pear.php.net'))) { return PEAR::raiseError('configuration option "php_ini" is not set to php.ini location'); } $ini = $this->_parseIni($phpini); if (PEAR::isError($ini)) { return $ini; } $line = 0; if ($type == 'extsrc' || $type == 'extbin') { $search = 'extensions'; $enable = 'extension'; } else { $search = 'zend_extensions'; ob_start(); phpinfo(INFO_GENERAL); $info = ob_get_contents(); ob_end_clean(); $debug = function_exists('leak') ? '_debug' : ''; $ts = preg_match('Thread Safety.+enabled', $info) ? '_ts' : ''; $enable = 'zend_extension' . $debug . $ts; } $found = false; foreach ($ini[$search] as $line => $extension) { if (in_array($extension, $binaries, true) || in_array( $ini['extension_dir'] . DIRECTORY_SEPARATOR . $extension, $binaries, true)) { $found = true; break; } } if (!$found) { // not enabled return true; } $fp = @fopen($phpini, 'wb'); if (!$fp) { return PEAR::raiseError('cannot open php.ini "' . $phpini . '" for writing'); } if ($line) { $newini = array_slice($ini['all'], 0, $line); // delete the enable line $newini = array_merge($newini, array_slice($ini['all'], $line + 1)); } else { $newini = array_slice($ini['all'], 1); } foreach ($newini as $line) { fwrite($fp, $line); } fclose($fp); return true; } function _parseIni($filename) { if (file_exists($filename)) { if (filesize($filename) > 300000) { return PEAR::raiseError('php.ini "' . $filename . '" is too large, aborting'); } ob_start(); phpinfo(INFO_GENERAL); $info = ob_get_contents(); ob_end_clean(); $debug = function_exists('leak') ? '_debug' : ''; $ts = preg_match('/Thread Safety.+enabled/', $info) ? '_ts' : ''; $zend_extension_line = 'zend_extension' . $debug . $ts; $all = @file($filename); if (!$all) { return PEAR::raiseError('php.ini "' . $filename .'" could not be read'); } $zend_extensions = $extensions = array(); // assume this is right, but pull from the php.ini if it is found $extension_dir = ini_get('extension_dir'); foreach ($all as $linenum => $line) { $line = trim($line); if (!$line) { continue; } if ($line[0] == ';') { continue; } if (strtolower(substr($line, 0, 13)) == 'extension_dir') { $line = trim(substr($line, 13)); if ($line[0] == '=') { $x = trim(substr($line, 1)); $x = explode(';', $x); $extension_dir = str_replace('"', '', array_shift($x)); continue; } } if (strtolower(substr($line, 0, 9)) == 'extension') { $line = trim(substr($line, 9)); if ($line[0] == '=') { $x = trim(substr($line, 1)); $x = explode(';', $x); $extensions[$linenum] = str_replace('"', '', array_shift($x)); continue; } } if (strtolower(substr($line, 0, strlen($zend_extension_line))) == $zend_extension_line) { $line = trim(substr($line, strlen($zend_extension_line))); if ($line[0] == '=') { $x = trim(substr($line, 1)); $x = explode(';', $x); $zend_extensions[$linenum] = str_replace('"', '', array_shift($x)); continue; } } } return array( 'extensions' => $extensions, 'zend_extensions' => $zend_extensions, 'extension_dir' => $extension_dir, 'all' => $all, ); } else { return PEAR::raiseError('php.ini "' . $filename . '" does not exist'); } } // {{{ doInstall() function doInstall($command, $options, $params) { if (!class_exists('PEAR_PackageFile')) { require_once 'PEAR/PackageFile.php'; } if (empty($this->installer)) { $this->installer = &$this->getInstaller($this->ui); } if ($command == 'upgrade' || $command == 'upgrade-all') { $options['upgrade'] = true; } else { $packages = $params; } if (isset($options['installroot']) && isset($options['packagingroot'])) { return $this->raiseError('ERROR: cannot use both --installroot and --packagingroot'); } $reg = &$this->config->getRegistry(); $instreg = &$reg; // instreg used to check if package is installed if (isset($options['packagingroot']) && !isset($options['upgrade'])) { $packrootphp_dir = $this->installer->_prependPath( $this->config->get('php_dir', null, 'pear.php.net'), $options['packagingroot']); $instreg = new PEAR_Registry($packrootphp_dir); // other instreg! if ($this->config->get('verbose') > 2) { $this->ui->outputData('using package root: ' . $options['packagingroot']); } } $abstractpackages = array(); $otherpackages = array(); // parse params PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); foreach($params as $param) { if (strpos($param, 'http://') === 0) { $otherpackages[] = $param; continue; } if (strpos($param, 'channel://') === false && @file_exists($param)) { if (isset($options['force'])) { $otherpackages[] = $param; continue; } $pkg = new PEAR_PackageFile($this->config); $pf = $pkg->fromAnyFile($param, PEAR_VALIDATE_DOWNLOADING); if (PEAR::isError($pf)) { $otherpackages[] = $param; continue; } if ($reg->packageExists($pf->getPackage(), $pf->getChannel()) && version_compare($pf->getVersion(), $reg->packageInfo($pf->getPackage(), 'version', $pf->getChannel()), '<=')) { if ($this->config->get('verbose')) { $this->ui->outputData('Ignoring installed package ' . $reg->parsedPackageNameToString( array('package' => $pf->getPackage(), 'channel' => $pf->getChannel()), true)); } continue; } $otherpackages[] = $param; continue; } $e = $reg->parsePackageName($param, $this->config->get('default_channel')); if (PEAR::isError($e)) { $otherpackages[] = $param; } else { $abstractpackages[] = $e; } } PEAR::staticPopErrorHandling(); // if there are any local package .tgz or remote static url, we can't // filter. The filter only works for abstract packages if (count($abstractpackages) && !isset($options['force'])) { // when not being forced, only do necessary upgrades/installs if (isset($options['upgrade'])) { $abstractpackages = $this->_filterUptodatePackages($abstractpackages, $command); } else { foreach ($abstractpackages as $i => $package) { if (isset($package['group'])) { // do not filter out install groups continue; } if ($instreg->packageExists($package['package'], $package['channel'])) { if ($this->config->get('verbose')) { $this->ui->outputData('Ignoring installed package ' . $reg->parsedPackageNameToString($package, true)); } unset($abstractpackages[$i]); } } } $abstractpackages = array_map(array($reg, 'parsedPackageNameToString'), $abstractpackages); } elseif (count($abstractpackages)) { $abstractpackages = array_map(array($reg, 'parsedPackageNameToString'), $abstractpackages); } $packages = array_merge($abstractpackages, $otherpackages); if (!count($packages)) { $this->ui->outputData('Nothing to ' . $command); return true; } $this->downloader = &$this->getDownloader($this->ui, $options, $this->config); $errors = array(); $binaries = array(); $downloaded = array(); $downloaded = &$this->downloader->download($packages); if (PEAR::isError($downloaded)) { return $this->raiseError($downloaded); } $errors = $this->downloader->getErrorMsgs(); if (count($errors)) { $err = array(); $err['data'] = array(); foreach ($errors as $error) { $err['data'][] = array($error); } $err['headline'] = 'Install Errors'; $this->ui->outputData($err); if (!count($downloaded)) { return $this->raiseError("$command failed"); } } $data = array( 'headline' => 'Packages that would be Installed' ); if (isset($options['pretend'])) { foreach ($downloaded as $package) { $data['data'][] = array($reg->parsedPackageNameToString($package->getParsedPackage())); } $this->ui->outputData($data, 'pretend'); return true; } $this->installer->setOptions($options); $this->installer->sortPackagesForInstall($downloaded); if (PEAR::isError($err = $this->installer->setDownloadedPackages($downloaded))) { $this->raiseError($err->getMessage()); return true; } $extrainfo = array(); $binaries = array(); foreach ($downloaded as $param) { PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $info = $this->installer->install($param, $options); PEAR::staticPopErrorHandling(); if (PEAR::isError($info)) { $oldinfo = $info; $pkg = &$param->getPackageFile(); if ($info->getCode() != PEAR_INSTALLER_NOBINARY) { if (!($info = $pkg->installBinary($this->installer))) { $this->ui->outputData('ERROR: ' .$oldinfo->getMessage()); continue; } // we just installed a different package than requested, // let's change the param and info so that the rest of this works $param = $info[0]; $info = $info[1]; } } if (is_array($info)) { if ($param->getPackageType() == 'extsrc' || $param->getPackageType() == 'extbin' || $param->getPackageType() == 'zendextsrc' || $param->getPackageType() == 'zendextbin') { $pkg = &$param->getPackageFile(); if ($instbin = $pkg->getInstalledBinary()) { $instpkg = &$instreg->getPackage($instbin, $pkg->getChannel()); } else { $instpkg = &$instreg->getPackage($pkg->getPackage(), $pkg->getChannel()); } foreach ($instpkg->getFilelist() as $name => $atts) { $pinfo = pathinfo($atts['installed_as']); if (!isset($pinfo['extension']) || in_array($pinfo['extension'], array('c', 'h'))) { continue; // make sure we don't match php_blah.h } if ((strpos($pinfo['basename'], 'php_') === 0 && $pinfo['extension'] == 'dll') || // most unices $pinfo['extension'] == 'so' || // hp-ux $pinfo['extension'] == 'sl') { $binaries[] = array($atts['installed_as'], $pinfo); break; } } if (count($binaries)) { foreach ($binaries as $pinfo) { PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $ret = $this->enableExtension(array($pinfo[0]), $param->getPackageType()); PEAR::staticPopErrorHandling(); if (PEAR::isError($ret)) { $extrainfo[] = $ret->getMessage(); if ($param->getPackageType() == 'extsrc' || $param->getPackageType() == 'extbin') { $exttype = 'extension'; } else { ob_start(); phpinfo(INFO_GENERAL); $info = ob_get_contents(); ob_end_clean(); $debug = function_exists('leak') ? '_debug' : ''; $ts = preg_match('Thread Safety.+enabled', $info) ? '_ts' : ''; $exttype = 'zend_extension' . $debug . $ts; } $extrainfo[] = 'You should add "' . $exttype . '=' . $pinfo[1]['basename'] . '" to php.ini'; } else { $extrainfo[] = 'Extension ' . $instpkg->getProvidesExtension() . ' enabled in php.ini'; } } } } if ($this->config->get('verbose') > 0) { $channel = $param->getChannel(); $label = $reg->parsedPackageNameToString( array( 'channel' => $channel, 'package' => $param->getPackage(), 'version' => $param->getVersion(), )); $out = array('data' => "$command ok: $label"); if (isset($info['release_warnings'])) { $out['release_warnings'] = $info['release_warnings']; } $this->ui->outputData($out, $command); if (!isset($options['register-only']) && !isset($options['offline'])) { if ($this->config->isDefinedLayer('ftp')) { PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $info = $this->installer->ftpInstall($param); PEAR::staticPopErrorHandling(); if (PEAR::isError($info)) { $this->ui->outputData($info->getMessage()); $this->ui->outputData("remote install failed: $label"); } else { $this->ui->outputData("remote install ok: $label"); } } } } $deps = $param->getDeps(); if ($deps) { if (isset($deps['group'])) { $groups = $deps['group']; if (!isset($groups[0])) { $groups = array($groups); } foreach ($groups as $group) { if ($group['attribs']['name'] == 'default') { // default group is always installed, unless the user // explicitly chooses to install another group continue; } $extrainfo[] = $param->getPackage() . ': Optional feature ' . $group['attribs']['name'] . ' available (' . $group['attribs']['hint'] . ')'; } $extrainfo[] = $param->getPackage() . ': To install optional features use "pear install ' . $reg->parsedPackageNameToString( array('package' => $param->getPackage(), 'channel' => $param->getChannel()), true) . '#featurename"'; } } $pkg = &$instreg->getPackage($param->getPackage(), $param->getChannel()); // $pkg may be NULL if install is a 'fake' install via --packagingroot if (is_object($pkg)) { $pkg->setConfig($this->config); if ($list = $pkg->listPostinstallScripts()) { $pn = $reg->parsedPackageNameToString(array('channel' => $param->getChannel(), 'package' => $param->getPackage()), true); $extrainfo[] = $pn . ' has post-install scripts:'; foreach ($list as $file) { $extrainfo[] = $file; } $extrainfo[] = $param->getPackage() . ': Use "pear run-scripts ' . $pn . '" to finish setup.'; $extrainfo[] = 'DO NOT RUN SCRIPTS FROM UNTRUSTED SOURCES'; } } } else { return $this->raiseError("$command failed"); } } if (count($extrainfo)) { foreach ($extrainfo as $info) { $this->ui->outputData($info); } } return true; } // }}} // {{{ doUpgradeAll() function doUpgradeAll($command, $options, $params) { $reg = &$this->config->getRegistry(); $toUpgrade = array(); foreach ($reg->listChannels() as $channel) { if ($channel == '__uri') { continue; } // parse name with channel foreach ($reg->listPackages($channel) as $name) { $toUpgrade[] = $reg->parsedPackageNameToString(array( 'channel' => $channel, 'package' => $name )); } } $err = $this->doInstall('upgrade-all', $options, $toUpgrade); if (PEAR::isError($err)) { $this->ui->outputData($err->getMessage(), $command); } } // }}} // {{{ doUninstall() function doUninstall($command, $options, $params) { if (empty($this->installer)) { $this->installer = &$this->getInstaller($this->ui); } if (isset($options['remoteconfig'])) { $e = $this->config->readFTPConfigFile($options['remoteconfig']); if (!PEAR::isError($e)) { $this->installer->setConfig($this->config); } } if (sizeof($params) < 1) { return $this->raiseError("Please supply the package(s) you want to uninstall"); } $reg = &$this->config->getRegistry(); $newparams = array(); $binaries = array(); $badparams = array(); foreach ($params as $pkg) { $channel = $this->config->get('default_channel'); PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $parsed = $reg->parsePackageName($pkg, $channel); PEAR::staticPopErrorHandling(); if (!$parsed || PEAR::isError($parsed)) { $badparams[] = $pkg; continue; } $package = $parsed['package']; $channel = $parsed['channel']; $info = &$reg->getPackage($package, $channel); if ($info === null && ($channel == 'pear.php.net' || $channel == 'pecl.php.net')) { // make sure this isn't a package that has flipped from pear to pecl but // used a package.xml 1.0 $testc = ($channel == 'pear.php.net') ? 'pecl.php.net' : 'pear.php.net'; $info = &$reg->getPackage($package, $testc); if ($info !== null) { $channel = $testc; } } if ($info === null) { $badparams[] = $pkg; } else { $newparams[] = &$info; // check for binary packages (this is an alias for those packages if so) if ($installedbinary = $info->getInstalledBinary()) { $this->ui->log('adding binary package ' . $reg->parsedPackageNameToString(array('channel' => $channel, 'package' => $installedbinary), true)); $newparams[] = &$reg->getPackage($installedbinary, $channel); } // add the contents of a dependency group to the list of installed packages if (isset($parsed['group'])) { $group = $info->getDependencyGroup($parsed['group']); if ($group) { $installed = $reg->getInstalledGroup($group); if ($installed) { foreach ($installed as $i => $p) { $newparams[] = &$installed[$i]; } } } } } } $err = $this->installer->sortPackagesForUninstall($newparams); if (PEAR::isError($err)) { $this->ui->outputData($err->getMessage(), $command); return true; } $params = $newparams; // twist this to use it to check on whether dependent packages are also being uninstalled // for circular dependencies like subpackages $this->installer->setUninstallPackages($newparams); $params = array_merge($params, $badparams); $binaries = array(); foreach ($params as $pkg) { $this->installer->pushErrorHandling(PEAR_ERROR_RETURN); if ($err = $this->installer->uninstall($pkg, $options)) { $this->installer->popErrorHandling(); if (PEAR::isError($err)) { $this->ui->outputData($err->getMessage(), $command); continue; } if ($pkg->getPackageType() == 'extsrc' || $pkg->getPackageType() == 'extbin' || $pkg->getPackageType() == 'zendextsrc' || $pkg->getPackageType() == 'zendextbin') { if ($instbin = $pkg->getInstalledBinary()) { continue; // this will be uninstalled later } foreach ($pkg->getFilelist() as $name => $atts) { $pinfo = pathinfo($atts['installed_as']); if (!isset($pinfo['extension']) || in_array($pinfo['extension'], array('c', 'h'))) { continue; // make sure we don't match php_blah.h } if ((strpos($pinfo['basename'], 'php_') === 0 && $pinfo['extension'] == 'dll') || // most unices $pinfo['extension'] == 'so' || // hp-ux $pinfo['extension'] == 'sl') { $binaries[] = array($atts['installed_as'], $pinfo); break; } } if (count($binaries)) { foreach ($binaries as $pinfo) { PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $ret = $this->disableExtension(array($pinfo[0]), $pkg->getPackageType()); PEAR::staticPopErrorHandling(); if (PEAR::isError($ret)) { $extrainfo[] = $ret->getMessage(); if ($pkg->getPackageType() == 'extsrc' || $pkg->getPackageType() == 'extbin') { $exttype = 'extension'; } else { ob_start(); phpinfo(INFO_GENERAL); $info = ob_get_contents(); ob_end_clean(); $debug = function_exists('leak') ? '_debug' : ''; $ts = preg_match('Thread Safety.+enabled', $info) ? '_ts' : ''; $exttype = 'zend_extension' . $debug . $ts; } $this->ui->outputData('Unable to remove "' . $exttype . '=' . $pinfo[1]['basename'] . '" from php.ini', $command); } else { $this->ui->outputData('Extension ' . $pkg->getProvidesExtension() . ' disabled in php.ini', $command); } } } } $savepkg = $pkg; if ($this->config->get('verbose') > 0) { if (is_object($pkg)) { $pkg = $reg->parsedPackageNameToString($pkg); } $this->ui->outputData("uninstall ok: $pkg", $command); } if (!isset($options['offline']) && is_object($savepkg) && defined('PEAR_REMOTEINSTALL_OK')) { if ($this->config->isDefinedLayer('ftp')) { $this->installer->pushErrorHandling(PEAR_ERROR_RETURN); $info = $this->installer->ftpUninstall($savepkg); $this->installer->popErrorHandling(); if (PEAR::isError($info)) { $this->ui->outputData($info->getMessage()); $this->ui->outputData("remote uninstall failed: $pkg"); } else { $this->ui->outputData("remote uninstall ok: $pkg"); } } } } else { $this->installer->popErrorHandling(); if (is_object($pkg)) { $pkg = $reg->parsedPackageNameToString($pkg); } return $this->raiseError("uninstall failed: $pkg"); } } return true; } // }}} // }}} // {{{ doBundle() /* (cox) It just downloads and untars the package, does not do any check that the PEAR_Installer::_installFile() does. */ function doBundle($command, $options, $params) { $downloader = &$this->getDownloader($this->ui, array('force' => true, 'nodeps' => true, 'soft' => true, 'downloadonly' => true), $this->config); $reg = &$this->config->getRegistry(); if (sizeof($params) < 1) { return $this->raiseError("Please supply the package you want to bundle"); } if (isset($options['destination'])) { if (!is_dir($options['destination'])) { System::mkdir('-p ' . $options['destination']); } $dest = realpath($options['destination']); } else { $pwd = getcwd(); if (is_dir($pwd . DIRECTORY_SEPARATOR . 'ext')) { $dest = $pwd . DIRECTORY_SEPARATOR . 'ext'; } else { $dest = $pwd; } } PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $err = $downloader->setDownloadDir($dest); PEAR::staticPopErrorHandling(); if (PEAR::isError($err)) { return PEAR::raiseError('download directory "' . $dest . '" is not writeable.'); } $result = &$downloader->download(array($params[0])); if (PEAR::isError($result)) { return $result; } if (!isset($result[0])) { return $this->raiseError('unable to unpack ' . $params[0]); } $pkgfile = &$result[0]->getPackageFile(); $pkgname = $pkgfile->getName(); $pkgversion = $pkgfile->getVersion(); // Unpacking ------------------------------------------------- $dest .= DIRECTORY_SEPARATOR . $pkgname; $orig = $pkgname . '-' . $pkgversion; $tar = &new Archive_Tar($pkgfile->getArchiveFile()); if (!$tar->extractModify($dest, $orig)) { return $this->raiseError('unable to unpack ' . $pkgfile->getArchiveFile()); } $this->ui->outputData("Package ready at '$dest'"); // }}} } // }}} function doRunScripts($command, $options, $params) { if (!isset($params[0])) { return $this->raiseError('run-scripts expects 1 parameter: a package name'); } $reg = &$this->config->getRegistry(); PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $parsed = $reg->parsePackageName($params[0], $this->config->get('default_channel')); PEAR::staticPopErrorHandling(); if (PEAR::isError($parsed)) { return $this->raiseError($parsed); } $package = &$reg->getPackage($parsed['package'], $parsed['channel']); if (is_object($package)) { $package->setConfig($this->config); $package->runPostinstallScripts(); } else { return $this->raiseError('Could not retrieve package "' . $params[0] . '" from registry'); } $this->ui->outputData('Install scripts complete', $command); return true; } /** * Given a list of packages, filter out those ones that are already up to date * * @param $packages: packages, in parsed array format ! * @return list of packages that can be upgraded */ function _filterUptodatePackages($packages, $command) { $reg = &$this->config->getRegistry(); $latestReleases = array(); $ret = array(); foreach($packages as $package) { if (isset($package['group'])) { $ret[] = $package; continue; } $channel = $package['channel']; $name = $package['package']; if (!$reg->packageExists($name, $channel)) { $ret[] = $package; continue; } if (!isset($latestReleases[$channel])) { // fill in cache for this channel $chan = &$reg->getChannel($channel); if (PEAR::isError($chan)) { return $this->raiseError($chan); } if ($chan->supportsREST($this->config->get('preferred_mirror', null, $channel)) && $base = $chan->getBaseURL('REST1.0', $this->config->get('preferred_mirror', null, $channel))) { $dorest = true; } else { $dorest = false; $remote = &$this->config->getRemote($this->config); } PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); if ($dorest) { $rest = &$this->config->getREST('1.0', array()); $installed = array_flip($reg->listPackages($channel)); $latest = $rest->listLatestUpgrades($base, $this->config->get('preferred_state', null, $channel), $installed, $channel, $reg); } else { $latest = $remote->call("package.listLatestReleases", $this->config->get('preferred_state', null, $channel)); unset($remote); } PEAR::staticPopErrorHandling(); if (PEAR::isError($latest)) { $this->ui->outputData('Error getting channel info from ' . $channel . ': ' . $latest->getMessage()); continue; } $latestReleases[$channel] = array_change_key_case($latest); } // check package for latest release if (isset($latestReleases[$channel][strtolower($name)])) { // if not set, up to date $inst_version = $reg->packageInfo($name, 'version', $channel); $channel_version = $latestReleases[$channel][strtolower($name)]['version']; if (version_compare($channel_version, $inst_version, "le")) { // installed version is up-to-date continue; } // maintain BC if ($command == 'upgrade-all') { $this->ui->outputData(array('data' => 'Will upgrade ' . $reg->parsedPackageNameToString($package)), $command); } $ret[] = $package; } } return $ret; } } ?>
doodersrage/CheapLocalDeals.com
includes/libs/PEAR/PEAR/Command/Install.php
PHP
mit
50,114
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Microsoft.Azure.Management.Security.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// Describes properties of a connected resource /// </summary> public partial class ConnectedResource { /// <summary> /// Initializes a new instance of the ConnectedResource class. /// </summary> public ConnectedResource() { CustomInit(); } /// <summary> /// Initializes a new instance of the ConnectedResource class. /// </summary> /// <param name="connectedResourceId">The Azure resource id of the /// connected resource</param> /// <param name="tcpPorts">The allowed tcp ports</param> /// <param name="udpPorts">The allowed udp ports</param> public ConnectedResource(string connectedResourceId = default(string), string tcpPorts = default(string), string udpPorts = default(string)) { ConnectedResourceId = connectedResourceId; TcpPorts = tcpPorts; UdpPorts = udpPorts; CustomInit(); } /// <summary> /// An initialization method that performs custom operations like setting defaults /// </summary> partial void CustomInit(); /// <summary> /// Gets the Azure resource id of the connected resource /// </summary> [JsonProperty(PropertyName = "connectedResourceId")] public string ConnectedResourceId { get; private set; } /// <summary> /// Gets the allowed tcp ports /// </summary> [JsonProperty(PropertyName = "tcpPorts")] public string TcpPorts { get; private set; } /// <summary> /// Gets the allowed udp ports /// </summary> [JsonProperty(PropertyName = "udpPorts")] public string UdpPorts { get; private set; } } }
brjohnstmsft/azure-sdk-for-net
sdk/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated/Models/ConnectedResource.cs
C#
mit
2,265
describe :file_size, shared: true do before :each do @exists = tmp('i_exist') touch(@exists) { |f| f.write 'rubinius' } end after :each do rm_r @exists end it "returns the size of the file if it exists and is not empty" do @object.send(@method, @exists).should == 8 end it "accepts a String-like (to_str) parameter" do obj = mock("file") obj.should_receive(:to_str).and_return(@exists) @object.send(@method, obj).should == 8 end it "accepts an object that has a #to_path method" do @object.send(@method, mock_to_path(@exists)).should == 8 end end describe :file_size_to_io, shared: true do before :each do @exists = tmp('i_exist') touch(@exists) { |f| f.write 'rubinius' } @file = File.open(@exists, 'r') end after :each do @file.close unless @file.closed? rm_r @exists end it "calls #to_io to convert the argument to an IO" do obj = mock("io like") obj.should_receive(:to_io).and_return(@file) @object.send(@method, obj).should == 8 end end describe :file_size_raise_when_missing, shared: true do before :each do # TODO: missing_file @missing = tmp("i_dont_exist") rm_r @missing end after :each do rm_r @missing end it "raises an error if file_name doesn't exist" do lambda {@object.send(@method, @missing)}.should raise_error(Errno::ENOENT) end end describe :file_size_nil_when_missing, shared: true do before :each do # TODO: missing_file @missing = tmp("i_dont_exist") rm_r @missing end after :each do rm_r @missing end it "returns nil if file_name doesn't exist or has 0 size" do @object.send(@method, @missing).should == nil end end describe :file_size_0_when_empty, shared: true do before :each do @empty = tmp("i_am_empty") touch @empty end after :each do rm_r @empty end it "returns 0 if the file is empty" do @object.send(@method, @empty).should == 0 end end describe :file_size_nil_when_empty, shared: true do before :each do @empty = tmp("i_am_empt") touch @empty end after :each do rm_r @empty end it "returns nil if file_name is empty" do @object.send(@method, @empty).should == nil end end describe :file_size_with_file_argument, shared: true do before :each do @exists = tmp('i_exist') touch(@exists) { |f| f.write 'rubinius' } end after :each do rm_r @exists end it "accepts a File argument" do File.open(@exists) do |f| @object.send(@method, f).should == 8 end end end
ruby/rubyspec
shared/file/size.rb
Ruby
mit
2,566
describe("dc.heatmap", function() { var id, data, dimension, group, chart, chartHeight, chartWidth; beforeEach(function() { data = crossfilter(loadColorFixture()); dimension = data.dimension(function (d) { return [+d.colData, +d.rowData]; }); group = dimension.group().reduceSum(function (d) { return +d.colorData; }); chartHeight = 210; chartWidth = 210; id = "heatmap-chart"; appendChartID(id); chart = dc.heatMap("#" + id); chart .dimension(dimension) .group(group) .keyAccessor(function (d) { return d.key[0]; }) .valueAccessor(function (d) { return d.key[1]; }) .colorAccessor(function (d) { return d.value; }) .colors(["#000001", "#000002", "#000003", "#000004"]) .title(function(d) {return d.key + ": " + d.value; }) .height(chartHeight) .width(chartWidth) .transitionDuration(0) .margins({top: 5, right: 5, bottom: 5, left: 5}) .calculateColorDomain(); }); describe('rendering the heatmap', function() { beforeEach(function() { chart.render(); }); it('should create svg', function () { expect(chart.svg()).not.toBeNull(); }); it('should transform the graph position using the graph margins', function () { expect(chart.select("g.heatmap").attr("transform")).toMatchTranslate(5,5); }); it('should position the heatboxes in a matrix', function () { var heatBoxes = chart.selectAll("rect.heat-box"); expect(+heatBoxes[0][0].getAttribute("x")).toEqual(0); expect(+heatBoxes[0][0].getAttribute("y")).toEqual(100); expect(+heatBoxes[0][1].getAttribute("x")).toEqual(0); expect(+heatBoxes[0][1].getAttribute("y")).toEqual(0); expect(+heatBoxes[0][2].getAttribute("x")).toEqual(100); expect(+heatBoxes[0][2].getAttribute("y")).toEqual(100); expect(+heatBoxes[0][3].getAttribute("x")).toEqual(100); expect(+heatBoxes[0][3].getAttribute("y")).toEqual(0); }); it('should color heatboxes using the provided color option', function () { var heatBoxes = chart.selectAll("rect.heat-box"); expect(heatBoxes[0][0].getAttribute("fill")).toEqual("#000001"); expect(heatBoxes[0][1].getAttribute("fill")).toEqual("#000002"); expect(heatBoxes[0][2].getAttribute("fill")).toEqual("#000003"); expect(heatBoxes[0][3].getAttribute("fill")).toEqual("#000004"); }); it('should size heatboxes based on the size of the matrix', function () { chart.selectAll("rect.heat-box").each(function() { expect(+this.getAttribute("height")).toEqual(100); expect(+this.getAttribute("width")).toEqual(100); }); }); it('should position the y-axis labels with their associated rows', function() { var yaxisTexts = chart.selectAll(".rows.axis text"); expect(+yaxisTexts[0][0].getAttribute("y")).toEqual(150 ); expect(+yaxisTexts[0][0].getAttribute("x")).toEqual(0); expect(+yaxisTexts[0][1].getAttribute("y")).toEqual(50); expect(+yaxisTexts[0][1].getAttribute("x")).toEqual(0); }); it('should have labels on the y-axis corresponding to the row values', function() { var yaxisTexts = chart.selectAll(".rows.axis text"); expect(yaxisTexts[0][0].textContent).toEqual('1'); expect(yaxisTexts[0][1].textContent).toEqual('2'); }); it('should position the x-axis labels with their associated columns', function() { var xaxisTexts = chart.selectAll(".cols.axis text"); expect(+xaxisTexts[0][0].getAttribute("y")).toEqual(200); expect(+xaxisTexts[0][0].getAttribute("x")).toEqual(50); expect(+xaxisTexts[0][1].getAttribute("y")).toEqual(200); expect(+xaxisTexts[0][1].getAttribute("x")).toEqual(150); }); it('should have labels on the x-axis corresponding to the row values', function() { var xaxisTexts = chart.selectAll(".cols.axis text"); expect(xaxisTexts[0][0].textContent).toEqual('1'); expect(xaxisTexts[0][1].textContent).toEqual('2'); }); describe('box radius', function() { it('should default the x', function () { chart.select('rect.heat-box').each(function () { expect(this.getAttribute('rx')).toBe('6.75'); }); }); it('should default the y', function () { chart.select('rect.heat-box').each(function () { expect(this.getAttribute('ry')).toBe('6.75'); }); }); it('should set the radius to an overridden x', function(){ chart.xBorderRadius(7); chart.render(); chart.select('rect.heat-box').each(function () { expect(this.getAttribute('rx')).toBe('7'); }); }); it('should set the radius to an overridden y', function() { chart.yBorderRadius(7); chart.render(); chart.select('rect.heat-box').each(function () { expect(this.getAttribute('ry')).toBe('7'); }); }); }); }); describe('change crossfilter', function () { var data2, dimension2, group2, originalDomain, newDomain; var reduceDimensionValues = function(dimension) { return dimension.top(Infinity).reduce(function (p, d) { p.cols.add(d.colData); p.rows.add(d.rowData); return p; }, {cols: d3.set(), rows: d3.set()}); }; beforeEach(function () { data2 = crossfilter(loadColorFixture2()); dimension2 = data2.dimension(function (d) { return [+d.colData, +d.rowData]; }); group2 = dimension2.group().reduceSum(function (d) { return +d.colorData; }); originalDomain = reduceDimensionValues(dimension); newDomain = reduceDimensionValues(dimension2); chart.dimension(dimension2).group(group2); chart.render(); chart.dimension(dimension).group(group); chart.redraw(); }); it('should have the correct number of columns', function () { chart.selectAll(".box-group").each(function (d) { expect(originalDomain.cols.has(d.key[0])).toBeTruthy(); }); chart.selectAll(".cols.axis text").each(function (d) { expect(originalDomain.cols.has(d)).toBeTruthy(); }); }); it('should have the correct number of rows', function () { chart.selectAll(".box-group").each(function (d) { expect(originalDomain.rows.has(d.key[1])).toBeTruthy(); }); chart.selectAll(".rows.axis text").each(function (d) { expect(originalDomain.rows.has(d)).toBeTruthy(); }); }); }); describe('filtering', function() { var filterX, filterY; var otherDimension; beforeEach( function() { filterX = Math.ceil(Math.random() * 2); filterY = Math.ceil(Math.random() * 2); otherDimension = data.dimension(function (d) { return +d.colData; }); chart.render(); }); function clickCellOnChart(chart, x, y) { var oneCell = chart.selectAll(".box-group").filter(function (d) { return d.key[0] == x && d.key[1] == y; }); oneCell.select("rect").on("click")(oneCell.datum()); return oneCell; } it('cells should have the appropriate class', function() { clickCellOnChart(chart, filterX, filterY); chart.selectAll(".box-group").each( function(d) { var cell = d3.select(this); if (d.key[0] == filterX && d.key[1] == filterY) { expect(cell.classed("selected")).toBeTruthy(); expect(chart.hasFilter(d.key)).toBeTruthy(); } else { expect(cell.classed("deselected")).toBeTruthy(); expect(chart.hasFilter(d.key)).toBeFalsy(); } }); }); it('should keep all data points for that cell', function () { var otherGroup = otherDimension.group().reduceSum(function (d) { return +d.colorData; }); var otherChart = dc.baseChart({}).dimension(otherDimension).group(otherGroup); otherChart.render(); var clickedCell = clickCellOnChart(chart, filterX, filterY); expect(otherChart.data()[filterX - 1].value).toEqual(clickedCell.datum().value); }); it('should be able to clear filters by filtering with null', function() { clickCellOnChart(chart, filterX, filterY); expect(otherDimension.top(Infinity).length).toBe(2); chart.filter(null); expect(otherDimension.top(Infinity).length).toBe(8); }); }); describe('click events', function() { beforeEach(function() { chart.render(); }); it('should toggle a filter for the clicked box', function() { chart.selectAll(".box-group").each( function(d) { var cell = d3.select(this).select("rect"); cell.on("click")(d); expect(chart.hasFilter(d.key)).toBeTruthy(); cell.on("click")(d); expect(chart.hasFilter(d.key)).toBeFalsy(); }); }); describe('on axis labels', function() { describe('with nothing previously filtered', function () { it('should filter all cells on that axis', function () { chart.selectAll(".cols.axis text").each( function(d) { var axisLabel = d3.select(this); axisLabel.on("click")(d); assertOnlyThisAxisIsFiltered(chart, 0, d); axisLabel.on("click")(d); }); chart.selectAll(".rows.axis text").each( function(d) { var axisLabel = d3.select(this); axisLabel.on("click")(d); assertOnlyThisAxisIsFiltered(chart, 1, d); axisLabel.on("click")(d); }); }); }); describe('with one cell on that axis already filtered', function() { it('should filter all cells on that axis (and the original cell should remain filtered)', function () { var boxes = chart.selectAll(".box-group"); var box = d3.select(boxes[0][Math.floor(Math.random() * boxes.length)]); box.select("rect").on("click")(box.datum()); expect(chart.hasFilter(box.datum().key)).toBeTruthy(); var xVal = box.datum().key[0]; var columns = chart.selectAll(".cols.axis text"); var column = columns.filter( function (columnData) { return columnData == xVal; }); column.on("click")(column.datum()); assertOnlyThisAxisIsFiltered(chart, 0, xVal); column.on("click")(column.datum()); }); }); describe('with all cells on that axis already filtered', function () { it('should remove all filters on that axis', function () { var xVal = 1; chart.selectAll(".box-group").each( function(d) { var box = d3.select(this); if (d.key[0] == xVal) { box.select("rect").on("click")(box.datum()); } }); assertOnlyThisAxisIsFiltered(chart, 0, xVal); var columns = chart.selectAll(".cols.axis text"); var column = columns.filter( function (columnData) { return columnData == xVal; }); column.on("click")(column.datum()); chart.select(".box-group").each( function(d) { expect(chart.hasFilter(d.key)).toBeFalsy(); }); }); }); }); }); }); function assertOnlyThisAxisIsFiltered(chart, axis, value) { chart.selectAll(".box-group").each( function(d) { if (d.key[axis] == value) { expect(chart.hasFilter(d.key)).toBeTruthy(); } else { expect(chart.hasFilter(d.key)).toBeFalsy(); } }); }
auremoser/chart-tools
dc.js/spec/heatmap-spec.js
JavaScript
mit
13,164
// Type definitions for Dojo v1.9 // Project: http://dojotoolkit.org // Definitions by: Michael Van Sickle <https://github.com/vansimke> // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module dojox { /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/socket.html * * Provides a simple socket connection using WebSocket, or alternate * communication mechanisms in legacy browsers for comet-style communication. This is based * on the WebSocket API and returns an object that implements the WebSocket interface: * http://dev.w3.org/html5/websockets/#websocket * Provides socket connections. This can be used with virtually any Comet protocol. * * @param argsOrUrl This uses the same arguments as the other I/O functions in Dojo, or aURL to connect to. The URL should be a relative URL in order to properlywork with WebSockets (it can still be host relative, like //other-site.org/endpoint) */ interface socket{(argsOrUrl: Object): void} module socket { /** * Provides a simple long-poll based comet-style socket/connection to a server and returns an * object implementing the WebSocket interface: * http://dev.w3.org/html5/websockets/#websocket * * @param args This uses the same arguments as the other I/O functions in Dojo, with this addition:args.interval:Indicates the amount of time (in milliseconds) after a response was receivedbefore another request is made. By default, a request is made immediatelyafter getting a response. The interval can be increased to reduce load on theserver or to do simple time-based polling where the server always respondsimmediately.args.transport:Provide an alternate transport like dojo.io.script.get */ interface LongPoll{(args: Object): any} /** * * @param socket * @param newSocket * @param listenForOpen */ interface replace{(socket: any, newSocket: any, listenForOpen: any): void} /** * A wrapper for WebSocket, than handles standard args and relative URLs * * @param args * @param fallback */ interface WebSocket{(args: any, fallback: any): void} /** * Permalink: http://dojotoolkit.org/api/1.9/dojox/socket/Reconnect.html * * Provides auto-reconnection to a websocket after it has been closed * * @param socket Socket to add reconnection support to. * @param options */ interface Reconnect{(socket: any, options: any): void} } }
nsanitate/DefinitelyTyped
dojo/dojox.socket.d.ts
TypeScript
mit
2,738
/* eslint max-len: 0 */ "use strict"; var _inherits = require("babel-runtime/helpers/inherits")["default"]; var _classCallCheck = require("babel-runtime/helpers/class-call-check")["default"]; var _Object$assign = require("babel-runtime/core-js/object/assign")["default"]; var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"]; var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"]; exports.__esModule = true; var _repeating = require("repeating"); var _repeating2 = _interopRequireDefault(_repeating); var _buffer = require("./buffer"); var _buffer2 = _interopRequireDefault(_buffer); var _node = require("./node"); var n = _interopRequireWildcard(_node); var _babelTypes = require("babel-types"); var t = _interopRequireWildcard(_babelTypes); var Printer = (function (_Buffer) { _inherits(Printer, _Buffer); function Printer() { _classCallCheck(this, Printer); for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _Buffer.call.apply(_Buffer, [this].concat(args)); this.insideAux = false; this.printAuxAfterOnNextUserNode = false; this._printStack = []; } Printer.prototype.print = function print(node, parent) { // istanbul ignore next var _this = this; var opts = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; if (!node) return; this._lastPrintedIsEmptyStatement = false; if (parent && parent._compact) { node._compact = true; } var oldInAux = this.insideAux; this.insideAux = !node.loc; var oldConcise = this.format.concise; if (node._compact) { this.format.concise = true; } var printMethod = this[node.type]; if (!printMethod) { throw new ReferenceError("unknown node of type " + JSON.stringify(node.type) + " with constructor " + JSON.stringify(node && node.constructor.name)); } this._printStack.push(node); if (node.loc) this.printAuxAfterComment(); this.printAuxBeforeComment(oldInAux); var needsParens = n.needsParens(node, parent, this._printStack); if (needsParens) this.push("("); this.printLeadingComments(node, parent); this.catchUp(node); this._printNewline(true, node, parent, opts); if (opts.before) opts.before(); var loc = t.isProgram(node) || t.isFile(node) ? null : node.loc; this.withSource("start", loc, function () { _this._print(node, parent); }); // Check again if any of our children may have left an aux comment on the stack if (node.loc) this.printAuxAfterComment(); this.printTrailingComments(node, parent); if (needsParens) this.push(")"); // end this._printStack.pop(); if (opts.after) opts.after(); this.format.concise = oldConcise; this.insideAux = oldInAux; this._printNewline(false, node, parent, opts); }; Printer.prototype.printAuxBeforeComment = function printAuxBeforeComment(wasInAux) { var comment = this.format.auxiliaryCommentBefore; if (!wasInAux && this.insideAux && !this.printAuxAfterOnNextUserNode) { this.printAuxAfterOnNextUserNode = true; if (comment) this.printComment({ type: "CommentBlock", value: comment }); } }; Printer.prototype.printAuxAfterComment = function printAuxAfterComment() { if (this.printAuxAfterOnNextUserNode) { this.printAuxAfterOnNextUserNode = false; var comment = this.format.auxiliaryCommentAfter; if (comment) this.printComment({ type: "CommentBlock", value: comment }); } }; Printer.prototype.getPossibleRaw = function getPossibleRaw(node) { var extra = node.extra; if (extra && extra.raw != null && extra.rawValue != null && node.value === extra.rawValue) { return extra.raw; } }; Printer.prototype._print = function _print(node, parent) { // In minified mode we need to produce as little bytes as needed // and need to make sure that string quoting is consistent. // That means we have to always reprint as opposed to getting // the raw value. if (!this.format.minified) { var extra = this.getPossibleRaw(node); if (extra) { this.push(""); this._push(extra); return; } } var printMethod = this[node.type]; printMethod.call(this, node, parent); }; Printer.prototype.printJoin = function printJoin(nodes, parent) { // istanbul ignore next var _this2 = this; var opts = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; if (!nodes || !nodes.length) return; var len = nodes.length; var node = undefined, i = undefined; if (opts.indent) this.indent(); var printOpts = { statement: opts.statement, addNewlines: opts.addNewlines, after: function after() { if (opts.iterator) { opts.iterator(node, i); } if (opts.separator && parent.loc) { _this2.printAuxAfterComment(); } if (opts.separator && i < len - 1) { _this2.push(opts.separator); } } }; for (i = 0; i < nodes.length; i++) { node = nodes[i]; this.print(node, parent, printOpts); } if (opts.indent) this.dedent(); }; Printer.prototype.printAndIndentOnComments = function printAndIndentOnComments(node, parent) { var indent = !!node.leadingComments; if (indent) this.indent(); this.print(node, parent); if (indent) this.dedent(); }; Printer.prototype.printBlock = function printBlock(parent) { var node = parent.body; if (!t.isEmptyStatement(node)) { this.space(); } this.print(node, parent); }; Printer.prototype.generateComment = function generateComment(comment) { var val = comment.value; if (comment.type === "CommentLine") { val = "//" + val; } else { val = "/*" + val + "*/"; } return val; }; Printer.prototype.printTrailingComments = function printTrailingComments(node, parent) { this.printComments(this.getComments(false, node, parent)); }; Printer.prototype.printLeadingComments = function printLeadingComments(node, parent) { this.printComments(this.getComments(true, node, parent)); }; Printer.prototype.printInnerComments = function printInnerComments(node) { var indent = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1]; if (!node.innerComments) return; if (indent) this.indent(); this.printComments(node.innerComments); if (indent) this.dedent(); }; Printer.prototype.printSequence = function printSequence(nodes, parent) { var opts = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; opts.statement = true; return this.printJoin(nodes, parent, opts); }; Printer.prototype.printList = function printList(items, parent) { var opts = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; if (opts.separator == null) { opts.separator = ","; if (!this.format.compact) opts.separator += " "; } return this.printJoin(items, parent, opts); }; Printer.prototype._printNewline = function _printNewline(leading, node, parent, opts) { // Fast path since 'this.newline' does nothing when not tracking lines. if (this.format.retainLines || this.format.compact) return; if (!opts.statement && !n.isUserWhitespacable(node, parent)) { return; } // Fast path for concise since 'this.newline' just inserts a space when // concise formatting is in use. if (this.format.concise) { this.space(); return; } var lines = 0; if (node.start != null && !node._ignoreUserWhitespace && this.tokens.length) { // user node if (leading) { lines = this.whitespace.getNewlinesBefore(node); } else { lines = this.whitespace.getNewlinesAfter(node); } } else { // generated node if (!leading) lines++; // always include at least a single line after if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0; var needs = n.needsWhitespaceAfter; if (leading) needs = n.needsWhitespaceBefore; if (needs(node, parent)) lines++; // generated nodes can't add starting file whitespace if (!this.buf) lines = 0; } this.newline(lines); }; Printer.prototype.getComments = function getComments(leading, node) { // Note, we use a boolean flag here instead of passing in the attribute name as it is faster // because this is called extremely frequently. return node && (leading ? node.leadingComments : node.trailingComments) || []; }; Printer.prototype.shouldPrintComment = function shouldPrintComment(comment) { if (this.format.shouldPrintComment) { return this.format.shouldPrintComment(comment.value); } else { if (!this.format.minified && (comment.value.indexOf("@license") >= 0 || comment.value.indexOf("@preserve") >= 0)) { return true; } else { return this.format.comments; } } }; Printer.prototype.printComment = function printComment(comment) { // istanbul ignore next var _this3 = this; if (!this.shouldPrintComment(comment)) return; if (comment.ignore) return; comment.ignore = true; if (comment.start != null) { if (this.printedCommentStarts[comment.start]) return; this.printedCommentStarts[comment.start] = true; } // Exclude comments from source mappings since they will only clutter things. this.withSource(null, null, function () { _this3.catchUp(comment); // whitespace before _this3.newline(_this3.whitespace.getNewlinesBefore(comment)); var column = _this3.position.column; var val = _this3.generateComment(comment); if (column && !_this3.isLast(["\n", " ", "[", "{"])) { _this3._push(" "); column++; } // if (comment.type === "CommentBlock" && _this3.format.indent.adjustMultilineComment) { var offset = comment.loc && comment.loc.start.column; if (offset) { var newlineRegex = new RegExp("\\n\\s{1," + offset + "}", "g"); val = val.replace(newlineRegex, "\n"); } var indent = Math.max(_this3.indentSize(), column); val = val.replace(/\n/g, "\n" + _repeating2["default"](" ", indent)); } if (column === 0) { val = _this3.getIndent() + val; } // force a newline for line comments when retainLines is set in case the next printed node // doesn't catch up if ((_this3.format.compact || _this3.format.concise || _this3.format.retainLines) && comment.type === "CommentLine") { val += "\n"; } // _this3._push(val); // whitespace after _this3.newline(_this3.whitespace.getNewlinesAfter(comment)); }); }; Printer.prototype.printComments = function printComments(comments) { if (!comments || !comments.length) return; for (var _i = 0; _i < comments.length; _i++) { var comment = comments[_i]; this.printComment(comment); } }; return Printer; })(_buffer2["default"]); exports["default"] = Printer; var _arr = [require("./generators/template-literals"), require("./generators/expressions"), require("./generators/statements"), require("./generators/classes"), require("./generators/methods"), require("./generators/modules"), require("./generators/types"), require("./generators/flow"), require("./generators/base"), require("./generators/jsx")]; for (var _i2 = 0; _i2 < _arr.length; _i2++) { var generator = _arr[_i2]; _Object$assign(Printer.prototype, generator); } module.exports = exports["default"];
Mashadim/Grain_Run
node_modules/babel-generator/lib/printer.js
JavaScript
mit
11,894
<?php namespace Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs; use Kunstmaan\UtilitiesBundle\Helper\Slugifier; use Doctrine\ORM\EntityManager; use Symfony\Component\Form\Form; use Symfony\Component\Form\FormView; use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\FormFactoryInterface; use Symfony\Component\HttpFoundation\Request; /** * A tab pane is a container which holds tabs */ class TabPane { /** * @var string */ protected $identifier; /** * @var TabInterface[] */ protected $tabs = array(); /** * @var string */ protected $activeTab; /** * @var FormFactoryInterface */ protected $formFactory; /** * @var Form */ protected $form; /** * @var FormView */ protected $formView; /** * @param string $identifier The identifier * @param Request $request The request * @param FormFactoryInterface $formFactory The form factory */ public function __construct($identifier, Request $request, FormFactoryInterface $formFactory) { $this->identifier = $identifier; $this->formFactory = $formFactory; $this->slugifier = new Slugifier(); if ($request->request->get('currenttab')) { $this->activeTab = $request->request->get('currenttab'); } elseif ($request->get('currenttab')) { $this->activeTab = $request->get('currenttab'); } } /** * @return FormInterface */ public function buildForm() { $builder = $this->formFactory->createBuilder('form', null, array('cascade_validation'=>true)); foreach ($this->tabs as $tab) { $tab->buildForm($builder); } $this->form = $builder->getForm(); return $this->form; } /** * @param Request $request */ public function bindRequest(Request $request) { $this->form->bind($request); foreach ($this->tabs as $tab) { $tab->bindRequest($request); } } /** * @param EntityManager $em The entity manager */ public function persist(EntityManager $em) { foreach ($this->tabs as $tab) { $tab->persist($em); } } /** * @param TabInterface $tab * * @return string */ private function generateIdentifier(TabInterface $tab) { return $this->slugifier->slugify($tab->getTitle()); } /** * @param TabInterface $tab The tab * @param null|int $position The position * * @return TabPane */ public function addTab(TabInterface $tab, $position = null) { $identifier = $tab->getIdentifier(); if (!$identifier || empty($identifier)) { $tab->setIdentifier($this->generateIdentifier($tab)); } if (!is_null($position) && is_numeric($position) && $position < sizeof($this->tabs)) { array_splice($this->tabs, $position, 0, array($tab)); } else { $this->tabs[] = $tab; } return $this; } /** * @param TabInterface $tab * * @return TabPane */ public function removeTab(TabInterface $tab) { if (in_array($tab, $this->tabs)) { unset($this->tabs[array_search($tab, $this->tabs)]); $this->reindexTabs(); } return $this; } /** * @param string $title * * @return TabPane */ public function removeTabByTitle($title) { foreach ($this->tabs as $key => $tab) { if ($tab->getTitle() === $title) { unset($this->tabs[$key]); $this->reindexTabs(); return $this; } } return $this; } /** * @param int $position * * @return TabPane */ public function removeTabByPosition($position) { if (is_numeric($position) && $position < sizeof($this->tabs)) { array_splice($this->tabs, $position, 1); } return $this; } /** * @return TabInterface[] */ public function getTabs() { return $this->tabs; } /** * @param string $title * * @return TabInterface|null */ public function getTabByTitle($title) { foreach ($this->tabs as $key => $tab) { if ($tab->getTitle() === $title) { return $this->tabs[$key]; } } return null; } /** * @param int $position * * @return TabInterface|null */ public function getTabByPosition($position) { if (is_numeric($position) && $position < sizeof($this->tabs)) { return $this->tabs[$position]; } return null; } /** * @return string */ public function getActiveTab() { return !empty($this->activeTab) ? $this->activeTab : $this->tabs[0]->getIdentifier(); } /** * @return Form */ public function getForm() { return $this->form; } /** * @return FormView */ public function getFormView() { if (is_null($this->formView)) { $this->formView = $this->form->createView(); } return $this->formView; } /** * @return bool */ public function isValid() { return $this->form->isValid(); } /** * Reset the indexes of the tabs */ private function reindexTabs() { $this->tabs = array_values($this->tabs); } /** * @param Request $request * * @return array */ public function getExtraParams(Request $request) { $extraParams = array(); foreach ($this->getTabs() as $tab) { $extraParams = array_merge($extraParams, $tab->getExtraParams($request)); } return $extraParams; } }
Sambego/KunstmaanBundlesCMS
src/Kunstmaan/AdminBundle/Helper/FormWidgets/Tabs/TabPane.php
PHP
mit
6,005
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or distributing this file or part of its contents. The contents of * this file is part of the Source Code of CKFinder. * */ /** * @fileOverview Defines the {@link CKFinder.lang} object for the Greek * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['el'] = { appTitle : 'CKFinder', // MISSING // Common messages and labels. common : { // Put the voice-only part of the label in the span. unavailable : '%1<span class="cke_accessibility">, unavailable</span>', // MISSING confirmCancel : 'Some of the options were changed. Are you sure you want to close the dialog window?', // MISSING ok : 'OK', cancel : 'Ακύρωση', confirmationTitle : 'Confirmation', // MISSING messageTitle : 'Information', // MISSING inputTitle : 'Question', // MISSING undo : 'Αναίρεση', redo : 'Επαναφορά', skip : 'Skip', // MISSING skipAll : 'Skip all', // MISSING makeDecision : 'What action should be taken?', // MISSING rememberDecision: 'Remember my decision' // MISSING }, // Language direction, 'ltr' or 'rtl'. dir : 'ltr', HelpLang : 'en', LangCode : 'el', // Date Format // d : Day // dd : Day (padding zero) // m : Month // mm : Month (padding zero) // yy : Year (two digits) // yyyy : Year (four digits) // h : Hour (12 hour clock) // hh : Hour (12 hour clock, padding zero) // H : Hour (24 hour clock) // HH : Hour (24 hour clock, padding zero) // M : Minute // MM : Minute (padding zero) // a : Firt char of AM/PM // aa : AM/PM DateTime : 'dd/mm/yyyy HH:MM', DateAmPm : ['ΜΜ', 'ΠΜ'], // Folders FoldersTitle : 'Φάκελοι', FolderLoading : 'Φόρτωση...', FolderNew : 'Παρακαλούμε πληκτρολογήστε την ονομασία του νέου φακέλου: ', FolderRename : 'Παρακαλούμε πληκτρολογήστε την νέα ονομασία του φακέλου: ', FolderDelete : 'Είστε σίγουροι ότι θέλετε να διαγράψετε το φάκελο "%1";', FolderRenaming : ' (Μετονομασία...)', FolderDeleting : ' (Διαγραφή...)', // Files FileRename : 'Παρακαλούμε πληκτρολογήστε την νέα ονομασία του αρχείου: ', FileRenameExt : 'Είστε σίγουροι ότι θέλετε να αλλάξετε την επέκταση του αρχείου; Μετά από αυτή την ενέργεια το αρχείο μπορεί να μην μπορεί να χρησιμοποιηθεί', FileRenaming : 'Μετονομασία...', FileDelete : 'Είστε σίγουροι ότι θέλετε να διαγράψετε το αρχείο "%1"?', FilesLoading : 'Φόρτωση...', FilesEmpty : 'The folder is empty.', // MISSING FilesMoved : 'File %1 moved to %2:%3.', // MISSING FilesCopied : 'File %1 copied to %2:%3.', // MISSING // Basket BasketFolder : 'Basket', // MISSING BasketClear : 'Clear Basket', // MISSING BasketRemove : 'Remove from Basket', // MISSING BasketOpenFolder : 'Open Parent Folder', // MISSING BasketTruncateConfirm : 'Do you really want to remove all files from the basket?', // MISSING BasketRemoveConfirm : 'Do you really want to remove the file "%1" from the basket?', // MISSING BasketEmpty : 'No files in the basket, drag and drop some.', // MISSING BasketCopyFilesHere : 'Copy Files from Basket', // MISSING BasketMoveFilesHere : 'Move Files from Basket', // MISSING BasketPasteErrorOther : 'File %s error: %e', // MISSING BasketPasteMoveSuccess : 'The following files were moved: %s', // MISSING BasketPasteCopySuccess : 'The following files were copied: %s', // MISSING // Toolbar Buttons (some used elsewhere) Upload : 'Μεταφόρτωση', UploadTip : 'Μεταφόρτωση Νέου Αρχείου', Refresh : 'Ανανέωση', Settings : 'Ρυθμίσεις', Help : 'Βοήθεια', HelpTip : 'Βοήθεια', // Context Menus Select : 'Επιλογή', SelectThumbnail : 'Επιλογή Μικρογραφίας', View : 'Προβολή', Download : 'Λήψη Αρχείου', NewSubFolder : 'Νέος Υποφάκελος', Rename : 'Μετονομασία', Delete : 'Διαγραφή', CopyDragDrop : 'Copy File Here', // MISSING MoveDragDrop : 'Move File Here', // MISSING // Dialogs RenameDlgTitle : 'Rename', // MISSING NewNameDlgTitle : 'New Name', // MISSING FileExistsDlgTitle : 'File Already Exists', // MISSING SysErrorDlgTitle : 'System Error', // MISSING FileOverwrite : 'Overwrite', // MISSING FileAutorename : 'Auto-rename', // MISSING // Generic OkBtn : 'OK', CancelBtn : 'Ακύρωση', CloseBtn : 'Κλείσιμο', // Upload Panel UploadTitle : 'Μεταφόρτωση Νέου Αρχείου', UploadSelectLbl : 'επιλέξτε το αρχείο που θέλετε να μεταφερθεί κάνοντας κλίκ στο κουμπί', UploadProgressLbl : '(Η μεταφόρτωση εκτελείται, παρακαλούμε περιμένετε...)', UploadBtn : 'Μεταφόρτωση Επιλεγμένου Αρχείου', UploadBtnCancel : 'Ακύρωση', UploadNoFileMsg : 'Παρακαλούμε επιλέξτε ένα αρχείο από τον υπολογιστή σας.', UploadNoFolder : 'Please select a folder before uploading.', // MISSING UploadNoPerms : 'File upload not allowed.', // MISSING UploadUnknError : 'Error sending the file.', // MISSING UploadExtIncorrect : 'File extension not allowed in this folder.', // MISSING // Flash Uploads UploadLabel : 'Files to Upload', // MISSING UploadTotalFiles : 'Total Files:', // MISSING UploadTotalSize : 'Total Size:', // MISSING UploadAddFiles : 'Add Files', // MISSING UploadClearFiles : 'Clear Files', // MISSING UploadCancel : 'Cancel Upload', // MISSING UploadRemove : 'Remove', // MISSING UploadRemoveTip : 'Remove !f', // MISSING UploadUploaded : 'Uploaded !n%', // MISSING UploadProcessing : 'Processing...', // MISSING // Settings Panel SetTitle : 'Ρυθμίσεις', SetView : 'Προβολή:', SetViewThumb : 'Μικρογραφίες', SetViewList : 'Λίστα', SetDisplay : 'Εμφάνιση:', SetDisplayName : 'Όνομα Αρχείου', SetDisplayDate : 'Ημερομηνία', SetDisplaySize : 'Μέγεθος Αρχείου', SetSort : 'Ταξινόμηση:', SetSortName : 'βάσει Όνοματος Αρχείου', SetSortDate : 'βάσει Ημερομήνιας', SetSortSize : 'βάσει Μεγέθους', // Status Bar FilesCountEmpty : '<Κενός Φάκελος>', FilesCountOne : '1 αρχείο', FilesCountMany : '%1 αρχεία', // Size and Speed Kb : '%1 kB', KbPerSecond : '%1 kB/s', // Connector Error Messages. ErrorUnknown : 'Η ενέργεια δεν ήταν δυνατόν να εκτελεστεί. (Σφάλμα %1)', Errors : { 10 : 'Λανθασμένη Εντολή.', 11 : 'Το resource type δεν ήταν δυνατόν να προσδιορίστεί.', 12 : 'Το resource type δεν είναι έγκυρο.', 102 : 'Το όνομα αρχείου ή φακέλου δεν είναι έγκυρο.', 103 : 'Δεν ήταν δυνατή η εκτέλεση της ενέργειας λόγω έλλειψης δικαιωμάτων ασφαλείας.', 104 : 'Δεν ήταν δυνατή η εκτέλεση της ενέργειας λόγω περιορισμών του συστήματος αρχείων.', 105 : 'Λανθασμένη Επέκταση Αρχείου.', 109 : 'Λανθασμένη Ενέργεια.', 110 : 'Άγνωστο Λάθος.', 115 : 'Το αρχείο ή φάκελος υπάρχει ήδη.', 116 : 'Ο φάκελος δεν βρέθηκε. Παρακαλούμε ανανεώστε τη σελίδα και προσπαθήστε ξανά.', 117 : 'Το αρχείο δεν βρέθηκε. Παρακαλούμε ανανεώστε τη σελίδα και προσπαθήστε ξανά.', 118 : 'Source and target paths are equal.', // MISSING 201 : 'Ένα αρχείο με την ίδια ονομασία υπάρχει ήδη. Το μεταφορτωμένο αρχείο μετονομάστηκε σε "%1".', 202 : 'Λανθασμένο Αρχείο.', 203 : 'Λανθασμένο Αρχείο. Το μέγεθος του αρχείου είναι πολύ μεγάλο.', 204 : 'Το μεταφορτωμένο αρχείο είναι χαλασμένο.', 205 : 'Δεν υπάρχει προσωρινός φάκελος για να χρησιμοποιηθεί για τις μεταφορτώσεις των αρχείων.', 206 : 'Η μεταφόρτωση ακυρώθηκε για λόγους ασφαλείας. Το αρχείο περιέχει δεδομένα μορφής HTML.', 207 : 'Το μεταφορτωμένο αρχείο μετονομάστηκε σε "%1".', 300 : 'Moving file(s) failed.', // MISSING 301 : 'Copying file(s) failed.', // MISSING 500 : 'Ο πλοηγός αρχείων έχει απενεργοποιηθεί για λόγους ασφαλείας. Παρακαλούμε επικοινωνήστε με τον διαχειριστή της ιστοσελίδας και ελέγξτε το αρχείο ρυθμίσεων του πλοηγού (CKFinder).', 501 : 'Η υποστήριξη των μικρογραφιών έχει απενεργοποιηθεί.' }, // Other Error Messages. ErrorMsg : { FileEmpty : 'Η ονομασία του αρχείου δεν μπορεί να είναι κενή.', FileExists : 'File %s already exists.', // MISSING FolderEmpty : 'Η ονομασία του φακέλου δεν μπορεί να είναι κενή.', FileInvChar : 'Η ονομασία του αρχείου δεν μπορεί να περιέχει τους ακόλουθους χαρακτήρες: \n\\ / : * ? " < > |', FolderInvChar : 'Η ονομασία του φακέλου δεν μπορεί να περιέχει τους ακόλουθους χαρακτήρες: \n\\ / : * ? " < > |', PopupBlockView : 'Δεν ήταν εφικτό να ανοίξει το αρχείο σε νέο παράθυρο. Παρακαλώ, ελέγξτε τις ρυθμίσεις τους πλοηγού σας και απενεργοποιήστε όλους τους popup blockers για αυτή την ιστοσελίδα.', XmlError : 'It was not possible to properly load the XML response from the web server.', // MISSING XmlEmpty : 'It was not possible to load the XML response from the web server. The server returned an empty response.', // MISSING XmlRawResponse : 'Raw response from the server: %s' // MISSING }, // Imageresize plugin Imageresize : { dialogTitle : 'Resize %s', // MISSING sizeTooBig : 'Cannot set image height or width to a value bigger than the original size (%size).', // MISSING resizeSuccess : 'Image resized successfully.', // MISSING thumbnailNew : 'Create a new thumbnail', // MISSING thumbnailSmall : 'Small (%s)', // MISSING thumbnailMedium : 'Medium (%s)', // MISSING thumbnailLarge : 'Large (%s)', // MISSING newSize : 'Set a new size', // MISSING width : 'Πλάτος', height : 'Ύψος', invalidHeight : 'Invalid height.', // MISSING invalidWidth : 'Invalid width.', // MISSING invalidName : 'Invalid file name.', // MISSING newImage : 'Create a new image', // MISSING noExtensionChange : 'File extension cannot be changed.', // MISSING imageSmall : 'Source image is too small.', // MISSING contextMenuName : 'Resize', // MISSING lockRatio : 'Κλείδωμα Αναλογίας', resetSize : 'Επαναφορά Αρχικού Μεγέθους' }, // Fileeditor plugin Fileeditor : { save : 'Αποθήκευση', fileOpenError : 'Unable to open file.', // MISSING fileSaveSuccess : 'File saved successfully.', // MISSING contextMenuName : 'Edit', // MISSING loadingFile : 'Loading file, please wait...' // MISSING }, Maximize : { maximize : 'Maximize', // MISSING minimize : 'Minimize' // MISSING } };
rajanpkr/jobportal
assets/ckeditor/ckfinder/lang/el.js
JavaScript
mit
12,630
/** * @license Highcharts JS v5.0.0 (2016-09-29) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ (function(factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else { factory(Highcharts); } }(function(Highcharts) { (function(Highcharts) { /** * (c) 2010-2016 Torstein Honsi * * License: www.highcharts.com/license * * Dark theme for Highcharts JS * @author Torstein Honsi */ 'use strict'; /* global document */ // Load the fonts Highcharts.createElement('link', { href: 'https://fonts.googleapis.com/css?family=Unica+One', rel: 'stylesheet', type: 'text/css' }, null, document.getElementsByTagName('head')[0]); Highcharts.theme = { colors: ['#2b908f', '#90ee7e', '#f45b5b', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' ], chart: { backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, stops: [ [0, '#2a2a2b'], [1, '#3e3e40'] ] }, style: { fontFamily: '\'Unica One\', sans-serif' }, plotBorderColor: '#606063' }, title: { style: { color: '#E0E0E3', textTransform: 'uppercase', fontSize: '20px' } }, subtitle: { style: { color: '#E0E0E3', textTransform: 'uppercase' } }, xAxis: { gridLineColor: '#707073', labels: { style: { color: '#E0E0E3' } }, lineColor: '#707073', minorGridLineColor: '#505053', tickColor: '#707073', title: { style: { color: '#A0A0A3' } } }, yAxis: { gridLineColor: '#707073', labels: { style: { color: '#E0E0E3' } }, lineColor: '#707073', minorGridLineColor: '#505053', tickColor: '#707073', tickWidth: 1, title: { style: { color: '#A0A0A3' } } }, tooltip: { backgroundColor: 'rgba(0, 0, 0, 0.85)', style: { color: '#F0F0F0' } }, plotOptions: { series: { dataLabels: { color: '#B0B0B3' }, marker: { lineColor: '#333' } }, boxplot: { fillColor: '#505053' }, candlestick: { lineColor: 'white' }, errorbar: { color: 'white' } }, legend: { itemStyle: { color: '#E0E0E3' }, itemHoverStyle: { color: '#FFF' }, itemHiddenStyle: { color: '#606063' } }, credits: { style: { color: '#666' } }, labels: { style: { color: '#707073' } }, drilldown: { activeAxisLabelStyle: { color: '#F0F0F3' }, activeDataLabelStyle: { color: '#F0F0F3' } }, navigation: { buttonOptions: { symbolStroke: '#DDDDDD', theme: { fill: '#505053' } } }, // scroll charts rangeSelector: { buttonTheme: { fill: '#505053', stroke: '#000000', style: { color: '#CCC' }, states: { hover: { fill: '#707073', stroke: '#000000', style: { color: 'white' } }, select: { fill: '#000003', stroke: '#000000', style: { color: 'white' } } } }, inputBoxBorderColor: '#505053', inputStyle: { backgroundColor: '#333', color: 'silver' }, labelStyle: { color: 'silver' } }, navigator: { handles: { backgroundColor: '#666', borderColor: '#AAA' }, outlineColor: '#CCC', maskFill: 'rgba(255,255,255,0.1)', series: { color: '#7798BF', lineColor: '#A6C7ED' }, xAxis: { gridLineColor: '#505053' } }, scrollbar: { barBackgroundColor: '#808083', barBorderColor: '#808083', buttonArrowColor: '#CCC', buttonBackgroundColor: '#606063', buttonBorderColor: '#606063', rifleColor: '#FFF', trackBackgroundColor: '#404043', trackBorderColor: '#404043' }, // special colors for some of the legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', background2: '#505053', dataLabelsColor: '#B0B0B3', textColor: '#C0C0C0', contrastTextColor: '#F0F0F3', maskColor: 'rgba(255,255,255,0.3)' }; // Apply the theme Highcharts.setOptions(Highcharts.theme); }(Highcharts)); }));
redmunds/cdnjs
ajax/libs/highstock/5.0.0/js/themes/dark-unica.js
JavaScript
mit
7,089
'use strict'; // MariaSQL Runner // ------ module.exports = function(client) { var _ = require('lodash'); var inherits = require('inherits'); var SqlString = require('../mysql/string'); var Promise = require('../../promise'); var Runner = require('../../runner'); var helpers = require('../../helpers'); // Inherit from the `Runner` constructor's prototype, // so we can add the correct `then` method. function Runner_MariaSQL() { this.client = client; Runner.apply(this, arguments); } inherits(Runner_MariaSQL, Runner); // Grab a connection, run the query via the MariaSQL streaming interface, // and pass that through to the stream we've sent back to the client. Runner_MariaSQL.prototype._stream = Promise.method(function(sql, stream, options) { /*jshint unused: false*/ var runner = this; return new Promise(function(resolver, rejecter) { runner.connection.query(sql.sql, sql.bindings) .on('result', function(result) { result .on('row', rowHandler(function(row) { stream.write(row); })) .on('end', function(data) { resolver(data); }); }) .on('error', function(err) { rejecter(err); }); }); }); // Runs the query on the specified connection, providing the bindings // and any other necessary prep work. Runner_MariaSQL.prototype._query = Promise.method(function(obj) { var sql = obj.sql; if (this.isDebugging()) this.debug(obj); var connection = this.connection; var tz = this.client.connectionSettings.timezone || 'local'; if (!sql) throw new Error('The query is empty'); return new Promise(function(resolver, rejecter) { var rows = []; var query = connection.query(SqlString.format(sql, obj.bindings, false, tz), []); query.on('result', function(result) { result.on('row', rowHandler(function(row) { rows.push(row); })) .on('end', function(data) { obj.response = [rows, data]; resolver(obj); }); }) .on('error', rejecter); }); }); // Process the response as returned from the query. Runner_MariaSQL.prototype.processResponse = function(obj) { var response = obj.response; var method = obj.method; var rows = response[0]; var data = response[1]; if (obj.output) return obj.output.call(this, rows/*, fields*/); switch (method) { case 'select': case 'pluck': case 'first': var resp = helpers.skim(rows); if (method === 'pluck') return _.pluck(resp, obj.pluck); return method === 'first' ? resp[0] : resp; case 'insert': return [data.insertId]; case 'del': case 'update': case 'counter': return data.affectedRows; default: return response; } }; function parseType(value, type) { switch (type) { case 'DATETIME': case 'TIMESTAMP': return new Date(value); case 'INTEGER': return parseInt(value, 10); default: return value; } } function rowHandler(callback) { var types; return function(row, meta) { if (!types) types = meta.types; var keys = Object.keys(types); for (var i = 0, l = keys.length; i < l; i++) { var type = keys[i]; row[type] = parseType(row[type], types[type]); } callback(row); }; } // Assign the newly extended `Runner` constructor to the client object. client.Runner = Runner_MariaSQL; };
martmwangi/mwangi-blog
node_modules/knex/lib/dialects/maria/runner.js
JavaScript
mit
3,330
/** * @license Highcharts JS v5.0.0 (2016-09-29) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ (function(factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else { factory(Highcharts); } }(function(Highcharts) { (function(Highcharts) { /** * (c) 2010-2016 Torstein Honsi * * License: www.highcharts.com/license * * Dark blue theme for Highcharts JS * @author Torstein Honsi */ 'use strict'; Highcharts.theme = { colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' ], chart: { backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, stops: [ [0, 'rgb(48, 48, 96)'], [1, 'rgb(0, 0, 0)'] ] }, borderColor: '#000000', borderWidth: 2, className: 'dark-container', plotBackgroundColor: 'rgba(255, 255, 255, .1)', plotBorderColor: '#CCCCCC', plotBorderWidth: 1 }, title: { style: { color: '#C0C0C0', font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' } }, subtitle: { style: { color: '#666666', font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' } }, xAxis: { gridLineColor: '#333333', gridLineWidth: 1, labels: { style: { color: '#A0A0A0' } }, lineColor: '#A0A0A0', tickColor: '#A0A0A0', title: { style: { color: '#CCC', fontWeight: 'bold', fontSize: '12px', fontFamily: 'Trebuchet MS, Verdana, sans-serif' } } }, yAxis: { gridLineColor: '#333333', labels: { style: { color: '#A0A0A0' } }, lineColor: '#A0A0A0', minorTickInterval: null, tickColor: '#A0A0A0', tickWidth: 1, title: { style: { color: '#CCC', fontWeight: 'bold', fontSize: '12px', fontFamily: 'Trebuchet MS, Verdana, sans-serif' } } }, tooltip: { backgroundColor: 'rgba(0, 0, 0, 0.75)', style: { color: '#F0F0F0' } }, toolbar: { itemStyle: { color: 'silver' } }, plotOptions: { line: { dataLabels: { color: '#CCC' }, marker: { lineColor: '#333' } }, spline: { marker: { lineColor: '#333' } }, scatter: { marker: { lineColor: '#333' } }, candlestick: { lineColor: 'white' } }, legend: { itemStyle: { font: '9pt Trebuchet MS, Verdana, sans-serif', color: '#A0A0A0' }, itemHoverStyle: { color: '#FFF' }, itemHiddenStyle: { color: '#444' } }, credits: { style: { color: '#666' } }, labels: { style: { color: '#CCC' } }, navigation: { buttonOptions: { symbolStroke: '#DDDDDD', hoverSymbolStroke: '#FFFFFF', theme: { fill: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0.4, '#606060'], [0.6, '#333333'] ] }, stroke: '#000000' } } }, // scroll charts rangeSelector: { buttonTheme: { fill: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0.4, '#888'], [0.6, '#555'] ] }, stroke: '#000000', style: { color: '#CCC', fontWeight: 'bold' }, states: { hover: { fill: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0.4, '#BBB'], [0.6, '#888'] ] }, stroke: '#000000', style: { color: 'white' } }, select: { fill: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0.1, '#000'], [0.3, '#333'] ] }, stroke: '#000000', style: { color: 'yellow' } } } }, inputStyle: { backgroundColor: '#333', color: 'silver' }, labelStyle: { color: 'silver' } }, navigator: { handles: { backgroundColor: '#666', borderColor: '#AAA' }, outlineColor: '#CCC', maskFill: 'rgba(16, 16, 16, 0.5)', series: { color: '#7798BF', lineColor: '#A6C7ED' } }, scrollbar: { barBackgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0.4, '#888'], [0.6, '#555'] ] }, barBorderColor: '#CCC', buttonArrowColor: '#CCC', buttonBackgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0.4, '#888'], [0.6, '#555'] ] }, buttonBorderColor: '#CCC', rifleColor: '#FFF', trackBackgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0, '#000'], [1, '#333'] ] }, trackBorderColor: '#666' }, // special colors for some of the legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', background2: 'rgb(35, 35, 70)', dataLabelsColor: '#444', textColor: '#C0C0C0', maskColor: 'rgba(255,255,255,0.3)' }; // Apply the theme Highcharts.setOptions(Highcharts.theme); }(Highcharts)); }));
extend1994/cdnjs
ajax/libs/highmaps/5.0.0/themes/dark-blue.js
JavaScript
mit
9,898
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ .yui3-skin-sam .yui3-dial-handle{ /*container. top left corner used for trig positioning*/ background:#6C3A3A; opacity:0.3; -moz-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.9) inset; /*-webkit-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.9) inset; Chrome 7/Win bug*/ cursor:pointer; font-size:1px; } .yui3-skin-sam .yui3-dial-ring { background:#BEBDB7; background:-moz-linear-gradient(100% 100% 135deg, #7B7A6D, #FFFFFF); background:-webkit-gradient(linear, left top, right bottom, from(#FFFFFF), to(#7B7A6D)); box-shadow:1px 1px 5px rgba(0, 0, 0, 0.4) inset; -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4) inset; /*Chrome 7/Win bug*/ -moz-box-shadow:1px 1px 5px rgba(0, 0, 0, 0.4) inset; } .yui3-skin-sam .yui3-dial-center-button{ box-shadow:-1px -1px 2px rgba(0, 0, 0, 0.3) inset, 1px 1px 2px rgba(0, 0, 0, 0.5); -moz-box-shadow:-1px -1px 2px rgba(0, 0, 0, 0.3) inset, 1px 1px 2px rgba(0, 0, 0, 0.5); /*-webkit-box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.3) inset, 1px 1px 2px rgba(0, 0, 0, 0.5); Chrome 7/Win bug*/ background:#DDDBD4; background:-moz-radial-gradient(30% 30% 0deg, circle farthest-side, #FBFBF9 24%, #F2F0EA 41%, #D3D0C3 83%) repeat scroll 0 0 transparent; background:-webkit-gradient(radial, 15 15, 15, 30 30, 40, from(#FBFBF9), to(#D3D0C3), color-stop(.2,#F2F0EA)); cursor:pointer; opacity:0.7; /*text-align:center;*/ } .yui3-skin-sam .yui3-dial-reset-string{ color:#676767; font-size:85%; text-decoration:underline; } .yui3-skin-sam .yui3-dial-label{ color:#808080; margin-bottom:0.8em; } .yui3-skin-sam .yui3-dial-value-string{ margin-left:0.5em; color:#000; font-size:130%; } .yui3-skin-sam .yui3-dial-value { visibility:hidden; position:absolute; top:0; left:102%; width:4em; } .yui3-skin-sam .yui3-dial-north-mark{ position:absolute; border-left:2px solid #ccc; height:5px; width:10px; left:50%; top:-7px; font-size:1px; } .yui3-skin-sam .yui3-dial-marker { background-color:#000; opacity:0.2; font-size:1px; } .yui3-skin-sam .yui3-dial-marker-max-min{ background-color:#AB3232; opacity:0.6; } .yui3-skin-sam .yui3-dial-ring-vml, .yui3-skin-sam .yui3-dial-center-button-vml, .yui3-skin-sam .yui3-dial-marker v\:oval.yui3-dial-marker-max-min, .yui3-skin-sam v\:oval.yui3-dial-marker-max-min, .yui3-skin-sam .yui3-dial-marker-vml, .yui3-skin-sam .yui3-dial-handle-vml { background: none; opacity:1; }
jimmybyrum/cdnjs
ajax/libs/yui/3.17.0/dial/assets/skins/sam/dial-skin.css
CSS
mit
2,522
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ .yui3-button{display:inline-block;*display:inline;zoom:1;font-size:100%;*font-size:90%;*overflow:visible;padding:.4em 1em .45em;line-height:normal;white-space:nowrap;vertical-align:baseline;text-align:center;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#444;color:rgba(0,0,0,0.80);*color:#444;border:1px solid #999;border:none rgba(0,0,0,0);background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff',endColorstr='#00ffffff',GradientType=0);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.30)),color-stop(40%,rgba(255,255,255,0.15)),to(transparent));background-image:-webkit-linear-gradient(rgba(255,255,255,0.30),rgba(255,255,255,0.15) 40%,transparent);background-image:-moz-linear-gradient(top,rgba(255,255,255,0.30),rgba(255,255,255,0.15) 40%,transparent);background-image:-ms-linear-gradient(rgba(255,255,255,0.30),rgba(255,255,255,0.15) 40%,transparent);background-image:-o-linear-gradient(rgba(255,255,255,0.30),rgba(255,255,255,0.15) 40%,transparent);background-image:linear-gradient(rgba(255,255,255,0.30),rgba(255,255,255,0.15) 40%,transparent);text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.30) inset,0 1px 2px rgba(0,0,0,0.15);-moz-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.30) inset,0 1px 2px rgba(0,0,0,0.15);box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.30) inset,0 1px 2px rgba(0,0,0,0.15);-webkit-transition:.1s linear -webkit-box-shadow;-moz-transition:.1s linear -moz-box-shadow;-ms-transition:.1s linear box-shadow;-o-transition:.1s linear box-shadow;transition:.1s linear box-shadow}a.yui3-button{color:rgba(0,0,0,0.80);color:#444;text-decoration:none}.yui3-button-hover,.yui3-button:hover{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#26000000',GradientType=0);background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),color-stop(40%,rgba(0,0,0,0.05)),to(rgba(0,0,0,0.15)));background-image:-webkit-linear-gradient(transparent,rgba(0,0,0,0.05) 40%,rgba(0,0,0,0.15));background-image:-moz-linear-gradient(top,transparent,rgba(0,0,0,0.05) 40%,rgba(0,0,0,0.15));background-image:-ms-linear-gradient(transparent,rgba(0,0,0,0.05) 40%,rgba(0,0,0,0.15));background-image:-o-linear-gradient(transparent,rgba(0,0,0,0.05) 40%,rgba(0,0,0,0.15));background-image:linear-gradient(transparent,rgba(0,0,0,0.05) 40%,rgba(0,0,0,0.15))}.yui3-button-active,.yui3-button:active{border:inset 1px solid #999;border:none rgba(0,0,0,0);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1A000000',endColorstr='#26000000',GradientType=0);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.10)),to(rgba(0,0,0,0.15)));background-image:-webkit-linear-gradient(rgba(0,0,0,0.10),rgba(0,0,0,0.15));background-image:-moz-linear-gradient(top,rgba(0,0,0,0.10),rgba(0,0,0,0.15));background-image:-ms-linear-gradient(rgba(0,0,0,0.10),rgba(0,0,0,0.15));background-image:-o-linear-gradient(rgba(0,0,0,0.10),rgba(0,0,0,0.15));background-image:linear-gradient(rgba(0,0,0,0.10),rgba(0,0,0,0.15));-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 4px rgba(0,0,0,0.30) inset;-moz-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 4px rgba(0,0,0,0.30) inset;box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 4px rgba(0,0,0,0.30) inset}.yui3-button[disabled],.yui3-button-disabled,.yui3-button-disabled:hover,.yui3-button-disabled:active{cursor:default;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=55);-khtml-opacity:.55;-moz-opacity:.55;opacity:.55;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset;-moz-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset;box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset}.yui3-button-hidden{display:none}.yui3-button::-moz-focus-inner{padding:0;border:0}.yui3-button:-moz-focusring{outline:thin dotted}.yui3-skin-sam .yui3-button-primary,.yui3-skin-sam .yui3-button-selected{background-color:#345fcb;color:#fff;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.17) inset,0 1px 2px rgba(0,0,0,0.15);-moz-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.17) inset,0 1px 2px rgba(0,0,0,0.15);box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.17) inset,0 1px 2px rgba(0,0,0,0.15)}.yui3-skin-sam .yui3-button:-moz-focusring{outline-color:rgba(0,0,0,0.85)}.yui3-skin-night .yui3-button{border:0;background-color:#343536;color:#dcdcdc;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.15) inset,0 1px 2px rgba(0,0,0,0.15);-moz-box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.15) inset,0 1px 2px rgba(0,0,0,0.15);box-shadow:0 0 0 1px rgba(0,0,0,0.25) inset,0 2px 0 rgba(255,255,255,0.15) inset,0 1px 2px rgba(0,0,0,0.15)}.yui3-skin-night .yui3-button-primary,.yui3-skin-night .yui3-button-selected{background-color:#747576;text-shadow:0 1px 2px rgba(0,0,0,0.7)}.yui3-skin-night .yui3-button:-moz-focusring{outline-color:rgba(255,255,255,0.85)}#yui3-css-stamp.cssbutton{display:none}
ppoffice/cdnjs
ajax/libs/yui/3.17.0/cssbutton/cssbutton-min.css
CSS
mit
5,413
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/anim-xy/anim-xy.js']) { __coverage__['build/anim-xy/anim-xy.js'] = {"path":"build/anim-xy/anim-xy.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0},"b":{},"f":{"1":0,"2":0,"3":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":38}}},"2":{"name":"(anonymous_2)","line":13,"loc":{"start":{"line":13,"column":9},"end":{"line":13,"column":62}}},"3":{"name":"(anonymous_3)","line":19,"loc":{"start":{"line":19,"column":9},"end":{"line":19,"column":24}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":26,"column":57}},"2":{"start":{"line":10,"column":0},"end":{"line":10,"column":17}},"3":{"start":{"line":12,"column":0},"end":{"line":22,"column":2}},"4":{"start":{"line":14,"column":8},"end":{"line":17,"column":11}},"5":{"start":{"line":20,"column":8},"end":{"line":20,"column":34}}},"branchMap":{},"code":["(function () { YUI.add('anim-xy', function (Y, NAME) {","","/**"," * Adds support for the <code>xy</code> property in <code>from</code> and"," * <code>to</code> attributes."," * @module anim"," * @submodule anim-xy"," */","","var NUM = Number;","","Y.Anim.behaviors.xy = {"," set: function(anim, att, from, to, elapsed, duration, fn) {"," anim._node.setXY(["," fn(elapsed, NUM(from[0]), NUM(to[0]) - NUM(from[0]), duration),"," fn(elapsed, NUM(from[1]), NUM(to[1]) - NUM(from[1]), duration)"," ]);"," },"," get: function(anim) {"," return anim._node.getXY();"," }","};","","","","}, '3.17.0', {\"requires\": [\"anim-base\", \"node-screen\"]});","","}());"]}; } var __cov_vcW0xg39Nuqj8fkBcEjsLQ = __coverage__['build/anim-xy/anim-xy.js']; __cov_vcW0xg39Nuqj8fkBcEjsLQ.s['1']++;YUI.add('anim-xy',function(Y,NAME){__cov_vcW0xg39Nuqj8fkBcEjsLQ.f['1']++;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['2']++;var NUM=Number;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['3']++;Y.Anim.behaviors.xy={set:function(anim,att,from,to,elapsed,duration,fn){__cov_vcW0xg39Nuqj8fkBcEjsLQ.f['2']++;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['4']++;anim._node.setXY([fn(elapsed,NUM(from[0]),NUM(to[0])-NUM(from[0]),duration),fn(elapsed,NUM(from[1]),NUM(to[1])-NUM(from[1]),duration)]);},get:function(anim){__cov_vcW0xg39Nuqj8fkBcEjsLQ.f['3']++;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['5']++;return anim._node.getXY();}};},'3.17.0',{'requires':['anim-base','node-screen']});
iskitz/cdnjs
ajax/libs/yui/3.17.0/anim-xy/anim-xy-coverage.js
JavaScript
mit
2,571
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("datasource-get",function(e,t){var n=function(){n.superclass.constructor.apply(this,arguments)};e.DataSource.Get=e.extend(n,e.DataSource.Local,{_defRequestFn:function(t){var n=this.get("source"),r=this.get("get"),i=e.guid().replace(/\-/g,"_"),s=this.get("generateRequestCallback"),o=t.details[0],u=this;return this._last=i,YUI.Env.DataSource.callbacks[i]=function(n){delete YUI.Env.DataSource.callbacks[i],delete e.DataSource.Local.transactions[t.tId];var r=u.get("asyncMode")!=="ignoreStaleResponses"||u._last===i;r&&(o.data=n,u.fire("data",o))},n+=t.request+s.call(this,i),e.DataSource.Local.transactions[t.tId]=r.script(n,{autopurge:!0,onFailure:function(n){delete YUI.Env.DataSource.callbacks[i],delete e.DataSource.Local.transactions[t.tId],o.error=new Error(n.msg||"Script node data failure"),u.fire("data",o)},onTimeout:function(n){delete YUI.Env.DataSource.callbacks[i],delete e.DataSource.Local.transactions[t.tId],o.error=new Error(n.msg||"Script node data timeout"),u.fire("data",o)}}),t.tId},_generateRequest:function(e){return"&"+this.get("scriptCallbackParam")+"=YUI.Env.DataSource.callbacks."+e}},{NAME:"dataSourceGet",ATTRS:{get:{value:e.Get,cloneDefaultValue:!1},asyncMode:{value:"allowAll"},scriptCallbackParam:{value:"callback"},generateRequestCallback:{value:function(){return this._generateRequest.apply(this,arguments)}}}}),YUI.namespace("Env.DataSource.callbacks")},"3.17.0",{requires:["datasource-local","get"]});
hhbyyh/cdnjs
ajax/libs/yui/3.17.0/datasource-get/datasource-get-min.js
JavaScript
mit
1,591
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/attribute-complex/attribute-complex.js']) { __coverage__['build/attribute-complex/attribute-complex.js'] = {"path":"build/attribute-complex/attribute-complex.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0},"b":{},"f":{"1":0,"2":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":48}}},"2":{"name":"(anonymous_2)","line":14,"loc":{"start":{"line":14,"column":24},"end":{"line":14,"column":35}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":56,"column":47}},"2":{"start":{"line":12,"column":4},"end":{"line":12,"column":32}},"3":{"start":{"line":14,"column":4},"end":{"line":14,"column":38}},"4":{"start":{"line":15,"column":4},"end":{"line":50,"column":6}},"5":{"start":{"line":53,"column":4},"end":{"line":53,"column":43}}},"branchMap":{},"code":["(function () { YUI.add('attribute-complex', function (Y, NAME) {",""," /**"," * Adds support for attribute providers to handle complex attributes in the constructor"," *"," * @module attribute"," * @submodule attribute-complex"," * @for Attribute"," * @deprecated AttributeComplex's overrides are now part of AttributeCore."," */",""," var Attribute = Y.Attribute;",""," Attribute.Complex = function() {};"," Attribute.Complex.prototype = {",""," /**"," * Utility method to split out simple attribute name/value pairs (\"x\")"," * from complex attribute name/value pairs (\"x.y.z\"), so that complex"," * attributes can be keyed by the top level attribute name."," *"," * @method _normAttrVals"," * @param {Object} valueHash An object with attribute name/value pairs"," *"," * @return {Object} An object literal with 2 properties - \"simple\" and \"complex\","," * containing simple and complex attribute values respectively keyed"," * by the top level attribute name, or null, if valueHash is falsey."," *"," * @private"," */"," _normAttrVals : Attribute.prototype._normAttrVals,",""," /**"," * Returns the initial value of the given attribute from"," * either the default configuration provided, or the"," * over-ridden value if it exists in the set of initValues"," * provided and the attribute is not read-only."," *"," * @param {String} attr The name of the attribute"," * @param {Object} cfg The attribute configuration object"," * @param {Object} initValues The object with simple and complex attribute name/value pairs returned from _normAttrVals"," *"," * @return {Any} The initial value of the attribute."," *"," * @method _getAttrInitVal"," * @private"," */"," _getAttrInitVal : Attribute.prototype._getAttrInitVal",""," };",""," // Consistency with the rest of the Attribute addons for now."," Y.AttributeComplex = Attribute.Complex;","","","}, '3.17.0', {\"requires\": [\"attribute-base\"]});","","}());"]}; } var __cov_CggkyoCmV_99zCFiws4$GA = __coverage__['build/attribute-complex/attribute-complex.js']; __cov_CggkyoCmV_99zCFiws4$GA.s['1']++;YUI.add('attribute-complex',function(Y,NAME){__cov_CggkyoCmV_99zCFiws4$GA.f['1']++;__cov_CggkyoCmV_99zCFiws4$GA.s['2']++;var Attribute=Y.Attribute;__cov_CggkyoCmV_99zCFiws4$GA.s['3']++;Attribute.Complex=function(){__cov_CggkyoCmV_99zCFiws4$GA.f['2']++;};__cov_CggkyoCmV_99zCFiws4$GA.s['4']++;Attribute.Complex.prototype={_normAttrVals:Attribute.prototype._normAttrVals,_getAttrInitVal:Attribute.prototype._getAttrInitVal};__cov_CggkyoCmV_99zCFiws4$GA.s['5']++;Y.AttributeComplex=Attribute.Complex;},'3.17.0',{'requires':['attribute-base']});
brunoksato/cdnjs
ajax/libs/yui/3.17.0/attribute-complex/attribute-complex-coverage.js
JavaScript
mit
3,952
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang['ug']={"editor":"تەھرىرلىگۈچ","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"ALT+0 نى بېسىپ ياردەمنى كۆرۈڭ","browseServer":"كۆرسىتىش مۇلازىمېتىر","url":"ئەسلى ھۆججەت","protocol":"كېلىشىم","upload":"يۈكلە","uploadSubmit":"مۇلازىمېتىرغا يۈكلە","image":"سۈرەت","flash":"Flash","form":"جەدۋەل","checkbox":"كۆپ تاللاش رامكىسى","radio":"يەككە تاللاش توپچىسى","textField":"يەككە قۇر تېكىست","textarea":"كۆپ قۇر تېكىست","hiddenField":"يوشۇرۇن دائىرە","button":"توپچا","select":"تىزىم/تىزىملىك","imageButton":"سۈرەت دائىرە","notSet":"‹تەڭشەلمىگەن›","id":"ID","name":"ئات","langDir":"تىل يۆنىلىشى","langDirLtr":"سولدىن ئوڭغا (LTR)","langDirRtl":"ئوڭدىن سولغا (RTL)","langCode":"تىل كودى","longDescr":"تەپسىلىي چۈشەندۈرۈش ئادرېسى","cssClass":"ئۇسلۇب خىلىنىڭ ئاتى","advisoryTitle":"ماۋزۇ","cssStyle":"قۇر ئىچىدىكى ئۇسلۇبى","ok":"جەزملە","cancel":"ۋاز كەچ","close":"تاقا","preview":"ئالدىن كۆزەت","resize":"چوڭلۇقىنى ئۆزگەرت","generalTab":"ئادەتتىكى","advancedTab":"ئالىي","validateNumberFailed":"سان پىچىمىدا كىرگۈزۈش زۆرۈر","confirmNewPage":"نۆۋەتتىكى پۈتۈك مەزمۇنى ساقلانمىدى، يېڭى پۈتۈك قۇرامسىز؟","confirmCancel":"قىسمەن ئۆزگەرتىش ساقلانمىدى، بۇ سۆزلەشكۈنى تاقامسىز؟","options":"تاللانما","target":"نىشان كۆزنەك","targetNew":"يېڭى كۆزنەك (_blank)","targetTop":"پۈتۈن بەت (_top)","targetSelf":"مەزكۇر كۆزنەك (_self)","targetParent":"ئاتا كۆزنەك (_parent)","langDirLTR":"سولدىن ئوڭغا (LTR)","langDirRTL":"ئوڭدىن سولغا (RTL)","styles":"ئۇسلۇبلار","cssClasses":"ئۇسلۇب خىللىرى","width":"كەڭلىك","height":"ئېگىزلىك","align":"توغرىلىنىشى","alignLeft":"سول","alignRight":"ئوڭ","alignCenter":"ئوتتۇرا","alignTop":"ئۈستى","alignMiddle":"ئوتتۇرا","alignBottom":"ئاستى","alignNone":"None","invalidValue":"ئىناۋەتسىز قىممەت.","invalidHeight":"ئېگىزلىك چوقۇم رەقەم پىچىمىدا بولۇشى زۆرۈر","invalidWidth":"كەڭلىك چوقۇم رەقەم پىچىمىدا بولۇشى زۆرۈر","invalidCssLength":"بۇ سۆز بۆلىكى چوقۇم مۇۋاپىق بولغان CSS ئۇزۇنلۇق قىممىتى بولۇشى زۆرۈر، بىرلىكى (px, %, in, cm, mm, em, ex, pt ياكى pc)","invalidHtmlLength":"بۇ سۆز بۆلىكى چوقۇم بىرىكمە HTML ئۇزۇنلۇق قىممىتى بولۇشى كېرەك. ئۆز ئىچىگە ئالىدىغان بىرلىك (px ياكى %)","invalidInlineStyle":"ئىچكى باغلانما ئۇسلۇبى چوقۇم چېكىتلىك پەش بىلەن ئايرىلغان بىر ياكى كۆپ «خاسلىق ئاتى:خاسلىق قىممىتى» پىچىمىدا بولۇشى لازىم","cssLengthTooltip":"بۇ سۆز بۆلىكى بىرىكمە CSS ئۇزۇنلۇق قىممىتى بولۇشى كېرەك. ئۆز ئىچىگە ئالىدىغان بىرلىك (px, %, in, cm, mm, em, ex, pt ياكى pc)","unavailable":"%1<span class=\\\\\"cke_accessibility\\\\\">، ئىشلەتكىلى بولمايدۇ</span>"},"about":{"copy":"Copyright &copy; $1. نەشر ھوقۇقىغا ئىگە","dlgTitle":"CKEditor ھەققىدە","help":"$1 نى زىيارەت قىلىپ ياردەمگە ئېرىشىڭ","moreInfo":"تور تۇرايىمىزنى زىيارەت قىلىپ كېلىشىمگە ئائىت تېخىمۇ كۆپ ئۇچۇرغا ئېرىشىڭ","title":"CKEditor ھەققىدە","userGuide":"CKEditor ئىشلەتكۈچى قوللانمىسى"},"basicstyles":{"bold":"توم","italic":"يانتۇ","strike":"ئۆچۈرۈش سىزىقى","subscript":"تۆۋەن ئىندېكس","superscript":"يۇقىرى ئىندېكس","underline":"ئاستى سىزىق"},"bidi":{"ltr":"تېكىست يۆنىلىشى سولدىن ئوڭغا","rtl":"تېكىست يۆنىلىشى ئوڭدىن سولغا"},"blockquote":{"toolbar":"بۆلەك نەقىل"},"clipboard":{"copy":"نەشر ھوقۇقىغا ئىگە بەلگىسى","copyError":"تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كۆچۈر مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+C) ئارقىلىق تاماملاڭ","cut":"كەس","cutError":"تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كەس مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا يول قويمايدۇ، ھەرپتاختا تېز كۇنۇپكا (Ctrl/Cmd+X) ئارقىلىق تاماملاڭ","paste":"چاپلا","pasteArea":"چاپلاش دائىرىسى","pasteMsg":"ھەرپتاختا تېز كۇنۇپكا (<STRONG>Ctrl/Cmd+V</STRONG>) نى ئىشلىتىپ مەزمۇننى تۆۋەندىكى رامكىغا كۆچۈرۈڭ، ئاندىن <STRONG>جەزملە</STRONG>نى بېسىڭ","securityMsg":"توركۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى سەۋەبىدىن بۇ تەھرىرلىگۈچ چاپلاش تاختىسىدىكى مەزمۇننى بىۋاستە زىيارەت قىلالمايدۇ، بۇ كۆزنەكتە قايتا بىر قېتىم چاپلىشىڭىز كېرەك.","title":"چاپلا"},"button":{"selectedLabel":"%1 (Selected)"},"colorbutton":{"auto":"ئۆزلۈكىدىن","bgColorTitle":"تەگلىك رەڭگى","colors":{"000":"قارا","800000":"قىزغۇچ سېرىق","8B4513":"توق قوڭۇر","2F4F4F":"قارامتۇل يېشىل","008080":"كۆكۈش يېشىل","000080":"قارامتۇل كۆك","4B0082":"كۆكۈش كۈلرەڭ","696969":"قارامتۇل كۈلرەڭ","B22222":"خىش قىزىل","A52A2A":"قوڭۇر","DAA520":"ئالتۇن سېرىق","006400":"توق يېشىل","40E0D0":"كۆكۈچ يېشىل","0000CD":"ئوتتۇراھال كۆك","800080":"بىنەپشە","808080":"كۈلرەڭ","F00":"قىزىل","FF8C00":"توق قىزغۇچ سېرىق","FFD700":"ئالتۇن","008000":"يېشىل","0FF":"يېشىل كۆك","00F":"كۆك","EE82EE":"قىزغۇچ بىنەپشە","A9A9A9":"توق كۈلرەڭ","FFA07A":"كاۋا چېچىكى سېرىق","FFA500":"قىزغۇچ سېرىق","FFFF00":"سېرىق","00FF00":"Lime","AFEEEE":"سۇس ھاۋا رەڭ","ADD8E6":"ئوچۇق كۆك","DDA0DD":"قىزغۇچ بىنەپشە","D3D3D3":"سۇس كۆكۈچ كۈلرەڭ","FFF0F5":"سۇس قىزغۇچ بىنەپشە","FAEBD7":"Antique White","FFFFE0":"سۇس سېرىق","F0FFF0":"Honeydew","F0FFFF":"ئاسمان كۆكى","F0F8FF":"سۇس كۆك","E6E6FA":"سۇس بىنەپشە","FFF":"ئاق"},"more":"باشقا رەڭ","panelTitle":"رەڭ","textColorTitle":"تېكىست رەڭگى"},"colordialog":{"clear":"تازىلا","highlight":"يورۇت","options":"رەڭ تاللانمىسى","selected":"رەڭ تاللاڭ","title":"رەڭ تاللاڭ"},"templates":{"button":"قېلىپ","emptyListMsg":"(قېلىپ يوق)","insertOption":"نۆۋەتتىكى مەزمۇننى ئالماشتۇر","options":"قېلىپ تاللانمىسى","selectPromptMsg":"تەھرىرلىگۈچنىڭ مەزمۇن قېلىپىنى تاللاڭ:","title":"مەزمۇن قېلىپى"},"contextmenu":{"options":"قىسقا يول تىزىملىك تاللانمىسى"},"div":{"IdInputLabel":"ID","advisoryTitleInputLabel":"ماۋزۇ","cssClassInputLabel":"ئۇسلۇب تىپىنىڭ ئاتى","edit":"DIV تەھرىر","inlineStyleInputLabel":"قۇر ئىچىدىكى ئۇسلۇبى","langDirLTRLabel":"سولدىن ئوڭغا (LTR)","langDirLabel":"تىل يۆنىلىشى","langDirRTLLabel":"ئوڭدىن سولغا (RTL)","languageCodeInputLabel":"تىل كودى","remove":"DIV چىقىرىۋەت","styleSelectLabel":"ئۇسلۇب","title":"DIV قاچا قۇر","toolbar":"DIV قاچا قۇر"},"toolbar":{"toolbarCollapse":"قورال بالداقنى قاتلا","toolbarExpand":"قورال بالداقنى ياي","toolbarGroups":{"document":"پۈتۈك","clipboard":"چاپلاش تاختىسى/يېنىۋال","editing":"تەھرىر","forms":"جەدۋەل","basicstyles":"ئاساسىي ئۇسلۇب","paragraph":"ئابزاس","links":"ئۇلانما","insert":"قىستۇر","styles":"ئۇسلۇب","colors":"رەڭ","tools":"قورال"},"toolbars":"قورال بالداق"},"elementspath":{"eleLabel":"ئېلېمېنت يولى","eleTitle":"%1 ئېلېمېنت"},"find":{"find":"ئىزدە","findOptions":"ئىزدەش تاللانمىسى","findWhat":"ئىزدە:","matchCase":"چوڭ كىچىك ھەرپنى پەرقلەندۈر","matchCyclic":"ئايلانما ماسلىشىش","matchWord":"پۈتۈن سۆز ماسلىشىش","notFoundMsg":"بەلگىلەنگەن تېكىستنى تاپالمىدى","replace":"ئالماشتۇر","replaceAll":"ھەممىنى ئالماشتۇر","replaceSuccessMsg":"جەمئى %1 جايدىكى ئالماشتۇرۇش تاماملاندى","replaceWith":"ئالماشتۇر:","title":"ئىزدەپ ئالماشتۇر"},"fakeobjects":{"anchor":"لەڭگەرلىك نۇقتا","flash":"Flash جانلاندۇرۇم","hiddenfield":"يوشۇرۇن دائىرە","iframe":"IFrame","unknown":"يوچۇن نەڭ"},"flash":{"access":"قوليازما زىيارەتكە يول قوي","accessAlways":"ھەمىشە","accessNever":"ھەرگىز","accessSameDomain":"ئوخشاش دائىرىدە","alignAbsBottom":"مۇتلەق ئاستى","alignAbsMiddle":"مۇتلەق ئوتتۇرا","alignBaseline":"ئاساسىي سىزىق","alignTextTop":"تېكىست ئۈستىدە","bgcolor":"تەگلىك رەڭگى","chkFull":"پۈتۈن ئېكراننى قوزغات","chkLoop":"دەۋرىي","chkMenu":"Flash تىزىملىكنى قوزغات","chkPlay":"ئۆزلۈكىدىن چال","flashvars":"Flash ئۆزگەرگۈچى","hSpace":"توغرىسىغا ئارىلىق","properties":"Flash خاسلىق","propertiesTab":"خاسلىق","quality":"سۈپەت","qualityAutoHigh":"يۇقىرى (ئاپتوماتىك)","qualityAutoLow":"تۆۋەن (ئاپتوماتىك)","qualityBest":"ئەڭ ياخشى","qualityHigh":"يۇقىرى","qualityLow":"تۆۋەن","qualityMedium":"ئوتتۇرا (ئاپتوماتىك)","scale":"نىسبىتى","scaleAll":"ھەممىنى كۆرسەت","scaleFit":"قەتئىي ماسلىشىش","scaleNoBorder":"گىرۋەك يوق","title":"ماۋزۇ","vSpace":"بويىغا ئارىلىق","validateHSpace":"توغرىسىغا ئارىلىق چوقۇم سان بولىدۇ","validateSrc":"ئەسلى ھۆججەت ئادرېسىنى كىرگۈزۈڭ","validateVSpace":"بويىغا ئارىلىق چوقۇم سان بولىدۇ","windowMode":"كۆزنەك ھالىتى","windowModeOpaque":"خىرە","windowModeTransparent":"سۈزۈك","windowModeWindow":"كۆزنەك گەۋدىسى"},"font":{"fontSize":{"label":"چوڭلۇقى","voiceLabel":"خەت چوڭلۇقى","panelTitle":"چوڭلۇقى"},"label":"خەت نۇسخا","panelTitle":"خەت نۇسخا","voiceLabel":"خەت نۇسخا"},"forms":{"button":{"title":"توپچا خاسلىقى","text":"بەلگە (قىممەت)","type":"تىپى","typeBtn":"توپچا","typeSbm":"تاپشۇر","typeRst":"ئەسلىگە قايتۇر"},"checkboxAndRadio":{"checkboxTitle":"كۆپ تاللاش خاسلىقى","radioTitle":"تاق تاللاش توپچا خاسلىقى","value":"تاللىغان قىممەت","selected":"تاللانغان"},"form":{"title":"جەدۋەل خاسلىقى","menu":"جەدۋەل خاسلىقى","action":"مەشغۇلات","method":"ئۇسۇل","encoding":"جەدۋەل كودلىنىشى"},"hidden":{"title":"يوشۇرۇن دائىرە خاسلىقى","name":"ئات","value":"دەسلەپكى قىممىتى"},"select":{"title":"جەدۋەل/تىزىم خاسلىقى","selectInfo":"ئۇچۇر تاللاڭ","opAvail":"تاللاش تۈرلىرى","value":"قىممەت","size":"ئېگىزلىكى","lines":"قۇر","chkMulti":"كۆپ تاللاشچان","opText":"تاللانما تېكىستى","opValue":"تاللانما قىممىتى","btnAdd":"قوش","btnModify":"ئۆزگەرت","btnUp":"ئۈستىگە","btnDown":"ئاستىغا","btnSetValue":"دەسلەپكى تاللانما قىممىتىگە تەڭشە","btnDelete":"ئۆچۈر"},"textarea":{"title":" كۆپ قۇرلۇق تېكىست خاسلىقى","cols":"ھەرپ كەڭلىكى","rows":"قۇر سانى"},"textfield":{"title":"تاق قۇرلۇق تېكىست خاسلىقى","name":"ئات","value":"دەسلەپكى قىممىتى","charWidth":"ھەرپ كەڭلىكى","maxChars":"ئەڭ كۆپ ھەرپ سانى","type":"تىپى","typeText":"تېكىست","typePass":"ئىم","typeEmail":"تورخەت","typeSearch":"ئىزدە","typeTel":"تېلېفون نومۇر","typeUrl":"ئادرېس"}},"format":{"label":"پىچىم","panelTitle":"پىچىم","tag_address":"ئادرېس","tag_div":"ئابزاس (DIV)","tag_h1":"ماۋزۇ 1","tag_h2":"ماۋزۇ 2","tag_h3":"ماۋزۇ 3","tag_h4":"ماۋزۇ 4","tag_h5":"ماۋزۇ 5","tag_h6":"ماۋزۇ 6","tag_p":"ئادەتتىكى","tag_pre":"تىزىلغان پىچىم"},"horizontalrule":{"toolbar":"توغرا سىزىق قىستۇر"},"iframe":{"border":"كاندۇك گىرۋەكلىرىنى كۆرسەت","noUrl":"كاندۇكنىڭ ئادرېسى(Url)نى كىرگۈزۈڭ","scrolling":"دومىلىما سۈرگۈچكە يول قوي","title":"IFrame خاسلىق","toolbar":"IFrame "},"image":{"alertUrl":"سۈرەت ئادرېسىنى كىرگۈزۈڭ","alt":"تېكىست ئالماشتۇر","border":"گىرۋەك چوڭلۇقى","btnUpload":"مۇلازىمېتىرغا يۈكلە","button2Img":"نۆۋەتتىكى توپچىنى سۈرەتكە ئۆزگەرتەمسىز؟","hSpace":"توغرىسىغا ئارىلىقى","img2Button":"نۆۋەتتىكى سۈرەتنى توپچىغا ئۆزگەرتەمسىز؟","infoTab":"سۈرەت","linkTab":"ئۇلانما","lockRatio":"نىسبەتنى قۇلۇپلا","menu":"سۈرەت خاسلىقى","resetSize":"ئەسلى چوڭلۇق","title":"سۈرەت خاسلىقى","titleButton":"سۈرەت دائىرە خاسلىقى","upload":"يۈكلە","urlMissing":"سۈرەتنىڭ ئەسلى ھۆججەت ئادرېسى كەم","vSpace":"بويىغا ئارىلىقى","validateBorder":"گىرۋەك چوڭلۇقى چوقۇم سان بولىدۇ","validateHSpace":"توغرىسىغا ئارىلىق چوقۇم پۈتۈن سان بولىدۇ","validateVSpace":"بويىغا ئارىلىق چوقۇم پۈتۈن سان بولىدۇ"},"indent":{"indent":"تارايت","outdent":"كەڭەيت"},"smiley":{"options":"چىراي ئىپادە سىنبەلگە تاللانمىسى","title":"چىراي ئىپادە سىنبەلگە قىستۇر","toolbar":"چىراي ئىپادە"},"justify":{"block":"ئىككى تەرەپتىن توغرىلا","center":"ئوتتۇرىغا توغرىلا","left":"سولغا توغرىلا","right":"ئوڭغا توغرىلا"},"language":{"button":"Set language","remove":"Remove language"},"link":{"acccessKey":"زىيارەت كۇنۇپكا","advanced":"ئالىي","advisoryContentType":"مەزمۇن تىپى","advisoryTitle":"ماۋزۇ","anchor":{"toolbar":"لەڭگەرلىك نۇقتا ئۇلانمىسى قىستۇر/تەھرىرلە","menu":"لەڭگەرلىك نۇقتا ئۇلانما خاسلىقى","title":"لەڭگەرلىك نۇقتا ئۇلانما خاسلىقى","name":"لەڭگەرلىك نۇقتا ئاتى","errorName":"لەڭگەرلىك نۇقتا ئاتىنى كىرگۈزۈڭ","remove":"لەڭگەرلىك نۇقتا ئۆچۈر"},"anchorId":"لەڭگەرلىك نۇقتا ID سى بويىچە","anchorName":"لەڭگەرلىك نۇقتا ئاتى بويىچە","charset":"ھەرپ كودلىنىشى","cssClasses":"ئۇسلۇب خىلى ئاتى","emailAddress":"ئادرېس","emailBody":"مەزمۇن","emailSubject":"ماۋزۇ","id":"ID","info":"ئۇلانما ئۇچۇرى","langCode":"تىل كودى","langDir":"تىل يۆنىلىشى","langDirLTR":"سولدىن ئوڭغا (LTR)","langDirRTL":"ئوڭدىن سولغا (RTL)","menu":"ئۇلانما تەھرىر","name":"ئات","noAnchors":"(بۇ پۈتۈكتە ئىشلەتكىلى بولىدىغان لەڭگەرلىك نۇقتا يوق)","noEmail":"ئېلخەت ئادرېسىنى كىرگۈزۈڭ","noUrl":"ئۇلانما ئادرېسىنى كىرگۈزۈڭ","other":"‹باشقا›","popupDependent":"تەۋە (NS)","popupFeatures":"قاڭقىش كۆزنەك خاسلىقى","popupFullScreen":"پۈتۈن ئېكران (IE)","popupLeft":"سول","popupLocationBar":"ئادرېس بالداق","popupMenuBar":"تىزىملىك بالداق","popupResizable":"چوڭلۇقى ئۆزگەرتىشچان","popupScrollBars":"دومىلىما سۈرگۈچ","popupStatusBar":"ھالەت بالداق","popupToolbar":"قورال بالداق","popupTop":"ئوڭ","rel":"باغلىنىش","selectAnchor":"بىر لەڭگەرلىك نۇقتا تاللاڭ","styles":"قۇر ئىچىدىكى ئۇسلۇبى","tabIndex":"Tab تەرتىپى","target":"نىشان","targetFrame":"‹كاندۇك›","targetFrameName":"نىشان كاندۇك ئاتى","targetPopup":"‹قاڭقىش كۆزنەك›","targetPopupName":"قاڭقىش كۆزنەك ئاتى","title":"ئۇلانما","toAnchor":"بەت ئىچىدىكى لەڭگەرلىك نۇقتا ئۇلانمىسى","toEmail":"ئېلخەت","toUrl":"ئادرېس","toolbar":"ئۇلانما قىستۇر/تەھرىرلە","type":"ئۇلانما تىپى","unlink":"ئۇلانما بىكار قىل","upload":"يۈكلە"},"list":{"bulletedlist":"تۈر بەلگە تىزىمى","numberedlist":"تەرتىپ نومۇر تىزىمى"},"liststyle":{"armenian":"قەدىمكى ئەرمىنىيە تەرتىپ نومۇرى شەكلى","bulletedTitle":"تۈر بەلگە تىزىم خاسلىقى","circle":"بوش چەمبەر","decimal":"سان (1, 2, 3 قاتارلىق)","decimalLeadingZero":"نۆلدىن باشلانغان سان بەلگە (01, 02, 03 قاتارلىق)","disc":"تولدۇرۇلغان چەمبەر","georgian":"قەدىمكى جورجىيە تەرتىپ نومۇرى شەكلى (an, ban, gan قاتارلىق)","lowerAlpha":"ئىنگلىزچە كىچىك ھەرپ (a, b, c, d, e قاتارلىق)","lowerGreek":"گرېكچە كىچىك ھەرپ (alpha, beta, gamma قاتارلىق)","lowerRoman":"كىچىك ھەرپلىك رىم رەقىمى (i, ii, iii, iv, v قاتارلىق)","none":"بەلگە يوق","notset":"‹تەڭشەلمىگەن›","numberedTitle":"تەرتىپ نومۇر تىزىم خاسلىقى","square":"تولدۇرۇلغان تۆت چاسا","start":"باشلىنىش نومۇرى","type":"بەلگە تىپى","upperAlpha":"ئىنگلىزچە چوڭ ھەرپ (A, B, C, D, E قاتارلىق)","upperRoman":"چوڭ ھەرپلىك رىم رەقىمى (I, II, III, IV, V قاتارلىق)","validateStartNumber":"تىزىم باشلىنىش تەرتىپ نومۇرى چوقۇم پۈتۈن سان پىچىمىدا بولۇشى لازىم"},"magicline":{"title":"بۇ جايغا ئابزاس قىستۇر"},"maximize":{"maximize":"چوڭايت","minimize":"كىچىكلەت"},"newpage":{"toolbar":"يېڭى بەت"},"pagebreak":{"alt":"بەت ئايرىغۇچ","toolbar":"بەت ئايرىغۇچ قىستۇر"},"pastetext":{"button":"پىچىمى يوق تېكىست سۈپىتىدە چاپلا","title":"پىچىمى يوق تېكىست سۈپىتىدە چاپلا"},"pastefromword":{"confirmCleanup":"سىز چاپلىماقچى بولغان مەزمۇن MS Word تىن كەلگەندەك قىلىدۇ، MS Word پىچىمىنى تازىلىۋەتكەندىن كېيىن ئاندىن چاپلامدۇ؟","error":"ئىچكى خاتالىق سەۋەبىدىن چاپلايدىغان سانلىق مەلۇماتنى تازىلىيالمايدۇ","title":"MS Word تىن چاپلا","toolbar":"MS Word تىن چاپلا"},"preview":{"preview":"ئالدىن كۆزەت"},"print":{"toolbar":"باس "},"removeformat":{"toolbar":"پىچىمنى چىقىرىۋەت"},"save":{"toolbar":"ساقلا"},"selectall":{"toolbar":"ھەممىنى تاللا"},"showblocks":{"toolbar":"بۆلەكنى كۆرسەت"},"sourcearea":{"toolbar":"مەنبە"},"specialchar":{"options":"ئالاھىدە ھەرپ تاللانمىسى","title":"ئالاھىدە ھەرپ تاللاڭ","toolbar":"ئالاھىدە ھەرپ قىستۇر"},"scayt":{"btn_about":"شۇئان ئىملا تەكشۈرۈش ھەققىدە","btn_dictionaries":"لۇغەت","btn_disable":"شۇئان ئىملا تەكشۈرۈشنى چەكلە","btn_enable":"شۇئان ئىملا تەكشۈرۈشنى قوزغات","btn_langs":"تىل","btn_options":"تاللانما","text_title":""},"stylescombo":{"label":"ئۇسلۇب","panelTitle":"ئۇسلۇب","panelTitle1":"بۆلەك دەرىجىسىدىكى ئېلېمېنت ئۇسلۇبى","panelTitle2":"ئىچكى باغلانما ئېلېمېنت ئۇسلۇبى","panelTitle3":"نەڭ (Object) ئېلېمېنت ئۇسلۇبى"},"table":{"border":"گىرۋەك","caption":"ماۋزۇ","cell":{"menu":"كاتەكچە","insertBefore":"سولغا كاتەكچە قىستۇر","insertAfter":"ئوڭغا كاتەكچە قىستۇر","deleteCell":"كەتەكچە ئۆچۈر","merge":"كاتەكچە بىرلەشتۈر","mergeRight":"كاتەكچىنى ئوڭغا بىرلەشتۈر","mergeDown":"كاتەكچىنى ئاستىغا بىرلەشتۈر","splitHorizontal":"كاتەكچىنى توغرىسىغا بىرلەشتۈر","splitVertical":"كاتەكچىنى بويىغا بىرلەشتۈر","title":"كاتەكچە خاسلىقى","cellType":"كاتەكچە تىپى","rowSpan":"بويىغا چات ئارىسى قۇر سانى","colSpan":"توغرىسىغا چات ئارىسى ئىستون سانى","wordWrap":"ئۆزلۈكىدىن قۇر قاتلا","hAlign":"توغرىسىغا توغرىلا","vAlign":"بويىغا توغرىلا","alignBaseline":"ئاساسىي سىزىق","bgColor":"تەگلىك رەڭگى","borderColor":"گىرۋەك رەڭگى","data":"سانلىق مەلۇمات","header":"جەدۋەل باشى","yes":"ھەئە","no":"ياق","invalidWidth":"كاتەكچە كەڭلىكى چوقۇم سان بولىدۇ","invalidHeight":"كاتەكچە ئېگىزلىكى چوقۇم سان بولىدۇ","invalidRowSpan":"قۇر چات ئارىسى چوقۇم پۈتۈن سان بولىدۇ ","invalidColSpan":"ئىستون چات ئارىسى چوقۇم پۈتۈن سان بولىدۇ","chooseColor":"تاللاڭ"},"cellPad":"يان ئارىلىق","cellSpace":"ئارىلىق","column":{"menu":"ئىستون","insertBefore":"سولغا ئىستون قىستۇر","insertAfter":"ئوڭغا ئىستون قىستۇر","deleteColumn":"ئىستون ئۆچۈر"},"columns":"ئىستون سانى","deleteTable":"جەدۋەل ئۆچۈر","headers":"ماۋزۇ كاتەكچە","headersBoth":"بىرىنچى ئىستون ۋە بىرىنچى قۇر","headersColumn":"بىرىنچى ئىستون","headersNone":"يوق","headersRow":"بىرىنچى قۇر","invalidBorder":"گىرۋەك توملۇقى چوقۇم سان بولىدۇ","invalidCellPadding":"كاتەكچىگە چوقۇم سان تولدۇرۇلىدۇ","invalidCellSpacing":"كاتەكچە ئارىلىقى چوقۇم سان بولىدۇ","invalidCols":"بەلگىلەنگەن قۇر سانى چوقۇم نۆلدىن چوڭ بولىدۇ","invalidHeight":"جەدۋەل ئېگىزلىكى چوقۇم سان بولىدۇ","invalidRows":"بەلگىلەنگەن ئىستون سانى چوقۇم نۆلدىن چوڭ بولىدۇ","invalidWidth":"جەدۋەل كەڭلىكى چوقۇم سان بولىدۇ","menu":"جەدۋەل خاسلىقى","row":{"menu":"قۇر","insertBefore":"ئۈستىگە قۇر قىستۇر","insertAfter":"ئاستىغا قۇر قىستۇر","deleteRow":"قۇر ئۆچۈر"},"rows":"قۇر سانى","summary":"ئۈزۈندە","title":"جەدۋەل خاسلىقى","toolbar":"جەدۋەل","widthPc":"پىرسەنت","widthPx":"پىكسېل","widthUnit":"كەڭلىك بىرلىكى"},"undo":{"redo":"قايتىلا ","undo":"يېنىۋال"},"wsc":{"btnIgnore":"پەرۋا قىلما","btnIgnoreAll":"ھەممىگە پەرۋا قىلما","btnReplace":"ئالماشتۇر","btnReplaceAll":"ھەممىنى ئالماشتۇر","btnUndo":"يېنىۋال","changeTo":"ئۆزگەرت","errorLoading":"لازىملىق مۇلازىمېتىرنى يۈكلىگەندە خاتالىق كۆرۈلدى: %s.","ieSpellDownload":"ئىملا تەكشۈرۈش قىستۇرمىسى تېخى ئورنىتىلمىغان، ھازىرلا چۈشۈرەمسىز؟","manyChanges":"ئىملا تەكشۈرۈش تامام: %1 سۆزنى ئۆزگەرتتى","noChanges":"ئىملا تەكشۈرۈش تامام: ھېچقانداق سۆزنى ئۆزگەرتمىدى","noMispell":"ئىملا تەكشۈرۈش تامام: ئىملا خاتالىقى بايقالمىدى","noSuggestions":"-تەكلىپ يوق-","notAvailable":"كەچۈرۈڭ، مۇلازىمېتىرنى ۋاقتىنچە ئىشلەتكىلى بولمايدۇ","notInDic":"لۇغەتتە يوق","oneChange":"ئىملا تەكشۈرۈش تامام: بىر سۆزنى ئۆزگەرتتى","progress":"ئىملا تەكشۈرۈۋاتىدۇ…","title":"ئىملا تەكشۈر","toolbar":"ئىملا تەكشۈر"}};
mikelambert/cdnjs
ajax/libs/ckeditor/4.4.2/lang/ug.js
JavaScript
mit
25,929
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('loader-rollup', function (Y, NAME) { /** * Optional automatic rollup logic for reducing http connections * when not using a combo service. * @module loader * @submodule rollup */ /** * Look for rollup packages to determine if all of the modules a * rollup supersedes are required. If so, include the rollup to * help reduce the total number of connections required. Called * by calculate(). This is an optional feature, and requires the * appropriate submodule to function. * @method _rollup * @for Loader * @private */ Y.Loader.prototype._rollup = function() { var i, j, m, s, r = this.required, roll, info = this.moduleInfo, rolled, c, smod; // find and cache rollup modules if (this.dirty || !this.rollups) { this.rollups = {}; for (i in info) { if (info.hasOwnProperty(i)) { m = this.getModule(i); // if (m && m.rollup && m.supersedes) { if (m && m.rollup) { this.rollups[i] = m; } } } } // make as many passes as needed to pick up rollup rollups for (;;) { rolled = false; // go through the rollup candidates for (i in this.rollups) { if (this.rollups.hasOwnProperty(i)) { // there can be only one, unless forced if (!r[i] && ((!this.loaded[i]) || this.forceMap[i])) { m = this.getModule(i); s = m.supersedes || []; roll = false; // @TODO remove continue if (!m.rollup) { continue; } c = 0; // check the threshold for (j = 0; j < s.length; j++) { smod = info[s[j]]; // if the superseded module is loaded, we can't // load the rollup unless it has been forced. if (this.loaded[s[j]] && !this.forceMap[s[j]]) { roll = false; break; // increment the counter if this module is required. // if we are beyond the rollup threshold, we will // use the rollup module } else if (r[s[j]] && m.type === smod.type) { c++; // Y.log("adding to thresh: " + c + ", " + s[j]); roll = (c >= m.rollup); if (roll) { // Y.log("over thresh " + c + ", " + s[j]); break; } } } if (roll) { // Y.log("adding rollup: " + i); // add the rollup r[i] = true; rolled = true; // expand the rollup's dependencies this.getRequires(m); } } } } // if we made it here w/o rolling up something, we are done if (!rolled) { break; } } }; }, '@VERSION@', {"requires": ["loader-base"]});
tonytlwu/cdnjs
ajax/libs/yui/3.17.0/loader-rollup/loader-rollup-debug.js
JavaScript
mit
3,528
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("base-core",function(e,t){function v(e){this._BaseInvoked||(this._BaseInvoked=!0,this._initBase(e))}var n=e.Object,r=e.Lang,i=".",s="initialized",o="destroyed",u="initializer",a="value",f=Object.prototype.constructor,l="deep",c="shallow",h="destructor",p=e.AttributeCore,d=function(e,t,n){var r;for(r in t)n[r]&&(e[r]=t[r]);return e};v._ATTR_CFG=p._ATTR_CFG.concat("cloneDefaultValue"),v._NON_ATTRS_CFG=["plugins"],v.NAME="baseCore",v.ATTRS={initialized:{readOnly:!0,value:!1},destroyed:{readOnly:!0,value:!1}},v.modifyAttrs=function(t,n){typeof t!="function"&&(n=t,t=this);var r,i,s;r=t.ATTRS||(t.ATTRS={});if(n){t._CACHED_CLASS_DATA=null;for(s in n)n.hasOwnProperty(s)&&(i=r[s]||(r[s]={}),e.mix(i,n[s],!0))}},v.prototype={_initBase:function(t){e.stamp(this),this._initAttribute(t);var n=e.Plugin&&e.Plugin.Host;this._initPlugins&&n&&n.call(this),this._lazyAddAttrs!==!1&&(this._lazyAddAttrs=!0),this.name=this.constructor.NAME,this.init.apply(this,arguments)},_initAttribute:function(){p.call(this)},init:function(e){return this._baseInit(e),this},_baseInit:function(e){this._initHierarchy(e),this._initPlugins&&this._initPlugins(e),this._set(s,!0)},destroy:function(){return this._baseDestroy(),this},_baseDestroy:function(){this._destroyPlugins&&this._destroyPlugins(),this._destroyHierarchy(),this._set(o,!0)},_getClasses:function(){return this._classes||this._initHierarchyData(),this._classes},_getAttrCfgs:function(){return this._attrs||this._initHierarchyData(),this._attrs},_getInstanceAttrCfgs:function(e){var t={},r,i,s,o,u,a,f,l=e._subAttrs,c=this._attrCfgHash();for(a in e)if(e.hasOwnProperty(a)&&a!=="_subAttrs"){f=e[a],r=t[a]=d({},f,c),i=r.value,i&&typeof i=="object"&&this._cloneDefaultValue(a,r);if(l&&l.hasOwnProperty(a)){o=e._subAttrs[a];for(u in o)s=o[u],s.path&&n.setValue(r.value,s.path,s.value)}}return t},_filterAdHocAttrs:function(e,t){var n,r=this._nonAttrs,i;if(t){n={};for(i in t)!e[i]&&!r[i]&&t.hasOwnProperty(i)&&(n[i]={value:t[i]})}return n},_initHierarchyData:function(){var e=this.constructor,t=e._CACHED_CLASS_DATA,n,r,i,s,o,u=!e._ATTR_CFG_HASH,a,f={},l=[],c=[];n=e;if(!t){while(n){l[l.length]=n,n.ATTRS&&(c[c.length]=n.ATTRS);if(u){s=n._ATTR_CFG,o=o||{};if(s)for(r=0,i=s.length;r<i;r+=1)o[s[r]]=!0}a=n._NON_ATTRS_CFG;if(a)for(r=0,i=a.length;r<i;r++)f[a[r]]=!0;n=n.superclass?n.superclass.constructor:null}u&&(e._ATTR_CFG_HASH=o),t=e._CACHED_CLASS_DATA={classes:l,nonAttrs:f,attrs:this._aggregateAttrs(c)}}this._classes=t.classes,this._attrs=t.attrs,this._nonAttrs=t.nonAttrs},_attrCfgHash:function(){return this.constructor._ATTR_CFG_HASH},_cloneDefaultValue:function(t,n){var i=n.value,s=n.cloneDefaultValue;s===l||s===!0?n.value=e.clone(i):s===c?n.value=e.merge(i):s===undefined&&(f===i.constructor||r.isArray(i))&&(n.value=e.clone(i))},_aggregateAttrs:function(e){var t,n,r,s,o,u,f=this._attrCfgHash(),l,c={};if(e)for(u=e.length-1;u>=0;--u){n=e[u];for(t in n)n.hasOwnProperty(t)&&(s=d({},n[t],f),o=null,t.indexOf(i)!==-1&&(o=t.split(i),t=o.shift()),l=c[t],o&&l&&l.value?(r=c._subAttrs,r||(r=c._subAttrs={}),r[t]||(r[t]={}),r[t][o.join(i)]={value:s.value,path:o}):o||(l?(l.valueFn&&a in s&&(l.valueFn=null),d(l,s,f)):c[t]=s))}return c},_initHierarchy:function(e){var t=this._lazyAddAttrs,n,r,i,s,o,a,f,l,c,h,p,d=[],v=this._getClasses(),m=this._getAttrCfgs(),g=v.length-1;for(o=g;o>=0;o--){n=v[o],r=n.prototype,h=n._yuibuild&&n._yuibuild.exts,r.hasOwnProperty(u)&&(d[d.length]=r.initializer);if(h)for(a=0,f=h.length;a<f;a++)l=h[a],l.apply(this,arguments),c=l.prototype,c.hasOwnProperty(u)&&(d[d.length]=c.initializer)}p=this._getInstanceAttrCfgs(m),this._preAddAttrs&&this._preAddAttrs(p,e,t),this._allowAdHocAttrs&&this.addAttrs(this._filterAdHocAttrs(m,e),e,t),this.addAttrs(p,e,t);for(i=0,s=d.length;i<s;i++)d[i].apply(this,arguments)},_destroyHierarchy:function(){var e,t,n,r,i,s,o,u,a=this._getClasses();for(n=0,r=a.length;n<r;n++){e=a[n],t=e.prototype,o=e._yuibuild&&e._yuibuild.exts;if(o)for(i=0,s=o.length;i<s;i++)u=o[i].prototype,u.hasOwnProperty(h)&&u.destructor.apply(this,arguments);t.hasOwnProperty(h)&&t.destructor.apply(this,arguments)}},toString:function(){return this.name+"["+e.stamp(this,!0)+"]"}},e.mix(v,p,!1,null,1),v.prototype.constructor=v,e.BaseCore=v},"3.17.0",{requires:["attribute-core"]});
sparkgeo/cdnjs
ajax/libs/yui/3.17.0/base-core/base-core-min.js
JavaScript
mit
4,409
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/node-screen/node-screen.js']) { __coverage__['build/node-screen/node-screen.js'] = {"path":"build/node-screen/node-screen.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":42}}},"2":{"name":"(anonymous_2)","line":55,"loc":{"start":{"line":55,"column":4},"end":{"line":55,"column":19}}},"3":{"name":"(anonymous_3)","line":57,"loc":{"start":{"line":57,"column":20},"end":{"line":57,"column":31}}},"4":{"name":"(anonymous_4)","line":68,"loc":{"start":{"line":68,"column":12},"end":{"line":68,"column":23}}},"5":{"name":"(anonymous_5)","line":73,"loc":{"start":{"line":73,"column":12},"end":{"line":73,"column":26}}},"6":{"name":"(anonymous_6)","line":87,"loc":{"start":{"line":87,"column":12},"end":{"line":87,"column":23}}},"7":{"name":"(anonymous_7)","line":92,"loc":{"start":{"line":92,"column":12},"end":{"line":92,"column":26}}},"8":{"name":"(anonymous_8)","line":173,"loc":{"start":{"line":173,"column":12},"end":{"line":173,"column":23}}},"9":{"name":"(anonymous_9)","line":197,"loc":{"start":{"line":197,"column":12},"end":{"line":197,"column":23}}},"10":{"name":"(anonymous_10)","line":213,"loc":{"start":{"line":213,"column":29},"end":{"line":213,"column":56}}},"11":{"name":"(anonymous_11)","line":229,"loc":{"start":{"line":229,"column":28},"end":{"line":229,"column":60}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":238,"column":56}},"2":{"start":{"line":11,"column":0},"end":{"line":65,"column":2}},"3":{"start":{"line":56,"column":8},"end":{"line":63,"column":10}},"4":{"start":{"line":58,"column":16},"end":{"line":58,"column":65}},"5":{"start":{"line":59,"column":16},"end":{"line":59,"column":54}},"6":{"start":{"line":61,"column":16},"end":{"line":61,"column":53}},"7":{"start":{"line":67,"column":0},"end":{"line":84,"column":2}},"8":{"start":{"line":69,"column":8},"end":{"line":69,"column":43}},"9":{"start":{"line":70,"column":8},"end":{"line":70,"column":81}},"10":{"start":{"line":74,"column":8},"end":{"line":74,"column":43}},"11":{"start":{"line":75,"column":8},"end":{"line":82,"column":9}},"12":{"start":{"line":76,"column":12},"end":{"line":80,"column":13}},"13":{"start":{"line":77,"column":16},"end":{"line":77,"column":38}},"14":{"start":{"line":78,"column":19},"end":{"line":80,"column":13}},"15":{"start":{"line":79,"column":16},"end":{"line":79,"column":74}},"16":{"start":{"line":86,"column":0},"end":{"line":103,"column":2}},"17":{"start":{"line":88,"column":8},"end":{"line":88,"column":43}},"18":{"start":{"line":89,"column":8},"end":{"line":89,"column":79}},"19":{"start":{"line":93,"column":8},"end":{"line":93,"column":43}},"20":{"start":{"line":94,"column":8},"end":{"line":101,"column":9}},"21":{"start":{"line":95,"column":12},"end":{"line":99,"column":13}},"22":{"start":{"line":96,"column":16},"end":{"line":96,"column":37}},"23":{"start":{"line":97,"column":19},"end":{"line":99,"column":13}},"24":{"start":{"line":98,"column":16},"end":{"line":98,"column":74}},"25":{"start":{"line":105,"column":0},"end":{"line":159,"column":3}},"26":{"start":{"line":172,"column":0},"end":{"line":189,"column":2}},"27":{"start":{"line":174,"column":8},"end":{"line":175,"column":19}},"28":{"start":{"line":177,"column":8},"end":{"line":181,"column":9}},"29":{"start":{"line":178,"column":12},"end":{"line":180,"column":13}},"30":{"start":{"line":179,"column":16},"end":{"line":179,"column":44}},"31":{"start":{"line":182,"column":8},"end":{"line":186,"column":9}},"32":{"start":{"line":183,"column":12},"end":{"line":183,"column":48}},"33":{"start":{"line":185,"column":12},"end":{"line":185,"column":40}},"34":{"start":{"line":187,"column":8},"end":{"line":187,"column":22}},"35":{"start":{"line":196,"column":0},"end":{"line":200,"column":2}},"36":{"start":{"line":198,"column":8},"end":{"line":198,"column":61}},"37":{"start":{"line":202,"column":0},"end":{"line":202,"column":47}},"38":{"start":{"line":213,"column":0},"end":{"line":219,"column":2}},"39":{"start":{"line":214,"column":4},"end":{"line":214,"column":40}},"40":{"start":{"line":215,"column":4},"end":{"line":217,"column":5}},"41":{"start":{"line":216,"column":8},"end":{"line":216,"column":41}},"42":{"start":{"line":218,"column":4},"end":{"line":218,"column":52}},"43":{"start":{"line":229,"column":0},"end":{"line":235,"column":2}},"44":{"start":{"line":230,"column":4},"end":{"line":230,"column":40}},"45":{"start":{"line":231,"column":4},"end":{"line":233,"column":5}},"46":{"start":{"line":232,"column":8},"end":{"line":232,"column":41}},"47":{"start":{"line":234,"column":4},"end":{"line":234,"column":56}}},"branchMap":{"1":{"line":70,"type":"cond-expr","locations":[{"start":{"line":70,"column":40},"end":{"line":70,"column":55}},{"start":{"line":70,"column":58},"end":{"line":70,"column":80}}]},"2":{"line":75,"type":"if","locations":[{"start":{"line":75,"column":8},"end":{"line":75,"column":8}},{"start":{"line":75,"column":8},"end":{"line":75,"column":8}}]},"3":{"line":76,"type":"if","locations":[{"start":{"line":76,"column":12},"end":{"line":76,"column":12}},{"start":{"line":76,"column":12},"end":{"line":76,"column":12}}]},"4":{"line":78,"type":"if","locations":[{"start":{"line":78,"column":19},"end":{"line":78,"column":19}},{"start":{"line":78,"column":19},"end":{"line":78,"column":19}}]},"5":{"line":78,"type":"binary-expr","locations":[{"start":{"line":78,"column":23},"end":{"line":78,"column":36}},{"start":{"line":78,"column":40},"end":{"line":78,"column":59}}]},"6":{"line":89,"type":"cond-expr","locations":[{"start":{"line":89,"column":39},"end":{"line":89,"column":53}},{"start":{"line":89,"column":56},"end":{"line":89,"column":78}}]},"7":{"line":94,"type":"if","locations":[{"start":{"line":94,"column":8},"end":{"line":94,"column":8}},{"start":{"line":94,"column":8},"end":{"line":94,"column":8}}]},"8":{"line":95,"type":"if","locations":[{"start":{"line":95,"column":12},"end":{"line":95,"column":12}},{"start":{"line":95,"column":12},"end":{"line":95,"column":12}}]},"9":{"line":97,"type":"if","locations":[{"start":{"line":97,"column":19},"end":{"line":97,"column":19}},{"start":{"line":97,"column":19},"end":{"line":97,"column":19}}]},"10":{"line":97,"type":"binary-expr","locations":[{"start":{"line":97,"column":23},"end":{"line":97,"column":36}},{"start":{"line":97,"column":40},"end":{"line":97,"column":59}}]},"11":{"line":177,"type":"if","locations":[{"start":{"line":177,"column":8},"end":{"line":177,"column":8}},{"start":{"line":177,"column":8},"end":{"line":177,"column":8}}]},"12":{"line":177,"type":"binary-expr","locations":[{"start":{"line":177,"column":12},"end":{"line":177,"column":16}},{"start":{"line":177,"column":20},"end":{"line":177,"column":33}}]},"13":{"line":178,"type":"if","locations":[{"start":{"line":178,"column":12},"end":{"line":178,"column":12}},{"start":{"line":178,"column":12},"end":{"line":178,"column":12}}]},"14":{"line":182,"type":"if","locations":[{"start":{"line":182,"column":8},"end":{"line":182,"column":8}},{"start":{"line":182,"column":8},"end":{"line":182,"column":8}}]},"15":{"line":215,"type":"if","locations":[{"start":{"line":215,"column":4},"end":{"line":215,"column":4}},{"start":{"line":215,"column":4},"end":{"line":215,"column":4}}]},"16":{"line":231,"type":"if","locations":[{"start":{"line":231,"column":4},"end":{"line":231,"column":4}},{"start":{"line":231,"column":4},"end":{"line":231,"column":4}}]}},"code":["(function () { YUI.add('node-screen', function (Y, NAME) {","","/**"," * Extended Node interface for managing regions and screen positioning."," * Adds support for positioning elements and normalizes window size and scroll detection."," * @module node"," * @submodule node-screen"," */","","// these are all \"safe\" returns, no wrapping required","Y.each(["," /**"," * Returns the inner width of the viewport (exludes scrollbar)."," * @config winWidth"," * @for Node"," * @type {Number}"," */"," 'winWidth',",""," /**"," * Returns the inner height of the viewport (exludes scrollbar)."," * @config winHeight"," * @type {Number}"," */"," 'winHeight',",""," /**"," * Document width"," * @config docWidth"," * @type {Number}"," */"," 'docWidth',",""," /**"," * Document height"," * @config docHeight"," * @type {Number}"," */"," 'docHeight',",""," /**"," * Pixel distance the page has been scrolled horizontally"," * @config docScrollX"," * @type {Number}"," */"," 'docScrollX',",""," /**"," * Pixel distance the page has been scrolled vertically"," * @config docScrollY"," * @type {Number}"," */"," 'docScrollY'"," ],"," function(name) {"," Y.Node.ATTRS[name] = {"," getter: function() {"," var args = Array.prototype.slice.call(arguments);"," args.unshift(Y.Node.getDOMNode(this));",""," return Y.DOM[name].apply(this, args);"," }"," };"," }",");","","Y.Node.ATTRS.scrollLeft = {"," getter: function() {"," var node = Y.Node.getDOMNode(this);"," return ('scrollLeft' in node) ? node.scrollLeft : Y.DOM.docScrollX(node);"," },",""," setter: function(val) {"," var node = Y.Node.getDOMNode(this);"," if (node) {"," if ('scrollLeft' in node) {"," node.scrollLeft = val;"," } else if (node.document || node.nodeType === 9) {"," Y.DOM._getWin(node).scrollTo(val, Y.DOM.docScrollY(node)); // scroll window if win or doc"," }"," } else {"," }"," }","};","","Y.Node.ATTRS.scrollTop = {"," getter: function() {"," var node = Y.Node.getDOMNode(this);"," return ('scrollTop' in node) ? node.scrollTop : Y.DOM.docScrollY(node);"," },",""," setter: function(val) {"," var node = Y.Node.getDOMNode(this);"," if (node) {"," if ('scrollTop' in node) {"," node.scrollTop = val;"," } else if (node.document || node.nodeType === 9) {"," Y.DOM._getWin(node).scrollTo(Y.DOM.docScrollX(node), val); // scroll window if win or doc"," }"," } else {"," }"," }","};","","Y.Node.importMethod(Y.DOM, [","/**"," * Gets the current position of the node in page coordinates."," * @method getXY"," * @for Node"," * @return {Array} The XY position of the node","*/"," 'getXY',","","/**"," * Set the position of the node in page coordinates, regardless of how the node is positioned."," * @method setXY"," * @param {Array} xy Contains X & Y values for new position (coordinates are page-based)"," * @chainable"," */"," 'setXY',","","/**"," * Gets the current position of the node in page coordinates."," * @method getX"," * @return {Number} The X position of the node","*/"," 'getX',","","/**"," * Set the position of the node in page coordinates, regardless of how the node is positioned."," * @method setX"," * @param {Number} x X value for new position (coordinates are page-based)"," * @chainable"," */"," 'setX',","","/**"," * Gets the current position of the node in page coordinates."," * @method getY"," * @return {Number} The Y position of the node","*/"," 'getY',","","/**"," * Set the position of the node in page coordinates, regardless of how the node is positioned."," * @method setY"," * @param {Number} y Y value for new position (coordinates are page-based)"," * @chainable"," */"," 'setY',","","/**"," * Swaps the XY position of this node with another node."," * @method swapXY"," * @param {Node | HTMLElement} otherNode The node to swap with."," * @chainable"," */"," 'swapXY'","]);","","/**"," * @module node"," * @submodule node-screen"," */","","/**"," * Returns a region object for the node"," * @config region"," * @for Node"," * @type Node"," */","Y.Node.ATTRS.region = {"," getter: function() {"," var node = this.getDOMNode(),"," region;",""," if (node && !node.tagName) {"," if (node.nodeType === 9) { // document"," node = node.documentElement;"," }"," }"," if (Y.DOM.isWindow(node)) {"," region = Y.DOM.viewportRegion(node);"," } else {"," region = Y.DOM.region(node);"," }"," return region;"," }","};","","/**"," * Returns a region object for the node's viewport"," * @config viewportRegion"," * @type Node"," */","Y.Node.ATTRS.viewportRegion = {"," getter: function() {"," return Y.DOM.viewportRegion(Y.Node.getDOMNode(this));"," }","};","","Y.Node.importMethod(Y.DOM, 'inViewportRegion');","","// these need special treatment to extract 2nd node arg","/**"," * Compares the intersection of the node with another node or region"," * @method intersect"," * @for Node"," * @param {Node|Object} node2 The node or region to compare with."," * @param {Object} altRegion An alternate region to use (rather than this node's)."," * @return {Object} An object representing the intersection of the regions."," */","Y.Node.prototype.intersect = function(node2, altRegion) {"," var node1 = Y.Node.getDOMNode(this);"," if (Y.instanceOf(node2, Y.Node)) { // might be a region object"," node2 = Y.Node.getDOMNode(node2);"," }"," return Y.DOM.intersect(node1, node2, altRegion);","};","","/**"," * Determines whether or not the node is within the given region."," * @method inRegion"," * @param {Node|Object} node2 The node or region to compare with."," * @param {Boolean} all Whether or not all of the node must be in the region."," * @param {Object} altRegion An alternate region to use (rather than this node's)."," * @return {Boolean} True if in region, false if not."," */","Y.Node.prototype.inRegion = function(node2, all, altRegion) {"," var node1 = Y.Node.getDOMNode(this);"," if (Y.instanceOf(node2, Y.Node)) { // might be a region object"," node2 = Y.Node.getDOMNode(node2);"," }"," return Y.DOM.inRegion(node1, node2, all, altRegion);","};","","","}, '3.17.0', {\"requires\": [\"dom-screen\", \"node-base\"]});","","}());"]}; } var __cov_XkqlpMAiAd1S49v_bBnOnQ = __coverage__['build/node-screen/node-screen.js']; __cov_XkqlpMAiAd1S49v_bBnOnQ.s['1']++;YUI.add('node-screen',function(Y,NAME){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['1']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['2']++;Y.each(['winWidth','winHeight','docWidth','docHeight','docScrollX','docScrollY'],function(name){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['2']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['3']++;Y.Node.ATTRS[name]={getter:function(){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['3']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['4']++;var args=Array.prototype.slice.call(arguments);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['5']++;args.unshift(Y.Node.getDOMNode(this));__cov_XkqlpMAiAd1S49v_bBnOnQ.s['6']++;return Y.DOM[name].apply(this,args);}};});__cov_XkqlpMAiAd1S49v_bBnOnQ.s['7']++;Y.Node.ATTRS.scrollLeft={getter:function(){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['4']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['8']++;var node=Y.Node.getDOMNode(this);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['9']++;return'scrollLeft'in node?(__cov_XkqlpMAiAd1S49v_bBnOnQ.b['1'][0]++,node.scrollLeft):(__cov_XkqlpMAiAd1S49v_bBnOnQ.b['1'][1]++,Y.DOM.docScrollX(node));},setter:function(val){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['5']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['10']++;var node=Y.Node.getDOMNode(this);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['11']++;if(node){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['2'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['12']++;if('scrollLeft'in node){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['3'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['13']++;node.scrollLeft=val;}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['3'][1]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['14']++;if((__cov_XkqlpMAiAd1S49v_bBnOnQ.b['5'][0]++,node.document)||(__cov_XkqlpMAiAd1S49v_bBnOnQ.b['5'][1]++,node.nodeType===9)){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['4'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['15']++;Y.DOM._getWin(node).scrollTo(val,Y.DOM.docScrollY(node));}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['4'][1]++;}}}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['2'][1]++;}}};__cov_XkqlpMAiAd1S49v_bBnOnQ.s['16']++;Y.Node.ATTRS.scrollTop={getter:function(){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['6']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['17']++;var node=Y.Node.getDOMNode(this);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['18']++;return'scrollTop'in node?(__cov_XkqlpMAiAd1S49v_bBnOnQ.b['6'][0]++,node.scrollTop):(__cov_XkqlpMAiAd1S49v_bBnOnQ.b['6'][1]++,Y.DOM.docScrollY(node));},setter:function(val){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['7']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['19']++;var node=Y.Node.getDOMNode(this);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['20']++;if(node){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['7'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['21']++;if('scrollTop'in node){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['8'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['22']++;node.scrollTop=val;}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['8'][1]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['23']++;if((__cov_XkqlpMAiAd1S49v_bBnOnQ.b['10'][0]++,node.document)||(__cov_XkqlpMAiAd1S49v_bBnOnQ.b['10'][1]++,node.nodeType===9)){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['9'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['24']++;Y.DOM._getWin(node).scrollTo(Y.DOM.docScrollX(node),val);}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['9'][1]++;}}}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['7'][1]++;}}};__cov_XkqlpMAiAd1S49v_bBnOnQ.s['25']++;Y.Node.importMethod(Y.DOM,['getXY','setXY','getX','setX','getY','setY','swapXY']);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['26']++;Y.Node.ATTRS.region={getter:function(){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['8']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['27']++;var node=this.getDOMNode(),region;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['28']++;if((__cov_XkqlpMAiAd1S49v_bBnOnQ.b['12'][0]++,node)&&(__cov_XkqlpMAiAd1S49v_bBnOnQ.b['12'][1]++,!node.tagName)){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['11'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['29']++;if(node.nodeType===9){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['13'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['30']++;node=node.documentElement;}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['13'][1]++;}}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['11'][1]++;}__cov_XkqlpMAiAd1S49v_bBnOnQ.s['31']++;if(Y.DOM.isWindow(node)){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['14'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['32']++;region=Y.DOM.viewportRegion(node);}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['14'][1]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['33']++;region=Y.DOM.region(node);}__cov_XkqlpMAiAd1S49v_bBnOnQ.s['34']++;return region;}};__cov_XkqlpMAiAd1S49v_bBnOnQ.s['35']++;Y.Node.ATTRS.viewportRegion={getter:function(){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['9']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['36']++;return Y.DOM.viewportRegion(Y.Node.getDOMNode(this));}};__cov_XkqlpMAiAd1S49v_bBnOnQ.s['37']++;Y.Node.importMethod(Y.DOM,'inViewportRegion');__cov_XkqlpMAiAd1S49v_bBnOnQ.s['38']++;Y.Node.prototype.intersect=function(node2,altRegion){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['10']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['39']++;var node1=Y.Node.getDOMNode(this);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['40']++;if(Y.instanceOf(node2,Y.Node)){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['15'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['41']++;node2=Y.Node.getDOMNode(node2);}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['15'][1]++;}__cov_XkqlpMAiAd1S49v_bBnOnQ.s['42']++;return Y.DOM.intersect(node1,node2,altRegion);};__cov_XkqlpMAiAd1S49v_bBnOnQ.s['43']++;Y.Node.prototype.inRegion=function(node2,all,altRegion){__cov_XkqlpMAiAd1S49v_bBnOnQ.f['11']++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['44']++;var node1=Y.Node.getDOMNode(this);__cov_XkqlpMAiAd1S49v_bBnOnQ.s['45']++;if(Y.instanceOf(node2,Y.Node)){__cov_XkqlpMAiAd1S49v_bBnOnQ.b['16'][0]++;__cov_XkqlpMAiAd1S49v_bBnOnQ.s['46']++;node2=Y.Node.getDOMNode(node2);}else{__cov_XkqlpMAiAd1S49v_bBnOnQ.b['16'][1]++;}__cov_XkqlpMAiAd1S49v_bBnOnQ.s['47']++;return Y.DOM.inRegion(node1,node2,all,altRegion);};},'3.17.0',{'requires':['dom-screen','node-base']});
gokuale/cdnjs
ajax/libs/yui/3.17.0/node-screen/node-screen-coverage.js
JavaScript
mit
20,557
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("lang/datatype-date-format_el-GR",function(e){e.Intl.add("datatype-date-format","el-GR",{a:["\u039a\u03c5\u03c1","\u0394\u03b5\u03c5","\u03a4\u03c1\u03b9","\u03a4\u03b5\u03c4","\u03a0\u03b5\u03bc","\u03a0\u03b1\u03c1","\u03a3\u03b1\u03b2"],A:["\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae","\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1","\u03a4\u03c1\u03af\u03c4\u03b7","\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7","\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7","\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae","\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf"],b:["\u0399\u03b1\u03bd","\u03a6\u03b5\u03b2","\u039c\u03b1\u03c1","\u0391\u03c0\u03c1","\u039c\u03b1\u03ca","\u0399\u03bf\u03c5\u03bd","\u0399\u03bf\u03c5\u03bb","\u0391\u03c5\u03b3","\u03a3\u03b5\u03c0","\u039f\u03ba\u03c4","\u039d\u03bf\u03b5","\u0394\u03b5\u03ba"],B:["\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5","\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5","\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5","\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5","\u039c\u03b1\u0390\u03bf\u03c5","\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5","\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5","\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5","\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5","\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5","\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5","\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5"],c:"%a, %d %b %Y %l:%M:%S %p %Z",p:["\u03a0.\u039c.","\u039c.\u039c."],P:["\u03c0.\u03bc.","\u03bc.\u03bc."],x:"%d/%m/%Y",X:"%l:%M:%S %p"})},"3.17.0");
likang/cdnjs
ajax/libs/yui/3.17.0/datatype-date-format/lang/datatype-date-format_el-GR.js
JavaScript
mit
1,783
// CommonJS require() function require(p){ var path = require.resolve(p) , mod = require.modules[path]; if (!mod) throw new Error('failed to require "' + p + '"'); if (!mod.exports) { mod.exports = {}; mod.call(mod.exports, mod, mod.exports, require.relative(path)); } return mod.exports; } require.modules = {}; require.resolve = function (path){ var orig = path , reg = path + '.js' , index = path + '/index.js'; return require.modules[reg] && reg || require.modules[index] && index || orig; }; require.register = function (path, fn){ require.modules[path] = fn; }; require.relative = function (parent) { return function(p){ if ('.' != p[0]) return require(p); var path = parent.split('/') , segs = p.split('/'); path.pop(); for (var i = 0; i < segs.length; i++) { var seg = segs[i]; if ('..' == seg) path.pop(); else if ('.' != seg) path.push(seg); } return require(path.join('/')); }; }; require.register("compiler.js", function(module, exports, require){ /*! * Jade - Compiler * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var nodes = require('./nodes') , filters = require('./filters') , doctypes = require('./doctypes') , selfClosing = require('./self-closing') , utils = require('./utils'); if (!Object.keys) { Object.keys = function(obj){ var arr = []; for (var key in obj) { if (obj.hasOwnProperty(key)) { arr.push(obj); } } return arr; } } if (!String.prototype.trimLeft) { String.prototype.trimLeft = function(){ return this.replace(/^\s+/, ''); } } /** * Initialize `Compiler` with the given `node`. * * @param {Node} node * @param {Object} options * @api public */ var Compiler = module.exports = function Compiler(node, options) { this.options = options = options || {}; this.node = node; this.hasCompiledDoctype = false; this.hasCompiledTag = false; if (options.doctype) this.setDoctype(options.doctype); }; /** * Compiler prototype. */ Compiler.prototype = { /** * Compile parse tree to JavaScript. * * @api public */ compile: function(){ this.buf = ['var interp;']; this.visit(this.node); return this.buf.join('\n'); }, /** * Sets the default doctype `name`. Sets terse mode to `true` when * html 5 is used, causing self-closing tags to end with ">" vs "/>", * and boolean attributes are not mirrored. * * @param {string} name * @api public */ setDoctype: function(name){ var doctype = doctypes[(name || 'default').toLowerCase()]; if (!doctype) throw new Error('unknown doctype "' + name + '"'); this.doctype = doctype; this.terse = '5' == name || 'html' == name; this.xml = 0 == this.doctype.indexOf('<?xml'); }, /** * Buffer the given `str` optionally escaped. * * @param {String} str * @param {Boolean} esc * @api public */ buffer: function(str, esc){ if (esc) str = utils.escape(str); this.buf.push("buf.push('" + str + "');"); }, /** * Buffer the given `node`'s lineno. * * @param {Node} node * @api public */ line: function(node){ if (node.instrumentLineNumber === false) return; this.buf.push('__.lineno = ' + node.line + ';'); }, /** * Visit `node`. * * @param {Node} node * @api public */ visit: function(node){ this.line(node); return this.visitNode(node); }, /** * Visit `node`. * * @param {Node} node * @api public */ visitNode: function(node){ var name = node.constructor.name || node.constructor.toString().match(/function ([^(\s]+)()/)[1]; return this['visit' + name](node); }, /** * Visit all nodes in `block`. * * @param {Block} block * @api public */ visitBlock: function(block){ var len = len = block.nodes.length; for (var i = 0; i < len; ++i) { this.visit(block.nodes[i]); } }, /** * Visit `doctype`. Sets terse mode to `true` when html 5 * is used, causing self-closing tags to end with ">" vs "/>", * and boolean attributes are not mirrored. * * @param {Doctype} doctype * @api public */ visitDoctype: function(doctype){ if (doctype && (doctype.val || !this.doctype)) { this.setDoctype(doctype.val || 'default'); } if (this.doctype) this.buffer(this.doctype); this.hasCompiledDoctype = true; }, /** * Visit `tag` buffering tag markup, generating * attributes, visiting the `tag`'s code and block. * * @param {Tag} tag * @api public */ visitTag: function(tag){ var name = tag.name; if (!this.hasCompiledTag) { if (!this.hasCompiledDoctype && 'html' == name) { this.visitDoctype(); } this.hasCompiledTag = true; } if (~selfClosing.indexOf(name) && !this.xml) { this.buffer('<' + name); this.visitAttributes(tag.attrs); this.terse ? this.buffer('>') : this.buffer('/>'); } else { // Optimize attributes buffering if (tag.attrs.length) { this.buffer('<' + name); if (tag.attrs.length) this.visitAttributes(tag.attrs); this.buffer('>'); } else { this.buffer('<' + name + '>'); } if (tag.code) this.visitCode(tag.code); if (tag.text) this.buffer(utils.text(tag.text.nodes[0].trimLeft())); this.escape = 'pre' == tag.name; this.visit(tag.block); this.buffer('</' + name + '>'); } }, /** * Visit `filter`, throwing when the filter does not exist. * * @param {Filter} filter * @api public */ visitFilter: function(filter){ var fn = filters[filter.name]; // unknown filter if (!fn) { if (filter.isASTFilter) { throw new Error('unknown ast filter "' + filter.name + ':"'); } else { throw new Error('unknown filter ":' + filter.name + '"'); } } if (filter.isASTFilter) { this.buf.push(fn(filter.block, this, filter.attrs)); } else { var text = filter.block.nodes.join(''); this.buffer(utils.text(fn(text, filter.attrs))); } }, /** * Visit `text` node. * * @param {Text} text * @api public */ visitText: function(text){ text = utils.text(text.nodes.join('')); if (this.escape) text = escape(text); this.buffer(text); this.buffer('\\n'); }, /** * Visit a `comment`, only buffering when the buffer flag is set. * * @param {Comment} comment * @api public */ visitComment: function(comment){ if (!comment.buffer) return; this.buffer('<!--' + utils.escape(comment.val) + '-->'); }, /** * Visit a `BlockComment`. * * @param {Comment} comment * @api public */ visitBlockComment: function(comment){ if (0 == comment.val.indexOf('if')) { this.buffer('<!--[' + comment.val + ']>'); this.visit(comment.block); this.buffer('<![endif]-->'); } else { this.buffer('<!--' + comment.val); this.visit(comment.block); this.buffer('-->'); } }, /** * Visit `code`, respecting buffer / escape flags. * If the code is followed by a block, wrap it in * a self-calling function. * * @param {Code} code * @api public */ visitCode: function(code){ // Wrap code blocks with {}. // we only wrap unbuffered code blocks ATM // since they are usually flow control // Buffer code if (code.buffer) { var val = code.val.trimLeft(); this.buf.push('var __val__ = ' + val); val = 'null == __val__ ? "" : __val__'; if (code.escape) val = 'escape(' + val + ')'; this.buf.push("buf.push(" + val + ");"); } else { this.buf.push(code.val); } // Block support if (code.block) { if (!code.buffer) this.buf.push('{'); this.visit(code.block); if (!code.buffer) this.buf.push('}'); } }, /** * Visit `each` block. * * @param {Each} each * @api public */ visitEach: function(each){ this.buf.push('' + '// iterate ' + each.obj + '\n' + '(function(){\n' + ' if (\'number\' == typeof ' + each.obj + '.length) {\n' + ' for (var ' + each.key + ' = 0, $$l = ' + each.obj + '.length; ' + each.key + ' < $$l; ' + each.key + '++) {\n' + ' var ' + each.val + ' = ' + each.obj + '[' + each.key + '];\n'); this.visit(each.block); this.buf.push('' + ' }\n' + ' } else {\n' + ' for (var ' + each.key + ' in ' + each.obj + ') {\n' + ' if (' + each.obj + '.hasOwnProperty(' + each.key + ')){' + ' var ' + each.val + ' = ' + each.obj + '[' + each.key + '];\n'); this.visit(each.block); this.buf.push(' }\n'); this.buf.push(' }\n }\n}).call(this);\n'); }, /** * Visit `attrs`. * * @param {Array} attrs * @api public */ visitAttributes: function(attrs){ var buf = [] , classes = []; if (this.terse) buf.push('terse: true'); attrs.forEach(function(attr){ if (attr.name == 'class') { classes.push('(' + attr.val + ')'); } else { var pair = "'" + attr.name + "':(" + attr.val + ')'; buf.push(pair); } }); if (classes.length) { classes = classes.join(" + ' ' + "); buf.push("class: " + classes); } buf = buf.join(', ').replace('class:', '"class":'); this.buf.push("buf.push(attrs({ " + buf + " }));"); } }; /** * Escape the given string of `html`. * * @param {String} html * @return {String} * @api private */ function escape(html){ return String(html) .replace(/&(?!\w+;)/g, '&amp;') .replace(/</g, '&lt;') .replace(/>/g, '&gt;') .replace(/"/g, '&quot;'); } }); // module: compiler.js require.register("doctypes.js", function(module, exports, require){ /*! * Jade - doctypes * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ module.exports = { '5': '<!DOCTYPE html>' , 'html': '<!DOCTYPE html>' , 'xml': '<?xml version="1.0" encoding="utf-8" ?>' , 'default': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' , 'transitional': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' , 'strict': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' , 'frameset': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">' , '1.1': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">' , 'basic': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">' , 'mobile': '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">' }; }); // module: doctypes.js require.register("filters.js", function(module, exports, require){ /*! * Jade - filters * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ module.exports = { /** * Wrap text with CDATA block. */ cdata: function(str){ return '<![CDATA[\\n' + str + '\\n]]>'; }, /** * Transform sass to css, wrapped in style tags. */ sass: function(str){ str = str.replace(/\\n/g, '\n'); var sass = require('sass').render(str).replace(/\n/g, '\\n'); return '<style>' + sass + '</style>'; }, /** * Transform stylus to css, wrapped in style tags. */ stylus: function(str, options){ var ret; str = str.replace(/\\n/g, '\n'); var stylus = require('stylus'); stylus(str, options).render(function(err, css){ if (err) throw err; ret = css.replace(/\n/g, '\\n'); }); return '<style>' + ret + '</style>'; }, /** * Transform sass to css, wrapped in style tags. */ less: function(str){ var ret; str = str.replace(/\\n/g, '\n'); require('less').render(str, function(err, css){ if (err) throw err; ret = '<style>' + css.replace(/\n/g, '\\n') + '</style>'; }); return ret; }, /** * Transform markdown to html. */ markdown: function(str){ var md; // support markdown / discount try { md = require('markdown'); } catch (err){ try { md = require('discount'); } catch (err) { try { md = require('markdown-js'); } catch (err) { throw new Error('Cannot find markdown library, install markdown or discount'); } } } str = str.replace(/\\n/g, '\n'); return md.parse(str).replace(/\n/g, '\\n').replace(/'/g,'&#39;'); }, /** * Transform coffeescript to javascript. */ coffeescript: function(str){ str = str.replace(/\\n/g, '\n'); var js = require('coffee-script').compile(str).replace(/\n/g, '\\n'); return '<script type="text/javascript">\\n' + js + '</script>'; } }; }); // module: filters.js require.register("jade.js", function(module, exports, require){ /*! * Jade * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Parser = require('./parser') , Compiler = require('./compiler') /** * Library version. */ exports.version = '0.12.1'; /** * Intermediate JavaScript cache. */ var cache = exports.cache = {}; /** * Expose self closing tags. */ exports.selfClosing = require('./self-closing'); /** * Default supported doctypes. */ exports.doctypes = require('./doctypes'); /** * Text filters. */ exports.filters = require('./filters'); /** * Utilities. */ exports.utils = require('./utils'); /** * Expose `Compiler`. */ exports.Compiler = Compiler; /** * Expose `Parser`. */ exports.Parser = Parser; /** * Nodes. */ exports.nodes = require('./nodes'); /** * Render the given attributes object. * * @param {Object} obj * @return {String} * @api private */ function attrs(obj){ var buf = [] , terse = obj.terse; delete obj.terse; var keys = Object.keys(obj) , len = keys.length; if (len) { buf.push(''); for (var i = 0; i < len; ++i) { var key = keys[i] , val = obj[key]; if (typeof val === 'boolean' || val === '' || val == null) { if (val) { terse ? buf.push(key) : buf.push(key + '="' + key + '"'); } } else { buf.push(key + '="' + escape(val) + '"'); } } } return buf.join(' '); } /** * Escape the given string of `html`. * * @param {String} html * @return {String} * @api private */ function escape(html){ return String(html) .replace(/&(?!\w+;)/g, '&amp;') .replace(/</g, '&lt;') .replace(/>/g, '&gt;') .replace(/"/g, '&quot;'); } /** * Re-throw the given `err` in context to the * `str` of jade, `filename`, and `lineno`. * * @param {Error} err * @param {String} str * @param {String} filename * @param {String} lineno * @api private */ function rethrow(err, str, filename, lineno){ var context = 3 , lines = str.split('\n') , start = Math.max(lineno - context, 0) , end = Math.min(lines.length, lineno + context); // Error context var context = lines.slice(start, end).map(function(line, i){ var curr = i + start + 1; return (curr == lineno ? ' > ' : ' ') + curr + '| ' + line; }).join('\n'); // Alter exception message err.path = filename; err.message = (filename || 'Jade') + ':' + lineno + '\n' + context + '\n\n' + err.message; throw err; } /** * Parse the given `str` of jade and return a function body. * * @param {String} str * @param {Object} options * @return {String} * @api private */ function parse(str, options){ var filename = options.filename; try { // Parse var parser = new Parser(str, filename); if (options.debug) parser.debug(); // Compile var compiler = new (options.compiler || Compiler)(parser.parse(), options) , js = compiler.compile(); // Debug compiler if (options.debug) { console.log('\n\x1b[1mCompiled Function\x1b[0m:\n\n%s', js.replace(/^/gm, ' ')); } try { return '' + attrs.toString() + '\n\n' + escape.toString() + '\n\n' + 'var buf = [];\n' + (options.self ? 'var self = locals || {}, __ = __ || locals.__;\n' + js : 'with (locals || {}) {' + js + '}') + 'return buf.join("");'; } catch (err) { process.compile(js, filename || 'Jade'); return; } } catch (err) { rethrow(err, str, filename, parser.lexer.lineno); } } /** * Compile a `Function` representation of the given jade `str`. * * @param {String} str * @param {Options} options * @return {Function} * @api public */ exports.compile = function(str, options){ var options = options || {} , input = JSON.stringify(str) , filename = options.filename ? JSON.stringify(options.filename) : 'undefined'; // Reduce closure madness by injecting some locals var fn = [ 'var __ = { lineno: 1, input: ' + input + ', filename: ' + filename + ' };' , rethrow.toString() , 'try {' , parse(String(str), options || {}) , '} catch (err) {' , ' rethrow(err, __.input, __.filename, __.lineno);' , '}' ].join('\n'); return new Function('locals', fn); }; /** * Render the given `str` of jade. * * Options: * * - `scope` Evaluation scope (`this`) * - `locals` Local variable object * - `filename` Used in exceptions, and required by `cache` * - `cache` Cache intermediate JavaScript in memory keyed by `filename` * - `compiler` Compiler to replade jade's default * - `doctype` Specify the default doctype * * @param {String|Buffer} str * @param {Object} options * @return {String} * @api public */ exports.render = function(str, options){ var fn , options = options || {} , filename = options.filename; // Accept Buffers str = String(str); // Cache support if (options.cache) { if (filename) { if (cache[filename]) { fn = cache[filename]; } else { fn = cache[filename] = new Function('locals', parse(str, options)); } } else { throw new Error('filename is required when using the cache option'); } } else { fn = new Function('locals', parse(str, options)); } // Render the template try { var locals = options.locals || {} , meta = { lineno: 1 }; locals.__ = meta; return fn.call(options.scope, locals); } catch (err) { rethrow(err, str, filename, meta.lineno); } }; /** * Render jade template at the given `path`. * * @param {String} path * @param {Object} options * @param {Function} fn * @api public */ exports.renderFile = function(path, options, fn){ var ret; if (typeof options === 'function') { fn = options; options = {}; } options.filename = path; // Primed cache if (options.cache && cache[path]) { try { ret = exports.render('', options); } catch (err) { return fn(err); } fn(null, ret); } else { fs.readFile(path, 'utf8', function(err, str){ if (err) return fn(err); try { ret = exports.render(str, options); } catch (err) { return fn(err); } fn(null, ret); }); } }; }); // module: jade.js require.register("lexer.js", function(module, exports, require){ /*! * Jade - Lexer * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Initialize `Lexer` with the given `str`. * * @param {String} str * @api private */ var Lexer = module.exports = function Lexer(str) { this.input = str.replace(/\r\n|\r/g, '\n'); this.deferredTokens = []; this.lastIndents = 0; this.lineno = 1; this.stash = []; this.indentStack = []; this.indentRe = null; this.pipeless = false; }; /** * Lexer prototype. */ Lexer.prototype = { /** * Construct a token with the given `type` and `val`. * * @param {String} type * @param {String} val * @return {Object} * @api private */ tok: function(type, val){ return { type: type , line: this.lineno , val: val } }, /** * Consume the given `len` of input. * * @param {Number} len * @api private */ consume: function(len){ this.input = this.input.substr(len); }, /** * Scan for `type` with the given `regexp`. * * @param {String} type * @param {RegExp} regexp * @return {Object} * @api private */ scan: function(regexp, type){ var captures; if (captures = regexp.exec(this.input)) { this.consume(captures[0].length); return this.tok(type, captures[1]); } }, /** * Defer the given `tok`. * * @param {Object} tok * @api private */ defer: function(tok){ this.deferredTokens.push(tok); }, /** * Lookahead `n` tokens. * * @param {Number} n * @return {Object} * @api private */ lookahead: function(n){ var fetch = n - this.stash.length; while (fetch-- > 0) this.stash.push(this.next()); return this.stash[--n]; }, /** * Return the indexOf `start` / `end` delimiters. * * @param {String} start * @param {String} end * @return {Number} * @api private */ indexOfDelimiters: function(start, end){ var str = this.input , nstart = 0 , nend = 0 , pos = 0; for (var i = 0, len = str.length; i < len; ++i) { if (start == str[i]) { ++nstart; } else if (end == str[i]) { if (++nend == nstart) { pos = i; break; } } } return pos; }, /** * Stashed token. */ stashed: function() { return this.stash.length && this.stash.shift(); }, /** * Deferred token. */ deferred: function() { return this.deferredTokens.length && this.deferredTokens.shift(); }, /** * end-of-source. */ eos: function() { if (this.input.length) return; if (this.indentStack.length) { this.indentStack.shift(); return this.tok('outdent'); } else { return this.tok('eos'); } }, /** * Block comment */ blockComment: function() { var captures; if (captures = /^\/([^\n]+)/.exec(this.input)) { this.consume(captures[0].length); var tok = this.tok('block-comment', captures[1]); return tok; } }, /** * Comment. */ comment: function() { var captures; if (captures = /^ *\/\/(-)?([^\n]+)/.exec(this.input)) { this.consume(captures[0].length); var tok = this.tok('comment', captures[2]); tok.buffer = '-' != captures[1]; return tok; } }, /** * Tag. */ tag: function() { var captures; if (captures = /^(\w[-:\w]*)/.exec(this.input)) { this.consume(captures[0].length); var tok, name = captures[1]; if (':' == name[name.length - 1]) { name = name.slice(0, -1); tok = this.tok('tag', name); this.deferredTokens.push(this.tok(':')); while (' ' == this.input[0]) this.input = this.input.substr(1); } else { tok = this.tok('tag', name); } return tok; } }, /** * Filter. */ filter: function() { return this.scan(/^:(\w+)/, 'filter'); }, /** * Doctype. */ doctype: function() { return this.scan(/^(?:!!!|doctype) *(\w+)?/, 'doctype'); }, /** * Id. */ id: function() { return this.scan(/^#([\w-]+)/, 'id'); }, /** * Class. */ className: function() { return this.scan(/^\.([\w-]+)/, 'class'); }, /** * Text. */ text: function() { return this.scan(/^(?:\| ?)?([^\n]+)/, 'text'); }, /** * Each. */ each: function() { var captures; if (captures = /^- *each *(\w+)(?: *, *(\w+))? * in *([^\n]+)/.exec(this.input)) { this.consume(captures[0].length); var tok = this.tok('each', captures[1]); tok.key = captures[2] || 'index'; tok.code = captures[3]; return tok; } }, /** * Code. */ code: function() { var captures; if (captures = /^(!?=|-)([^\n]+)/.exec(this.input)) { this.consume(captures[0].length); var flags = captures[1]; captures[1] = captures[2]; var tok = this.tok('code', captures[1]); tok.escape = flags[0] === '='; tok.buffer = flags[0] === '=' || flags[1] === '='; return tok; } }, /** * Attributes. */ attrs: function() { if ('(' == this.input[0]) { var index = this.indexOfDelimiters('(', ')') , str = this.input.substr(1, index-1) , tok = this.tok('attrs') , len = str.length , states = ['key'] , key = '' , val = '' , quote , c; function state(){ return states[states.length - 1]; } function interpolate(attr) { return attr.replace(/#\{([^}]+)\}/g, function(_, expr){ return quote + " + (" + expr + ") + " + quote; }); } this.consume(index + 1); tok.attrs = {}; function parse(c) { switch (c) { case ',': case '\n': switch (state()) { case 'expr': case 'array': case 'string': case 'object': val += c; break; default: states.push('key'); val = val.trim(); key = key.trim(); if ('' == key) return; tok.attrs[key.replace(/^['"]|['"]$/g, '')] = '' == val ? true : interpolate(val); key = val = ''; } break; case '=': switch (state()) { case 'key char': key += c; break; case 'val': case 'expr': case 'array': case 'string': case 'object': val += c; break; default: states.push('val'); } break; case '(': if ('val' == state()) states.push('expr'); val += c; break; case ')': if ('expr' == state()) states.pop(); val += c; break; case '{': if ('val' == state()) states.push('object'); val += c; break; case '}': if ('object' == state()) states.pop(); val += c; break; case '[': if ('val' == state()) states.push('array'); val += c; break; case ']': if ('array' == state()) states.pop(); val += c; break; case '"': case "'": switch (state()) { case 'key': states.push('key char'); break; case 'key char': states.pop(); break; case 'string': if (c == quote) states.pop(); val += c; break; default: states.push('string'); val += c; quote = c; } break; case '': break; default: switch (state()) { case 'key': case 'key char': key += c; break; default: val += c; } } } for (var i = 0; i < len; ++i) { parse(str[i]); } parse(','); return tok; } }, /** * Indent | Outdent | Newline. */ indent: function() { var captures, re; // established regexp if (this.indentRe) { captures = this.indentRe.exec(this.input); // determine regexp } else { // tabs re = /^\n(\t*) */; captures = re.exec(this.input); // spaces if (captures && !captures[1].length) { re = /^\n( *)/; captures = re.exec(this.input); } // established if (captures && captures[1].length) this.indentRe = re; } if (captures) { var tok , indents = captures[1].length; ++this.lineno; this.consume(indents + 1); if (' ' == this.input[0] || '\t' == this.input[0]) { throw new Error('Invalid indentation, you can use tabs or spaces but not both'); } // blank line if ('\n' == this.input[0]) return this.tok('newline'); // outdent if (this.indentStack.length && indents < this.indentStack[0]) { while (this.indentStack.length && this.indentStack[0] > indents) { this.stash.push(this.tok('outdent')); this.indentStack.shift(); } tok = this.stash.pop(); // indent } else if (indents && indents != this.indentStack[0]) { this.indentStack.unshift(indents); tok = this.tok('indent', indents); // newline } else { tok = this.tok('newline'); } return tok; } }, /** * Pipe-less text consumed only when * pipeless is true; */ pipelessText: function() { if (this.pipeless) { if ('\n' == this.input[0]) return; var i = this.input.indexOf('\n'); if (-1 == i) i = this.input.length; var str = this.input.substr(0, i); this.consume(str.length); return this.tok('text', str); } }, /** * ':' */ colon: function() { return this.scan(/^: */, ':'); }, /** * Return the next token object, or those * previously stashed by lookahead. * * @return {Object} * @api private */ advance: function(){ return this.stashed() || this.next(); }, /** * Return the next token object. * * @return {Object} * @api private */ next: function() { return this.deferred() || this.eos() || this.pipelessText() || this.doctype() || this.tag() || this.filter() || this.each() || this.code() || this.id() || this.className() || this.attrs() || this.indent() || this.comment() || this.blockComment() || this.colon() || this.text(); } }; }); // module: lexer.js require.register("nodes/block-comment.js", function(module, exports, require){ /*! * Jade - nodes - BlockComment * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize a `BlockComment` with the given `block`. * * @param {String} val * @param {Block} block * @api public */ var BlockComment = module.exports = function BlockComment(val, block) { this.block = block; this.val = val; }; /** * Inherit from `Node`. */ BlockComment.prototype = new Node; BlockComment.prototype.constructor = BlockComment; }); // module: nodes/block-comment.js require.register("nodes/block.js", function(module, exports, require){ /*! * Jade - nodes - Block * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize a new `Block` with an optional `node`. * * @param {Node} node * @api public */ var Block = module.exports = function Block(node){ this.nodes = []; if (node) this.push(node); }; /** * Inherit from `Node`. */ Block.prototype = new Node; Block.prototype.constructor = Block; /** * Pust the given `node`. * * @param {Node} node * @return {Number} * @api public */ Block.prototype.push = function(node){ return this.nodes.push(node); }; /** * Unshift the given `node`. * * @param {Node} node * @return {Number} * @api public */ Block.prototype.unshift = function(node){ return this.nodes.unshift(node); }; }); // module: nodes/block.js require.register("nodes/code.js", function(module, exports, require){ /*! * Jade - nodes - Code * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize a `Code` node with the given code `val`. * Code may also be optionally buffered and escaped. * * @param {String} val * @param {Boolean} buffer * @param {Boolean} escape * @api public */ var Code = module.exports = function Code(val, buffer, escape) { this.val = val; this.buffer = buffer; this.escape = escape; if (/^ *else/.test(val)) this.instrumentLineNumber = false; }; /** * Inherit from `Node`. */ Code.prototype = new Node; Code.prototype.constructor = Code; }); // module: nodes/code.js require.register("nodes/comment.js", function(module, exports, require){ /*! * Jade - nodes - Comment * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize a `Comment` with the given `val`, optionally `buffer`, * otherwise the comment may render in the output. * * @param {String} val * @param {Boolean} buffer * @api public */ var Comment = module.exports = function Comment(val, buffer) { this.val = val; this.buffer = buffer; }; /** * Inherit from `Node`. */ Comment.prototype = new Node; Comment.prototype.constructor = Comment; }); // module: nodes/comment.js require.register("nodes/doctype.js", function(module, exports, require){ /*! * Jade - nodes - Doctype * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize a `Doctype` with the given `val`. * * @param {String} val * @api public */ var Doctype = module.exports = function Doctype(val) { this.val = val; }; /** * Inherit from `Node`. */ Doctype.prototype = new Node; Doctype.prototype.constructor = Doctype; }); // module: nodes/doctype.js require.register("nodes/each.js", function(module, exports, require){ /*! * Jade - nodes - Each * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize an `Each` node, representing iteration * * @param {String} obj * @param {String} val * @param {String} key * @param {Block} block * @api public */ var Each = module.exports = function Each(obj, val, key, block) { this.obj = obj; this.val = val; this.key = key; this.block = block; }; /** * Inherit from `Node`. */ Each.prototype = new Node; Each.prototype.constructor = Each; }); // module: nodes/each.js require.register("nodes/filter.js", function(module, exports, require){ /*! * Jade - nodes - Filter * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node') , Block = require('./block'); /** * Initialize a `Filter` node with the given * filter `name` and `block`. * * @param {String} name * @param {Block|Node} block * @api public */ var Filter = module.exports = function Filter(name, block, attrs) { this.name = name; this.block = block; this.attrs = attrs; this.isASTFilter = block instanceof Block; }; /** * Inherit from `Node`. */ Filter.prototype = new Node; Filter.prototype.constructor = Filter; }); // module: nodes/filter.js require.register("nodes/index.js", function(module, exports, require){ /*! * Jade - nodes * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ exports.Node = require('./node'); exports.Tag = require('./tag'); exports.Code = require('./code'); exports.Each = require('./each'); exports.Text = require('./text'); exports.Block = require('./block'); exports.Filter = require('./filter'); exports.Comment = require('./comment'); exports.BlockComment = require('./block-comment'); exports.Doctype = require('./doctype'); }); // module: nodes/index.js require.register("nodes/node.js", function(module, exports, require){ /*! * Jade - nodes - Node * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Initialize a `Node`. * * @api public */ var Node = module.exports = function Node(){}; }); // module: nodes/node.js require.register("nodes/tag.js", function(module, exports, require){ /*! * Jade - nodes - Tag * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'), Block = require('./block'); /** * Initialize a `Tag` node with the given tag `name` and optional `block`. * * @param {String} name * @param {Block} block * @api public */ var Tag = module.exports = function Tag(name, block) { this.name = name; this.attrs = []; this.block = block || new Block; }; /** * Inherit from `Node`. */ Tag.prototype = new Node; Tag.prototype.constructor = Tag; /** * Set attribute `name` to `val`, keep in mind these become * part of a raw js object literal, so to quote a value you must * '"quote me"', otherwise or example 'user.name' is literal JavaScript. * * @param {String} name * @param {String} val * @return {Tag} for chaining * @api public */ Tag.prototype.setAttribute = function(name, val){ this.attrs.push({ name: name, val: val }); return this; }; /** * Remove attribute `name` when present. * * @param {String} name * @api public */ Tag.prototype.removeAttribute = function(name){ for (var i = 0, len = this.attrs.length; i < len; ++i) { if (this.attrs[i] && this.attrs[i].name == name) { delete this.attrs[i]; } } }; /** * Get attribute value by `name`. * * @param {String} name * @return {String} * @api public */ Tag.prototype.getAttribute = function(name){ for (var i = 0, len = this.attrs.length; i < len; ++i) { if (this.attrs[i] && this.attrs[i].name == name) { return this.attrs[i].val; } } }; }); // module: nodes/tag.js require.register("nodes/text.js", function(module, exports, require){ /*! * Jade - nodes - Text * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize a `Text` node with optional `line`. * * @param {String} line * @api public */ var Text = module.exports = function Text(line) { this.nodes = []; if ('string' == typeof line) this.push(line); }; /** * Inherit from `Node`. */ Text.prototype = new Node; Text.prototype.constructor = Text; /** * Push the given `node.` * * @param {Node} node * @return {Number} * @api public */ Text.prototype.push = function(node){ return this.nodes.push(node); }; }); // module: nodes/text.js require.register("parser.js", function(module, exports, require){ /*! * Jade - Parser * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var Lexer = require('./lexer') , nodes = require('./nodes'); /** * Initialize `Parser` with the given input `str` and `filename`. * * @param {String} str * @param {String} filename * @api public */ var Parser = exports = module.exports = function Parser(str, filename){ this.input = str; this.lexer = new Lexer(str); this.filename = filename; }; /** * Tags that may not contain tags. */ var textOnly = exports.textOnly = ['code', 'script', 'textarea', 'style']; /** * Parser prototype. */ Parser.prototype = { /** * Output parse tree to stdout. * * @api public */ debug: function(){ var lexer = new Lexer(this.input) , tree = require('sys').inspect(this.parse(), false, 12, true); console.log('\n\x1b[1mParse Tree\x1b[0m:\n'); console.log(tree); this.lexer = lexer; }, /** * Return the next token object. * * @return {Object} * @api private */ advance: function(){ return this.lexer.advance(); }, /** * Single token lookahead. * * @return {Object} * @api private */ peek: function() { return this.lookahead(1); }, /** * Return lexer lineno. * * @return {Number} * @api private */ line: function() { return this.lexer.lineno; }, /** * `n` token lookahead. * * @param {Number} n * @return {Object} * @api private */ lookahead: function(n){ return this.lexer.lookahead(n); }, /** * Parse input returning a string of js for evaluation. * * @return {String} * @api public */ parse: function(){ var block = new nodes.Block; block.line = this.line(); while ('eos' != this.peek().type) { if ('newline' == this.peek().type) { this.advance(); } else { block.push(this.parseExpr()); } } return block; }, /** * Expect the given type, or throw an exception. * * @param {String} type * @api private */ expect: function(type){ if (this.peek().type === type) { return this.advance(); } else { throw new Error('expected "' + type + '", but got "' + this.peek().type + '"'); } }, /** * Accept the given `type`. * * @param {String} type * @api private */ accept: function(type){ if (this.peek().type === type) { return this.advance(); } }, /** * tag * | doctype * | filter * | comment * | text * | each * | code * | id * | class */ parseExpr: function(){ switch (this.peek().type) { case 'tag': return this.parseTag(); case 'doctype': return this.parseDoctype(); case 'filter': return this.parseFilter(); case 'comment': return this.parseComment(); case 'block-comment': return this.parseBlockComment(); case 'text': return this.parseText(); case 'each': return this.parseEach(); case 'code': return this.parseCode(); case 'id': case 'class': var tok = this.advance(); this.lexer.defer(this.lexer.tok('tag', 'div')); this.lexer.defer(tok); return this.parseExpr(); default: throw new Error('unexpected token "' + this.peek().type + '"'); } }, /** * Text */ parseText: function(){ var tok = this.expect('text') , node = new nodes.Text(tok.val); node.line = this.line(); return node; }, /** * code */ parseCode: function(){ var tok = this.expect('code') , node = new nodes.Code(tok.val, tok.buffer, tok.escape); node.line = this.line(); if ('indent' == this.peek().type) { node.block = this.parseBlock(); } return node; }, /** * block comment */ parseBlockComment: function(){ var tok = this.expect('block-comment') , node = new nodes.BlockComment(tok.val, this.parseBlock()); node.line = this.line(); return node; }, /** * comment */ parseComment: function(){ var tok = this.expect('comment') , node = new nodes.Comment(tok.val, tok.buffer); node.line = this.line(); return node; }, /** * doctype */ parseDoctype: function(){ var tok = this.expect('doctype') , node = new nodes.Doctype(tok.val); node.line = this.line(); return node; }, /** * filter attrs? text-block */ parseFilter: function(){ var block , tok = this.expect('filter') , attrs = this.accept('attrs'); this.lexer.pipeless = true; block = this.parseTextBlock(); this.lexer.pipeless = false; var node = new nodes.Filter(tok.val, block, attrs && attrs.attrs); node.line = this.line(); return node; }, /** * tag ':' attrs? block */ parseASTFilter: function(){ var block , tok = this.expect('tag') , attrs = this.accept('attrs'); this.expect(':'); block = this.parseBlock(); var node = new nodes.Filter(tok.val, block, attrs && attrs.attrs); node.line = this.line(); return node; }, /** * each block */ parseEach: function(){ var tok = this.expect('each') , node = new nodes.Each(tok.code, tok.val, tok.key, this.parseBlock()); node.line = this.line(); return node; }, /** * indent (text | newline)* outdent */ parseTextBlock: function(){ var text = new nodes.Text; text.line = this.line(); var spaces = this.expect('indent').val; if (null == this._spaces) this._spaces = spaces; var indent = Array(spaces - this._spaces + 1).join(' '); while ('outdent' != this.peek().type) { switch (this.peek().type) { case 'newline': text.push('\\n'); this.advance(); break; case 'indent': text.push('\\n'); this.parseTextBlock().nodes.forEach(function(node){ text.push(node); }); text.push('\\n'); break; default: text.push(indent + this.advance().val); } } this._spaces = null; this.expect('outdent'); return text; }, /** * indent expr* outdent */ parseBlock: function(){ var block = new nodes.Block; block.line = this.line(); this.expect('indent'); while ('outdent' != this.peek().type) { if ('newline' == this.peek().type) { this.advance(); } else { block.push(this.parseExpr()); } } this.expect('outdent'); return block; }, /** * tag (attrs | class | id)* (text | code | ':')? newline* block? */ parseTag: function(){ // ast-filter look-ahead var i = 2; if ('attrs' == this.lookahead(i).type) ++i; if (':' == this.lookahead(i).type) { if ('indent' == this.lookahead(++i).type) { return this.parseASTFilter(); } } var name = this.advance().val , tag = new nodes.Tag(name); tag.line = this.line(); // (attrs | class | id)* out: while (true) { switch (this.peek().type) { case 'id': case 'class': var tok = this.advance(); tag.setAttribute(tok.type, "'" + tok.val + "'"); continue; case 'attrs': var obj = this.advance().attrs , names = Object.keys(obj); for (var i = 0, len = names.length; i < len; ++i) { var name = names[i] , val = obj[name]; tag.setAttribute(name, val); } continue; default: break out; } } // check immediate '.' if ('.' == this.peek().val) { tag.textOnly = true; this.advance(); } // (text | code | ':')? switch (this.peek().type) { case 'text': tag.text = this.parseText(); break; case 'code': tag.code = this.parseCode(); break; case ':': this.advance(); tag.block = new nodes.Block; tag.block.push(this.parseTag()); break; } // newline* while ('newline' == this.peek().type) this.advance(); tag.textOnly = tag.textOnly || ~textOnly.indexOf(tag.name); // script special-case if ('script' == tag.name) { var type = tag.getAttribute('type'); if (type && 'text/javascript' != type.replace(/^['"]|['"]$/g, '')) { tag.textOnly = false; } } // block? if ('indent' == this.peek().type) { if (tag.textOnly) { this.lexer.pipeless = true; tag.block = this.parseTextBlock(); this.lexer.pipeless = false; } else { var block = this.parseBlock(); if (tag.block) { for (var i = 0, len = block.nodes.length; i < len; ++i) { tag.block.push(block.nodes[i]); } } else { tag.block = block; } } } return tag; } }; }); // module: parser.js require.register("self-closing.js", function(module, exports, require){ /*! * Jade - self closing tags * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ module.exports = [ 'meta' , 'img' , 'link' , 'input' , 'area' , 'base' , 'col' , 'br' , 'hr' ]; }); // module: self-closing.js require.register("utils.js", function(module, exports, require){ /*! * Jade - utils * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Convert interpolation in the given string to JavaScript. * * @param {String} str * @return {String} * @api private */ var interpolate = exports.interpolate = function(str){ return str.replace(/(\\)?([#!]){(.*?)}/g, function(str, escape, flag, code){ return escape ? str : "' + " + ('!' == flag ? '' : 'escape') + "((interp = " + code.replace(/\\'/g, "'") + ") == null ? '' : interp) + '"; }); }; /** * Escape single quotes in `str`. * * @param {String} str * @return {String} * @api private */ var escape = exports.escape = function(str) { return str.replace(/'/g, "\\'"); }; /** * Interpolate, and escape the given `str`. * * @param {String} str * @return {String} * @api private */ exports.text = function(str){ return interpolate(escape(str)); }; }); // module: utils.js
chrisyip/cdnjs
ajax/libs/jade/0.12.4/jade.js
JavaScript
mit
49,885
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Finder; /** * Extends \SplFileInfo to support relative paths. * * @author Fabien Potencier <fabien@symfony.com> */ class SplFileInfo extends \SplFileInfo { private $relativePath; private $relativePathname; /** * Constructor. * * @param string $file The file name * @param string $relativePath The relative path * @param string $relativePathname The relative path name */ public function __construct($file, $relativePath, $relativePathname) { parent::__construct($file); $this->relativePath = $relativePath; $this->relativePathname = $relativePathname; } /** * Returns the relative path. * * @return string the relative path */ public function getRelativePath() { return $this->relativePath; } /** * Returns the relative path name. * * @return string the relative path name */ public function getRelativePathname() { return $this->relativePathname; } /** * Returns the contents of the file. * * @return string the contents of the file * * @throws \RuntimeException */ public function getContents() { $level = error_reporting(0); $content = file_get_contents($this->getPathname()); error_reporting($level); if (false === $content) { $error = error_get_last(); throw new \RuntimeException($error['message']); } return $content; } }
clementGilardy/movies
vendor/symfony/symfony/src/Symfony/Component/Finder/SplFileInfo.php
PHP
mit
1,805
.skin-black-light .main-header{-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.skin-black-light .main-header .navbar-toggle{color:#333}.skin-black-light .main-header .navbar-brand{color:#333;border-right:1px solid #eee}.skin-black-light .main-header>.navbar{background-color:#fff}.skin-black-light .main-header>.navbar .nav>li>a{color:#333}.skin-black-light .main-header>.navbar .nav>li>a:hover,.skin-black-light .main-header>.navbar .nav>li>a:active,.skin-black-light .main-header>.navbar .nav>li>a:focus,.skin-black-light .main-header>.navbar .nav .open>a,.skin-black-light .main-header>.navbar .nav .open>a:hover,.skin-black-light .main-header>.navbar .nav .open>a:focus,.skin-black-light .main-header>.navbar .nav>.active>a{background:#fff;color:#999}.skin-black-light .main-header>.navbar .sidebar-toggle{color:#333}.skin-black-light .main-header>.navbar .sidebar-toggle:hover{color:#999;background:#fff}.skin-black-light .main-header>.navbar>.sidebar-toggle{color:#333;border-right:1px solid #eee}.skin-black-light .main-header>.navbar .navbar-nav>li>a{border-right:1px solid #eee}.skin-black-light .main-header>.navbar .navbar-custom-menu .navbar-nav>li>a,.skin-black-light .main-header>.navbar .navbar-right>li>a{border-left:1px solid #eee;border-right-width:0}.skin-black-light .main-header>.logo{background-color:#fff;color:#333;border-bottom:0 solid transparent;border-right:1px solid #eee}.skin-black-light .main-header>.logo:hover{background-color:#fcfcfc}@media (max-width:767px){.skin-black-light .main-header>.logo{background-color:#222;color:#fff;border-bottom:0 solid transparent;border-right:none}.skin-black-light .main-header>.logo:hover{background-color:#1f1f1f}}.skin-black-light .main-header li.user-header{background-color:#222}.skin-black-light .content-header{background:transparent;box-shadow:none}.skin-black-light .wrapper,.skin-black-light .main-sidebar,.skin-black-light .left-side{background-color:#f9fafc}.skin-black-light .content-wrapper,.skin-black-light .main-footer{border-left:1px solid #d2d6de}.skin-black-light .user-panel>.info,.skin-black-light .user-panel>.info>a{color:#444}.skin-black-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-black-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-black-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-black-light .sidebar-menu>li:hover>a,.skin-black-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-black-light .sidebar-menu>li.active{border-left-color:#fff}.skin-black-light .sidebar-menu>li.active>a{font-weight:600}.skin-black-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-black-light .sidebar a{color:#444}.skin-black-light .sidebar a:hover{text-decoration:none}.skin-black-light .treeview-menu>li>a{color:#777}.skin-black-light .treeview-menu>li.active>a,.skin-black-light .treeview-menu>li>a:hover{color:#000}.skin-black-light .treeview-menu>li.active>a{font-weight:600}.skin-black-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-black-light .sidebar-form input[type="text"],.skin-black-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.skin-black-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-black-light .sidebar-form input[type="text"]:focus,.skin-black-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-black-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-black-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-black-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}
reeganaga/tokoonline
assets/dist/css/skins/skin-black-light.min.css
CSS
mit
4,200
@charset "UTF-8";/*! * Bootstrap v2.3.2 * * Copyright 2012 Twitter, Inc * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. */.fuelux .clearfix{*zoom:1}.fuelux .clearfix:before,.fuelux .clearfix:after{display:table;line-height:0;content:""}.fuelux .clearfix:after{clear:both}.fuelux .hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.fuelux .input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fuelux article,.fuelux aside,.fuelux details,.fuelux figcaption,.fuelux figure,.fuelux footer,.fuelux header,.fuelux hgroup,.fuelux nav,.fuelux section{display:block}.fuelux audio,.fuelux canvas,.fuelux video{display:inline-block;*display:inline;*zoom:1}.fuelux audio:not([controls]){display:none}.fuelux html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}.fuelux a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.fuelux a:hover,.fuelux a:active{outline:0}.fuelux sub,.fuelux sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.fuelux sup{top:-0.5em}.fuelux sub{bottom:-0.25em}.fuelux img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}.fuelux #map_canvas img,.fuelux .google-maps img{max-width:none}.fuelux button,.fuelux input,.fuelux select,.fuelux textarea{margin:0;font-size:100%;vertical-align:middle}.fuelux button,.fuelux input{*overflow:visible;line-height:normal}.fuelux button::-moz-focus-inner,.fuelux input::-moz-focus-inner{padding:0;border:0}.fuelux button,.fuelux html input[type="button"],.fuelux input[type="reset"],.fuelux input[type="submit"]{cursor:pointer;-webkit-appearance:button}.fuelux label,.fuelux select,.fuelux button,.fuelux input[type="button"],.fuelux input[type="reset"],.fuelux input[type="submit"],.fuelux input[type="radio"],.fuelux input[type="checkbox"]{cursor:pointer}.fuelux input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}.fuelux input[type="search"]::-webkit-search-decoration,.fuelux input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}.fuelux textarea{overflow:auto;vertical-align:top}@media print{.fuelux *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.fuelux a,.fuelux a:visited{text-decoration:underline}.fuelux a[href]:after{content:" (" attr(href) ")"}.fuelux abbr[title]:after{content:" (" attr(title) ")"}.fuelux .ir a:after,.fuelux a[href^="javascript:"]:after,.fuelux a[href^="#"]:after{content:""}.fuelux pre,.fuelux blockquote{border:1px solid #999;page-break-inside:avoid}.fuelux thead{display:table-header-group}.fuelux tr,.fuelux img{page-break-inside:avoid}.fuelux img{max-width:100%!important}@page{margin:.5cm}.fuelux p,.fuelux h2,.fuelux h3{orphans:3;widows:3}.fuelux h2,.fuelux h3{page-break-after:avoid}}.fuelux body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}.fuelux a{color:#08c;text-decoration:none}.fuelux a:hover,.fuelux a:focus{color:#005580;text-decoration:underline}.fuelux .img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.fuelux .img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.fuelux .row{margin-left:-20px;*zoom:1}.fuelux .row:before,.fuelux .row:after{display:table;line-height:0;content:""}.fuelux .row:after{clear:both}.fuelux [class*="span"]{float:left;min-height:1px;margin-left:20px}.fuelux .container,.fuelux .navbar-static-top .container,.fuelux .navbar-fixed-top .container,.fuelux .navbar-fixed-bottom .container{width:940px}.fuelux .span12{width:940px}.fuelux .span11{width:860px}.fuelux .span10{width:780px}.fuelux .span9{width:700px}.fuelux .span8{width:620px}.fuelux .span7{width:540px}.fuelux .span6{width:460px}.fuelux .span5{width:380px}.fuelux .span4{width:300px}.fuelux .span3{width:220px}.fuelux .span2{width:140px}.fuelux .span1{width:60px}.fuelux .offset12{margin-left:980px}.fuelux .offset11{margin-left:900px}.fuelux .offset10{margin-left:820px}.fuelux .offset9{margin-left:740px}.fuelux .offset8{margin-left:660px}.fuelux .offset7{margin-left:580px}.fuelux .offset6{margin-left:500px}.fuelux .offset5{margin-left:420px}.fuelux .offset4{margin-left:340px}.fuelux .offset3{margin-left:260px}.fuelux .offset2{margin-left:180px}.fuelux .offset1{margin-left:100px}.fuelux .row-fluid{width:100%;*zoom:1}.fuelux .row-fluid:before,.fuelux .row-fluid:after{display:table;line-height:0;content:""}.fuelux .row-fluid:after{clear:both}.fuelux .row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fuelux .row-fluid [class*="span"]:first-child{margin-left:0}.fuelux .row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.fuelux .row-fluid .span12{width:100%;*width:99.94680851063829%}.fuelux .row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.fuelux .row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.fuelux .row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.fuelux .row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.fuelux .row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.fuelux .row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.fuelux .row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.fuelux .row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.fuelux .row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.fuelux .row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%}.fuelux .row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%}.fuelux .row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%}.fuelux .row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%}.fuelux .row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%}.fuelux .row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%}.fuelux .row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%}.fuelux .row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%}.fuelux .row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%}.fuelux .row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%}.fuelux .row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%}.fuelux .row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%}.fuelux .row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%}.fuelux .row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%}.fuelux .row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%}.fuelux .row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%}.fuelux .row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%}.fuelux .row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%}.fuelux .row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%}.fuelux .row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%}.fuelux .row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%}.fuelux .row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%}.fuelux .row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%}.fuelux .row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%}.fuelux .row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%}.fuelux .row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%}.fuelux [class*="span"].hide,.fuelux .row-fluid [class*="span"].hide{display:none}.fuelux [class*="span"].pull-right,.fuelux .row-fluid [class*="span"].pull-right{float:right}.fuelux .container{margin-right:auto;margin-left:auto;*zoom:1}.fuelux .container:before,.fuelux .container:after{display:table;line-height:0;content:""}.fuelux .container:after{clear:both}.fuelux .container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.fuelux .container-fluid:before,.fuelux .container-fluid:after{display:table;line-height:0;content:""}.fuelux .container-fluid:after{clear:both}.fuelux p{margin:0 0 10px}.fuelux .lead{margin-bottom:20px;font-size:21px;font-weight:200;line-height:30px}.fuelux small{font-size:85%}.fuelux strong{font-weight:bold}.fuelux em{font-style:italic}.fuelux cite{font-style:normal}.fuelux .muted{color:#999}.fuelux a.muted:hover,.fuelux a.muted:focus{color:#808080}.fuelux .text-warning{color:#c09853}.fuelux a.text-warning:hover,.fuelux a.text-warning:focus{color:#a47e3c}.fuelux .text-error{color:#b94a48}.fuelux a.text-error:hover,.fuelux a.text-error:focus{color:#953b39}.fuelux .text-info{color:#3a87ad}.fuelux a.text-info:hover,.fuelux a.text-info:focus{color:#2d6987}.fuelux .text-success{color:#468847}.fuelux a.text-success:hover,.fuelux a.text-success:focus{color:#356635}.fuelux .text-left{text-align:left}.fuelux .text-right{text-align:right}.fuelux .text-center{text-align:center}.fuelux h1,.fuelux h2,.fuelux h3,.fuelux h4,.fuelux h5,.fuelux h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility}.fuelux h1 small,.fuelux h2 small,.fuelux h3 small,.fuelux h4 small,.fuelux h5 small,.fuelux h6 small{font-weight:normal;line-height:1;color:#999}.fuelux h1,.fuelux h2,.fuelux h3{line-height:40px}.fuelux h1{font-size:38.5px}.fuelux h2{font-size:31.5px}.fuelux h3{font-size:24.5px}.fuelux h4{font-size:17.5px}.fuelux h5{font-size:14px}.fuelux h6{font-size:11.9px}.fuelux h1 small{font-size:24.5px}.fuelux h2 small{font-size:17.5px}.fuelux h3 small{font-size:14px}.fuelux h4 small{font-size:14px}.fuelux .page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee}.fuelux ul,.fuelux ol{padding:0;margin:0 0 10px 25px}.fuelux ul ul,.fuelux ul ol,.fuelux ol ol,.fuelux ol ul{margin-bottom:0}.fuelux li{line-height:20px}.fuelux ul.unstyled,.fuelux ol.unstyled{margin-left:0;list-style:none}.fuelux ul.inline,.fuelux ol.inline{margin-left:0;list-style:none}.fuelux ul.inline>li,.fuelux ol.inline>li{display:inline-block;*display:inline;padding-right:5px;padding-left:5px;*zoom:1}.fuelux dl{margin-bottom:20px}.fuelux dt,.fuelux dd{line-height:20px}.fuelux dt{font-weight:bold}.fuelux dd{margin-left:10px}.fuelux .dl-horizontal{*zoom:1}.fuelux .dl-horizontal:before,.fuelux .dl-horizontal:after{display:table;line-height:0;content:""}.fuelux .dl-horizontal:after{clear:both}.fuelux .dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.fuelux .dl-horizontal dd{margin-left:180px}.fuelux hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}.fuelux abbr[title],.fuelux abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.fuelux abbr.initialism{font-size:90%;text-transform:uppercase}.fuelux blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}.fuelux blockquote p{margin-bottom:0;font-size:17.5px;font-weight:300;line-height:1.25}.fuelux blockquote small{display:block;line-height:20px;color:#999}.fuelux blockquote small:before{content:'\2014 \00A0'}.fuelux blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.fuelux blockquote.pull-right p,.fuelux blockquote.pull-right small{text-align:right}.fuelux blockquote.pull-right small:before{content:''}.fuelux blockquote.pull-right small:after{content:'\00A0 \2014'}.fuelux q:before,.fuelux q:after,.fuelux blockquote:before,.fuelux blockquote:after{content:""}.fuelux address{display:block;margin-bottom:20px;font-style:normal;line-height:20px}.fuelux code,.fuelux pre{padding:0 3px 2px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:12px;color:#333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fuelux code{padding:2px 4px;color:#d14;white-space:nowrap;background-color:#f7f7f9;border:1px solid #e1e1e8}.fuelux pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux pre.prettyprint{margin-bottom:20px}.fuelux pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}.fuelux .pre-scrollable{max-height:340px;overflow-y:scroll}.fuelux form{margin:0 0 20px}.fuelux fieldset{padding:0;margin:0;border:0}.fuelux legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}.fuelux legend small{font-size:15px;color:#999}.fuelux label,.fuelux input,.fuelux button,.fuelux select,.fuelux textarea{font-size:14px;font-weight:normal;line-height:20px}.fuelux input,.fuelux button,.fuelux select,.fuelux textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.fuelux label{display:block;margin-bottom:5px}.fuelux select,.fuelux textarea,.fuelux input[type="text"],.fuelux input[type="password"],.fuelux input[type="datetime"],.fuelux input[type="datetime-local"],.fuelux input[type="date"],.fuelux input[type="month"],.fuelux input[type="time"],.fuelux input[type="week"],.fuelux input[type="number"],.fuelux input[type="email"],.fuelux input[type="url"],.fuelux input[type="search"],.fuelux input[type="tel"],.fuelux input[type="color"],.fuelux .uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:10px;font-size:14px;line-height:20px;color:#555;vertical-align:middle;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux input,.fuelux textarea,.fuelux .uneditable-input{width:206px}.fuelux textarea{height:auto}.fuelux textarea,.fuelux input[type="text"],.fuelux input[type="password"],.fuelux input[type="datetime"],.fuelux input[type="datetime-local"],.fuelux input[type="date"],.fuelux input[type="month"],.fuelux input[type="time"],.fuelux input[type="week"],.fuelux input[type="number"],.fuelux input[type="email"],.fuelux input[type="url"],.fuelux input[type="search"],.fuelux input[type="tel"],.fuelux input[type="color"],.fuelux .uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}.fuelux textarea:focus,.fuelux input[type="text"]:focus,.fuelux input[type="password"]:focus,.fuelux input[type="datetime"]:focus,.fuelux input[type="datetime-local"]:focus,.fuelux input[type="date"]:focus,.fuelux input[type="month"]:focus,.fuelux input[type="time"]:focus,.fuelux input[type="week"]:focus,.fuelux input[type="number"]:focus,.fuelux input[type="email"]:focus,.fuelux input[type="url"]:focus,.fuelux input[type="search"]:focus,.fuelux input[type="tel"]:focus,.fuelux input[type="color"]:focus,.fuelux .uneditable-input:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)}.fuelux input[type="radio"],.fuelux input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;*margin-top:0;line-height:normal}.fuelux input[type="file"],.fuelux input[type="image"],.fuelux input[type="submit"],.fuelux input[type="reset"],.fuelux input[type="button"],.fuelux input[type="radio"],.fuelux input[type="checkbox"]{width:auto}.fuelux select,.fuelux input[type="file"]{height:30px;*margin-top:4px;line-height:30px}.fuelux select{width:220px;background-color:#fff;border:1px solid #ccc}.fuelux select[multiple],.fuelux select[size]{height:auto}.fuelux select:focus,.fuelux input[type="file"]:focus,.fuelux input[type="radio"]:focus,.fuelux input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.fuelux .uneditable-input,.fuelux .uneditable-textarea{color:#999;cursor:not-allowed;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025)}.fuelux .uneditable-input{overflow:hidden;white-space:nowrap}.fuelux .uneditable-textarea{width:auto;height:auto}.fuelux input:-moz-placeholder,.fuelux textarea:-moz-placeholder{color:#999}.fuelux input:-ms-input-placeholder,.fuelux textarea:-ms-input-placeholder{color:#999}.fuelux input::-webkit-input-placeholder,.fuelux textarea::-webkit-input-placeholder{color:#999}.fuelux .radio,.fuelux .checkbox{min-height:20px;padding-left:20px}.fuelux .radio input[type="radio"],.fuelux .checkbox input[type="checkbox"]{float:left;margin-left:-20px}.fuelux .controls>.radio:first-child,.fuelux .controls>.checkbox:first-child{padding-top:5px}.fuelux .radio.inline,.fuelux .checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.fuelux .radio.inline+.radio.inline,.fuelux .checkbox.inline+.checkbox.inline{margin-left:10px}.fuelux .input-mini{width:60px}.fuelux .input-small{width:90px}.fuelux .input-medium{width:150px}.fuelux .input-large{width:210px}.fuelux .input-xlarge{width:270px}.fuelux .input-xxlarge{width:530px}.fuelux input[class*="span"],.fuelux select[class*="span"],.fuelux textarea[class*="span"],.fuelux .uneditable-input[class*="span"],.fuelux .row-fluid input[class*="span"],.fuelux .row-fluid select[class*="span"],.fuelux .row-fluid textarea[class*="span"],.fuelux .row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0}.fuelux .input-append input[class*="span"],.fuelux .input-append .uneditable-input[class*="span"],.fuelux .input-prepend input[class*="span"],.fuelux .input-prepend .uneditable-input[class*="span"],.fuelux .row-fluid input[class*="span"],.fuelux .row-fluid select[class*="span"],.fuelux .row-fluid textarea[class*="span"],.fuelux .row-fluid .uneditable-input[class*="span"],.fuelux .row-fluid .input-prepend [class*="span"],.fuelux .row-fluid .input-append [class*="span"]{display:inline-block}.fuelux input,.fuelux textarea,.fuelux .uneditable-input{margin-left:0}.fuelux .controls-row [class*="span"]+[class*="span"]{margin-left:20px}.fuelux input.span12,textarea.span12,.uneditable-input.span12{width:926px}.fuelux input.span11,textarea.span11,.uneditable-input.span11{width:846px}.fuelux input.span10,textarea.span10,.uneditable-input.span10{width:766px}.fuelux input.span9,textarea.span9,.uneditable-input.span9{width:686px}.fuelux input.span8,textarea.span8,.uneditable-input.span8{width:606px}.fuelux input.span7,textarea.span7,.uneditable-input.span7{width:526px}.fuelux input.span6,textarea.span6,.uneditable-input.span6{width:446px}.fuelux input.span5,textarea.span5,.uneditable-input.span5{width:366px}.fuelux input.span4,textarea.span4,.uneditable-input.span4{width:286px}.fuelux input.span3,textarea.span3,.uneditable-input.span3{width:206px}.fuelux input.span2,textarea.span2,.uneditable-input.span2{width:126px}.fuelux input.span1,textarea.span1,.uneditable-input.span1{width:46px}.fuelux .controls-row{*zoom:1}.fuelux .controls-row:before,.fuelux .controls-row:after{display:table;line-height:0;content:""}.fuelux .controls-row:after{clear:both}.fuelux .controls-row [class*="span"],.fuelux .row-fluid .controls-row [class*="span"]{float:left}.fuelux .controls-row .checkbox[class*="span"],.fuelux .controls-row .radio[class*="span"]{padding-top:5px}.fuelux input[disabled],.fuelux select[disabled],.fuelux textarea[disabled],.fuelux input[readonly],.fuelux select[readonly],.fuelux textarea[readonly]{cursor:not-allowed;background-color:#eee}.fuelux input[type="radio"][disabled],.fuelux input[type="checkbox"][disabled],.fuelux input[type="radio"][readonly],.fuelux input[type="checkbox"][readonly]{background-color:transparent}.fuelux .control-group.warning .control-label,.fuelux .control-group.warning .help-block,.fuelux .control-group.warning .help-inline{color:#c09853}.fuelux .control-group.warning .checkbox,.fuelux .control-group.warning .radio,.fuelux .control-group.warning input,.fuelux .control-group.warning select,.fuelux .control-group.warning textarea{color:#c09853}.fuelux .control-group.warning input,.fuelux .control-group.warning select,.fuelux .control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.fuelux .control-group.warning input:focus,.fuelux .control-group.warning select:focus,.fuelux .control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.fuelux .control-group.warning .input-prepend .add-on,.fuelux .control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.fuelux .control-group.error .control-label,.fuelux .control-group.error .help-block,.fuelux .control-group.error .help-inline{color:#b94a48}.fuelux .control-group.error .checkbox,.fuelux .control-group.error .radio,.fuelux .control-group.error input,.fuelux .control-group.error select,.fuelux .control-group.error textarea{color:#b94a48}.fuelux .control-group.error input,.fuelux .control-group.error select,.fuelux .control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.fuelux .control-group.error input:focus,.fuelux .control-group.error select:focus,.fuelux .control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.fuelux .control-group.error .input-prepend .add-on,.fuelux .control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.fuelux .control-group.success .control-label,.fuelux .control-group.success .help-block,.fuelux .control-group.success .help-inline{color:#468847}.fuelux .control-group.success .checkbox,.fuelux .control-group.success .radio,.fuelux .control-group.success input,.fuelux .control-group.success select,.fuelux .control-group.success textarea{color:#468847}.fuelux .control-group.success input,.fuelux .control-group.success select,.fuelux .control-group.success textarea{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.fuelux .control-group.success input:focus,.fuelux .control-group.success select:focus,.fuelux .control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.fuelux .control-group.success .input-prepend .add-on,.fuelux .control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847}.fuelux .control-group.info .control-label,.fuelux .control-group.info .help-block,.fuelux .control-group.info .help-inline{color:#3a87ad}.fuelux .control-group.info .checkbox,.fuelux .control-group.info .radio,.fuelux .control-group.info input,.fuelux .control-group.info select,.fuelux .control-group.info textarea{color:#3a87ad}.fuelux .control-group.info input,.fuelux .control-group.info select,.fuelux .control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.fuelux .control-group.info input:focus,.fuelux .control-group.info select:focus,.fuelux .control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3}.fuelux .control-group.info .input-prepend .add-on,.fuelux .control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad}.fuelux input:focus:invalid,.fuelux textarea:focus:invalid,.fuelux select:focus:invalid{color:#b94a48;border-color:#ee5f5b}.fuelux input:focus:invalid:focus,.fuelux textarea:focus:invalid:focus,.fuelux select:focus:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7}.fuelux .form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.fuelux .form-actions:before,.fuelux .form-actions:after{display:table;line-height:0;content:""}.fuelux .form-actions:after{clear:both}.fuelux .help-block,.fuelux .help-inline{color:#595959}.fuelux .help-block{display:block;margin-bottom:10px}.fuelux .help-inline{display:inline-block;*display:inline;padding-left:5px;vertical-align:middle;*zoom:1}.fuelux .input-append,.fuelux .input-prepend{display:inline-block;margin-bottom:10px;font-size:0;white-space:nowrap;vertical-align:middle}.fuelux .input-append input,.fuelux .input-prepend input,.fuelux .input-append select,.fuelux .input-prepend select,.fuelux .input-append .uneditable-input,.fuelux .input-prepend .uneditable-input,.fuelux .input-append .dropdown-menu,.fuelux .input-prepend .dropdown-menu,.fuelux .input-append .popover,.fuelux .input-prepend .popover{font-size:14px}.fuelux .input-append input,.fuelux .input-prepend input,.fuelux .input-append select,.fuelux .input-prepend select,.fuelux .input-append .uneditable-input,.fuelux .input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:top;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.fuelux .input-append input:focus,.fuelux .input-prepend input:focus,.fuelux .input-append select:focus,.fuelux .input-prepend select:focus,.fuelux .input-append .uneditable-input:focus,.fuelux .input-prepend .uneditable-input:focus{z-index:2}.fuelux .input-append .add-on,.fuelux .input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}.fuelux .input-append .add-on,.fuelux .input-prepend .add-on,.fuelux .input-append .btn,.fuelux .input-prepend .btn,.fuelux .input-append .btn-group>.dropdown-toggle,.fuelux .input-prepend .btn-group>.dropdown-toggle{vertical-align:top;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .input-append .active,.fuelux .input-prepend .active{background-color:#a9dba9;border-color:#46a546}.fuelux .input-prepend .add-on,.fuelux .input-prepend .btn{margin-right:-1px}.fuelux .input-prepend .add-on:first-child,.fuelux .input-prepend .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.fuelux .input-append input,.fuelux .input-append select,.fuelux .input-append .uneditable-input{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.fuelux .input-append input+.btn-group .btn:last-child,.fuelux .input-append select+.btn-group .btn:last-child,.fuelux .input-append .uneditable-input+.btn-group .btn:last-child{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.fuelux .input-append .add-on,.fuelux .input-append .btn,.fuelux .input-append .btn-group{margin-left:-1px}.fuelux .input-append .add-on:last-child,.fuelux .input-append .btn:last-child,.fuelux .input-append .btn-group:last-child>.dropdown-toggle{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.fuelux .input-prepend.input-append input,.fuelux .input-prepend.input-append select,.fuelux .input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .input-prepend.input-append input+.btn-group .btn,.fuelux .input-prepend.input-append select+.btn-group .btn,.fuelux .input-prepend.input-append .uneditable-input+.btn-group .btn{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.fuelux .input-prepend.input-append .add-on:first-child,.fuelux .input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.fuelux .input-prepend.input-append .add-on:last-child,.fuelux .input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.fuelux .input-prepend.input-append .btn-group:first-child{margin-left:0}.fuelux input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.fuelux .form-search .input-append .search-query,.fuelux .form-search .input-prepend .search-query{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .form-search .input-append .search-query{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.fuelux .form-search .input-append .btn{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.fuelux .form-search .input-prepend .search-query{-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0}.fuelux .form-search .input-prepend .btn{-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px}.fuelux .form-search input,.fuelux .form-inline input,.fuelux .form-horizontal input,.fuelux .form-search textarea,.fuelux .form-inline textarea,.fuelux .form-horizontal textarea,.fuelux .form-search select,.fuelux .form-inline select,.fuelux .form-horizontal select,.fuelux .form-search .help-inline,.fuelux .form-inline .help-inline,.fuelux .form-horizontal .help-inline,.fuelux .form-search .uneditable-input,.fuelux .form-inline .uneditable-input,.fuelux .form-horizontal .uneditable-input,.fuelux .form-search .input-prepend,.fuelux .form-inline .input-prepend,.fuelux .form-horizontal .input-prepend,.fuelux .form-search .input-append,.fuelux .form-inline .input-append,.fuelux .form-horizontal .input-append{display:inline-block;*display:inline;margin-bottom:0;vertical-align:middle;*zoom:1}.fuelux .form-search .hide,.fuelux .form-inline .hide,.fuelux .form-horizontal .hide{display:none}.fuelux .form-search label,.fuelux .form-inline label,.fuelux .form-search .btn-group,.fuelux .form-inline .btn-group{display:inline-block}.fuelux .form-search .input-append,.fuelux .form-inline .input-append,.fuelux .form-search .input-prepend,.fuelux .form-inline .input-prepend{margin-bottom:0}.fuelux .form-search .radio,.fuelux .form-search .checkbox,.fuelux .form-inline .radio,.fuelux .form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle}.fuelux .form-search .radio input[type="radio"],.fuelux .form-search .checkbox input[type="checkbox"],.fuelux .form-inline .radio input[type="radio"],.fuelux .form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.fuelux .control-group{margin-bottom:10px}.fuelux legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate}.fuelux .form-horizontal .control-group{margin-bottom:20px;*zoom:1}.fuelux .form-horizontal .control-group:before,.fuelux .form-horizontal .control-group:after{display:table;line-height:0;content:""}.fuelux .form-horizontal .control-group:after{clear:both}.fuelux .form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right}.fuelux .form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0}.fuelux .form-horizontal .controls:first-child{*padding-left:180px}.fuelux .form-horizontal .help-block{margin-bottom:0}.fuelux .form-horizontal input+.help-block,.fuelux .form-horizontal select+.help-block,.fuelux .form-horizontal textarea+.help-block,.fuelux .form-horizontal .uneditable-input+.help-block,.fuelux .form-horizontal .input-prepend+.help-block,.fuelux .form-horizontal .input-append+.help-block{margin-top:10px}.fuelux .form-horizontal .form-actions{padding-left:180px}.fuelux table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0}.fuelux .table{width:100%;margin-bottom:20px}.fuelux .table th,.fuelux .table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd}.fuelux .table th{font-weight:bold}.fuelux .table thead th{vertical-align:bottom}.fuelux .table caption+thead tr:first-child th,.fuelux .table caption+thead tr:first-child td,.fuelux .table colgroup+thead tr:first-child th,.fuelux .table colgroup+thead tr:first-child td,.fuelux .table thead:first-child tr:first-child th,.fuelux .table thead:first-child tr:first-child td{border-top:0}.fuelux .table tbody+tbody{border-top:2px solid #ddd}.fuelux .table .table{background-color:#fff}.fuelux .table-condensed th,.fuelux .table-condensed td{padding:4px 5px}.fuelux .table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux .table-bordered th,.fuelux .table-bordered td{border-left:1px solid #ddd}.fuelux .table-bordered caption+thead tr:first-child th,.fuelux .table-bordered caption+tbody tr:first-child th,.fuelux .table-bordered caption+tbody tr:first-child td,.fuelux .table-bordered colgroup+thead tr:first-child th,.fuelux .table-bordered colgroup+tbody tr:first-child th,.fuelux .table-bordered colgroup+tbody tr:first-child td,.fuelux .table-bordered thead:first-child tr:first-child th,.fuelux .table-bordered tbody:first-child tr:first-child th,.fuelux .table-bordered tbody:first-child tr:first-child td{border-top:0}.fuelux .table-bordered thead:first-child tr:first-child>th:first-child,.fuelux .table-bordered tbody:first-child tr:first-child>td:first-child,.fuelux .table-bordered tbody:first-child tr:first-child>th:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.fuelux .table-bordered thead:first-child tr:first-child>th:last-child,.fuelux .table-bordered tbody:first-child tr:first-child>td:last-child,.fuelux .table-bordered tbody:first-child tr:first-child>th:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.fuelux .table-bordered thead:last-child tr:last-child>th:first-child,.fuelux .table-bordered tbody:last-child tr:last-child>td:first-child,.fuelux .table-bordered tbody:last-child tr:last-child>th:first-child,.fuelux .table-bordered tfoot:last-child tr:last-child>td:first-child,.fuelux .table-bordered tfoot:last-child tr:last-child>th:first-child{-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.fuelux .table-bordered thead:last-child tr:last-child>th:last-child,.fuelux .table-bordered tbody:last-child tr:last-child>td:last-child,.fuelux .table-bordered tbody:last-child tr:last-child>th:last-child,.fuelux .table-bordered tfoot:last-child tr:last-child>td:last-child,.fuelux .table-bordered tfoot:last-child tr:last-child>th:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.fuelux .table-bordered tfoot+tbody:last-child tr:last-child td:first-child{-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomleft:0}.fuelux .table-bordered tfoot+tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-moz-border-radius-bottomright:0}.fuelux .table-bordered caption+thead tr:first-child th:first-child,.fuelux .table-bordered caption+tbody tr:first-child td:first-child,.fuelux .table-bordered colgroup+thead tr:first-child th:first-child,.fuelux .table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px}.fuelux .table-bordered caption+thead tr:first-child th:last-child,.fuelux .table-bordered caption+tbody tr:first-child td:last-child,.fuelux .table-bordered colgroup+thead tr:first-child th:last-child,.fuelux .table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px}.fuelux .table-striped tbody>tr:nth-child(odd)>td,.fuelux .table-striped tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.fuelux .table-hover tbody tr:hover>td,.fuelux .table-hover tbody tr:hover>th{background-color:#f5f5f5}.fuelux table td[class*="span"],.fuelux table th[class*="span"],.fuelux .row-fluid table td[class*="span"],.fuelux .row-fluid table th[class*="span"]{display:table-cell;float:none;margin-left:0}.fuelux .table td.span1,.fuelux .table th.span1{float:none;width:44px;margin-left:0}.fuelux .table td.span2,.fuelux .table th.span2{float:none;width:124px;margin-left:0}.fuelux .table td.span3,.fuelux .table th.span3{float:none;width:204px;margin-left:0}.fuelux .table td.span4,.fuelux .table th.span4{float:none;width:284px;margin-left:0}.fuelux .table td.span5,.fuelux .table th.span5{float:none;width:364px;margin-left:0}.fuelux .table td.span6,.fuelux .table th.span6{float:none;width:444px;margin-left:0}.fuelux .table td.span7,.fuelux .table th.span7{float:none;width:524px;margin-left:0}.fuelux .table td.span8,.fuelux .table th.span8{float:none;width:604px;margin-left:0}.fuelux .table td.span9,.fuelux .table th.span9{float:none;width:684px;margin-left:0}.fuelux .table td.span10,.fuelux .table th.span10{float:none;width:764px;margin-left:0}.fuelux .table td.span11,.fuelux .table th.span11{float:none;width:844px;margin-left:0}.fuelux .table td.span12,.fuelux .table th.span12{float:none;width:924px;margin-left:0}.fuelux .table tbody tr.success>td{background-color:#dff0d8}.fuelux .table tbody tr.error>td{background-color:#f2dede}.fuelux .table tbody tr.warning>td{background-color:#fcf8e3}.fuelux .table tbody tr.info>td{background-color:#d9edf7}.fuelux .table-hover tbody tr.success:hover>td{background-color:#d0e9c6}.fuelux .table-hover tbody tr.error:hover>td{background-color:#ebcccc}.fuelux .table-hover tbody tr.warning:hover>td{background-color:#faf2cc}.fuelux .table-hover tbody tr.info:hover>td{background-color:#c4e3f3}.fuelux [class^="icon-"],.fuelux [class*=" icon-"]{display:inline-block;width:14px;height:14px;margin-top:1px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}.fuelux .icon-white,.fuelux .nav-pills>.active>a>[class^="icon-"],.fuelux .nav-pills>.active>a>[class*=" icon-"],.fuelux .nav-list>.active>a>[class^="icon-"],.fuelux .nav-list>.active>a>[class*=" icon-"],.fuelux .navbar-inverse .nav>.active>a>[class^="icon-"],.fuelux .navbar-inverse .nav>.active>a>[class*=" icon-"],.fuelux .dropdown-menu>li>a:hover>[class^="icon-"],.fuelux .dropdown-menu>li>a:focus>[class^="icon-"],.fuelux .dropdown-menu>li>a:hover>[class*=" icon-"],.fuelux .dropdown-menu>li>a:focus>[class*=" icon-"],.fuelux .dropdown-menu>.active>a>[class^="icon-"],.fuelux .dropdown-menu>.active>a>[class*=" icon-"],.fuelux .dropdown-submenu:hover>a>[class^="icon-"],.fuelux .dropdown-submenu:focus>a>[class^="icon-"],.fuelux .dropdown-submenu:hover>a>[class*=" icon-"],.fuelux .dropdown-submenu:focus>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")}.fuelux .icon-glass{background-position:0 0}.fuelux .icon-music{background-position:-24px 0}.fuelux .icon-search{background-position:-48px 0}.fuelux .icon-envelope{background-position:-72px 0}.fuelux .icon-heart{background-position:-96px 0}.fuelux .icon-star{background-position:-120px 0}.fuelux .icon-star-empty{background-position:-144px 0}.fuelux .icon-user{background-position:-168px 0}.fuelux .icon-film{background-position:-192px 0}.fuelux .icon-th-large{background-position:-216px 0}.fuelux .icon-th{background-position:-240px 0}.fuelux .icon-th-list{background-position:-264px 0}.fuelux .icon-ok{background-position:-288px 0}.fuelux .icon-remove{background-position:-312px 0}.fuelux .icon-zoom-in{background-position:-336px 0}.fuelux .icon-zoom-out{background-position:-360px 0}.fuelux .icon-off{background-position:-384px 0}.fuelux .icon-signal{background-position:-408px 0}.fuelux .icon-cog{background-position:-432px 0}.fuelux .icon-trash{background-position:-456px 0}.fuelux .icon-home{background-position:0 -24px}.fuelux .icon-file{background-position:-24px -24px}.fuelux .icon-time{background-position:-48px -24px}.fuelux .icon-road{background-position:-72px -24px}.fuelux .icon-download-alt{background-position:-96px -24px}.fuelux .icon-download{background-position:-120px -24px}.fuelux .icon-upload{background-position:-144px -24px}.fuelux .icon-inbox{background-position:-168px -24px}.fuelux .icon-play-circle{background-position:-192px -24px}.fuelux .icon-repeat{background-position:-216px -24px}.fuelux .icon-refresh{background-position:-240px -24px}.fuelux .icon-list-alt{background-position:-264px -24px}.fuelux .icon-lock{background-position:-287px -24px}.fuelux .icon-flag{background-position:-312px -24px}.fuelux .icon-headphones{background-position:-336px -24px}.fuelux .icon-volume-off{background-position:-360px -24px}.fuelux .icon-volume-down{background-position:-384px -24px}.fuelux .icon-volume-up{background-position:-408px -24px}.fuelux .icon-qrcode{background-position:-432px -24px}.fuelux .icon-barcode{background-position:-456px -24px}.fuelux .icon-tag{background-position:0 -48px}.fuelux .icon-tags{background-position:-25px -48px}.fuelux .icon-book{background-position:-48px -48px}.fuelux .icon-bookmark{background-position:-72px -48px}.fuelux .icon-print{background-position:-96px -48px}.fuelux .icon-camera{background-position:-120px -48px}.fuelux .icon-font{background-position:-144px -48px}.fuelux .icon-bold{background-position:-167px -48px}.fuelux .icon-italic{background-position:-192px -48px}.fuelux .icon-text-height{background-position:-216px -48px}.fuelux .icon-text-width{background-position:-240px -48px}.fuelux .icon-align-left{background-position:-264px -48px}.fuelux .icon-align-center{background-position:-288px -48px}.fuelux .icon-align-right{background-position:-312px -48px}.fuelux .icon-align-justify{background-position:-336px -48px}.fuelux .icon-list{background-position:-360px -48px}.fuelux .icon-indent-left{background-position:-384px -48px}.fuelux .icon-indent-right{background-position:-408px -48px}.fuelux .icon-facetime-video{background-position:-432px -48px}.fuelux .icon-picture{background-position:-456px -48px}.fuelux .icon-pencil{background-position:0 -72px}.fuelux .icon-map-marker{background-position:-24px -72px}.fuelux .icon-adjust{background-position:-48px -72px}.fuelux .icon-tint{background-position:-72px -72px}.fuelux .icon-edit{background-position:-96px -72px}.fuelux .icon-share{background-position:-120px -72px}.fuelux .icon-check{background-position:-144px -72px}.fuelux .icon-move{background-position:-168px -72px}.fuelux .icon-step-backward{background-position:-192px -72px}.fuelux .icon-fast-backward{background-position:-216px -72px}.fuelux .icon-backward{background-position:-240px -72px}.fuelux .icon-play{background-position:-264px -72px}.fuelux .icon-pause{background-position:-288px -72px}.fuelux .icon-stop{background-position:-312px -72px}.fuelux .icon-forward{background-position:-336px -72px}.fuelux .icon-fast-forward{background-position:-360px -72px}.fuelux .icon-step-forward{background-position:-384px -72px}.fuelux .icon-eject{background-position:-408px -72px}.fuelux .icon-chevron-left{background-position:-432px -72px}.fuelux .icon-chevron-right{background-position:-456px -72px}.fuelux .icon-plus-sign{background-position:0 -96px}.fuelux .icon-minus-sign{background-position:-24px -96px}.fuelux .icon-remove-sign{background-position:-48px -96px}.fuelux .icon-ok-sign{background-position:-72px -96px}.fuelux .icon-question-sign{background-position:-96px -96px}.fuelux .icon-info-sign{background-position:-120px -96px}.fuelux .icon-screenshot{background-position:-144px -96px}.fuelux .icon-remove-circle{background-position:-168px -96px}.fuelux .icon-ok-circle{background-position:-192px -96px}.fuelux .icon-ban-circle{background-position:-216px -96px}.fuelux .icon-arrow-left{background-position:-240px -96px}.fuelux .icon-arrow-right{background-position:-264px -96px}.fuelux .icon-arrow-up{background-position:-289px -96px}.fuelux .icon-arrow-down{background-position:-312px -96px}.fuelux .icon-share-alt{background-position:-336px -96px}.fuelux .icon-resize-full{background-position:-360px -96px}.fuelux .icon-resize-small{background-position:-384px -96px}.fuelux .icon-plus{background-position:-408px -96px}.fuelux .icon-minus{background-position:-433px -96px}.fuelux .icon-asterisk{background-position:-456px -96px}.fuelux .icon-exclamation-sign{background-position:0 -120px}.fuelux .icon-gift{background-position:-24px -120px}.fuelux .icon-leaf{background-position:-48px -120px}.fuelux .icon-fire{background-position:-72px -120px}.fuelux .icon-eye-open{background-position:-96px -120px}.fuelux .icon-eye-close{background-position:-120px -120px}.fuelux .icon-warning-sign{background-position:-144px -120px}.fuelux .icon-plane{background-position:-168px -120px}.fuelux .icon-calendar{background-position:-192px -120px}.fuelux .icon-random{width:16px;background-position:-216px -120px}.fuelux .icon-comment{background-position:-240px -120px}.fuelux .icon-magnet{background-position:-264px -120px}.fuelux .icon-chevron-up{background-position:-288px -120px}.fuelux .icon-chevron-down{background-position:-313px -119px}.fuelux .icon-retweet{background-position:-336px -120px}.fuelux .icon-shopping-cart{background-position:-360px -120px}.fuelux .icon-folder-close{width:16px;background-position:-384px -120px}.fuelux .icon-folder-open{width:16px;background-position:-408px -120px}.fuelux .icon-resize-vertical{background-position:-432px -119px}.fuelux .icon-resize-horizontal{background-position:-456px -118px}.fuelux .icon-hdd{background-position:0 -144px}.fuelux .icon-bullhorn{background-position:-24px -144px}.fuelux .icon-bell{background-position:-48px -144px}.fuelux .icon-certificate{background-position:-72px -144px}.fuelux .icon-thumbs-up{background-position:-96px -144px}.fuelux .icon-thumbs-down{background-position:-120px -144px}.fuelux .icon-hand-right{background-position:-144px -144px}.fuelux .icon-hand-left{background-position:-168px -144px}.fuelux .icon-hand-up{background-position:-192px -144px}.fuelux .icon-hand-down{background-position:-216px -144px}.fuelux .icon-circle-arrow-right{background-position:-240px -144px}.fuelux .icon-circle-arrow-left{background-position:-264px -144px}.fuelux .icon-circle-arrow-up{background-position:-288px -144px}.fuelux .icon-circle-arrow-down{background-position:-312px -144px}.fuelux .icon-globe{background-position:-336px -144px}.fuelux .icon-wrench{background-position:-360px -144px}.fuelux .icon-tasks{background-position:-384px -144px}.fuelux .icon-filter{background-position:-408px -144px}.fuelux .icon-briefcase{background-position:-432px -144px}.fuelux .icon-fullscreen{background-position:-456px -144px}.fuelux .dropup,.fuelux .dropdown{position:relative}.fuelux .dropdown-toggle{*margin-bottom:-3px}.fuelux .dropdown-toggle:active,.fuelux .open .dropdown-toggle{outline:0}.fuelux .caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.fuelux .dropdown .caret{margin-top:8px;margin-left:2px}.fuelux .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.fuelux .dropdown-menu.pull-right{right:0;left:auto}.fuelux .dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.fuelux .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap}.fuelux .dropdown-menu>li>a:hover,.fuelux .dropdown-menu>li>a:focus,.fuelux .dropdown-submenu:hover>a,.fuelux .dropdown-submenu:focus>a{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.fuelux .dropdown-menu>.active>a,.fuelux .dropdown-menu>.active>a:hover,.fuelux .dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#0081c2;background-image:-moz-linear-gradient(top,#08c,#0077b3);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));background-image:-webkit-linear-gradient(top,#08c,#0077b3);background-image:-o-linear-gradient(top,#08c,#0077b3);background-image:linear-gradient(to bottom,#08c,#0077b3);background-repeat:repeat-x;outline:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0077b3',GradientType=0)}.fuelux .dropdown-menu>.disabled>a,.fuelux .dropdown-menu>.disabled>a:hover,.fuelux .dropdown-menu>.disabled>a:focus{color:#999}.fuelux .dropdown-menu>.disabled>a:hover,.fuelux .dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .open{*z-index:1000}.fuelux .open>.dropdown-menu{display:block}.fuelux .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.fuelux .pull-right>.dropdown-menu{right:0;left:auto}.fuelux .dropup .caret,.fuelux .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:""}.fuelux .dropup .dropdown-menu,.fuelux .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}.fuelux .dropdown-submenu{position:relative}.fuelux .dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px}.fuelux .dropdown-submenu:hover>.dropdown-menu{display:block}.fuelux .dropup .dropdown-submenu>.dropdown-menu{top:auto;bottom:0;margin-top:0;margin-bottom:-2px;-webkit-border-radius:5px 5px 5px 0;-moz-border-radius:5px 5px 5px 0;border-radius:5px 5px 5px 0}.fuelux .dropdown-submenu>a:after{display:block;float:right;width:0;height:0;margin-top:5px;margin-right:-10px;border-color:transparent;border-left-color:#ccc;border-style:solid;border-width:5px 0 5px 5px;content:" "}.fuelux .dropdown-submenu:hover>a:after{border-left-color:#fff}.fuelux .dropdown-submenu.pull-left{float:none}.fuelux .dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.fuelux .dropdown .dropdown-menu .nav-header{padding-right:20px;padding-left:20px}.fuelux .typeahead{z-index:1051;margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.fuelux .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.fuelux .well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fuelux .fade{opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fuelux .fade.in{opacity:1}.fuelux .collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.fuelux .collapse.in{height:auto}.fuelux .close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.fuelux .close:hover,.fuelux .close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.fuelux button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.fuelux .btn{display:inline-block;*display:inline;padding:4px 12px;margin-bottom:0;*margin-left:.3em;font-size:14px;line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #ccc;*border:0;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.fuelux .btn:hover,.fuelux .btn:focus,.fuelux .btn:active,.fuelux .btn.active,.fuelux .btn.disabled,.fuelux .btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.fuelux .btn:active,.fuelux .btn.active{background-color:#ccc \9}.fuelux .btn:first-child{*margin-left:0}.fuelux .btn:hover,.fuelux .btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.fuelux .btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.fuelux .btn.active,.fuelux .btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.fuelux .btn.disabled,.fuelux .btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.fuelux .btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .btn-large [class^="icon-"],.fuelux .btn-large [class*=" icon-"]{margin-top:4px}.fuelux .btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fuelux .btn-small [class^="icon-"],.fuelux .btn-small [class*=" icon-"]{margin-top:0}.fuelux .btn-mini [class^="icon-"],.fuelux .btn-mini [class*=" icon-"]{margin-top:-1px}.fuelux .btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fuelux .btn-block{display:block;width:100%;padding-right:0;padding-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fuelux .btn-block+.btn-block{margin-top:5px}.fuelux input[type="submit"].btn-block,.fuelux input[type="reset"].btn-block,.fuelux input[type="button"].btn-block{width:100%}.fuelux .btn-primary.active,.fuelux .btn-warning.active,.fuelux .btn-danger.active,.fuelux .btn-success.active,.fuelux .btn-info.active,.fuelux .btn-inverse.active{color:rgba(255,255,255,0.75)}.fuelux .btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;*background-color:#04c;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .btn-primary:hover,.fuelux .btn-primary:focus,.fuelux .btn-primary:active,.fuelux .btn-primary.active,.fuelux .btn-primary.disabled,.fuelux .btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.fuelux .btn-primary:active,.fuelux .btn-primary.active{background-color:#039 \9}.fuelux .btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;*background-color:#f89406;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .btn-warning:hover,.fuelux .btn-warning:focus,.fuelux .btn-warning:active,.fuelux .btn-warning.active,.fuelux .btn-warning.disabled,.fuelux .btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.fuelux .btn-warning:active,.fuelux .btn-warning.active{background-color:#c67605 \9}.fuelux .btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;*background-color:#bd362f;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffbd362f',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .btn-danger:hover,.fuelux .btn-danger:focus,.fuelux .btn-danger:active,.fuelux .btn-danger.active,.fuelux .btn-danger.disabled,.fuelux .btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.fuelux .btn-danger:active,.fuelux .btn-danger.active{background-color:#942a25 \9}.fuelux .btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;*background-color:#51a351;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff51a351',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .btn-success:hover,.fuelux .btn-success:focus,.fuelux .btn-success:active,.fuelux .btn-success.active,.fuelux .btn-success.disabled,.fuelux .btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.fuelux .btn-success:active,.fuelux .btn-success.active{background-color:#408140 \9}.fuelux .btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;*background-color:#2f96b4;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2f96b4',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .btn-info:hover,.fuelux .btn-info:focus,.fuelux .btn-info:active,.fuelux .btn-info.active,.fuelux .btn-info.disabled,.fuelux .btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.fuelux .btn-info:active,.fuelux .btn-info.active{background-color:#24748c \9}.fuelux .btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#363636;*background-color:#222;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444',endColorstr='#ff222222',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .btn-inverse:hover,.fuelux .btn-inverse:focus,.fuelux .btn-inverse:active,.fuelux .btn-inverse.active,.fuelux .btn-inverse.disabled,.fuelux .btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.fuelux .btn-inverse:active,.fuelux .btn-inverse.active{background-color:#080808 \9}.fuelux button.btn,.fuelux input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}.fuelux button.btn::-moz-focus-inner,.fuelux input[type="submit"].btn::-moz-focus-inner{padding:0;border:0}.fuelux button.btn.btn-large,.fuelux input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px}.fuelux button.btn.btn-small,.fuelux input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px}.fuelux button.btn.btn-mini,.fuelux input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.fuelux .btn-link,.fuelux .btn-link:active,.fuelux .btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.fuelux .btn-link{color:#08c;cursor:pointer;border-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .btn-link:hover,.fuelux .btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.fuelux .btn-link[disabled]:hover,.fuelux .btn-link[disabled]:focus{color:#333;text-decoration:none}.fuelux .btn-group{position:relative;display:inline-block;*display:inline;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle;*zoom:1}.fuelux .btn-group:first-child{*margin-left:0}.fuelux .btn-group+.btn-group{margin-left:5px}.fuelux .btn-toolbar{margin-top:10px;margin-bottom:10px;font-size:0}.fuelux .btn-toolbar>.btn+.btn,.fuelux .btn-toolbar>.btn-group+.btn,.fuelux .btn-toolbar>.btn+.btn-group{margin-left:5px}.fuelux .btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .btn-group>.btn+.btn{margin-left:-1px}.fuelux .btn-group>.btn,.fuelux .btn-group>.dropdown-menu,.fuelux .btn-group>.popover{font-size:14px}.fuelux .btn-group>.btn-mini{font-size:10.5px}.fuelux .btn-group>.btn-small{font-size:11.9px}.fuelux .btn-group>.btn-large{font-size:17.5px}.fuelux .btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.fuelux .btn-group>.btn:last-child,.fuelux .btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.fuelux .btn-group>.btn.large:first-child{margin-left:0;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.fuelux .btn-group>.btn.large:last-child,.fuelux .btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.fuelux .btn-group>.btn:hover,.fuelux .btn-group>.btn:focus,.fuelux .btn-group>.btn:active,.fuelux .btn-group>.btn.active{z-index:2}.fuelux .btn-group .dropdown-toggle:active,.fuelux .btn-group.open .dropdown-toggle{outline:0}.fuelux .btn-group>.btn+.dropdown-toggle{*padding-top:5px;padding-right:8px;*padding-bottom:5px;padding-left:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 1px 0 0 rgba(255,255,255,0.125),inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.fuelux .btn-group>.btn-mini+.dropdown-toggle{*padding-top:2px;padding-right:5px;*padding-bottom:2px;padding-left:5px}.fuelux .btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px}.fuelux .btn-group>.btn-large+.dropdown-toggle{*padding-top:7px;padding-right:12px;*padding-bottom:7px;padding-left:12px}.fuelux .btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}.fuelux .btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6}.fuelux .btn-group.open .btn-primary.dropdown-toggle{background-color:#04c}.fuelux .btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406}.fuelux .btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f}.fuelux .btn-group.open .btn-success.dropdown-toggle{background-color:#51a351}.fuelux .btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4}.fuelux .btn-group.open .btn-inverse.dropdown-toggle{background-color:#222}.fuelux .btn .caret{margin-top:8px;margin-left:0}.fuelux .btn-large .caret{margin-top:6px}.fuelux .btn-large .caret{border-top-width:5px;border-right-width:5px;border-left-width:5px}.fuelux .btn-mini .caret,.fuelux .btn-small .caret{margin-top:8px}.fuelux .dropup .btn-large .caret{border-bottom-width:5px}.fuelux .btn-primary .caret,.fuelux .btn-warning .caret,.fuelux .btn-danger .caret,.fuelux .btn-info .caret,.fuelux .btn-success .caret,.fuelux .btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff}.fuelux .btn-group-vertical{display:inline-block;*display:inline;*zoom:1}.fuelux .btn-group-vertical>.btn{display:block;float:none;max-width:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .btn-group-vertical>.btn+.btn{margin-top:-1px;margin-left:0}.fuelux .btn-group-vertical>.btn:first-child{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.fuelux .btn-group-vertical>.btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.fuelux .btn-group-vertical>.btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.fuelux .btn-group-vertical>.btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.fuelux .alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux .alert,.fuelux .alert h4{color:#c09853}.fuelux .alert h4{margin:0}.fuelux .alert .close{position:relative;top:-2px;right:-21px;line-height:20px}.fuelux .alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.fuelux .alert-success h4{color:#468847}.fuelux .alert-danger,.fuelux .alert-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.fuelux .alert-danger h4,.fuelux .alert-error h4{color:#b94a48}.fuelux .alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.fuelux .alert-info h4{color:#3a87ad}.fuelux .alert-block{padding-top:14px;padding-bottom:14px}.fuelux .alert-block>p,.fuelux .alert-block>ul{margin-bottom:0}.fuelux .alert-block p+p{margin-top:5px}.fuelux .nav{margin-bottom:20px;margin-left:0;list-style:none}.fuelux .nav>li>a{display:block}.fuelux .nav>li>a:hover,.fuelux .nav>li>a:focus{text-decoration:none;background-color:#eee}.fuelux .nav>li>a>img{max-width:none}.fuelux .nav>.pull-right{float:right}.fuelux .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase}.fuelux .nav li+.nav-header{margin-top:9px}.fuelux .nav-list{padding-right:15px;padding-left:15px;margin-bottom:0}.fuelux .nav-list>li>a,.fuelux .nav-list .nav-header{margin-right:-15px;margin-left:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.fuelux .nav-list>li>a{padding:3px 15px}.fuelux .nav-list>.active>a,.fuelux .nav-list>.active>a:hover,.fuelux .nav-list>.active>a:focus{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c}.fuelux .nav-list [class^="icon-"],.fuelux .nav-list [class*=" icon-"]{margin-right:2px}.fuelux .nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff}.fuelux .nav-tabs,.fuelux .nav-pills{*zoom:1}.fuelux .nav-tabs:before,.fuelux .nav-pills:before,.fuelux .nav-tabs:after,.fuelux .nav-pills:after{display:table;line-height:0;content:""}.fuelux .nav-tabs:after,.fuelux .nav-pills:after{clear:both}.fuelux .nav-tabs>li,.fuelux .nav-pills>li{float:left}.fuelux .nav-tabs>li>a,.fuelux .nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px}.fuelux .nav-tabs{border-bottom:1px solid #ddd}.fuelux .nav-tabs>li{margin-bottom:-1px}.fuelux .nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.fuelux .nav-tabs>li>a:hover,.fuelux .nav-tabs>li>a:focus{border-color:#eee #eee #ddd}.fuelux .nav-tabs>.active>a,.fuelux .nav-tabs>.active>a:hover,.fuelux .nav-tabs>.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.fuelux .nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.fuelux .nav-pills>.active>a,.fuelux .nav-pills>.active>a:hover,.fuelux .nav-pills>.active>a:focus{color:#fff;background-color:#08c}.fuelux .nav-stacked>li{float:none}.fuelux .nav-stacked>li>a{margin-right:0}.fuelux .nav-tabs.nav-stacked{border-bottom:0}.fuelux .nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px}.fuelux .nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-moz-border-radius-bottomleft:4px}.fuelux .nav-tabs.nav-stacked>li>a:hover,.fuelux .nav-tabs.nav-stacked>li>a:focus{z-index:2;border-color:#ddd}.fuelux .nav-pills.nav-stacked>li>a{margin-bottom:3px}.fuelux .nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px}.fuelux .nav-tabs .dropdown-menu{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.fuelux .nav-pills .dropdown-menu{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .nav .dropdown-toggle .caret{margin-top:6px;border-top-color:#08c;border-bottom-color:#08c}.fuelux .nav .dropdown-toggle:hover .caret,.fuelux .nav .dropdown-toggle:focus .caret{border-top-color:#005580;border-bottom-color:#005580}.fuelux .nav-tabs .dropdown-toggle .caret{margin-top:8px}.fuelux .nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.fuelux .nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.fuelux .nav>.dropdown.active>a:hover,.fuelux .nav>.dropdown.active>a:focus{cursor:pointer}.fuelux .nav-tabs .open .dropdown-toggle,.fuelux .nav-pills .open .dropdown-toggle,.fuelux .nav>li.dropdown.open.active>a:hover,.fuelux .nav>li.dropdown.open.active>a:focus{color:#fff;background-color:#999;border-color:#999}.fuelux .nav li.dropdown.open .caret,.fuelux .nav li.dropdown.open.active .caret,.fuelux .nav li.dropdown.open a:hover .caret,.fuelux .nav li.dropdown.open a:focus .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)}.fuelux .tabs-stacked .open>a:hover,.fuelux .tabs-stacked .open>a:focus{border-color:#999}.fuelux .tabbable{*zoom:1}.fuelux .tabbable:before,.fuelux .tabbable:after{display:table;line-height:0;content:""}.fuelux .tabbable:after{clear:both}.fuelux .tab-content{overflow:auto}.fuelux .tabs-below>.nav-tabs,.fuelux .tabs-right>.nav-tabs,.fuelux .tabs-left>.nav-tabs{border-bottom:0}.fuelux .tab-content>.tab-pane,.fuelux .pill-content>.pill-pane{display:none}.fuelux .tab-content>.active,.fuelux .pill-content>.active{display:block}.fuelux .tabs-below>.nav-tabs{border-top:1px solid #ddd}.fuelux .tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0}.fuelux .tabs-below>.nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.fuelux .tabs-below>.nav-tabs>li>a:hover,.fuelux .tabs-below>.nav-tabs>li>a:focus{border-top-color:#ddd;border-bottom-color:transparent}.fuelux .tabs-below>.nav-tabs>.active>a,.fuelux .tabs-below>.nav-tabs>.active>a:hover,.fuelux .tabs-below>.nav-tabs>.active>a:focus{border-color:transparent #ddd #ddd #ddd}.fuelux .tabs-left>.nav-tabs>li,.fuelux .tabs-right>.nav-tabs>li{float:none}.fuelux .tabs-left>.nav-tabs>li>a,.fuelux .tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px}.fuelux .tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd}.fuelux .tabs-left>.nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.fuelux .tabs-left>.nav-tabs>li>a:hover,.fuelux .tabs-left>.nav-tabs>li>a:focus{border-color:#eee #ddd #eee #eee}.fuelux .tabs-left>.nav-tabs .active>a,.fuelux .tabs-left>.nav-tabs .active>a:hover,.fuelux .tabs-left>.nav-tabs .active>a:focus{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff}.fuelux .tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd}.fuelux .tabs-right>.nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.fuelux .tabs-right>.nav-tabs>li>a:hover,.fuelux .tabs-right>.nav-tabs>li>a:focus{border-color:#eee #eee #eee #ddd}.fuelux .tabs-right>.nav-tabs .active>a,.fuelux .tabs-right>.nav-tabs .active>a:hover,.fuelux .tabs-right>.nav-tabs .active>a:focus{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff}.fuelux .nav>.disabled>a{color:#999}.fuelux .nav>.disabled>a:hover,.fuelux .nav>.disabled>a:focus{text-decoration:none;cursor:default;background-color:transparent}.fuelux .navbar{*position:relative;*z-index:2;margin-bottom:20px;overflow:visible}.fuelux .navbar-inner{min-height:40px;padding-right:20px;padding-left:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top,#fff,#f2f2f2);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));background-image:-webkit-linear-gradient(top,#fff,#f2f2f2);background-image:-o-linear-gradient(top,#fff,#f2f2f2);background-image:linear-gradient(to bottom,#fff,#f2f2f2);background-repeat:repeat-x;border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.fuelux .navbar-inner:before,.fuelux .navbar-inner:after{display:table;line-height:0;content:""}.fuelux .navbar-inner:after{clear:both}.fuelux .navbar .container{width:auto}.fuelux .nav-collapse.collapse{height:auto;overflow:visible}.fuelux .navbar .brand{display:block;float:left;padding:10px 20px 10px;margin-left:-20px;font-size:20px;font-weight:200;color:#777;text-shadow:0 1px 0 #fff}.fuelux .navbar .brand:hover,.fuelux .navbar .brand:focus{text-decoration:none}.fuelux .navbar-text{margin-bottom:0;line-height:40px;color:#777}.fuelux .navbar-link{color:#777}.fuelux .navbar-link:hover,.fuelux .navbar-link:focus{color:#333}.fuelux .navbar .divider-vertical{height:40px;margin:0 9px;border-right:1px solid #fff;border-left:1px solid #f2f2f2}.fuelux .navbar .btn,.fuelux .navbar .btn-group{margin-top:5px}.fuelux .navbar .btn-group .btn,.fuelux .navbar .input-prepend .btn,.fuelux .navbar .input-append .btn,.fuelux .navbar .input-prepend .btn-group,.fuelux .navbar .input-append .btn-group{margin-top:0}.fuelux .navbar-form{margin-bottom:0;*zoom:1}.fuelux .navbar-form:before,.fuelux .navbar-form:after{display:table;line-height:0;content:""}.fuelux .navbar-form:after{clear:both}.fuelux .navbar-form input,.fuelux .navbar-form select,.fuelux .navbar-form .radio,.fuelux .navbar-form .checkbox{margin-top:5px}.fuelux .navbar-form input,.fuelux .navbar-form select,.fuelux .navbar-form .btn{display:inline-block;margin-bottom:0}.fuelux .navbar-form input[type="image"],.fuelux .navbar-form input[type="checkbox"],.fuelux .navbar-form input[type="radio"]{margin-top:3px}.fuelux .navbar-form .input-append,.fuelux .navbar-form .input-prepend{margin-top:5px;white-space:nowrap}.fuelux .navbar-form .input-append input,.fuelux .navbar-form .input-prepend input{margin-top:0}.fuelux .navbar-search{position:relative;float:left;margin-top:5px;margin-bottom:0}.fuelux .navbar-search .search-query{padding:4px 14px;margin-bottom:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.fuelux .navbar-static-top{position:static;margin-bottom:0}.fuelux .navbar-static-top .navbar-inner{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .navbar-fixed-top,.fuelux .navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0}.fuelux .navbar-fixed-top .navbar-inner,.fuelux .navbar-static-top .navbar-inner{border-width:0 0 1px}.fuelux .navbar-fixed-bottom .navbar-inner{border-width:1px 0 0}.fuelux .navbar-fixed-top .navbar-inner,.fuelux .navbar-fixed-bottom .navbar-inner{padding-right:0;padding-left:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .navbar-static-top .container,.fuelux .navbar-fixed-top .container,.fuelux .navbar-fixed-bottom .container{width:940px}.fuelux .navbar-fixed-top{top:0}.fuelux .navbar-fixed-top .navbar-inner,.fuelux .navbar-static-top .navbar-inner{-webkit-box-shadow:0 1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 10px rgba(0,0,0,0.1);box-shadow:0 1px 10px rgba(0,0,0,0.1)}.fuelux .navbar-fixed-bottom{bottom:0}.fuelux .navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:0 -1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 -1px 10px rgba(0,0,0,0.1);box-shadow:0 -1px 10px rgba(0,0,0,0.1)}.fuelux .navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0}.fuelux .navbar .nav.pull-right{float:right;margin-right:0}.fuelux .navbar .nav>li{float:left}.fuelux .navbar .nav>li>a{float:none;padding:10px 15px 10px;color:#777;text-decoration:none;text-shadow:0 1px 0 #fff}.fuelux .navbar .nav .dropdown-toggle .caret{margin-top:8px}.fuelux .navbar .nav>li>a:focus,.fuelux .navbar .nav>li>a:hover{color:#333;text-decoration:none;background-color:transparent}.fuelux .navbar .nav>.active>a,.fuelux .navbar .nav>.active>a:hover,.fuelux .navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);box-shadow:inset 0 3px 8px rgba(0,0,0,0.125)}.fuelux .navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-right:5px;margin-left:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#ededed;*background-color:#e5e5e5;background-image:-moz-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:-o-linear-gradient(top,#f2f2f2,#e5e5e5);background-image:linear-gradient(to bottom,#f2f2f2,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2',endColorstr='#ffe5e5e5',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.075)}.fuelux .navbar .btn-navbar:hover,.fuelux .navbar .btn-navbar:focus,.fuelux .navbar .btn-navbar:active,.fuelux .navbar .btn-navbar.active,.fuelux .navbar .btn-navbar.disabled,.fuelux .navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9}.fuelux .navbar .btn-navbar:active,.fuelux .navbar .btn-navbar.active{background-color:#ccc \9}.fuelux .navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)}.fuelux .btn-navbar .icon-bar+.icon-bar{margin-top:3px}.fuelux .navbar .nav>li>.dropdown-menu:before{position:absolute;top:-7px;left:9px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.fuelux .navbar .nav>li>.dropdown-menu:after{position:absolute;top:-6px;left:10px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.fuelux .navbar-fixed-bottom .nav>li>.dropdown-menu:before{top:auto;bottom:-7px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.fuelux .navbar-fixed-bottom .nav>li>.dropdown-menu:after{top:auto;bottom:-6px;border-top:6px solid #fff;border-bottom:0}.fuelux .navbar .nav li.dropdown>a:hover .caret,.fuelux .navbar .nav li.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.fuelux .navbar .nav li.dropdown.open>.dropdown-toggle,.fuelux .navbar .nav li.dropdown.active>.dropdown-toggle,.fuelux .navbar .nav li.dropdown.open.active>.dropdown-toggle{color:#555;background-color:#e5e5e5}.fuelux .navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777;border-bottom-color:#777}.fuelux .navbar .nav li.dropdown.open>.dropdown-toggle .caret,.fuelux .navbar .nav li.dropdown.active>.dropdown-toggle .caret,.fuelux .navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555}.fuelux .navbar .pull-right>li>.dropdown-menu,.fuelux .navbar .nav>li>.dropdown-menu.pull-right{right:0;left:auto}.fuelux .navbar .pull-right>li>.dropdown-menu:before,.fuelux .navbar .nav>li>.dropdown-menu.pull-right:before{right:12px;left:auto}.fuelux .navbar .pull-right>li>.dropdown-menu:after,.fuelux .navbar .nav>li>.dropdown-menu.pull-right:after{right:13px;left:auto}.fuelux .navbar .pull-right>li>.dropdown-menu .dropdown-menu,.fuelux .navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.fuelux .navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top,#222,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#222),to(#111));background-image:-webkit-linear-gradient(top,#222,#111);background-image:-o-linear-gradient(top,#222,#111);background-image:linear-gradient(to bottom,#222,#111);background-repeat:repeat-x;border-color:#252525;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff111111',GradientType=0)}.fuelux .navbar-inverse .brand,.fuelux .navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.fuelux .navbar-inverse .brand:hover,.fuelux .navbar-inverse .nav>li>a:hover,.fuelux .navbar-inverse .brand:focus,.fuelux .navbar-inverse .nav>li>a:focus{color:#fff}.fuelux .navbar-inverse .brand{color:#999}.fuelux .navbar-inverse .navbar-text{color:#999}.fuelux .navbar-inverse .nav>li>a:focus,.fuelux .navbar-inverse .nav>li>a:hover{color:#fff;background-color:transparent}.fuelux .navbar-inverse .nav .active>a,.fuelux .navbar-inverse .nav .active>a:hover,.fuelux .navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111}.fuelux .navbar-inverse .navbar-link{color:#999}.fuelux .navbar-inverse .navbar-link:hover,.fuelux .navbar-inverse .navbar-link:focus{color:#fff}.fuelux .navbar-inverse .divider-vertical{border-right-color:#222;border-left-color:#111}.fuelux .navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.fuelux .navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.fuelux .navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{color:#fff;background-color:#111}.fuelux .navbar-inverse .nav li.dropdown>a:hover .caret,.fuelux .navbar-inverse .nav li.dropdown>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}.fuelux .navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999}.fuelux .navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.fuelux .navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.fuelux .navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff}.fuelux .navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1),0 1px 0 rgba(255,255,255,0.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.fuelux .navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc}.fuelux .navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc}.fuelux .navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc}.fuelux .navbar-inverse .navbar-search .search-query:focus,.fuelux .navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;outline:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15)}.fuelux .navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e0e0e;*background-color:#040404;background-image:-moz-linear-gradient(top,#151515,#040404);background-image:-webkit-gradient(linear,0 0,0 100%,from(#151515),to(#040404));background-image:-webkit-linear-gradient(top,#151515,#040404);background-image:-o-linear-gradient(top,#151515,#040404);background-image:linear-gradient(to bottom,#151515,#040404);background-repeat:repeat-x;border-color:#040404 #040404 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515',endColorstr='#ff040404',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.fuelux .navbar-inverse .btn-navbar:hover,.fuelux .navbar-inverse .btn-navbar:focus,.fuelux .navbar-inverse .btn-navbar:active,.fuelux .navbar-inverse .btn-navbar.active,.fuelux .navbar-inverse .btn-navbar.disabled,.fuelux .navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000}.fuelux .navbar-inverse .btn-navbar:active,.fuelux .navbar-inverse .btn-navbar.active{background-color:#000 \9}.fuelux .breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux .breadcrumb>li{display:inline-block;*display:inline;text-shadow:0 1px 0 #fff;*zoom:1}.fuelux .breadcrumb>li>.divider{padding:0 5px;color:#ccc}.fuelux .breadcrumb>.active{color:#999}.fuelux .pagination{margin:20px 0}.fuelux .pagination ul{display:inline-block;*display:inline;margin-bottom:0;margin-left:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*zoom:1;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.fuelux .pagination ul>li{display:inline}.fuelux .pagination ul>li>a,.fuelux .pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0}.fuelux .pagination ul>li>a:hover,.fuelux .pagination ul>li>a:focus,.fuelux .pagination ul>.active>a,.fuelux .pagination ul>.active>span{background-color:#f5f5f5}.fuelux .pagination ul>.active>a,.fuelux .pagination ul>.active>span{color:#999;cursor:default}.fuelux .pagination ul>.disabled>span,.fuelux .pagination ul>.disabled>a,.fuelux .pagination ul>.disabled>a:hover,.fuelux .pagination ul>.disabled>a:focus{color:#999;cursor:default;background-color:transparent}.fuelux .pagination ul>li:first-child>a,.fuelux .pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}.fuelux .pagination ul>li:last-child>a,.fuelux .pagination ul>li:last-child>span{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}.fuelux .pagination-centered{text-align:center}.fuelux .pagination-right{text-align:right}.fuelux .pagination-large ul>li>a,.fuelux .pagination-large ul>li>span{padding:11px 19px;font-size:17.5px}.fuelux .pagination-large ul>li:first-child>a,.fuelux .pagination-large ul>li:first-child>span{-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-topleft:6px}.fuelux .pagination-large ul>li:last-child>a,.fuelux .pagination-large ul>li:last-child>span{-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomright:6px}.fuelux .pagination-mini ul>li:first-child>a,.fuelux .pagination-small ul>li:first-child>a,.fuelux .pagination-mini ul>li:first-child>span,.fuelux .pagination-small ul>li:first-child>span{-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-bottomleft:3px;-moz-border-radius-topleft:3px}.fuelux .pagination-mini ul>li:last-child>a,.fuelux .pagination-small ul>li:last-child>a,.fuelux .pagination-mini ul>li:last-child>span,.fuelux .pagination-small ul>li:last-child>span{-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px}.fuelux .pagination-small ul>li>a,.fuelux .pagination-small ul>li>span{padding:2px 10px;font-size:11.9px}.fuelux .pagination-mini ul>li>a,.fuelux .pagination-mini ul>li>span{padding:0 6px;font-size:10.5px}.fuelux .pager{margin:20px 0;text-align:center;list-style:none;*zoom:1}.fuelux .pager:before,.fuelux .pager:after{display:table;line-height:0;content:""}.fuelux .pager:after{clear:both}.fuelux .pager li{display:inline}.fuelux .pager li>a,.fuelux .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px}.fuelux .pager li>a:hover,.fuelux .pager li>a:focus{text-decoration:none;background-color:#f5f5f5}.fuelux .pager .next>a,.fuelux .pager .next>span{float:right}.fuelux .pager .previous>a,.fuelux .pager .previous>span{float:left}.fuelux .pager .disabled>a,.fuelux .pager .disabled>a:hover,.fuelux .pager .disabled>a:focus,.fuelux .pager .disabled>span{color:#999;cursor:default;background-color:#fff}.fuelux .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.fuelux .modal-backdrop.fade{opacity:0}.fuelux .modal-backdrop,.fuelux .modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}.fuelux .modal{position:fixed;top:10%;left:50%;z-index:1050;width:560px;margin-left:-280px;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;outline:0;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}.fuelux .modal.fade{top:-25%;-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out}.fuelux .modal.fade.in{top:10%}.fuelux .modal-header{padding:9px 15px;border-bottom:1px solid #eee}.fuelux .modal-header .close{margin-top:2px}.fuelux .modal-header h3{margin:0;line-height:30px}.fuelux .modal-body{position:relative;max-height:400px;padding:15px;overflow-y:auto}.fuelux .modal-form{margin-bottom:0}.fuelux .modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;*zoom:1;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.fuelux .modal-footer:before,.fuelux .modal-footer:after{display:table;line-height:0;content:""}.fuelux .modal-footer:after{clear:both}.fuelux .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.fuelux .modal-footer .btn-group .btn+.btn{margin-left:-1px}.fuelux .modal-footer .btn-block+.btn-block{margin-left:0}.fuelux .tooltip{position:absolute;z-index:1030;display:block;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.fuelux .tooltip.in{opacity:.8;filter:alpha(opacity=80)}.fuelux .tooltip.top{padding:5px 0;margin-top:-3px}.fuelux .tooltip.right{padding:0 5px;margin-left:3px}.fuelux .tooltip.bottom{padding:5px 0;margin-top:3px}.fuelux .tooltip.left{padding:0 5px;margin-left:-3px}.fuelux .tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.fuelux .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.fuelux .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.fuelux .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.fuelux .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.fuelux .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.fuelux .popover.top{margin-top:-10px}.fuelux .popover.right{margin-left:10px}.fuelux .popover.bottom{margin-top:10px}.fuelux .popover.left{margin-left:-10px}.fuelux .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.fuelux .popover-title:empty{display:none}.fuelux .popover-content{padding:9px 14px}.fuelux .popover .arrow,.fuelux .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.fuelux .popover .arrow{border-width:11px}.fuelux .popover .arrow:after{border-width:10px;content:""}.fuelux .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.fuelux .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0}.fuelux .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.fuelux .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0}.fuelux .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.fuelux .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0}.fuelux .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.fuelux .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0}.fuelux .thumbnails{margin-left:-20px;list-style:none;*zoom:1}.fuelux .thumbnails:before,.fuelux .thumbnails:after{display:table;line-height:0;content:""}.fuelux .thumbnails:after{clear:both}.fuelux .row-fluid .thumbnails{margin-left:0}.fuelux .thumbnails>li{float:left;margin-bottom:20px;margin-left:20px}.fuelux .thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.055);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.055);box-shadow:0 1px 3px rgba(0,0,0,0.055);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.fuelux a.thumbnail:hover,.fuelux a.thumbnail:focus{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)}.fuelux .thumbnail>img{display:block;max-width:100%;margin-right:auto;margin-left:auto}.fuelux .thumbnail .caption{padding:9px;color:#555}.fuelux .media,.fuelux .media-body{overflow:hidden;*overflow:visible;zoom:1}.fuelux .media,.fuelux .media .media{margin-top:15px}.fuelux .media:first-child{margin-top:0}.fuelux .media-object{display:block}.fuelux .media-heading{margin:0 0 5px}.fuelux .media>.pull-left{margin-right:10px}.fuelux .media>.pull-right{margin-left:10px}.fuelux .media-list{margin-left:0;list-style:none}.fuelux .label,.fuelux .badge{display:inline-block;padding:2px 4px;font-size:11.844px;font-weight:bold;line-height:14px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);white-space:nowrap;vertical-align:baseline;background-color:#999}.fuelux .label{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fuelux .badge{padding-right:9px;padding-left:9px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px}.fuelux .label:empty,.fuelux .badge:empty{display:none}.fuelux a.label:hover,.fuelux a.label:focus,.fuelux a.badge:hover,.fuelux a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.fuelux .label-important,.fuelux .badge-important{background-color:#b94a48}.fuelux .label-important[href],.fuelux .badge-important[href]{background-color:#953b39}.fuelux .label-warning,.fuelux .badge-warning{background-color:#f89406}.fuelux .label-warning[href],.fuelux .badge-warning[href]{background-color:#c67605}.fuelux .label-success,.fuelux .badge-success{background-color:#468847}.fuelux .label-success[href],.fuelux .badge-success[href]{background-color:#356635}.fuelux .label-info,.fuelux .badge-info{background-color:#3a87ad}.fuelux .label-info[href],.fuelux .badge-info[href]{background-color:#2d6987}.fuelux .label-inverse,.fuelux .badge-inverse{background-color:#333}.fuelux .label-inverse[href],.fuelux .badge-inverse[href]{background-color:#1a1a1a}.fuelux .btn .label,.fuelux .btn .badge{position:relative;top:-1px}.fuelux .btn-mini .label,.fuelux .btn-mini .badge{top:0}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.fuelux .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f7f7f7;background-image:-moz-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));background-image:-webkit-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:-o-linear-gradient(top,#f5f5f5,#f9f9f9);background-image:linear-gradient(to bottom,#f5f5f5,#f9f9f9);background-repeat:repeat-x;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.fuelux .progress .bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.fuelux .progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 1px 0 0 rgba(0,0,0,0.15),inset 0 -1px 0 rgba(0,0,0,0.15)}.fuelux .progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px}.fuelux .progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.fuelux .progress-danger .bar,.fuelux .progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top,#ee5f5b,#c43c35);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#c43c35));background-image:-webkit-linear-gradient(top,#ee5f5b,#c43c35);background-image:-o-linear-gradient(top,#ee5f5b,#c43c35);background-image:linear-gradient(to bottom,#ee5f5b,#c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b',endColorstr='#ffc43c35',GradientType=0)}.fuelux .progress-danger.progress-striped .bar,.fuelux .progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.fuelux .progress-success .bar,.fuelux .progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top,#62c462,#57a957);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#57a957));background-image:-webkit-linear-gradient(top,#62c462,#57a957);background-image:-o-linear-gradient(top,#62c462,#57a957);background-image:linear-gradient(to bottom,#62c462,#57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462',endColorstr='#ff57a957',GradientType=0)}.fuelux .progress-success.progress-striped .bar,.fuelux .progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.fuelux .progress-info .bar,.fuelux .progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top,#5bc0de,#339bb9);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));background-image:-webkit-linear-gradient(top,#5bc0de,#339bb9);background-image:-o-linear-gradient(top,#5bc0de,#339bb9);background-image:linear-gradient(to bottom,#5bc0de,#339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff339bb9',GradientType=0)}.fuelux .progress-info.progress-striped .bar,.fuelux .progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.fuelux .progress-warning .bar,.fuelux .progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450',endColorstr='#fff89406',GradientType=0)}.fuelux .progress-warning.progress-striped .bar,.fuelux .progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.fuelux .accordion{margin-bottom:20px}.fuelux .accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fuelux .accordion-heading{border-bottom:0}.fuelux .accordion-heading .accordion-toggle{display:block;padding:8px 15px}.fuelux .accordion-toggle{cursor:pointer}.fuelux .accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5}.fuelux .carousel{position:relative;margin-bottom:20px;line-height:1}.fuelux .carousel-inner{position:relative;width:100%;overflow:hidden}.fuelux .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.fuelux .carousel-inner>.item>img,.fuelux .carousel-inner>.item>a>img{display:block;line-height:1}.fuelux .carousel-inner>.active,.fuelux .carousel-inner>.next,.fuelux .carousel-inner>.prev{display:block}.fuelux .carousel-inner>.active{left:0}.fuelux .carousel-inner>.next,.fuelux .carousel-inner>.prev{position:absolute;top:0;width:100%}.fuelux .carousel-inner>.next{left:100%}.fuelux .carousel-inner>.prev{left:-100%}.fuelux .carousel-inner>.next.left,.fuelux .carousel-inner>.prev.right{left:0}.fuelux .carousel-inner>.active.left{left:-100%}.fuelux .carousel-inner>.active.right{left:100%}.fuelux .carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.fuelux .carousel-control.right{right:15px;left:auto}.fuelux .carousel-control:hover,.fuelux .carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.fuelux .carousel-indicators{position:absolute;top:15px;right:15px;z-index:5;margin:0;list-style:none}.fuelux .carousel-indicators li{display:block;float:left;width:10px;height:10px;margin-left:5px;text-indent:-999px;background-color:#ccc;background-color:rgba(255,255,255,0.25);border-radius:5px}.fuelux .carousel-indicators .active{background-color:#fff}.fuelux .carousel-caption{position:absolute;right:0;bottom:0;left:0;padding:15px;background:#333;background:rgba(0,0,0,0.75)}.fuelux .carousel-caption h4,.fuelux .carousel-caption p{line-height:20px;color:#fff}.fuelux .carousel-caption h4{margin:0 0 5px}.fuelux .carousel-caption p{margin-bottom:0}.fuelux .hero-unit{padding:60px;margin-bottom:30px;font-size:18px;font-weight:200;line-height:30px;color:inherit;background-color:#eee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;color:inherit}.fuelux .hero-unit li{line-height:30px}.fuelux .pull-right{float:right}.fuelux .pull-left{float:left}.fuelux .hide{display:none}.fuelux .show{display:block}.fuelux .invisible{visibility:hidden}.fuelux .affix{position:fixed}.fuelux .form-inline .checkbox-custom{padding-left:20px}.fuelux .form-inline .checkbox-custom .checkbox{padding-left:16px}.fuelux .checkbox-custom input[type=checkbox]{position:relative;left:-99999px}.fuelux .checkbox-custom.highlight{padding:4px 4px 4px 24px}.fuelux .checkbox-custom.highlight.checked{background:#e9e9e9;-webkit-border-radius:3px;border-radius:3px}.fuelux .checkbox-custom i{width:16px;height:16px;padding-left:16px;margin-right:4px;margin-left:-20px;background-image:url(../img/form.png);background-position:0 1px;background-repeat:no-repeat}.fuelux .checkbox-custom i.checked{background-position:-48px 1px}.fuelux .checkbox-custom i.disabled{background-position:-64px 1px}.fuelux .checkbox-custom i.disabled.checked{background-position:-80px 1px}.fuelux .checkbox-custom:hover i{background-position:-16px 1px}.fuelux .checkbox-custom:hover i.checked{background-position:-32px 1px}.fuelux .checkbox-custom:hover i.disabled{background-position:-64px 1px}.fuelux .checkbox-custom:hover i.disabled.checked{background-position:-80px 1px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.fuelux .checkbox-custom i{background-image:url(../img/form-hdpi.png);background-size:96px auto}}.fuelux .combobox{display:inline-block}.fuelux .combobox a{font-size:14px}.fuelux .combobox button.btn{border-radius:0 4px 4px 0}.fuelux .datagrid th{cursor:pointer}.fuelux .datagrid thead{background-color:#f9f9f9}.fuelux .datagrid thead .datagrid-header-title{float:left;margin-right:10px;font-size:14px;font-weight:normal;line-height:28px}.fuelux .datagrid thead .datagrid-header-left{float:left}.fuelux .datagrid thead .datagrid-header-right{float:right}.fuelux .datagrid thead .datagrid-header-right .search,.fuelux .datagrid thead .datagrid-header-left .search,.fuelux .datagrid thead .datagrid-header-right .filter,.fuelux .datagrid thead .datagrid-header-left .filter{margin-bottom:0;margin-left:8px}.fuelux .datagrid thead .datagrid-header-right .search .dropdown-menu,.fuelux .datagrid thead .datagrid-header-left .search .dropdown-menu,.fuelux .datagrid thead .datagrid-header-right .filter .dropdown-menu,.fuelux .datagrid thead .datagrid-header-left .filter .dropdown-menu{top:auto;left:auto}.fuelux .datagrid thead .sorted{padding-right:30px;color:#333;text-shadow:'none';background-color:#f1f1f1;background-image:-moz-linear-gradient(top,#f9f9f9,#e5e5e5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f9f9),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f9f9f9,#e5e5e5);background-image:-o-linear-gradient(top,#f9f9f9,#e5e5e5);background-image:linear-gradient(to bottom,#f9f9f9,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bebebe;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9',endColorstr='#ffe5e5e5',GradientType=0)}.fuelux .datagrid thead .sorted i{float:right;margin-top:2px;margin-right:-22px}.fuelux .datagrid thead .sortable{position:relative;cursor:pointer}.fuelux .datagrid thead .sortable:hover{color:#333;text-shadow:'none';background-color:#f1f1f1;background-image:-moz-linear-gradient(top,#f9f9f9,#e5e5e5);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f9f9),to(#e5e5e5));background-image:-webkit-linear-gradient(top,#f9f9f9,#e5e5e5);background-image:-o-linear-gradient(top,#f9f9f9,#e5e5e5);background-image:linear-gradient(to bottom,#f9f9f9,#e5e5e5);background-repeat:repeat-x;border-color:#e5e5e5 #e5e5e5 #bebebe;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9',endColorstr='#ffe5e5e5',GradientType=0)}.fuelux .datagrid tbody tr.selectable{cursor:pointer}.fuelux .datagrid tbody tr.selected{background-color:#68ace7}.fuelux .datagrid tbody tr.selected>td{color:#fff}.fuelux .datagrid tbody tr.selected>td:first-child>div.selectWrap{position:relative;left:22px;padding-left:0}.fuelux .datagrid tbody tr.selected>td:first-child>div.selectWrap:before{position:absolute;top:2px;left:-22px;display:block;width:16px;height:15px;background:url(../img/form.png) -96px 0 no-repeat;content:' '}.fuelux .datagrid tfoot{background-color:#f9f9f9}.fuelux .datagrid tfoot .datagrid-footer-left{float:left}.fuelux .datagrid tfoot .datagrid-footer-left .grid-controls{margin-top:7px}.fuelux .datagrid tfoot .datagrid-footer-left .grid-controls select{width:60px;margin:0 5px 1px}.fuelux .datagrid tfoot .datagrid-footer-left .grid-controls .grid-pagesize{display:inline-block;margin-bottom:5px;vertical-align:middle}.fuelux .datagrid tfoot .datagrid-footer-left .grid-controls .grid-pagesize .dropdown-menu{top:auto;left:auto}.fuelux .datagrid tfoot .datagrid-footer-left .grid-controls span{font-weight:normal}.fuelux .datagrid tfoot .datagrid-footer-right{float:right}.fuelux .datagrid tfoot .datagrid-footer-right .grid-pager>span{position:relative;top:8px;font-weight:normal}.fuelux .datagrid tfoot .datagrid-footer-right .grid-pager .dropdown-menu{min-width:50px}.fuelux .datagrid tfoot .datagrid-footer-right .grid-pager .combobox{position:relative;top:-2px;display:inline-block;margin-bottom:4px;vertical-align:baseline}.fuelux .datagrid tfoot .datagrid-footer-right .grid-pager>button{position:relative;top:7px}.fuelux .datagrid-stretch-header{margin-bottom:0;border-bottom:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0}.fuelux .datagrid-stretch-header thead:last-child tr:last-child>th:first-child,.fuelux .datagrid-stretch-header thead:last-child tr:last-child>th:last-child{-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:0}.fuelux .datagrid-stretch-wrapper{overflow:auto;border:1px solid #ddd}.fuelux .datagrid-stretch-wrapper .datagrid{margin-bottom:0;border:0;border-collapse:collapse;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .datagrid-stretch-wrapper .datagrid td,.fuelux .datagrid-stretch-wrapper .datagrid th{border-bottom:1px solid #ddd}.fuelux .datagrid-stretch-wrapper .datagrid td:first-child,.fuelux .datagrid-stretch-wrapper .datagrid th:first-child{border-left:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.fuelux .datagrid-stretch-footer{border-top:0;-webkit-border-top-right-radius:0;border-top-right-radius:0;-webkit-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:0;-moz-border-radius-topleft:0}.fuelux .datagrid-stretch-footer th{border-top:0}.fuelux .datepicker .input-append,.fuelux .datepicker .input-group{margin-bottom:1px}.fuelux .datepicker .input-append button,.fuelux .datepicker .input-group button{outline:0}.fuelux .datepicker .calendar{float:left;background:#fff;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.fuelux .datepicker .calendar .header{height:24px}.fuelux .datepicker .calendar .header .left{float:left;height:24px;padding-top:2px;padding-right:8px;padding-left:10px;cursor:pointer;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-topleft:6px}.fuelux .datepicker .calendar .header .left .leftArrow{width:7px;height:7px;margin-top:5px;margin-bottom:5px;border-bottom:3px solid #333;border-left:3px solid #333;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.fuelux .datepicker .calendar .header .right{float:right;height:24px;padding-top:2px;padding-right:10px;padding-left:8px;cursor:pointer;-webkit-border-top-right-radius:6px;border-top-right-radius:6px;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-moz-border-radius-topright:6px;-moz-border-radius-bottomleft:6px}.fuelux .datepicker .calendar .header .right .rightArrow{width:7px;height:7px;margin-top:5px;margin-bottom:5px;border-top:3px solid #333;border-right:3px solid #333;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.fuelux .datepicker .calendar .header .center{height:26px;margin:0 auto;font-size:13px;line-height:1.9em;text-align:center;cursor:pointer;-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-bottomleft:6px}.fuelux .datepicker .calendar .header,.fuelux .datepicker .calendar .footer{font-weight:bold;line-height:20px}.fuelux .datepicker .calendar .footer{-webkit-border-bottom-right-radius:6px;border-bottom-right-radius:6px;-webkit-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-bottomleft:6px}.fuelux .datepicker .calendar .footer .hover:hover,.fuelux .datepicker .calendar .header .hover:hover{cursor:pointer;background-color:#f1f6fc}.fuelux .datepicker .calendar *{font-size:13px;color:#333;text-align:center;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}.fuelux .datepicker .calendar .monthsView div,.fuelux .datepicker .calendar .yearsView div{float:left;font-size:17px}.fuelux .datepicker .calendar .daysView,.fuelux .datepicker .calendar .footer,.fuelux .datepicker .calendar .monthsView,.fuelux .datepicker .calendar .yearsView{overflow:auto}.fuelux .datepicker .calendar .daysView div div{float:left}.fuelux .datepicker .calendar .weekdays div{font-weight:bold;color:#666;border-bottom:1px solid #777;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.fuelux .datepicker .calendar .lastmonth div,.fuelux .datepicker .calendar .thismonth div,.fuelux .datepicker .calendar .nextmonth div,.fuelux .datepicker .calendar .monthsView div,.fuelux .datepicker .calendar .yearsView div{border:1px solid #fff}.fuelux .datepicker .calendar .lastmonth div:not(.restrict):hover,.fuelux .datepicker .calendar .thismonth div:not(.restrict):hover,.fuelux .datepicker .calendar .nextmonth div:not(.restrict):hover,.fuelux .datepicker .calendar .monthsView div:not(.restrict):hover,.fuelux .datepicker .calendar .yearsView div:not(.restrict):hover{cursor:pointer;background-color:#dfeef5;border:1px solid #98d2ee}.fuelux .datepicker .calendar .lastmonth div,.fuelux .datepicker .calendar .nextmonth div{color:#a3a4a4;background-color:#eee;border:1px solid #eee}.fuelux .datepicker .calendar .yearsView .previous,.fuelux .datepicker .calendar .yearsView .next{color:#a3a4a4}.fuelux .datepicker .calendar .today,.fuelux .datepicker .calendar .today:hover{color:#333;background-color:#e6e6e6!important;border:1px solid #999!important;opacity:.7}.fuelux .datepicker .calendar .selected,.fuelux .datepicker .calendar .selected:hover{font-weight:bold;color:#fff!important;background-color:#68ace7!important;border-color:#68ace7!important;box-shadow:inset 0 2px 8px -5px #000}.fuelux .datepicker .calendar .restrict{color:#999!important;cursor:default}.fuelux .datepicker .calendar .past{color:#999!important}.fuelux .datepicker .calendar .past.selected{color:#fff!important}.fuelux .datepicker .calendar .range{color:#ddd!important;background-color:#648182}.fuelux .datepicker .dropdown-menu{padding:0;margin:0;margin-top:1px;background:0;border:0}.fuelux .datepicker input,.fuelux .datepicker input:focus{outline:0!important}.fuelux .datepicker input{margin-bottom:0}.fuelux .dropUp{-webkit-box-shadow:0 0 10px rgba(0,0,0,0.2);-moz-box-shadow:0 0 10px rgba(0,0,0,0.2);box-shadow:0 0 10px rgba(0,0,0,0.2)}.fuelux .pillbox{padding:3px}.fuelux .pillbox ul{display:inline-block;margin:0}.fuelux .pillbox li{display:inline-block;float:left;padding:1px 4px 2px;margin:2px;font-size:11.844px;font-weight:bold;line-height:21px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);vertical-align:baseline;cursor:pointer;background-color:#999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.fuelux .pillbox li:after{position:relative;top:-2px;float:right;padding-left:4px;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;content:" \00D7";opacity:.2;filter:alpha(opacity=20)}.fuelux .pillbox li:hover:after{opacity:.4;filter:alpha(opacity=40)}.fuelux .pillbox li.status-important{background-color:#b94a48}.fuelux .pillbox li.status-warning{background-color:#f89406}.fuelux .pillbox li.status-success{background-color:#468847}.fuelux .pillbox li.status-info{background-color:#3a87ad}@font-face{font-family:"fuelux-preloader";font-style:normal;font-weight:normal;src:url("../fonts/fuelux-preloader.eot");src:url("../fonts/fuelux-preloader.eot?#iefix") format("embedded-opentype"),url("../fonts/fuelux-preloader.ttf") format("truetype"),url("../fonts/fuelux-preloader.svg#fuelux-preloader") format("svg"),url("../fonts/fuelux-preloader.woff") format("woff")}@keyframes fuelux-preloader-1{0%{opacity:1}12.4%{opacity:1}12.5%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-1{0%{opacity:1}12.4%{opacity:1}12.5%{opacity:0}100%{opacity:0}}@keyframes fuelux-preloader-2{0%{opacity:0}12.4%{opacity:0}12.5%{opacity:1}24.9%{opacity:1}25%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-2{0%{opacity:0}12.4%{opacity:0}12.5%{opacity:1}24.9%{opacity:1}25%{opacity:0}100%{opacity:0}}@keyframes fuelux-preloader-3{0%{opacity:0}24.9%{opacity:0}25%{opacity:1}37.4%{opacity:1}37.5%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-3{0%{opacity:0}24.9%{opacity:0}25%{opacity:1}37.4%{opacity:1}37.5%{opacity:0}100%{opacity:0}}@keyframes fuelux-preloader-4{0%{opacity:0}37.4%{opacity:0}37.5%{opacity:1}49.4%{opacity:1}50%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-4{0%{opacity:0}37.4%{opacity:0}37.5%{opacity:1}49.4%{opacity:1}50%{opacity:0}100%{opacity:0}}@keyframes fuelux-preloader-5{0%{opacity:0}49.4%{opacity:0}50%{opacity:1}62.4%{opacity:1}62.5%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-5{0%{opacity:0}49.4%{opacity:0}50%{opacity:1}62.4%{opacity:1}62.5%{opacity:0}100%{opacity:0}}@keyframes fuelux-preloader-6{0%{opacity:0}62.4%{opacity:0}62.5%{opacity:1}74.9%{opacity:1}75%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-6{0%{opacity:0}62.4%{opacity:0}62.5%{opacity:1}74.9%{opacity:1}75%{opacity:0}100%{opacity:0}}@keyframes fuelux-preloader-7{0%{opacity:0}74.9%{opacity:0}75%{opacity:1}87.4%{opacity:1}87.5%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-7{0%{opacity:0}74.9%{opacity:0}75%{opacity:1}87.4%{opacity:1}87.5%{opacity:0}100%{opacity:0}}@keyframes fuelux-preloader-8{0%{opacity:0}87.4%{opacity:0}87.5%{opacity:1}87.6%{opacity:1}100%{opacity:0}100%{opacity:0}}@-webkit-keyframes fuelux-preloader-8{0%{opacity:0}87.4%{opacity:0}87.5%{opacity:1}87.6%{opacity:1}100%{opacity:0}100%{opacity:0}}.fuelux .preloader{position:relative;width:64px;height:64px;font-size:64px}.fuelux .preloader.iefix span,.fuelux .preloader:before,.fuelux .preloader b,.fuelux .preloader i{font-family:"fuelux-preloader"!important;-webkit-font-smoothing:antialiased;font-style:normal!important;font-weight:normal!important;line-height:1;text-transform:none!important;font-variant:normal!important;speak:none;-moz-osx-font-smoothing:grayscale}.fuelux .preloader:before{position:absolute;top:0;left:0;content:"0";opacity:.33}.fuelux .preloader.iefix:before{display:none}.fuelux .preloader.iefix b{position:absolute;top:0;left:0;display:block}.fuelux .preloader.iefix i{display:none}.fuelux .preloader.iefix i:after,.fuelux .preloader.iefix i:before{display:none}.fuelux .preloader.iefix span{position:absolute;top:0;left:0;display:block;width:100%;height:100%;font-size:inherit;opacity:.33;-ms-filter:"alpha(opacity=33)";filter:alpha(opacity=33)}.fuelux .preloader i:after,.fuelux .preloader i:before{position:absolute;top:0;left:0;display:block;opacity:0;-webkit-animation:1s steps(8) infinite normal running;animation:1s steps(8) infinite normal running;-webkit-animation-play-state:running;animation-play-state:running;-webkit-animation-timing-function:linear;animation-timing-function:linear}.fuelux .preloader i:nth-child(1):before{content:"1";-webkit-animation-name:fuelux-preloader-1;animation-name:fuelux-preloader-1}.fuelux .preloader i:nth-child(1):after{content:"2";-webkit-animation-name:fuelux-preloader-2;animation-name:fuelux-preloader-2}.fuelux .preloader i:nth-child(2):before{content:"3";-webkit-animation-name:fuelux-preloader-3;animation-name:fuelux-preloader-3}.fuelux .preloader i:nth-child(2):after{content:"4";-webkit-animation-name:fuelux-preloader-4;animation-name:fuelux-preloader-4}.fuelux .preloader i:nth-child(3):before{content:"5";-webkit-animation-name:fuelux-preloader-5;animation-name:fuelux-preloader-5}.fuelux .preloader i:nth-child(3):after{content:"6";-webkit-animation-name:fuelux-preloader-6;animation-name:fuelux-preloader-6}.fuelux .preloader i:nth-child(4):before{content:"7";-webkit-animation-name:fuelux-preloader-7;animation-name:fuelux-preloader-7}.fuelux .preloader i:nth-child(4):after{content:"8";-webkit-animation-name:fuelux-preloader-8;animation-name:fuelux-preloader-8}.fuelux .radio-custom input[type=radio]{position:relative;left:-99999px}.fuelux .radio-custom.highlight{padding:4px 4px 4px 24px}.fuelux .radio-custom.highlight.checked{background:#e9e9e9;-webkit-border-radius:3px;border-radius:3px}.fuelux .radio-custom i{width:16px;height:16px;padding-left:16px;margin-right:4px;margin-left:-20px;background-image:url(../img/form.png);background-position:0 -15px;background-repeat:no-repeat}.fuelux .radio-custom i.checked{background-position:-48px -15px}.fuelux .radio-custom i.disabled{background-position:-64px -15px}.fuelux .radio-custom i.disabled.checked{background-position:-80px -15px}.fuelux .radio-custom:hover i{background-position:-16px -15px}.fuelux .radio-custom:hover i.checked{background-position:-32px -15px}.fuelux .radio-custom:hover i.disabled{background-position:-64px -15px}.fuelux .radio-custom:hover i.disabled.checked{background-position:-80px -15px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.fuelux .radio-custom i{background-image:url(../img/form-hdpi.png);background-size:96px auto}}.fuelux .spinner input{float:left;width:43px}.fuelux .spinner .btn{position:relative;width:20px;height:14px;padding-top:0;padding-right:9px;padding-left:9px}.fuelux .spinner .btn.disabled{cursor:not-allowed}.fuelux .spinner .spinner-buttons{position:relative;left:-22px;float:left;width:20px;height:28px}.fuelux .spinner .spinner-up{top:2px;padding:0 0 4px 1px}.fuelux .spinner .spinner-up i{position:relative;top:-4px}.fuelux .spinner .spinner-down{top:2px;height:13px;padding:0 0 4px 1px}.fuelux .spinner .spinner-down i{position:relative;top:-5px}.fuelux .scheduler-end{display:none}.fuelux .scheduler-end .datepicker{display:none;float:left;margin-left:10px}.fuelux .scheduler-end .select{float:left}.fuelux .scheduler-end .spinner{display:none;float:left;margin-left:10px}.fuelux .scheduler-end .spinner input{margin-bottom:0}.fuelux .scheduler-end .spinner span{line-height:27px}.fuelux .scheduler-repeat .dropdown-menu{max-height:200px;overflow:auto}.fuelux .scheduler-repeat .repeat-interval{*zoom:1}.fuelux .scheduler-repeat .repeat-interval:before,.fuelux .scheduler-repeat .repeat-interval:after{display:table;line-height:0;content:""}.fuelux .scheduler-repeat .repeat-interval:after{clear:both}.fuelux .scheduler-repeat .repeat-interval-panel{display:none;float:left}.fuelux .scheduler-repeat .repeat-interval-panel .repeat-interval-pretext,.fuelux .scheduler-repeat .repeat-interval-panel .repeat-interval-text{float:left;line-height:27px}.fuelux .scheduler-repeat .repeat-interval-panel .repeat-interval-pretext{padding:0 10px}.fuelux .scheduler-repeat .repeat-interval-panel .spinner{float:left;margin-right:0}.fuelux .scheduler-repeat .repeat-interval-panel .spinner input{margin-bottom:0}.fuelux .scheduler-repeat .scheduler-monthly{padding-left:15px}.fuelux .scheduler-repeat .scheduler-monthly-date{margin-top:10px;*zoom:1}.fuelux .scheduler-repeat .scheduler-monthly-date:before,.fuelux .scheduler-repeat .scheduler-monthly-date:after{display:table;line-height:0;content:""}.fuelux .scheduler-repeat .scheduler-monthly-date:after{clear:both}.fuelux .scheduler-repeat .scheduler-monthly-date .select{margin-left:5px}.fuelux .scheduler-repeat .scheduler-monthly-day{margin-top:10px;*zoom:1}.fuelux .scheduler-repeat .scheduler-monthly-day:before,.fuelux .scheduler-repeat .scheduler-monthly-day:after{display:table;line-height:0;content:""}.fuelux .scheduler-repeat .scheduler-monthly-day:after{clear:both}.fuelux .scheduler-repeat .scheduler-monthly-day .month-day-pos{margin:0 5px}.fuelux .scheduler-repeat .scheduler-yearly{padding-left:15px}.fuelux .scheduler-repeat .scheduler-yearly-date{margin-top:10px;*zoom:1}.fuelux .scheduler-repeat .scheduler-yearly-date:before,.fuelux .scheduler-repeat .scheduler-yearly-date:after{display:table;line-height:0;content:""}.fuelux .scheduler-repeat .scheduler-yearly-date:after{clear:both}.fuelux .scheduler-repeat .scheduler-yearly-date .select.year-month{margin-left:5px}.fuelux .scheduler-repeat .scheduler-yearly-date .select.year-month-day{margin-left:10px}.fuelux .scheduler-repeat .scheduler-yearly-day{margin-top:10px;*zoom:1}.fuelux .scheduler-repeat .scheduler-yearly-day:before,.fuelux .scheduler-repeat .scheduler-yearly-day:after{display:table;line-height:0;content:""}.fuelux .scheduler-repeat .scheduler-yearly-day:after{clear:both}.fuelux .scheduler-repeat .scheduler-yearly-day .scheduler-yearly-day-text{float:left;margin:0 10px;line-height:27px}.fuelux .scheduler-repeat .scheduler-yearly-day .year-month-day-pos{margin:0 5px}.fuelux .scheduler-repeat .scheduler-weekly{padding:10px 0 0 15px}.fuelux .scheduler-repeat .scheduler-weekly .btn-group.disabled{position:relative;opacity:.65}.fuelux .scheduler-repeat .scheduler-weekly .btn-group.disabled:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:transparent;content:""}.fuelux .scheduler-repeat .select{float:left}.fuelux .scheduler-repeat label.radio{float:left;line-height:27px}.fuelux .scheduler-repeat label.radio input{margin-top:8px}.fuelux .scheduler-start .combobox .dropdown-menu{max-height:200px;overflow:auto}.fuelux .scheduler-start .combobox input{width:65px}.fuelux .scheduler-start .dropdown{float:left;margin:0 10px 0 0}.fuelux .scheduler-table td{padding:5px;margin:0;vertical-align:top}.fuelux .scheduler-table td.scheduler-label{padding-top:8px}.fuelux .scheduler-timezone .dropdown-label{width:334px;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fuelux .scheduler-timezone .dropdown-menu{width:376px;max-height:200px;overflow:auto}.fuelux .scheduler .recurrence-panel{display:none}.fuelux .search{display:inline-block}.fuelux .select .dropdown-label{display:inline-block;padding:0 10px 0 0;margin:0;font-weight:normal;color:#333;text-align:left}.fuelux .select .hidden-field{display:none}.fuelux .select-sizer{position:absolute;top:0;display:inline-block;visibility:hidden}.fuelux .tree{position:relative;padding:10px 15px 0 15px;overflow-x:hidden;overflow-y:auto;border:1px solid #bbb;border-radius:4px 4px 4px 4px}.fuelux .tree .tree-folder{width:100%;min-height:20px;margin-top:1px;cursor:pointer}.fuelux .tree .tree-folder .tree-folder-header{position:relative;height:20px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .tree .tree-folder .tree-folder-header:hover{background-color:#dfeef5}.fuelux .tree .tree-folder .tree-folder-header i{position:absolute;top:1px;left:5px;float:left}.fuelux .tree .tree-folder .tree-folder-header .tree-folder-name{padding-left:29px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fuelux .tree .tree-folder .tree-folder-content{margin-left:23px}.fuelux .tree .tree-item{position:relative;width:100%;height:20px;margin-top:1px;cursor:pointer;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .tree .tree-item:hover{background-color:#dfeef5}.fuelux .tree .tree-item .tree-item-name{padding-left:29px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fuelux .tree .tree-item .tree-dot{position:absolute;top:8px;left:10px;display:block;width:4px;height:4px;background-color:#333;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.fuelux .tree .tree-item .icon-ok{position:absolute;top:1px;left:5px}.fuelux .tree .tree-selected{background-color:#b9dff1}.fuelux .tree .tree-selected:hover{background-color:#b9dff1}.fuelux .wizard{position:relative;overflow:hidden;background-color:#f9f9f9;border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*zoom:1;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065)}.fuelux .wizard:before,.fuelux .wizard:after{display:table;line-height:0;content:""}.fuelux .wizard:after{clear:both}.fuelux .wizard ul{width:4000px;padding:0;margin:0;list-style:none outside none}.fuelux .wizard ul.previous-disabled li.complete{cursor:default}.fuelux .wizard ul.previous-disabled li.complete:hover{color:#468847;cursor:default;background:#f3f4f5}.fuelux .wizard ul.previous-disabled li.complete:hover .chevron:before{border-left-color:#f3f4f5}.fuelux .wizard ul li{position:relative;float:left;height:46px;padding:0 20px 0 30px;margin:0;font-size:16px;line-height:46px;color:#999;cursor:default;background:#ededed}.fuelux .wizard ul li .chevron{position:absolute;top:0;right:-14px;z-index:1;display:block;border:24px solid transparent;border-right:0;border-left:14px solid #d4d4d4}.fuelux .wizard ul li .chevron:before{position:absolute;top:-24px;right:1px;display:block;border:24px solid transparent;border-right:0;border-left:14px solid #ededed;content:""}.fuelux .wizard ul li.complete{color:#468847;background:#f3f4f5}.fuelux .wizard ul li.complete:hover{cursor:pointer;background:#e7eff8}.fuelux .wizard ul li.complete:hover .chevron:before{border-left:14px solid #e7eff8}.fuelux .wizard ul li.complete .chevron:before{border-left:14px solid #f3f4f5}.fuelux .wizard ul li.active{color:#3a87ad;background:#f1f6fc}.fuelux .wizard ul li.active .chevron:before{border-left:14px solid #f1f6fc}.fuelux .wizard ul li .badge{margin-right:8px}.fuelux .wizard ul li:first-child{padding-left:20px;border-radius:4px 0 0 4px}.fuelux .wizard .actions{position:absolute;right:0;z-index:1000;float:right;padding-right:15px;padding-left:15px;line-height:46px;vertical-align:middle;background-color:#e5e5e5;border-left:1px solid #d4d4d4}.fuelux .wizard .actions a{margin-right:8px;font-size:12px;line-height:45px}.fuelux .wizard .actions .btn-prev i{margin-right:5px}.fuelux .wizard .actions .btn-next i{margin-left:5px}.fuelux .step-content{padding:10px;margin-bottom:10px;border:1px solid #d4d4d4;border-top:0;border-radius:0 0 4px 4px}.fuelux .step-content .step-pane{display:none}.fuelux .step-content .active{display:block}.fuelux .step-content .active .btn-group .active{display:inline-block}
alucard001/cdnjs
ajax/libs/fuelux/2.6.1/css/fuelux.min.css
CSS
mit
146,604
ace.define("ace/theme/dreamweaver",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dreamweaver",t.cssText='.ace-dreamweaver .ace_gutter {background: #e8e8e8;color: #333;}.ace-dreamweaver .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-dreamweaver {background-color: #FFFFFF;color: black;}.ace-dreamweaver .ace_fold {background-color: #757AD8;}.ace-dreamweaver .ace_cursor {color: black;}.ace-dreamweaver .ace_invisible {color: rgb(191, 191, 191);}.ace-dreamweaver .ace_storage,.ace-dreamweaver .ace_keyword {color: blue;}.ace-dreamweaver .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-dreamweaver .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-dreamweaver .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-dreamweaver .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-dreamweaver .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-dreamweaver .ace_support.ace_type,.ace-dreamweaver .ace_support.ace_class {color: #009;}.ace-dreamweaver .ace_support.ace_php_tag {color: #f00;}.ace-dreamweaver .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-dreamweaver .ace_string {color: #00F;}.ace-dreamweaver .ace_comment {color: rgb(76, 136, 107);}.ace-dreamweaver .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-dreamweaver .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-dreamweaver .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-dreamweaver .ace_variable {color: #06F}.ace-dreamweaver .ace_xml-pe {color: rgb(104, 104, 91);}.ace-dreamweaver .ace_entity.ace_name.ace_function {color: #00F;}.ace-dreamweaver .ace_heading {color: rgb(12, 7, 255);}.ace-dreamweaver .ace_list {color:rgb(185, 6, 144);}.ace-dreamweaver .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-dreamweaver .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-dreamweaver .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-dreamweaver .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-dreamweaver .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-dreamweaver .ace_gutter-active-line {background-color : #DCDCDC;}.ace-dreamweaver .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-dreamweaver .ace_meta.ace_tag {color:#009;}.ace-dreamweaver .ace_meta.ace_tag.ace_anchor {color:#060;}.ace-dreamweaver .ace_meta.ace_tag.ace_form {color:#F90;}.ace-dreamweaver .ace_meta.ace_tag.ace_image {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_script {color:#900;}.ace-dreamweaver .ace_meta.ace_tag.ace_style {color:#909;}.ace-dreamweaver .ace_meta.ace_tag.ace_table {color:#099;}.ace-dreamweaver .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-dreamweaver .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)})
ntd/jsdelivr
files/ace/1.1.5/min/theme-dreamweaver.js
JavaScript
mit
3,138
/* Zepto v1.0-1-ga3cab6c - polyfill zepto detect event ajax form fx - zeptojs.com/license */ ;(function(undefined){ if (String.prototype.trim === undefined) // fix for iOS 3.2 String.prototype.trim = function(){ return this.replace(/^\s+|\s+$/g, '') } // For iOS 3.x // from https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/reduce if (Array.prototype.reduce === undefined) Array.prototype.reduce = function(fun){ if(this === void 0 || this === null) throw new TypeError() var t = Object(this), len = t.length >>> 0, k = 0, accumulator if(typeof fun != 'function') throw new TypeError() if(len == 0 && arguments.length == 1) throw new TypeError() if(arguments.length >= 2) accumulator = arguments[1] else do{ if(k in t){ accumulator = t[k++] break } if(++k >= len) throw new TypeError() } while (true) while (k < len){ if(k in t) accumulator = fun.call(undefined, accumulator, t[k], k, t) k++ } return accumulator } })() var Zepto = (function() { var undefined, key, $, classList, emptyArray = [], slice = emptyArray.slice, filter = emptyArray.filter, document = window.document, elementDisplay = {}, classCache = {}, getComputedStyle = document.defaultView.getComputedStyle, cssNumber = { 'column-count': 1, 'columns': 1, 'font-weight': 1, 'line-height': 1,'opacity': 1, 'z-index': 1, 'zoom': 1 }, fragmentRE = /^\s*<(\w+|!)[^>]*>/, tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, rootNodeRE = /^(?:body|html)$/i, // special attributes that should be get/set via method calls methodAttributes = ['val', 'css', 'html', 'text', 'data', 'width', 'height', 'offset'], adjacencyOperators = [ 'after', 'prepend', 'before', 'append' ], table = document.createElement('table'), tableRow = document.createElement('tr'), containers = { 'tr': document.createElement('tbody'), 'tbody': table, 'thead': table, 'tfoot': table, 'td': tableRow, 'th': tableRow, '*': document.createElement('div') }, readyRE = /complete|loaded|interactive/, classSelectorRE = /^\.([\w-]+)$/, idSelectorRE = /^#([\w-]*)$/, tagSelectorRE = /^[\w-]+$/, class2type = {}, toString = class2type.toString, zepto = {}, camelize, uniq, tempParent = document.createElement('div') zepto.matches = function(element, selector) { if (!element || element.nodeType !== 1) return false var matchesSelector = element.webkitMatchesSelector || element.mozMatchesSelector || element.oMatchesSelector || element.matchesSelector if (matchesSelector) return matchesSelector.call(element, selector) // fall back to performing a selector: var match, parent = element.parentNode, temp = !parent if (temp) (parent = tempParent).appendChild(element) match = ~zepto.qsa(parent, selector).indexOf(element) temp && tempParent.removeChild(element) return match } function type(obj) { return obj == null ? String(obj) : class2type[toString.call(obj)] || "object" } function isFunction(value) { return type(value) == "function" } function isWindow(obj) { return obj != null && obj == obj.window } function isDocument(obj) { return obj != null && obj.nodeType == obj.DOCUMENT_NODE } function isObject(obj) { return type(obj) == "object" } function isPlainObject(obj) { return isObject(obj) && !isWindow(obj) && obj.__proto__ == Object.prototype } function isArray(value) { return value instanceof Array } function likeArray(obj) { return typeof obj.length == 'number' } function compact(array) { return filter.call(array, function(item){ return item != null }) } function flatten(array) { return array.length > 0 ? $.fn.concat.apply([], array) : array } camelize = function(str){ return str.replace(/-+(.)?/g, function(match, chr){ return chr ? chr.toUpperCase() : '' }) } function dasherize(str) { return str.replace(/::/g, '/') .replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2') .replace(/([a-z\d])([A-Z])/g, '$1_$2') .replace(/_/g, '-') .toLowerCase() } uniq = function(array){ return filter.call(array, function(item, idx){ return array.indexOf(item) == idx }) } function classRE(name) { return name in classCache ? classCache[name] : (classCache[name] = new RegExp('(^|\\s)' + name + '(\\s|$)')) } function maybeAddPx(name, value) { return (typeof value == "number" && !cssNumber[dasherize(name)]) ? value + "px" : value } function defaultDisplay(nodeName) { var element, display if (!elementDisplay[nodeName]) { element = document.createElement(nodeName) document.body.appendChild(element) display = getComputedStyle(element, '').getPropertyValue("display") element.parentNode.removeChild(element) display == "none" && (display = "block") elementDisplay[nodeName] = display } return elementDisplay[nodeName] } function children(element) { return 'children' in element ? slice.call(element.children) : $.map(element.childNodes, function(node){ if (node.nodeType == 1) return node }) } // `$.zepto.fragment` takes a html string and an optional tag name // to generate DOM nodes nodes from the given html string. // The generated DOM nodes are returned as an array. // This function can be overriden in plugins for example to make // it compatible with browsers that don't support the DOM fully. zepto.fragment = function(html, name, properties) { if (html.replace) html = html.replace(tagExpanderRE, "<$1></$2>") if (name === undefined) name = fragmentRE.test(html) && RegExp.$1 if (!(name in containers)) name = '*' var nodes, dom, container = containers[name] container.innerHTML = '' + html dom = $.each(slice.call(container.childNodes), function(){ container.removeChild(this) }) if (isPlainObject(properties)) { nodes = $(dom) $.each(properties, function(key, value) { if (methodAttributes.indexOf(key) > -1) nodes[key](value) else nodes.attr(key, value) }) } return dom } // `$.zepto.Z` swaps out the prototype of the given `dom` array // of nodes with `$.fn` and thus supplying all the Zepto functions // to the array. Note that `__proto__` is not supported on Internet // Explorer. This method can be overriden in plugins. zepto.Z = function(dom, selector) { dom = dom || [] dom.__proto__ = $.fn dom.selector = selector || '' return dom } // `$.zepto.isZ` should return `true` if the given object is a Zepto // collection. This method can be overriden in plugins. zepto.isZ = function(object) { return object instanceof zepto.Z } // `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and // takes a CSS selector and an optional context (and handles various // special cases). // This method can be overriden in plugins. zepto.init = function(selector, context) { // If nothing given, return an empty Zepto collection if (!selector) return zepto.Z() // If a function is given, call it when the DOM is ready else if (isFunction(selector)) return $(document).ready(selector) // If a Zepto collection is given, juts return it else if (zepto.isZ(selector)) return selector else { var dom // normalize array if an array of nodes is given if (isArray(selector)) dom = compact(selector) // Wrap DOM nodes. If a plain object is given, duplicate it. else if (isObject(selector)) dom = [isPlainObject(selector) ? $.extend({}, selector) : selector], selector = null // If it's a html fragment, create nodes from it else if (fragmentRE.test(selector)) dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null // If there's a context, create a collection on that context first, and select // nodes from there else if (context !== undefined) return $(context).find(selector) // And last but no least, if it's a CSS selector, use it to select nodes. else dom = zepto.qsa(document, selector) // create a new Zepto collection from the nodes found return zepto.Z(dom, selector) } } // `$` will be the base `Zepto` object. When calling this // function just call `$.zepto.init, which makes the implementation // details of selecting nodes and creating Zepto collections // patchable in plugins. $ = function(selector, context){ return zepto.init(selector, context) } function extend(target, source, deep) { for (key in source) if (deep && (isPlainObject(source[key]) || isArray(source[key]))) { if (isPlainObject(source[key]) && !isPlainObject(target[key])) target[key] = {} if (isArray(source[key]) && !isArray(target[key])) target[key] = [] extend(target[key], source[key], deep) } else if (source[key] !== undefined) target[key] = source[key] } // Copy all but undefined properties from one or more // objects to the `target` object. $.extend = function(target){ var deep, args = slice.call(arguments, 1) if (typeof target == 'boolean') { deep = target target = args.shift() } args.forEach(function(arg){ extend(target, arg, deep) }) return target } // `$.zepto.qsa` is Zepto's CSS selector implementation which // uses `document.querySelectorAll` and optimizes for some special cases, like `#id`. // This method can be overriden in plugins. zepto.qsa = function(element, selector){ var found return (isDocument(element) && idSelectorRE.test(selector)) ? ( (found = element.getElementById(RegExp.$1)) ? [found] : [] ) : (element.nodeType !== 1 && element.nodeType !== 9) ? [] : slice.call( classSelectorRE.test(selector) ? element.getElementsByClassName(RegExp.$1) : tagSelectorRE.test(selector) ? element.getElementsByTagName(selector) : element.querySelectorAll(selector) ) } function filtered(nodes, selector) { return selector === undefined ? $(nodes) : $(nodes).filter(selector) } $.contains = function(parent, node) { return parent !== node && parent.contains(node) } function funcArg(context, arg, idx, payload) { return isFunction(arg) ? arg.call(context, idx, payload) : arg } function setAttribute(node, name, value) { value == null ? node.removeAttribute(name) : node.setAttribute(name, value) } // access className property while respecting SVGAnimatedString function className(node, value){ var klass = node.className, svg = klass && klass.baseVal !== undefined if (value === undefined) return svg ? klass.baseVal : klass svg ? (klass.baseVal = value) : (node.className = value) } // "true" => true // "false" => false // "null" => null // "42" => 42 // "42.5" => 42.5 // JSON => parse if valid // String => self function deserializeValue(value) { var num try { return value ? value == "true" || ( value == "false" ? false : value == "null" ? null : !isNaN(num = Number(value)) ? num : /^[\[\{]/.test(value) ? $.parseJSON(value) : value ) : value } catch(e) { return value } } $.type = type $.isFunction = isFunction $.isWindow = isWindow $.isArray = isArray $.isPlainObject = isPlainObject $.isEmptyObject = function(obj) { var name for (name in obj) return false return true } $.inArray = function(elem, array, i){ return emptyArray.indexOf.call(array, elem, i) } $.camelCase = camelize $.trim = function(str) { return str.trim() } // plugin compatibility $.uuid = 0 $.support = { } $.expr = { } $.map = function(elements, callback){ var value, values = [], i, key if (likeArray(elements)) for (i = 0; i < elements.length; i++) { value = callback(elements[i], i) if (value != null) values.push(value) } else for (key in elements) { value = callback(elements[key], key) if (value != null) values.push(value) } return flatten(values) } $.each = function(elements, callback){ var i, key if (likeArray(elements)) { for (i = 0; i < elements.length; i++) if (callback.call(elements[i], i, elements[i]) === false) return elements } else { for (key in elements) if (callback.call(elements[key], key, elements[key]) === false) return elements } return elements } $.grep = function(elements, callback){ return filter.call(elements, callback) } if (window.JSON) $.parseJSON = JSON.parse // Populate the class2type map $.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { class2type[ "[object " + name + "]" ] = name.toLowerCase() }) // Define methods that will be available on all // Zepto collections $.fn = { // Because a collection acts like an array // copy over these useful array functions. forEach: emptyArray.forEach, reduce: emptyArray.reduce, push: emptyArray.push, sort: emptyArray.sort, indexOf: emptyArray.indexOf, concat: emptyArray.concat, // `map` and `slice` in the jQuery API work differently // from their array counterparts map: function(fn){ return $($.map(this, function(el, i){ return fn.call(el, i, el) })) }, slice: function(){ return $(slice.apply(this, arguments)) }, ready: function(callback){ if (readyRE.test(document.readyState)) callback($) else document.addEventListener('DOMContentLoaded', function(){ callback($) }, false) return this }, get: function(idx){ return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length] }, toArray: function(){ return this.get() }, size: function(){ return this.length }, remove: function(){ return this.each(function(){ if (this.parentNode != null) this.parentNode.removeChild(this) }) }, each: function(callback){ emptyArray.every.call(this, function(el, idx){ return callback.call(el, idx, el) !== false }) return this }, filter: function(selector){ if (isFunction(selector)) return this.not(this.not(selector)) return $(filter.call(this, function(element){ return zepto.matches(element, selector) })) }, add: function(selector,context){ return $(uniq(this.concat($(selector,context)))) }, is: function(selector){ return this.length > 0 && zepto.matches(this[0], selector) }, not: function(selector){ var nodes=[] if (isFunction(selector) && selector.call !== undefined) this.each(function(idx){ if (!selector.call(this,idx)) nodes.push(this) }) else { var excludes = typeof selector == 'string' ? this.filter(selector) : (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector) this.forEach(function(el){ if (excludes.indexOf(el) < 0) nodes.push(el) }) } return $(nodes) }, has: function(selector){ return this.filter(function(){ return isObject(selector) ? $.contains(this, selector) : $(this).find(selector).size() }) }, eq: function(idx){ return idx === -1 ? this.slice(idx) : this.slice(idx, + idx + 1) }, first: function(){ var el = this[0] return el && !isObject(el) ? el : $(el) }, last: function(){ var el = this[this.length - 1] return el && !isObject(el) ? el : $(el) }, find: function(selector){ var result, $this = this if (typeof selector == 'object') result = $(selector).filter(function(){ var node = this return emptyArray.some.call($this, function(parent){ return $.contains(parent, node) }) }) else if (this.length == 1) result = $(zepto.qsa(this[0], selector)) else result = this.map(function(){ return zepto.qsa(this, selector) }) return result }, closest: function(selector, context){ var node = this[0], collection = false if (typeof selector == 'object') collection = $(selector) while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector))) node = node !== context && !isDocument(node) && node.parentNode return $(node) }, parents: function(selector){ var ancestors = [], nodes = this while (nodes.length > 0) nodes = $.map(nodes, function(node){ if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) { ancestors.push(node) return node } }) return filtered(ancestors, selector) }, parent: function(selector){ return filtered(uniq(this.pluck('parentNode')), selector) }, children: function(selector){ return filtered(this.map(function(){ return children(this) }), selector) }, contents: function() { return this.map(function() { return slice.call(this.childNodes) }) }, siblings: function(selector){ return filtered(this.map(function(i, el){ return filter.call(children(el.parentNode), function(child){ return child!==el }) }), selector) }, empty: function(){ return this.each(function(){ this.innerHTML = '' }) }, // `pluck` is borrowed from Prototype.js pluck: function(property){ return $.map(this, function(el){ return el[property] }) }, show: function(){ return this.each(function(){ this.style.display == "none" && (this.style.display = null) if (getComputedStyle(this, '').getPropertyValue("display") == "none") this.style.display = defaultDisplay(this.nodeName) }) }, replaceWith: function(newContent){ return this.before(newContent).remove() }, wrap: function(structure){ var func = isFunction(structure) if (this[0] && !func) var dom = $(structure).get(0), clone = dom.parentNode || this.length > 1 return this.each(function(index){ $(this).wrapAll( func ? structure.call(this, index) : clone ? dom.cloneNode(true) : dom ) }) }, wrapAll: function(structure){ if (this[0]) { $(this[0]).before(structure = $(structure)) var children // drill down to the inmost element while ((children = structure.children()).length) structure = children.first() $(structure).append(this) } return this }, wrapInner: function(structure){ var func = isFunction(structure) return this.each(function(index){ var self = $(this), contents = self.contents(), dom = func ? structure.call(this, index) : structure contents.length ? contents.wrapAll(dom) : self.append(dom) }) }, unwrap: function(){ this.parent().each(function(){ $(this).replaceWith($(this).children()) }) return this }, clone: function(){ return this.map(function(){ return this.cloneNode(true) }) }, hide: function(){ return this.css("display", "none") }, toggle: function(setting){ return this.each(function(){ var el = $(this) ;(setting === undefined ? el.css("display") == "none" : setting) ? el.show() : el.hide() }) }, prev: function(selector){ return $(this.pluck('previousElementSibling')).filter(selector || '*') }, next: function(selector){ return $(this.pluck('nextElementSibling')).filter(selector || '*') }, html: function(html){ return html === undefined ? (this.length > 0 ? this[0].innerHTML : null) : this.each(function(idx){ var originHtml = this.innerHTML $(this).empty().append( funcArg(this, html, idx, originHtml) ) }) }, text: function(text){ return text === undefined ? (this.length > 0 ? this[0].textContent : null) : this.each(function(){ this.textContent = text }) }, attr: function(name, value){ var result return (typeof name == 'string' && value === undefined) ? (this.length == 0 || this[0].nodeType !== 1 ? undefined : (name == 'value' && this[0].nodeName == 'INPUT') ? this.val() : (!(result = this[0].getAttribute(name)) && name in this[0]) ? this[0][name] : result ) : this.each(function(idx){ if (this.nodeType !== 1) return if (isObject(name)) for (key in name) setAttribute(this, key, name[key]) else setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name))) }) }, removeAttr: function(name){ return this.each(function(){ this.nodeType === 1 && setAttribute(this, name) }) }, prop: function(name, value){ return (value === undefined) ? (this[0] && this[0][name]) : this.each(function(idx){ this[name] = funcArg(this, value, idx, this[name]) }) }, data: function(name, value){ var data = this.attr('data-' + dasherize(name), value) return data !== null ? deserializeValue(data) : undefined }, val: function(value){ return (value === undefined) ? (this[0] && (this[0].multiple ? $(this[0]).find('option').filter(function(o){ return this.selected }).pluck('value') : this[0].value) ) : this.each(function(idx){ this.value = funcArg(this, value, idx, this.value) }) }, offset: function(coordinates){ if (coordinates) return this.each(function(index){ var $this = $(this), coords = funcArg(this, coordinates, index, $this.offset()), parentOffset = $this.offsetParent().offset(), props = { top: coords.top - parentOffset.top, left: coords.left - parentOffset.left } if ($this.css('position') == 'static') props['position'] = 'relative' $this.css(props) }) if (this.length==0) return null var obj = this[0].getBoundingClientRect() return { left: obj.left + window.pageXOffset, top: obj.top + window.pageYOffset, width: Math.round(obj.width), height: Math.round(obj.height) } }, css: function(property, value){ if (arguments.length < 2 && typeof property == 'string') return this[0] && (this[0].style[camelize(property)] || getComputedStyle(this[0], '').getPropertyValue(property)) var css = '' if (type(property) == 'string') { if (!value && value !== 0) this.each(function(){ this.style.removeProperty(dasherize(property)) }) else css = dasherize(property) + ":" + maybeAddPx(property, value) } else { for (key in property) if (!property[key] && property[key] !== 0) this.each(function(){ this.style.removeProperty(dasherize(key)) }) else css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';' } return this.each(function(){ this.style.cssText += ';' + css }) }, index: function(element){ return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0]) }, hasClass: function(name){ return emptyArray.some.call(this, function(el){ return this.test(className(el)) }, classRE(name)) }, addClass: function(name){ return this.each(function(idx){ classList = [] var cls = className(this), newName = funcArg(this, name, idx, cls) newName.split(/\s+/g).forEach(function(klass){ if (!$(this).hasClass(klass)) classList.push(klass) }, this) classList.length && className(this, cls + (cls ? " " : "") + classList.join(" ")) }) }, removeClass: function(name){ return this.each(function(idx){ if (name === undefined) return className(this, '') classList = className(this) funcArg(this, name, idx, classList).split(/\s+/g).forEach(function(klass){ classList = classList.replace(classRE(klass), " ") }) className(this, classList.trim()) }) }, toggleClass: function(name, when){ return this.each(function(idx){ var $this = $(this), names = funcArg(this, name, idx, className(this)) names.split(/\s+/g).forEach(function(klass){ (when === undefined ? !$this.hasClass(klass) : when) ? $this.addClass(klass) : $this.removeClass(klass) }) }) }, scrollTop: function(){ if (!this.length) return return ('scrollTop' in this[0]) ? this[0].scrollTop : this[0].scrollY }, position: function() { if (!this.length) return var elem = this[0], // Get *real* offsetParent offsetParent = this.offsetParent(), // Get correct offsets offset = this.offset(), parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset() // Subtract element margins // note: when an element has margin: auto the offsetLeft and marginLeft // are the same in Safari causing offset.left to incorrectly be 0 offset.top -= parseFloat( $(elem).css('margin-top') ) || 0 offset.left -= parseFloat( $(elem).css('margin-left') ) || 0 // Add offsetParent borders parentOffset.top += parseFloat( $(offsetParent[0]).css('border-top-width') ) || 0 parentOffset.left += parseFloat( $(offsetParent[0]).css('border-left-width') ) || 0 // Subtract the two offsets return { top: offset.top - parentOffset.top, left: offset.left - parentOffset.left } }, offsetParent: function() { return this.map(function(){ var parent = this.offsetParent || document.body while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static") parent = parent.offsetParent return parent }) } } // for now $.fn.detach = $.fn.remove // Generate the `width` and `height` functions ;['width', 'height'].forEach(function(dimension){ $.fn[dimension] = function(value){ var offset, el = this[0], Dimension = dimension.replace(/./, function(m){ return m[0].toUpperCase() }) if (value === undefined) return isWindow(el) ? el['inner' + Dimension] : isDocument(el) ? el.documentElement['offset' + Dimension] : (offset = this.offset()) && offset[dimension] else return this.each(function(idx){ el = $(this) el.css(dimension, funcArg(this, value, idx, el[dimension]())) }) } }) function traverseNode(node, fun) { fun(node) for (var key in node.childNodes) traverseNode(node.childNodes[key], fun) } // Generate the `after`, `prepend`, `before`, `append`, // `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods. adjacencyOperators.forEach(function(operator, operatorIndex) { var inside = operatorIndex % 2 //=> prepend, append $.fn[operator] = function(){ // arguments can be nodes, arrays of nodes, Zepto objects and HTML strings var argType, nodes = $.map(arguments, function(arg) { argType = type(arg) return argType == "object" || argType == "array" || arg == null ? arg : zepto.fragment(arg) }), parent, copyByClone = this.length > 1 if (nodes.length < 1) return this return this.each(function(_, target){ parent = inside ? target : target.parentNode // convert all methods to a "before" operation target = operatorIndex == 0 ? target.nextSibling : operatorIndex == 1 ? target.firstChild : operatorIndex == 2 ? target : null nodes.forEach(function(node){ if (copyByClone) node = node.cloneNode(true) else if (!parent) return $(node).remove() traverseNode(parent.insertBefore(node, target), function(el){ if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' && (!el.type || el.type === 'text/javascript') && !el.src) window['eval'].call(window, el.innerHTML) }) }) }) } // after => insertAfter // prepend => prependTo // before => insertBefore // append => appendTo $.fn[inside ? operator+'To' : 'insert'+(operatorIndex ? 'Before' : 'After')] = function(html){ $(html)[operator](this) return this } }) zepto.Z.prototype = $.fn // Export internal API functions in the `$.zepto` namespace zepto.uniq = uniq zepto.deserializeValue = deserializeValue $.zepto = zepto return $ })() window.Zepto = Zepto '$' in window || (window.$ = Zepto) ;(function($){ function detect(ua){ var os = this.os = {}, browser = this.browser = {}, webkit = ua.match(/WebKit\/([\d.]+)/), android = ua.match(/(Android)\s+([\d.]+)/), ipad = ua.match(/(iPad).*OS\s([\d_]+)/), iphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), webos = ua.match(/(webOS|hpwOS)[\s\/]([\d.]+)/), touchpad = webos && ua.match(/TouchPad/), kindle = ua.match(/Kindle\/([\d.]+)/), silk = ua.match(/Silk\/([\d._]+)/), blackberry = ua.match(/(BlackBerry).*Version\/([\d.]+)/), bb10 = ua.match(/(BB10).*Version\/([\d.]+)/), rimtabletos = ua.match(/(RIM\sTablet\sOS)\s([\d.]+)/), playbook = ua.match(/PlayBook/), chrome = ua.match(/Chrome\/([\d.]+)/) || ua.match(/CriOS\/([\d.]+)/), firefox = ua.match(/Firefox\/([\d.]+)/) // Todo: clean this up with a better OS/browser seperation: // - discern (more) between multiple browsers on android // - decide if kindle fire in silk mode is android or not // - Firefox on Android doesn't specify the Android version // - possibly devide in os, device and browser hashes if (browser.webkit = !!webkit) browser.version = webkit[1] if (android) os.android = true, os.version = android[2] if (iphone) os.ios = os.iphone = true, os.version = iphone[2].replace(/_/g, '.') if (ipad) os.ios = os.ipad = true, os.version = ipad[2].replace(/_/g, '.') if (webos) os.webos = true, os.version = webos[2] if (touchpad) os.touchpad = true if (blackberry) os.blackberry = true, os.version = blackberry[2] if (bb10) os.bb10 = true, os.version = bb10[2] if (rimtabletos) os.rimtabletos = true, os.version = rimtabletos[2] if (playbook) browser.playbook = true if (kindle) os.kindle = true, os.version = kindle[1] if (silk) browser.silk = true, browser.version = silk[1] if (!silk && os.android && ua.match(/Kindle Fire/)) browser.silk = true if (chrome) browser.chrome = true, browser.version = chrome[1] if (firefox) browser.firefox = true, browser.version = firefox[1] os.tablet = !!(ipad || playbook || (android && !ua.match(/Mobile/)) || (firefox && ua.match(/Tablet/))) os.phone = !!(!os.tablet && (android || iphone || webos || blackberry || bb10 || (chrome && ua.match(/Android/)) || (chrome && ua.match(/CriOS\/([\d.]+)/)) || (firefox && ua.match(/Mobile/)))) } detect.call($, navigator.userAgent) // make available to unit tests $.__detect = detect })(Zepto) ;(function($){ var $$ = $.zepto.qsa, handlers = {}, _zid = 1, specialEvents={}, hover = { mouseenter: 'mouseover', mouseleave: 'mouseout' } specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents' function zid(element) { return element._zid || (element._zid = _zid++) } function findHandlers(element, event, fn, selector) { event = parse(event) if (event.ns) var matcher = matcherFor(event.ns) return (handlers[zid(element)] || []).filter(function(handler) { return handler && (!event.e || handler.e == event.e) && (!event.ns || matcher.test(handler.ns)) && (!fn || zid(handler.fn) === zid(fn)) && (!selector || handler.sel == selector) }) } function parse(event) { var parts = ('' + event).split('.') return {e: parts[0], ns: parts.slice(1).sort().join(' ')} } function matcherFor(ns) { return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)') } function eachEvent(events, fn, iterator){ if ($.type(events) != "string") $.each(events, iterator) else events.split(/\s/).forEach(function(type){ iterator(type, fn) }) } function eventCapture(handler, captureSetting) { return handler.del && (handler.e == 'focus' || handler.e == 'blur') || !!captureSetting } function realEvent(type) { return hover[type] || type } function add(element, events, fn, selector, getDelegate, capture){ var id = zid(element), set = (handlers[id] || (handlers[id] = [])) eachEvent(events, fn, function(event, fn){ var handler = parse(event) handler.fn = fn handler.sel = selector // emulate mouseenter, mouseleave if (handler.e in hover) fn = function(e){ var related = e.relatedTarget if (!related || (related !== this && !$.contains(this, related))) return handler.fn.apply(this, arguments) } handler.del = getDelegate && getDelegate(fn, event) var callback = handler.del || fn handler.proxy = function (e) { var result = callback.apply(element, [e].concat(e.data)) if (result === false) e.preventDefault(), e.stopPropagation() return result } handler.i = set.length set.push(handler) element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture)) }) } function remove(element, events, fn, selector, capture){ var id = zid(element) eachEvent(events || '', fn, function(event, fn){ findHandlers(element, event, fn, selector).forEach(function(handler){ delete handlers[id][handler.i] element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture)) }) }) } $.event = { add: add, remove: remove } $.proxy = function(fn, context) { if ($.isFunction(fn)) { var proxyFn = function(){ return fn.apply(context, arguments) } proxyFn._zid = zid(fn) return proxyFn } else if (typeof context == 'string') { return $.proxy(fn[context], fn) } else { throw new TypeError("expected function") } } $.fn.bind = function(event, callback){ return this.each(function(){ add(this, event, callback) }) } $.fn.unbind = function(event, callback){ return this.each(function(){ remove(this, event, callback) }) } $.fn.one = function(event, callback){ return this.each(function(i, element){ add(this, event, callback, null, function(fn, type){ return function(){ var result = fn.apply(element, arguments) remove(element, type, fn) return result } }) }) } var returnTrue = function(){return true}, returnFalse = function(){return false}, ignoreProperties = /^([A-Z]|layer[XY]$)/, eventMethods = { preventDefault: 'isDefaultPrevented', stopImmediatePropagation: 'isImmediatePropagationStopped', stopPropagation: 'isPropagationStopped' } function createProxy(event) { var key, proxy = { originalEvent: event } for (key in event) if (!ignoreProperties.test(key) && event[key] !== undefined) proxy[key] = event[key] $.each(eventMethods, function(name, predicate) { proxy[name] = function(){ this[predicate] = returnTrue return event[name].apply(event, arguments) } proxy[predicate] = returnFalse }) return proxy } // emulates the 'defaultPrevented' property for browsers that have none function fix(event) { if (!('defaultPrevented' in event)) { event.defaultPrevented = false var prevent = event.preventDefault event.preventDefault = function() { this.defaultPrevented = true prevent.call(this) } } } $.fn.delegate = function(selector, event, callback){ return this.each(function(i, element){ add(element, event, callback, selector, function(fn){ return function(e){ var evt, match = $(e.target).closest(selector, element).get(0) if (match) { evt = $.extend(createProxy(e), {currentTarget: match, liveFired: element}) return fn.apply(match, [evt].concat([].slice.call(arguments, 1))) } } }) }) } $.fn.undelegate = function(selector, event, callback){ return this.each(function(){ remove(this, event, callback, selector) }) } $.fn.live = function(event, callback){ $(document.body).delegate(this.selector, event, callback) return this } $.fn.die = function(event, callback){ $(document.body).undelegate(this.selector, event, callback) return this } $.fn.on = function(event, selector, callback){ return !selector || $.isFunction(selector) ? this.bind(event, selector || callback) : this.delegate(selector, event, callback) } $.fn.off = function(event, selector, callback){ return !selector || $.isFunction(selector) ? this.unbind(event, selector || callback) : this.undelegate(selector, event, callback) } $.fn.trigger = function(event, data){ if (typeof event == 'string' || $.isPlainObject(event)) event = $.Event(event) fix(event) event.data = data return this.each(function(){ // items in the collection might not be DOM elements // (todo: possibly support events on plain old objects) if('dispatchEvent' in this) this.dispatchEvent(event) }) } // triggers event handlers on current element just as if an event occurred, // doesn't trigger an actual event, doesn't bubble $.fn.triggerHandler = function(event, data){ var e, result this.each(function(i, element){ e = createProxy(typeof event == 'string' ? $.Event(event) : event) e.data = data e.target = element $.each(findHandlers(element, event.type || event), function(i, handler){ result = handler.proxy(e) if (e.isImmediatePropagationStopped()) return false }) }) return result } // shortcut methods for `.bind(event, fn)` for each event type ;('focusin focusout load resize scroll unload click dblclick '+ 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave '+ 'change select keydown keypress keyup error').split(' ').forEach(function(event) { $.fn[event] = function(callback) { return callback ? this.bind(event, callback) : this.trigger(event) } }) ;['focus', 'blur'].forEach(function(name) { $.fn[name] = function(callback) { if (callback) this.bind(name, callback) else this.each(function(){ try { this[name]() } catch(e) {} }) return this } }) $.Event = function(type, props) { if (typeof type != 'string') props = type, type = props.type var event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true if (props) for (var name in props) (name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name]) event.initEvent(type, bubbles, true, null, null, null, null, null, null, null, null, null, null, null, null) event.isDefaultPrevented = function(){ return this.defaultPrevented } return event } })(Zepto) ;(function($){ var jsonpID = 0, document = window.document, key, name, rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, scriptTypeRE = /^(?:text|application)\/javascript/i, xmlTypeRE = /^(?:text|application)\/xml/i, jsonType = 'application/json', htmlType = 'text/html', blankRE = /^\s*$/ // trigger a custom event and return false if it was cancelled function triggerAndReturn(context, eventName, data) { var event = $.Event(eventName) $(context).trigger(event, data) return !event.defaultPrevented } // trigger an Ajax "global" event function triggerGlobal(settings, context, eventName, data) { if (settings.global) return triggerAndReturn(context || document, eventName, data) } // Number of active Ajax requests $.active = 0 function ajaxStart(settings) { if (settings.global && $.active++ === 0) triggerGlobal(settings, null, 'ajaxStart') } function ajaxStop(settings) { if (settings.global && !(--$.active)) triggerGlobal(settings, null, 'ajaxStop') } // triggers an extra global event "ajaxBeforeSend" that's like "ajaxSend" but cancelable function ajaxBeforeSend(xhr, settings) { var context = settings.context if (settings.beforeSend.call(context, xhr, settings) === false || triggerGlobal(settings, context, 'ajaxBeforeSend', [xhr, settings]) === false) return false triggerGlobal(settings, context, 'ajaxSend', [xhr, settings]) } function ajaxSuccess(data, xhr, settings) { var context = settings.context, status = 'success' settings.success.call(context, data, status, xhr) triggerGlobal(settings, context, 'ajaxSuccess', [xhr, settings, data]) ajaxComplete(status, xhr, settings) } // type: "timeout", "error", "abort", "parsererror" function ajaxError(error, type, xhr, settings) { var context = settings.context settings.error.call(context, xhr, type, error) triggerGlobal(settings, context, 'ajaxError', [xhr, settings, error]) ajaxComplete(type, xhr, settings) } // status: "success", "notmodified", "error", "timeout", "abort", "parsererror" function ajaxComplete(status, xhr, settings) { var context = settings.context settings.complete.call(context, xhr, status) triggerGlobal(settings, context, 'ajaxComplete', [xhr, settings]) ajaxStop(settings) } // Empty function, used as default callback function empty() {} $.ajaxJSONP = function(options){ if (!('type' in options)) return $.ajax(options) var callbackName = 'jsonp' + (++jsonpID), script = document.createElement('script'), cleanup = function() { clearTimeout(abortTimeout) $(script).remove() delete window[callbackName] }, abort = function(type){ cleanup() // In case of manual abort or timeout, keep an empty function as callback // so that the SCRIPT tag that eventually loads won't result in an error. if (!type || type == 'timeout') window[callbackName] = empty ajaxError(null, type || 'abort', xhr, options) }, xhr = { abort: abort }, abortTimeout if (ajaxBeforeSend(xhr, options) === false) { abort('abort') return false } window[callbackName] = function(data){ cleanup() ajaxSuccess(data, xhr, options) } script.onerror = function() { abort('error') } script.src = options.url.replace(/=\?/, '=' + callbackName) $('head').append(script) if (options.timeout > 0) abortTimeout = setTimeout(function(){ abort('timeout') }, options.timeout) return xhr } $.ajaxSettings = { // Default type of request type: 'GET', // Callback that is executed before request beforeSend: empty, // Callback that is executed if the request succeeds success: empty, // Callback that is executed the the server drops error error: empty, // Callback that is executed on request complete (both: error and success) complete: empty, // The context for the callbacks context: null, // Whether to trigger "global" Ajax events global: true, // Transport xhr: function () { return new window.XMLHttpRequest() }, // MIME types mapping accepts: { script: 'text/javascript, application/javascript', json: jsonType, xml: 'application/xml, text/xml', html: htmlType, text: 'text/plain' }, // Whether the request is to another domain crossDomain: false, // Default timeout timeout: 0, // Whether data should be serialized to string processData: true, // Whether the browser should be allowed to cache GET responses cache: true, } function mimeToDataType(mime) { if (mime) mime = mime.split(';', 2)[0] return mime && ( mime == htmlType ? 'html' : mime == jsonType ? 'json' : scriptTypeRE.test(mime) ? 'script' : xmlTypeRE.test(mime) && 'xml' ) || 'text' } function appendQuery(url, query) { return (url + '&' + query).replace(/[&?]{1,2}/, '?') } // serialize payload and append it to the URL for GET requests function serializeData(options) { if (options.processData && options.data && $.type(options.data) != "string") options.data = $.param(options.data, options.traditional) if (options.data && (!options.type || options.type.toUpperCase() == 'GET')) options.url = appendQuery(options.url, options.data) } $.ajax = function(options){ var settings = $.extend({}, options || {}) for (key in $.ajaxSettings) if (settings[key] === undefined) settings[key] = $.ajaxSettings[key] ajaxStart(settings) if (!settings.crossDomain) settings.crossDomain = /^([\w-]+:)?\/\/([^\/]+)/.test(settings.url) && RegExp.$2 != window.location.host if (!settings.url) settings.url = window.location.toString() serializeData(settings) if (settings.cache === false) settings.url = appendQuery(settings.url, '_=' + Date.now()) var dataType = settings.dataType, hasPlaceholder = /=\?/.test(settings.url) if (dataType == 'jsonp' || hasPlaceholder) { if (!hasPlaceholder) settings.url = appendQuery(settings.url, 'callback=?') return $.ajaxJSONP(settings) } var mime = settings.accepts[dataType], baseHeaders = { }, protocol = /^([\w-]+:)\/\//.test(settings.url) ? RegExp.$1 : window.location.protocol, xhr = settings.xhr(), abortTimeout if (!settings.crossDomain) baseHeaders['X-Requested-With'] = 'XMLHttpRequest' if (mime) { baseHeaders['Accept'] = mime if (mime.indexOf(',') > -1) mime = mime.split(',', 2)[0] xhr.overrideMimeType && xhr.overrideMimeType(mime) } if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET')) baseHeaders['Content-Type'] = (settings.contentType || 'application/x-www-form-urlencoded') settings.headers = $.extend(baseHeaders, settings.headers || {}) xhr.onreadystatechange = function(){ if (xhr.readyState == 4) { xhr.onreadystatechange = empty; clearTimeout(abortTimeout) var result, error = false if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) { dataType = dataType || mimeToDataType(xhr.getResponseHeader('content-type')) result = xhr.responseText try { // http://perfectionkills.com/global-eval-what-are-the-options/ if (dataType == 'script') (1,eval)(result) else if (dataType == 'xml') result = xhr.responseXML else if (dataType == 'json') result = blankRE.test(result) ? null : $.parseJSON(result) } catch (e) { error = e } if (error) ajaxError(error, 'parsererror', xhr, settings) else ajaxSuccess(result, xhr, settings) } else { ajaxError(null, xhr.status ? 'error' : 'abort', xhr, settings) } } } var async = 'async' in settings ? settings.async : true xhr.open(settings.type, settings.url, async) for (name in settings.headers) xhr.setRequestHeader(name, settings.headers[name]) if (ajaxBeforeSend(xhr, settings) === false) { xhr.abort() return false } if (settings.timeout > 0) abortTimeout = setTimeout(function(){ xhr.onreadystatechange = empty xhr.abort() ajaxError(null, 'timeout', xhr, settings) }, settings.timeout) // avoid sending empty string (#319) xhr.send(settings.data ? settings.data : null) return xhr } // handle optional data/success arguments function parseArguments(url, data, success, dataType) { var hasData = !$.isFunction(data) return { url: url, data: hasData ? data : undefined, success: !hasData ? data : $.isFunction(success) ? success : undefined, dataType: hasData ? dataType || success : success } } $.get = function(url, data, success, dataType){ return $.ajax(parseArguments.apply(null, arguments)) } $.post = function(url, data, success, dataType){ var options = parseArguments.apply(null, arguments) options.type = 'POST' return $.ajax(options) } $.getJSON = function(url, data, success){ var options = parseArguments.apply(null, arguments) options.dataType = 'json' return $.ajax(options) } $.fn.load = function(url, data, success){ if (!this.length) return this var self = this, parts = url.split(/\s/), selector, options = parseArguments(url, data, success), callback = options.success if (parts.length > 1) options.url = parts[0], selector = parts[1] options.success = function(response){ self.html(selector ? $('<div>').html(response.replace(rscript, "")).find(selector) : response) callback && callback.apply(self, arguments) } $.ajax(options) return this } var escape = encodeURIComponent function serialize(params, obj, traditional, scope){ var type, array = $.isArray(obj) $.each(obj, function(key, value) { type = $.type(value) if (scope) key = traditional ? scope : scope + '[' + (array ? '' : key) + ']' // handle data in serializeArray() format if (!scope && array) params.add(value.name, value.value) // recurse into nested objects else if (type == "array" || (!traditional && type == "object")) serialize(params, value, traditional, key) else params.add(key, value) }) } $.param = function(obj, traditional){ var params = [] params.add = function(k, v){ this.push(escape(k) + '=' + escape(v)) } serialize(params, obj, traditional) return params.join('&').replace(/%20/g, '+') } })(Zepto) ;(function ($) { $.fn.serializeArray = function () { var result = [], el $( Array.prototype.slice.call(this.get(0).elements) ).each(function () { el = $(this) var type = el.attr('type') if (this.nodeName.toLowerCase() != 'fieldset' && !this.disabled && type != 'submit' && type != 'reset' && type != 'button' && ((type != 'radio' && type != 'checkbox') || this.checked)) result.push({ name: el.attr('name'), value: el.val() }) }) return result } $.fn.serialize = function () { var result = [] this.serializeArray().forEach(function (elm) { result.push( encodeURIComponent(elm.name) + '=' + encodeURIComponent(elm.value) ) }) return result.join('&') } $.fn.submit = function (callback) { if (callback) this.bind('submit', callback) else if (this.length) { var event = $.Event('submit') this.eq(0).trigger(event) if (!event.defaultPrevented) this.get(0).submit() } return this } })(Zepto) ;(function($, undefined){ var prefix = '', eventPrefix, endEventName, endAnimationName, vendors = { Webkit: 'webkit', Moz: '', O: 'o', ms: 'MS' }, document = window.document, testEl = document.createElement('div'), supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i, transform, transitionProperty, transitionDuration, transitionTiming, animationName, animationDuration, animationTiming, cssReset = {} function dasherize(str) { return downcase(str.replace(/([a-z])([A-Z])/, '$1-$2')) } function downcase(str) { return str.toLowerCase() } function normalizeEvent(name) { return eventPrefix ? eventPrefix + name : downcase(name) } $.each(vendors, function(vendor, event){ if (testEl.style[vendor + 'TransitionProperty'] !== undefined) { prefix = '-' + downcase(vendor) + '-' eventPrefix = event return false } }) transform = prefix + 'transform' cssReset[transitionProperty = prefix + 'transition-property'] = cssReset[transitionDuration = prefix + 'transition-duration'] = cssReset[transitionTiming = prefix + 'transition-timing-function'] = cssReset[animationName = prefix + 'animation-name'] = cssReset[animationDuration = prefix + 'animation-duration'] = cssReset[animationTiming = prefix + 'animation-timing-function'] = '' $.fx = { off: (eventPrefix === undefined && testEl.style.transitionProperty === undefined), speeds: { _default: 400, fast: 200, slow: 600 }, cssPrefix: prefix, transitionEnd: normalizeEvent('TransitionEnd'), animationEnd: normalizeEvent('AnimationEnd') } $.fn.animate = function(properties, duration, ease, callback){ if ($.isPlainObject(duration)) ease = duration.easing, callback = duration.complete, duration = duration.duration if (duration) duration = (typeof duration == 'number' ? duration : ($.fx.speeds[duration] || $.fx.speeds._default)) / 1000 return this.anim(properties, duration, ease, callback) } $.fn.anim = function(properties, duration, ease, callback){ var key, cssValues = {}, cssProperties, transforms = '', that = this, wrappedCallback, endEvent = $.fx.transitionEnd if (duration === undefined) duration = 0.4 if ($.fx.off) duration = 0 if (typeof properties == 'string') { // keyframe animation cssValues[animationName] = properties cssValues[animationDuration] = duration + 's' cssValues[animationTiming] = (ease || 'linear') endEvent = $.fx.animationEnd } else { cssProperties = [] // CSS transitions for (key in properties) if (supportedTransforms.test(key)) transforms += key + '(' + properties[key] + ') ' else cssValues[key] = properties[key], cssProperties.push(dasherize(key)) if (transforms) cssValues[transform] = transforms, cssProperties.push(transform) if (duration > 0 && typeof properties === 'object') { cssValues[transitionProperty] = cssProperties.join(', ') cssValues[transitionDuration] = duration + 's' cssValues[transitionTiming] = (ease || 'linear') } } wrappedCallback = function(event){ if (typeof event !== 'undefined') { if (event.target !== event.currentTarget) return // makes sure the event didn't bubble from "below" $(event.target).unbind(endEvent, wrappedCallback) } $(this).css(cssReset) callback && callback.call(this) } if (duration > 0) this.bind(endEvent, wrappedCallback) // trigger page reflow so new elements can animate this.size() && this.get(0).clientLeft this.css(cssValues) if (duration <= 0) setTimeout(function() { that.each(function(){ wrappedCallback.call(this) }) }, 0) return this } testEl = null })(Zepto) // Zepto.js // (c) 2010-2012 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. ;(function($, undefined){ var document = window.document, docElem = document.documentElement, origShow = $.fn.show, origHide = $.fn.hide, origToggle = $.fn.toggle function anim(el, speed, opacity, scale, callback) { if (typeof speed == 'function' && !callback) callback = speed, speed = undefined var props = { opacity: opacity } if (scale) { props.scale = scale el.css($.fx.cssPrefix + 'transform-origin', '0 0') } return el.animate(props, speed, null, callback) } function hide(el, speed, scale, callback) { return anim(el, speed, 0, scale, function(){ origHide.call($(this)) callback && callback.call(this) }) } $.fn.show = function(speed, callback) { origShow.call(this) if (speed === undefined) speed = 0 else this.css('opacity', 0) return anim(this, speed, 1, '1,1', callback) } $.fn.hide = function(speed, callback) { if (speed === undefined) return origHide.call(this) else return hide(this, speed, '0,0', callback) } $.fn.toggle = function(speed, callback) { if (speed === undefined || typeof speed == 'boolean') return origToggle.call(this, speed) else return this.each(function(){ var el = $(this) el[el.css('display') == 'none' ? 'show' : 'hide'](speed, callback) }) } $.fn.fadeTo = function(speed, opacity, callback) { return anim(this, speed, opacity, null, callback) } $.fn.fadeIn = function(speed, callback) { var target = this.css('opacity') if (target > 0) this.css('opacity', 0) else target = 1 return origShow.call(this).fadeTo(speed, target, callback) } $.fn.fadeOut = function(speed, callback) { return hide(this, speed, null, callback) } $.fn.fadeToggle = function(speed, callback) { return this.each(function(){ var el = $(this) el[ (el.css('opacity') == 0 || el.css('display') == 'none') ? 'fadeIn' : 'fadeOut' ](speed, callback) }) } })(Zepto) // Zepto.js // (c) 2010-2012 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. ;(function($){ var cache = [], timeout $.fn.remove = function(){ return this.each(function(){ if(this.parentNode){ if(this.tagName === 'IMG'){ cache.push(this) this.src = 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=' if (timeout) clearTimeout(timeout) timeout = setTimeout(function(){ cache = [] }, 60000) } this.parentNode.removeChild(this) } }) } })(Zepto) // Zepto.js // (c) 2010-2012 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. // The following code is heavily inspired by jQuery's $.fn.data() ;(function($) { var data = {}, dataAttr = $.fn.data, camelize = $.camelCase, exp = $.expando = 'Zepto' + (+new Date()) // Get value from node: // 1. first try key as given, // 2. then try camelized key, // 3. fall back to reading "data-*" attribute. function getData(node, name) { var id = node[exp], store = id && data[id] if (name === undefined) return store || setData(node) else { if (store) { if (name in store) return store[name] var camelName = camelize(name) if (camelName in store) return store[camelName] } return dataAttr.call($(node), name) } } // Store value under camelized key on node function setData(node, name, value) { var id = node[exp] || (node[exp] = ++$.uuid), store = data[id] || (data[id] = attributeData(node)) if (name !== undefined) store[camelize(name)] = value return store } // Read all "data-*" attributes from a node function attributeData(node) { var store = {} $.each(node.attributes, function(i, attr){ if (attr.name.indexOf('data-') == 0) store[camelize(attr.name.replace('data-', ''))] = $.zepto.deserializeValue(attr.value) }) return store } $.fn.data = function(name, value) { return value === undefined ? // set multiple values via object $.isPlainObject(name) ? this.each(function(i, node){ $.each(name, function(key, value){ setData(node, key, value) }) }) : // get value from first element this.length == 0 ? undefined : getData(this[0], name) : // set value on all elements this.each(function(){ setData(this, name, value) }) } $.fn.removeData = function(names) { if (typeof names == 'string') names = names.split(/\s+/) return this.each(function(){ var id = this[exp], store = id && data[id] if (store) $.each(names, function(){ delete store[camelize(this)] }) }) } })(Zepto) ;(function($){ var zepto = $.zepto, oldQsa = zepto.qsa, oldMatches = zepto.matches function visible(elem){ elem = $(elem) return !!(elem.width() || elem.height()) && elem.css("display") !== "none" } // Implements a subset from: // http://api.jquery.com/category/selectors/jquery-selector-extensions/ // // Each filter function receives the current index, all nodes in the // considered set, and a value if there were parentheses. The value // of `this` is the node currently being considered. The function returns the // resulting node(s), null, or undefined. // // Complex selectors are not supported: // li:has(label:contains("foo")) + li:has(label:contains("bar")) // ul.inner:first > li var filters = $.expr[':'] = { visible: function(){ if (visible(this)) return this }, hidden: function(){ if (!visible(this)) return this }, selected: function(){ if (this.selected) return this }, checked: function(){ if (this.checked) return this }, parent: function(){ return this.parentNode }, first: function(idx){ if (idx === 0) return this }, last: function(idx, nodes){ if (idx === nodes.length - 1) return this }, eq: function(idx, _, value){ if (idx === value) return this }, contains: function(idx, _, text){ if ($(this).text().indexOf(text) > -1) return this }, has: function(idx, _, sel){ if (zepto.qsa(this, sel).length) return this } } var filterRe = new RegExp('(.*):(\\w+)(?:\\(([^)]+)\\))?$\\s*'), childRe = /^\s*>/, classTag = 'Zepto' + (+new Date()) function process(sel, fn) { // quote the hash in `a[href^=#]` expression sel = sel.replace(/=#\]/g, '="#"]') var filter, arg, match = filterRe.exec(sel) if (match && match[2] in filters) { filter = filters[match[2]], arg = match[3] sel = match[1] if (arg) { var num = Number(arg) if (isNaN(num)) arg = arg.replace(/^["']|["']$/g, '') else arg = num } } return fn(sel, filter, arg) } zepto.qsa = function(node, selector) { return process(selector, function(sel, filter, arg){ try { var taggedParent if (!sel && filter) sel = '*' else if (childRe.test(sel)) // support "> *" child queries by tagging the parent node with a // unique class and prepending that classname onto the selector taggedParent = $(node).addClass(classTag), sel = '.'+classTag+' '+sel var nodes = oldQsa(node, sel) } catch(e) { console.error('error performing selector: %o', selector) throw e } finally { if (taggedParent) taggedParent.removeClass(classTag) } return !filter ? nodes : zepto.uniq($.map(nodes, function(n, i){ return filter.call(n, i, nodes, arg) })) }) } zepto.matches = function(node, selector){ return process(selector, function(sel, filter, arg){ return (!sel || oldMatches(node, sel)) && (!filter || filter.call(node, null, arg) === node) }) } })(Zepto) // Zepto.js // (c) 2010-2012 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. ;(function($){ $.fn.end = function(){ return this.prevObject || $() } $.fn.andSelf = function(){ return this.add(this.prevObject || $()) } 'filter,add,not,eq,first,last,find,closest,parents,parent,children,siblings'.split(',').forEach(function(property){ var fn = $.fn[property] $.fn[property] = function(){ var ret = fn.apply(this, arguments) ret.prevObject = this return ret } }) })(Zepto) // Zepto.js // (c) 2010-2012 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. ;(function($){ var touch = {}, touchTimeout, tapTimeout, swipeTimeout, longTapDelay = 750, longTapTimeout function parentIfText(node) { return 'tagName' in node ? node : node.parentNode } function swipeDirection(x1, x2, y1, y2) { var xDelta = Math.abs(x1 - x2), yDelta = Math.abs(y1 - y2) return xDelta >= yDelta ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down') } function longTap() { longTapTimeout = null if (touch.last) { touch.el.trigger('longTap') touch = {} } } function cancelLongTap() { if (longTapTimeout) clearTimeout(longTapTimeout) longTapTimeout = null } function cancelAll() { if (touchTimeout) clearTimeout(touchTimeout) if (tapTimeout) clearTimeout(tapTimeout) if (swipeTimeout) clearTimeout(swipeTimeout) if (longTapTimeout) clearTimeout(longTapTimeout) touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null touch = {} } $(document).ready(function(){ var now, delta $(document.body) .bind('touchstart', function(e){ now = Date.now() delta = now - (touch.last || now) touch.el = $(parentIfText(e.touches[0].target)) touchTimeout && clearTimeout(touchTimeout) touch.x1 = e.touches[0].pageX touch.y1 = e.touches[0].pageY if (delta > 0 && delta <= 250) touch.isDoubleTap = true touch.last = now longTapTimeout = setTimeout(longTap, longTapDelay) }) .bind('touchmove', function(e){ cancelLongTap() touch.x2 = e.touches[0].pageX touch.y2 = e.touches[0].pageY if (Math.abs(touch.x1 - touch.x2) > 10) e.preventDefault() }) .bind('touchend', function(e){ cancelLongTap() // swipe if ((touch.x2 && Math.abs(touch.x1 - touch.x2) > 30) || (touch.y2 && Math.abs(touch.y1 - touch.y2) > 30)) swipeTimeout = setTimeout(function() { touch.el.trigger('swipe') touch.el.trigger('swipe' + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2))) touch = {} }, 0) // normal tap else if ('last' in touch) // delay by one tick so we can cancel the 'tap' event if 'scroll' fires // ('tap' fires before 'scroll') tapTimeout = setTimeout(function() { // trigger universal 'tap' with the option to cancelTouch() // (cancelTouch cancels processing of single vs double taps for faster 'tap' response) var event = $.Event('tap') event.cancelTouch = cancelAll touch.el.trigger(event) // trigger double tap immediately if (touch.isDoubleTap) { touch.el.trigger('doubleTap') touch = {} } // trigger single tap after 250ms of inactivity else { touchTimeout = setTimeout(function(){ touchTimeout = null touch.el.trigger('singleTap') touch = {} }, 250) } }, 0) }) .bind('touchcancel', cancelAll) $(window).bind('scroll', cancelAll) }) ;['swipe', 'swipeLeft', 'swipeRight', 'swipeUp', 'swipeDown', 'doubleTap', 'tap', 'singleTap', 'longTap'].forEach(function(m){ $.fn[m] = function(callback){ return this.bind(m, callback) } }) })(Zepto) // outer and inner height/width support if (this.Zepto) { (function($) { var ioDim, _base; ioDim = function(elem, Dimension, dimension, includeBorder, includeMargin) { var sides, size; if (elem) { size = elem[dimension](); sides = { width: ["left", "right"], height: ["top", "bottom"] }; sides[dimension].forEach(function(side) { size += parseInt(elem.css("padding-" + side), 10); if (includeBorder) { size += parseInt(elem.css("border-" + side + "-width"), 10); } if (includeMargin) { return size += parseInt(elem.css("margin-" + side), 10); } }); return size; } else { return null; } }; ["width", "height"].forEach(function(dimension) { var Dimension, _base, _base1, _name, _name1; Dimension = dimension.replace(/./, function(m) { return m[0].toUpperCase(); }); (_base = $.fn)[_name = "inner" + Dimension] || (_base[_name] = function(includeMargin) { return ioDim(this, Dimension, dimension, false, includeMargin); }); return (_base1 = $.fn)[_name1 = "outer" + Dimension] || (_base1[_name1] = function(includeMargin) { return ioDim(this, Dimension, dimension, true, includeMargin); }); }); return (_base = $.fn).detach || (_base.detach = function(selector) { var cloned, set; set = this; if (selector != null) { set = set.filter(selector); } cloned = set.clone(true); set.remove(); return cloned; }); })(Zepto); }
ashutosh3/quizzer
client/js/lib/zepto.js
JavaScript
mit
69,565
define( [ "./core", "./var/document", "./var/rcssNum", "./css/var/cssExpand", "./var/rnotwhite", "./css/var/isHidden", "./css/adjustCSS", "./css/defaultDisplay", "./data/var/dataPriv", "./core/init", "./effects/Tween", "./queue", "./css", "./deferred", "./traversing" ], function( jQuery, document, rcssNum, cssExpand, rnotwhite, isHidden, adjustCSS, defaultDisplay, dataPriv ) { var fxNow, timerId, rfxtypes = /^(?:toggle|show|hide)$/, rrun = /queueHooks$/; // Animations created synchronously will run synchronously function createFxNow() { window.setTimeout( function() { fxNow = undefined; } ); return ( fxNow = jQuery.now() ); } // Generate parameters to create a standard animation function genFx( type, includeWidth ) { var which, i = 0, attrs = { height: type }; // If we include width, step value is 1 to do all cssExpand values, // otherwise step value is 2 to skip over Left and Right includeWidth = includeWidth ? 1 : 0; for ( ; i < 4 ; i += 2 - includeWidth ) { which = cssExpand[ i ]; attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; } if ( includeWidth ) { attrs.opacity = attrs.width = type; } return attrs; } function createTween( value, prop, animation ) { var tween, collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), index = 0, length = collection.length; for ( ; index < length; index++ ) { if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { // We're done with this property return tween; } } } function defaultPrefilter( elem, props, opts ) { /* jshint validthis: true */ var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay, anim = this, orig = {}, style = elem.style, hidden = elem.nodeType && isHidden( elem ), dataShow = dataPriv.get( elem, "fxshow" ); // Handle queue: false promises if ( !opts.queue ) { hooks = jQuery._queueHooks( elem, "fx" ); if ( hooks.unqueued == null ) { hooks.unqueued = 0; oldfire = hooks.empty.fire; hooks.empty.fire = function() { if ( !hooks.unqueued ) { oldfire(); } }; } hooks.unqueued++; anim.always( function() { // Ensure the complete handler is called before this completes anim.always( function() { hooks.unqueued--; if ( !jQuery.queue( elem, "fx" ).length ) { hooks.empty.fire(); } } ); } ); } // Height/width overflow pass if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { // Make sure that nothing sneaks out // Record all 3 overflow attributes because IE9-10 do not // change the overflow attribute when overflowX and // overflowY are set to the same value opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; // Set display property to inline-block for height/width // animations on inline elements that are having width/height animated display = jQuery.css( elem, "display" ); // Test default display if display is currently "none" checkDisplay = display === "none" ? dataPriv.get( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display; if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) { style.display = "inline-block"; } } if ( opts.overflow ) { style.overflow = "hidden"; anim.always( function() { style.overflow = opts.overflow[ 0 ]; style.overflowX = opts.overflow[ 1 ]; style.overflowY = opts.overflow[ 2 ]; } ); } // show/hide pass for ( prop in props ) { value = props[ prop ]; if ( rfxtypes.exec( value ) ) { delete props[ prop ]; toggle = toggle || value === "toggle"; if ( value === ( hidden ? "hide" : "show" ) ) { // If there is dataShow left over from a stopped hide or show // and we are going to proceed with show, we should pretend to be hidden if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { hidden = true; } else { continue; } } orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); // Any non-fx value stops us from restoring the original display value } else { display = undefined; } } if ( !jQuery.isEmptyObject( orig ) ) { if ( dataShow ) { if ( "hidden" in dataShow ) { hidden = dataShow.hidden; } } else { dataShow = dataPriv.access( elem, "fxshow", {} ); } // Store state if its toggle - enables .stop().toggle() to "reverse" if ( toggle ) { dataShow.hidden = !hidden; } if ( hidden ) { jQuery( elem ).show(); } else { anim.done( function() { jQuery( elem ).hide(); } ); } anim.done( function() { var prop; dataPriv.remove( elem, "fxshow" ); for ( prop in orig ) { jQuery.style( elem, prop, orig[ prop ] ); } } ); for ( prop in orig ) { tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); if ( !( prop in dataShow ) ) { dataShow[ prop ] = tween.start; if ( hidden ) { tween.end = tween.start; tween.start = prop === "width" || prop === "height" ? 1 : 0; } } } // If this is a noop like .hide().hide(), restore an overwritten display value } else if ( ( display === "none" ? defaultDisplay( elem.nodeName ) : display ) === "inline" ) { style.display = display; } } function propFilter( props, specialEasing ) { var index, name, easing, value, hooks; // camelCase, specialEasing and expand cssHook pass for ( index in props ) { name = jQuery.camelCase( index ); easing = specialEasing[ name ]; value = props[ index ]; if ( jQuery.isArray( value ) ) { easing = value[ 1 ]; value = props[ index ] = value[ 0 ]; } if ( index !== name ) { props[ name ] = value; delete props[ index ]; } hooks = jQuery.cssHooks[ name ]; if ( hooks && "expand" in hooks ) { value = hooks.expand( value ); delete props[ name ]; // Not quite $.extend, this won't overwrite existing keys. // Reusing 'index' because we have the correct "name" for ( index in value ) { if ( !( index in props ) ) { props[ index ] = value[ index ]; specialEasing[ index ] = easing; } } } else { specialEasing[ name ] = easing; } } } function Animation( elem, properties, options ) { var result, stopped, index = 0, length = Animation.prefilters.length, deferred = jQuery.Deferred().always( function() { // Don't match elem in the :animated selector delete tick.elem; } ), tick = function() { if ( stopped ) { return false; } var currentTime = fxNow || createFxNow(), remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), // Support: Android 2.3 // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) temp = remaining / animation.duration || 0, percent = 1 - temp, index = 0, length = animation.tweens.length; for ( ; index < length ; index++ ) { animation.tweens[ index ].run( percent ); } deferred.notifyWith( elem, [ animation, percent, remaining ] ); if ( percent < 1 && length ) { return remaining; } else { deferred.resolveWith( elem, [ animation ] ); return false; } }, animation = deferred.promise( { elem: elem, props: jQuery.extend( {}, properties ), opts: jQuery.extend( true, { specialEasing: {}, easing: jQuery.easing._default }, options ), originalProperties: properties, originalOptions: options, startTime: fxNow || createFxNow(), duration: options.duration, tweens: [], createTween: function( prop, end ) { var tween = jQuery.Tween( elem, animation.opts, prop, end, animation.opts.specialEasing[ prop ] || animation.opts.easing ); animation.tweens.push( tween ); return tween; }, stop: function( gotoEnd ) { var index = 0, // If we are going to the end, we want to run all the tweens // otherwise we skip this part length = gotoEnd ? animation.tweens.length : 0; if ( stopped ) { return this; } stopped = true; for ( ; index < length ; index++ ) { animation.tweens[ index ].run( 1 ); } // Resolve when we played the last frame; otherwise, reject if ( gotoEnd ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); deferred.resolveWith( elem, [ animation, gotoEnd ] ); } else { deferred.rejectWith( elem, [ animation, gotoEnd ] ); } return this; } } ), props = animation.props; propFilter( props, animation.opts.specialEasing ); for ( ; index < length ; index++ ) { result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); if ( result ) { if ( jQuery.isFunction( result.stop ) ) { jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = jQuery.proxy( result.stop, result ); } return result; } } jQuery.map( props, createTween, animation ); if ( jQuery.isFunction( animation.opts.start ) ) { animation.opts.start.call( elem, animation ); } jQuery.fx.timer( jQuery.extend( tick, { elem: elem, anim: animation, queue: animation.opts.queue } ) ); // attach callbacks from options return animation.progress( animation.opts.progress ) .done( animation.opts.done, animation.opts.complete ) .fail( animation.opts.fail ) .always( animation.opts.always ); } jQuery.Animation = jQuery.extend( Animation, { tweeners: { "*": [ function( prop, value ) { var tween = this.createTween( prop, value ); adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); return tween; } ] }, tweener: function( props, callback ) { if ( jQuery.isFunction( props ) ) { callback = props; props = [ "*" ]; } else { props = props.match( rnotwhite ); } var prop, index = 0, length = props.length; for ( ; index < length ; index++ ) { prop = props[ index ]; Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; Animation.tweeners[ prop ].unshift( callback ); } }, prefilters: [ defaultPrefilter ], prefilter: function( callback, prepend ) { if ( prepend ) { Animation.prefilters.unshift( callback ); } else { Animation.prefilters.push( callback ); } } } ); jQuery.speed = function( speed, easing, fn ) { var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { complete: fn || !fn && easing || jQuery.isFunction( speed ) && speed, duration: speed, easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing }; opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; // Normalize opt.queue - true/undefined/null -> "fx" if ( opt.queue == null || opt.queue === true ) { opt.queue = "fx"; } // Queueing opt.old = opt.complete; opt.complete = function() { if ( jQuery.isFunction( opt.old ) ) { opt.old.call( this ); } if ( opt.queue ) { jQuery.dequeue( this, opt.queue ); } }; return opt; }; jQuery.fn.extend( { fadeTo: function( speed, to, easing, callback ) { // Show any hidden elements after setting opacity to 0 return this.filter( isHidden ).css( "opacity", 0 ).show() // Animate to the value specified .end().animate( { opacity: to }, speed, easing, callback ); }, animate: function( prop, speed, easing, callback ) { var empty = jQuery.isEmptyObject( prop ), optall = jQuery.speed( speed, easing, callback ), doAnimation = function() { // Operate on a copy of prop so per-property easing won't be lost var anim = Animation( this, jQuery.extend( {}, prop ), optall ); // Empty animations, or finishing resolves immediately if ( empty || dataPriv.get( this, "finish" ) ) { anim.stop( true ); } }; doAnimation.finish = doAnimation; return empty || optall.queue === false ? this.each( doAnimation ) : this.queue( optall.queue, doAnimation ); }, stop: function( type, clearQueue, gotoEnd ) { var stopQueue = function( hooks ) { var stop = hooks.stop; delete hooks.stop; stop( gotoEnd ); }; if ( typeof type !== "string" ) { gotoEnd = clearQueue; clearQueue = type; type = undefined; } if ( clearQueue && type !== false ) { this.queue( type || "fx", [] ); } return this.each( function() { var dequeue = true, index = type != null && type + "queueHooks", timers = jQuery.timers, data = dataPriv.get( this ); if ( index ) { if ( data[ index ] && data[ index ].stop ) { stopQueue( data[ index ] ); } } else { for ( index in data ) { if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { stopQueue( data[ index ] ); } } } for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && ( type == null || timers[ index ].queue === type ) ) { timers[ index ].anim.stop( gotoEnd ); dequeue = false; timers.splice( index, 1 ); } } // Start the next in the queue if the last step wasn't forced. // Timers currently will call their complete callbacks, which // will dequeue but only if they were gotoEnd. if ( dequeue || !gotoEnd ) { jQuery.dequeue( this, type ); } } ); }, finish: function( type ) { if ( type !== false ) { type = type || "fx"; } return this.each( function() { var index, data = dataPriv.get( this ), queue = data[ type + "queue" ], hooks = data[ type + "queueHooks" ], timers = jQuery.timers, length = queue ? queue.length : 0; // Enable finishing flag on private data data.finish = true; // Empty the queue first jQuery.queue( this, type, [] ); if ( hooks && hooks.stop ) { hooks.stop.call( this, true ); } // Look for any active animations, and finish them for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && timers[ index ].queue === type ) { timers[ index ].anim.stop( true ); timers.splice( index, 1 ); } } // Look for any animations in the old queue and finish them for ( index = 0; index < length; index++ ) { if ( queue[ index ] && queue[ index ].finish ) { queue[ index ].finish.call( this ); } } // Turn off finishing flag delete data.finish; } ); } } ); jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { var cssFn = jQuery.fn[ name ]; jQuery.fn[ name ] = function( speed, easing, callback ) { return speed == null || typeof speed === "boolean" ? cssFn.apply( this, arguments ) : this.animate( genFx( name, true ), speed, easing, callback ); }; } ); // Generate shortcuts for custom animations jQuery.each( { slideDown: genFx( "show" ), slideUp: genFx( "hide" ), slideToggle: genFx( "toggle" ), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, function( name, props ) { jQuery.fn[ name ] = function( speed, easing, callback ) { return this.animate( props, speed, easing, callback ); }; } ); jQuery.timers = []; jQuery.fx.tick = function() { var timer, i = 0, timers = jQuery.timers; fxNow = jQuery.now(); for ( ; i < timers.length; i++ ) { timer = timers[ i ]; // Checks the timer has not already been removed if ( !timer() && timers[ i ] === timer ) { timers.splice( i--, 1 ); } } if ( !timers.length ) { jQuery.fx.stop(); } fxNow = undefined; }; jQuery.fx.timer = function( timer ) { jQuery.timers.push( timer ); if ( timer() ) { jQuery.fx.start(); } else { jQuery.timers.pop(); } }; jQuery.fx.interval = 13; jQuery.fx.start = function() { if ( !timerId ) { timerId = window.setInterval( jQuery.fx.tick, jQuery.fx.interval ); } }; jQuery.fx.stop = function() { window.clearInterval( timerId ); timerId = null; }; jQuery.fx.speeds = { slow: 600, fast: 200, // Default speed _default: 400 }; return jQuery; } );
abailin/prayforparis
bower_components/jquery/src/effects.js
JavaScript
mit
15,892
// Copyright (c) 2008, Fair Oaks Labs, Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // // * Redistributions in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // // * Neither the name of Fair Oaks Labs, Inc. nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. // // // Modifications to writeIEEE754 to support negative zeroes made by Brian White var readIEEE754 = function(buffer, offset, endian, mLen, nBytes) { var e, m, bBE = (endian === 'big'), eLen = nBytes * 8 - mLen - 1, eMax = (1 << eLen) - 1, eBias = eMax >> 1, nBits = -7, i = bBE ? 0 : (nBytes - 1), d = bBE ? 1 : -1, s = buffer[offset + i]; i += d; e = s & ((1 << (-nBits)) - 1); s >>= (-nBits); nBits += eLen; for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8); m = e & ((1 << (-nBits)) - 1); e >>= (-nBits); nBits += mLen; for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8); if (e === 0) { e = 1 - eBias; } else if (e === eMax) { return m ? NaN : ((s ? -1 : 1) * Infinity); } else { m = m + Math.pow(2, mLen); e = e - eBias; } return (s ? -1 : 1) * m * Math.pow(2, e - mLen); }; var writeIEEE754 = function(buffer, value, offset, endian, mLen, nBytes) { var e, m, c, bBE = (endian === 'big'), eLen = nBytes * 8 - mLen - 1, eMax = (1 << eLen) - 1, eBias = eMax >> 1, rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0), i = bBE ? (nBytes-1) : 0, d = bBE ? -1 : 1, s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0; value = Math.abs(value); if (isNaN(value) || value === Infinity) { m = isNaN(value) ? 1 : 0; e = eMax; } else { e = Math.floor(Math.log(value) / Math.LN2); if (value * (c = Math.pow(2, -e)) < 1) { e--; c *= 2; } if (e+eBias >= 1) { value += rt / c; } else { value += rt * Math.pow(2, 1 - eBias); } if (value * c >= 2) { e++; c /= 2; } if (e + eBias >= eMax) { m = 0; e = eMax; } else if (e + eBias >= 1) { m = (value * c - 1) * Math.pow(2, mLen); e = e + eBias; } else { m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen); e = 0; } } for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8); e = (e << mLen) | m; eLen += mLen; for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8); buffer[offset + i - d] |= s * 128; }; exports.readIEEE754 = readIEEE754; exports.writeIEEE754 = writeIEEE754;
Agent5/appMakers
node_modules/mongoose/node_modules/mongodb/node_modules/bson/lib/bson/float_parser.js
JavaScript
mit
3,908
var Stream = require('stream').Stream module.exports = legacy function legacy (fs) { return { ReadStream: ReadStream, WriteStream: WriteStream } function ReadStream (path, options) { if (!(this instanceof ReadStream)) return new ReadStream(path, options); Stream.call(this); var self = this; this.path = path; this.fd = null; this.readable = true; this.paused = false; this.flags = 'r'; this.mode = 438; /*=0666*/ this.bufferSize = 64 * 1024; options = options || {}; // Mixin options into this var keys = Object.keys(options); for (var index = 0, length = keys.length; index < length; index++) { var key = keys[index]; this[key] = options[key]; } if (this.encoding) this.setEncoding(this.encoding); if (this.start !== undefined) { if ('number' !== typeof this.start) { throw TypeError('start must be a Number'); } if (this.end === undefined) { this.end = Infinity; } else if ('number' !== typeof this.end) { throw TypeError('end must be a Number'); } if (this.start > this.end) { throw new Error('start must be <= end'); } this.pos = this.start; } if (this.fd !== null) { process.nextTick(function() { self._read(); }); return; } fs.open(this.path, this.flags, this.mode, function (err, fd) { if (err) { self.emit('error', err); self.readable = false; return; } self.fd = fd; self.emit('open', fd); self._read(); }) } function WriteStream (path, options) { if (!(this instanceof WriteStream)) return new WriteStream(path, options); Stream.call(this); this.path = path; this.fd = null; this.writable = true; this.flags = 'w'; this.encoding = 'binary'; this.mode = 438; /*=0666*/ this.bytesWritten = 0; options = options || {}; // Mixin options into this var keys = Object.keys(options); for (var index = 0, length = keys.length; index < length; index++) { var key = keys[index]; this[key] = options[key]; } if (this.start !== undefined) { if ('number' !== typeof this.start) { throw TypeError('start must be a Number'); } if (this.start < 0) { throw new Error('start must be >= zero'); } this.pos = this.start; } this.busy = false; this._queue = []; if (this.fd === null) { this._open = fs.open; this._queue.push([this._open, this.path, this.flags, this.mode, undefined]); this.flush(); } } }
fott1/HR-Interviews-Angular-App
node_modules/bower/lib/node_modules/graceful-fs/legacy-streams.js
JavaScript
mit
2,655
var DEMO_FILE=[37,80,68,70,45,49,46,52,10,37,208,212,197,216,10,51,32,48,32,111,98,106,32,60,60,10,47,76,101,110,103,116,104,32,49,54,50,57,32,32,32,32,32,32,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,218,133,23,203,142,219,54,240,158,175,240,45,50,98,105,69,234,101,229,212,237,54,69,27,36,167,46,90,160,73,14,180,68,219,68,36,82,21,165,184,155,175,239,12,135,146,229,141,146,194,128,73,206,139,195,121,235,231,199,23,119,191,242,98,195,138,136,179,44,221,60,30,55,140,231,81,92,20,155,34,99,81,156,101,155,199,122,243,33,120,211,218,170,87,221,32,245,235,109,152,198,89,112,175,105,125,247,110,91,242,224,207,247,225,96,194,183,91,150,5,98,203,179,224,203,150,197,129,248,195,177,16,221,131,105,59,213,200,126,251,233,241,45,220,184,223,48,22,149,89,198,221,141,112,83,201,217,38,76,178,104,159,231,116,227,125,99,224,10,158,197,193,223,226,179,80,51,95,25,149,57,207,29,27,139,178,60,221,132,44,143,202,196,115,189,55,95,85,211,8,79,29,47,168,65,84,196,247,112,9,75,162,50,221,19,185,248,42,62,111,249,62,16,234,167,150,56,163,202,180,158,187,88,234,24,114,22,19,127,6,230,201,60,255,253,193,14,189,168,134,21,237,98,184,41,131,155,136,240,45,152,37,6,179,128,109,102,179,240,132,5,202,210,58,156,37,110,226,192,14,66,215,162,175,9,220,8,125,26,197,73,210,201,28,111,136,89,112,145,135,157,103,27,187,206,244,131,244,124,96,58,208,200,233,224,158,64,74,72,107,165,30,148,104,154,167,109,152,240,60,128,29,109,64,16,109,14,189,65,29,47,86,246,54,34,208,47,210,118,106,144,120,200,2,121,68,244,17,174,178,132,29,204,44,138,56,233,104,64,199,126,77,135,233,69,248,238,125,234,216,113,61,72,90,251,81,211,70,120,130,139,108,154,29,109,181,209,142,42,9,206,222,154,16,110,158,15,188,54,237,26,99,229,115,225,74,159,110,148,241,209,50,106,229,163,21,4,245,214,27,134,241,96,225,45,213,136,67,131,175,103,206,172,132,118,118,3,192,210,92,59,194,93,206,170,58,211,22,244,184,74,151,36,27,124,170,90,5,214,91,177,13,216,76,245,100,231,209,202,227,216,104,240,24,158,83,186,25,224,206,245,184,65,143,165,113,16,17,250,55,82,99,121,31,98,119,51,83,47,137,80,244,158,191,151,194,26,237,158,182,162,9,97,237,244,162,109,22,60,205,47,167,171,208,162,14,66,158,166,151,93,125,235,248,176,8,152,177,169,233,120,144,211,170,229,199,56,230,21,4,226,110,237,114,165,171,102,172,233,2,206,64,151,209,250,3,7,119,195,227,254,85,118,152,209,149,169,37,237,32,113,136,8,221,3,206,90,232,9,192,122,97,156,198,116,224,48,226,130,32,89,209,97,116,49,4,197,199,251,4,183,203,208,133,163,203,70,88,171,179,81,149,140,156,20,47,226,70,212,95,219,125,140,97,154,197,113,208,245,18,83,16,15,108,81,83,119,132,21,154,16,80,83,25,28,125,81,93,169,28,72,12,17,31,186,59,195,155,75,125,100,83,173,205,50,12,16,14,247,95,239,194,51,90,205,149,99,75,216,249,66,66,10,168,19,237,1,227,21,145,100,96,132,43,77,25,69,85,42,92,179,27,149,174,164,140,87,42,222,142,16,16,78,33,200,2,15,185,60,41,193,83,157,116,177,6,200,177,163,117,160,224,33,252,34,219,245,40,61,37,212,32,218,64,201,208,207,243,219,107,67,170,167,192,125,233,213,224,30,143,7,229,87,31,186,184,93,248,54,229,148,232,8,118,233,230,248,229,225,53,237,62,198,224,34,248,99,116,164,190,22,174,199,49,134,94,177,159,66,180,40,174,106,32,88,105,2,10,61,229,16,0,175,21,31,81,181,234,101,53,184,202,225,24,92,181,5,248,236,176,245,4,58,122,47,141,104,97,94,148,96,65,239,74,223,132,221,73,121,239,127,83,236,118,158,9,243,9,9,64,59,189,20,224,30,134,20,195,89,12,94,150,126,150,71,249,15,250,94,145,4,62,165,121,193,111,211,0,113,232,88,68,160,165,57,89,26,193,15,203,187,19,247,36,32,154,236,245,18,131,125,181,170,98,203,195,170,199,227,2,99,101,80,173,63,160,252,225,169,83,21,213,125,4,205,254,193,131,242,235,3,45,78,45,60,190,122,229,149,114,52,46,37,96,183,242,210,213,186,66,15,216,63,75,127,231,7,178,55,91,18,77,22,102,193,148,122,190,67,178,69,94,94,181,222,83,112,207,156,63,104,192,17,197,239,227,121,196,206,149,178,242,166,70,184,244,160,180,68,20,166,37,130,90,40,81,204,53,3,132,26,55,115,64,19,29,148,92,53,189,203,81,158,166,115,142,186,131,168,107,224,128,230,211,224,57,187,169,171,41,181,58,92,105,202,73,211,105,202,1,74,75,93,30,137,142,30,231,186,237,202,213,23,215,242,176,62,67,205,117,149,95,153,209,58,63,3,76,181,157,177,86,65,172,175,212,237,252,249,200,75,67,7,52,109,217,28,253,222,165,14,95,90,62,241,150,79,214,99,30,224,46,222,12,49,74,106,189,14,78,148,189,90,43,231,254,53,160,58,208,2,89,253,164,69,171,42,58,80,54,10,180,37,1,6,89,157,181,250,7,106,36,70,40,26,13,39,51,23,86,128,85,94,198,202,112,131,224,81,215,235,35,27,57,34,78,131,247,191,63,210,166,129,134,167,173,135,226,179,4,109,161,171,182,10,236,122,237,180,8,207,92,36,17,133,53,99,95,201,27,41,147,170,0,17,211,32,157,44,6,105,206,56,232,194,65,43,167,205,121,24,186,215,100,169,9,115,163,237,221,221,229,114,137,228,236,188,200,244,167,181,143,135,56,141,242,184,152,164,98,155,132,9,230,30,77,196,168,19,227,249,127,59,49,18,47,58,177,23,122,163,16,85,92,154,198,56,124,43,145,57,75,108,127,80,120,164,166,192,7,132,139,31,128,215,210,170,147,79,151,146,223,198,33,156,221,8,135,116,46,27,112,198,249,78,166,211,172,24,227,4,181,156,114,61,16,51,8,87,79,21,195,120,221,183,4,250,8,97,227,137,180,167,110,71,59,208,238,100,104,61,246,166,37,70,65,0,63,24,134,205,114,208,34,148,176,225,90,115,152,167,140,34,159,10,41,236,92,97,207,130,179,58,157,159,203,66,244,162,126,225,113,154,174,112,95,203,1,34,154,216,201,202,40,174,57,25,200,210,115,107,191,51,231,213,190,36,248,175,205,27,115,227,0,104,104,173,165,171,87,176,187,128,180,105,56,52,211,156,120,117,102,52,71,27,124,151,22,201,126,250,24,204,203,40,47,252,231,224,135,7,211,225,128,243,212,195,43,7,146,0,83,128,170,228,116,69,227,47,19,93,39,133,31,64,207,115,77,51,122,162,124,9,229,173,235,193,122,47,61,166,243,229,32,243,13,30,214,94,182,6,77,72,118,172,163,79,164,97,194,111,53,76,88,148,148,251,149,239,125,148,113,239,101,66,70,64,163,157,190,247,19,72,133,47,215,100,200,226,111,191,243,175,87,64,172,68,105,146,76,41,199,86,180,96,69,18,241,107,174,243,152,177,59,248,229,72,250,226,205,227,139,255,0,228,41,128,150,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,50,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,80,97,103,101,10,47,67,111,110,116,101,110,116,115,32,51,32,48,32,82,10,47,82,101,115,111,117,114,99,101,115,32,49,32,48,32,82,10,47,77,101,100,105,97,66,111,120,32,91,48,32,48,32,53,57,53,46,50,55,54,32,56,52,49,46,56,57,93,10,47,80,97,114,101,110,116,32,57,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,49,32,48,32,111,98,106,32,60,60,10,47,70,111,110,116,32,60,60,32,47,70,50,55,32,52,32,48,32,82,32,47,70,50,56,32,53,32,48,32,82,32,47,70,50,48,32,54,32,48,32,82,32,47,70,50,51,32,55,32,48,32,82,32,47,70,51,50,32,56,32,48,32,82,32,62,62,10,47,80,114,111,99,83,101,116,32,91,32,47,80,68,70,32,47,84,101,120,116,32,93,10,62,62,32,101,110,100,111,98,106,10,49,49,32,48,32,111,98,106,10,91,51,51,51,32,50,53,48,32,50,55,56,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,51,51,51,32,51,51,51,32,54,55,53,32,54,55,53,32,54,55,53,32,53,48,48,32,57,50,48,32,54,49,49,32,54,49,49,32,54,54,55,32,55,50,50,32,54,49,49,32,54,49,49,32,55,50,50,32,55,50,50,32,51,51,51,32,52,52,52,32,54,54,55,32,53,53,54,32,56,51,51,32,54,54,55,32,55,50,50,32,54,49,49,32,55,50,50,32,54,49,49,32,53,48,48,32,53,53,54,32,55,50,50,32,54,49,49,32,56,51,51,32,54,49,49,32,53,53,54,32,53,53,54,32,51,56,57,32,50,55,56,32,51,56,57,32,52,50,50,32,53,48,48,32,51,51,51,32,53,48,48,32,53,48,48,32,52,52,52,32,53,48,48,32,52,52,52,32,50,55,56,32,53,48,48,32,53,48,48,32,50,55,56,32,50,55,56,32,52,52,52,32,50,55,56,32,55,50,50,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,51,56,57,32,51,56,57,32,50,55,56,32,53,48,48,32,52,52,52,93,10,101,110,100,111,98,106,10,49,50,32,48,32,111,98,106,10,91,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,32,53,50,53,93,10,101,110,100,111,98,106,10,49,51,32,48,32,111,98,106,10,91,50,55,55,46,56,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,50,55,55,46,56,32,50,55,55,46,56,32,51,49,57,46,52,32,55,55,55,46,56,32,52,55,50,46,50,32,52,55,50,46,50,32,54,54,54,46,55,32,54,54,54,46,55,32,54,54,54,46,55,32,54,51,56,46,57,32,55,50,50,46,50,32,53,57,55,46,50,32,53,54,57,46,52,32,54,54,54,46,55,32,55,48,56,46,51,32,50,55,55,46,56,32,52,55,50,46,50,32,54,57,52,46,52,32,53,52,49,46,55,32,56,55,53,32,55,48,56,46,51,32,55,51,54,46,49,32,54,51,56,46,57,32,55,51,54,46,49,32,54,52,53,46,56,32,53,53,53,46,54,32,54,56,48,46,54,32,54,56,55,46,53,32,54,54,54,46,55,32,57,52,52,46,53,32,54,54,54,46,55,32,54,54,54,46,55,32,54,49,49,46,49,32,50,56,56,46,57,32,53,48,48,32,50,56,56,46,57,32,53,48,48,32,50,55,55,46,56,32,50,55,55,46,56,32,52,56,48,46,54,32,53,49,54,46,55,32,52,52,52,46,52,32,53,49,54,46,55,32,52,52,52,46,52,32,51,48,53,46,54,32,53,48,48,32,53,49,54,46,55,32,50,51,56,46,57,32,50,54,54,46,55,32,52,56,56,46,57,32,50,51,56,46,57,32,55,57,52,46,52,32,53,49,54,46,55,32,53,48,48,32,53,49,54,46,55,32,53,49,54,46,55,32,51,52,49,46,55,32,51,56,51,46,51,32,51,54,49,46,49,32,53,49,54,46,55,32,52,54,49,46,49,32,54,56,51,46,51,32,52,54,49,46,49,32,52,54,49,46,49,32,52,51,52,46,55,93,10,101,110,100,111,98,106,10,49,52,32,48,32,111,98,106,10,91,53,53,54,32,53,53,54,32,49,54,55,32,51,51,51,32,54,49,49,32,50,55,56,32,51,51,51,32,51,51,51,32,48,32,51,51,51,32,53,54,52,32,48,32,54,49,49,32,52,52,52,32,51,51,51,32,50,55,56,32,48,32,48,32,48,32,48,32,48,32,48,32,48,32,48,32,48,32,48,32,48,32,48,32,51,51,51,32,49,56,48,32,50,53,48,32,51,51,51,32,52,48,56,32,53,48,48,32,53,48,48,32,56,51,51,32,55,55,56,32,51,51,51,32,51,51,51,32,51,51,51,32,53,48,48,32,53,54,52,32,50,53,48,32,51,51,51,32,50,53,48,32,50,55,56,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,50,55,56,32,50,55,56,32,53,54,52,32,53,54,52,32,53,54,52,32,52,52,52,32,57,50,49,32,55,50,50,32,54,54,55,32,54,54,55,32,55,50,50,32,54,49,49,32,53,53,54,32,55,50,50,32,55,50,50,32,51,51,51,32,51,56,57,32,55,50,50,32,54,49,49,32,56,56,57,32,55,50,50,32,55,50,50,32,53,53,54,32,55,50,50,32,54,54,55,32,53,53,54,32,54,49,49,32,55,50,50,32,55,50,50,32,57,52,52,32,55,50,50,32,55,50,50,32,54,49,49,32,51,51,51,32,50,55,56,32,51,51,51,32,52,54,57,32,53,48,48,32,51,51,51,32,52,52,52,32,53,48,48,32,52,52,52,32,53,48,48,32,52,52,52,32,51,51,51,32,53,48,48,32,53,48,48,32,50,55,56,32,50,55,56,32,53,48,48,32,50,55,56,32,55,55,56,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,51,51,51,32,51,56,57,32,50,55,56,32,53,48,48,32,53,48,48,32,55,50,50,32,53,48,48,32,53,48,48,32,52,52,52,32,52,56,48,32,50,48,48,32,52,56,48,32,53,52,49,32,48,32,48,32,48,32,51,51,51,32,53,48,48,32,52,52,52,32,49,48,48,48,32,53,48,48,32,53,48,48,32,51,51,51,32,49,48,48,48,32,53,53,54,32,51,51,51,32,56,56,57,32,48,32,48,32,48,32,48,32,48,32,48,32,52,52,52,32,52,52,52,32,51,53,48,32,53,48,48,93,10,101,110,100,111,98,106,10,49,53,32,48,32,111,98,106,10,91,51,51,51,32,50,53,48,32,50,55,56,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,53,48,48,32,51,51,51,32,51,51,51,32,53,55,48,32,53,55,48,32,53,55,48,32,53,48,48,32,57,51,48,32,55,50,50,32,54,54,55,32,55,50,50,32,55,50,50,32,54,54,55,32,54,49,49,32,55,55,56,32,55,55,56,32,51,56,57,32,53,48,48,32,55,55,56,32,54,54,55,32,57,52,52,32,55,50,50,32,55,55,56,32,54,49,49,32,55,55,56,32,55,50,50,32,53,53,54,32,54,54,55,32,55,50,50,32,55,50,50,32,49,48,48,48,32,55,50,50,32,55,50,50,32,54,54,55,32,51,51,51,32,50,55,56,32,51,51,51,32,53,56,49,32,53,48,48,32,51,51,51,32,53,48,48,32,53,53,54,32,52,52,52,32,53,53,54,32,52,52,52,32,51,51,51,32,53,48,48,32,53,53,54,32,50,55,56,32,51,51,51,32,53,53,54,32,50,55,56,32,56,51,51,32,53,53,54,32,53,48,48,32,53,53,54,32,53,53,54,32,52,52,52,32,51,56,57,32,51,51,51,32,53,53,54,32,53,48,48,93,10,101,110,100,111,98,106,10,49,54,32,48,32,111,98,106,32,60,60,10,47,76,101,110,103,116,104,49,32,49,53,51,48,10,47,76,101,110,103,116,104,50,32,55,48,56,51,10,47,76,101,110,103,116,104,51,32,48,10,47,76,101,110,103,116,104,32,56,48,57,51,32,32,32,32,32,32,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,218,141,183,7,48,156,223,27,54,44,162,46,209,123,93,189,179,122,39,106,16,189,119,89,44,86,217,197,174,222,162,19,37,132,232,53,74,72,180,104,17,68,39,68,73,136,78,148,8,209,123,39,188,155,252,250,255,251,102,222,119,118,230,217,231,186,219,57,215,185,175,251,204,60,108,76,186,6,124,10,246,112,91,136,42,28,134,228,19,228,7,73,1,149,180,12,12,4,65,64,16,72,152,31,4,18,2,176,177,25,66,145,174,144,191,236,0,54,99,136,39,2,10,135,73,253,43,66,201,19,2,70,162,108,202,96,36,42,80,11,14,3,106,120,185,2,5,133,129,130,98,82,130,226,82,32,16,80,8,4,146,252,43,16,238,41,5,84,6,123,67,237,129,90,252,64,13,56,12,130,0,176,41,193,221,253,60,161,142,78,72,212,58,127,189,2,57,237,184,128,130,146,146,226,188,191,211,129,10,110,16,79,168,29,24,6,212,2,35,157,32,110,168,21,237,192,174,64,3,184,29,20,130,244,251,79,9,78,25,39,36,210,93,74,64,192,199,199,135,31,236,134,224,135,123,58,202,113,241,2,125,160,72,39,160,62,4,1,241,244,134,216,3,127,81,6,106,131,221,32,127,82,227,7,176,1,13,157,160,136,63,28,6,112,7,164,15,216,19,2,68,25,92,161,118,16,24,2,149,226,5,179,135,120,2,81,171,3,13,212,53,129,58,238,16,216,31,193,154,127,4,240,2,255,60,28,160,32,191,224,223,229,254,204,254,85,8,10,251,157,12,182,179,131,187,185,131,97,126,80,152,35,208,1,234,10,1,234,168,106,242,35,125,145,188,64,48,204,254,87,32,216,21,1,71,229,131,189,193,80,87,176,45,42,224,247,214,193,64,85,5,61,32,24,197,240,79,126,8,59,79,168,59,18,193,143,128,186,254,226,40,240,171,12,234,152,85,96,246,74,112,55,55,8,12,137,0,252,218,159,50,212,19,98,135,58,119,63,129,63,155,235,2,131,251,192,2,254,66,14,80,152,189,195,47,26,246,94,238,2,70,48,168,135,23,68,93,249,207,24,148,9,240,143,205,17,130,4,138,130,64,32,9,144,48,16,226,1,132,248,218,57,9,252,90,192,208,207,29,242,219,41,248,203,140,226,16,20,224,14,119,7,58,160,104,64,130,160,14,16,212,31,32,0,1,246,134,0,145,158,94,144,160,128,127,59,254,139,0,130,130,64,123,168,29,18,104,11,113,132,194,0,255,84,71,153,33,14,127,96,84,255,61,161,190,64,11,16,74,126,130,64,208,175,223,223,111,86,40,133,217,195,97,174,126,255,132,255,110,177,128,186,153,138,146,146,49,207,159,148,255,118,42,42,194,125,129,1,124,98,130,64,62,33,81,16,80,82,82,18,40,46,42,9,12,250,111,153,191,15,224,47,242,191,173,186,96,232,159,155,251,87,65,117,152,3,28,40,249,7,7,212,225,253,197,195,251,79,97,112,254,57,53,92,192,255,174,160,13,71,201,25,2,228,252,71,253,150,32,81,144,29,234,33,248,255,60,3,191,83,254,255,164,255,171,202,255,85,253,255,187,35,85,47,87,215,223,126,206,63,2,254,63,126,176,27,212,213,239,207,8,148,156,189,144,168,209,208,130,163,6,4,246,191,161,38,144,63,230,89,11,98,15,245,114,251,95,175,58,18,140,26,17,5,152,163,235,223,7,9,69,168,66,125,33,246,186,80,164,157,211,31,42,250,171,15,168,242,174,80,24,68,23,142,128,254,186,113,128,124,130,32,208,255,248,80,67,103,231,130,186,85,16,168,110,253,118,65,80,51,245,223,37,85,96,118,112,251,95,195,39,36,42,6,4,123,122,130,253,0,32,148,194,132,68,69,129,1,130,168,41,181,135,248,254,22,55,80,128,31,6,71,162,82,128,40,122,65,64,7,184,39,224,87,79,37,197,129,2,224,95,166,223,72,76,4,133,144,127,67,148,130,4,236,254,70,130,32,81,160,0,244,95,16,149,234,242,47,40,1,20,112,253,23,68,229,186,253,3,81,179,32,0,255,27,138,136,1,5,220,81,237,135,219,255,19,33,36,4,20,240,255,13,255,67,208,206,203,211,19,53,253,191,69,136,98,255,23,254,125,213,64,32,190,16,59,192,204,36,220,78,58,194,185,54,162,245,188,70,129,214,135,111,117,24,107,113,185,45,54,201,172,55,70,20,201,62,85,16,224,164,137,157,245,96,204,67,241,145,125,37,213,96,186,238,116,121,212,232,100,32,45,247,238,249,136,175,101,103,78,232,66,154,90,62,18,77,165,119,69,113,159,175,112,224,226,168,211,17,194,96,15,167,113,252,36,158,30,187,66,188,151,172,71,79,248,200,2,195,130,35,197,100,242,58,82,188,75,248,71,213,90,241,207,54,196,15,115,201,45,160,27,176,244,148,136,41,141,22,153,160,144,215,182,133,30,103,198,196,186,140,252,104,102,73,148,72,226,105,145,225,101,168,110,244,233,39,122,28,52,241,76,177,53,158,250,194,111,197,34,49,243,227,215,175,253,57,125,189,233,194,135,47,30,118,87,139,85,70,145,82,147,249,107,48,229,13,62,251,64,77,158,156,163,241,22,129,198,174,40,122,170,84,158,34,188,55,222,141,86,48,248,17,107,108,27,63,200,86,175,251,88,47,55,221,251,110,236,93,236,119,118,166,119,105,182,140,27,83,119,25,53,155,226,113,104,36,164,224,170,92,62,178,182,252,55,132,160,206,22,140,178,190,153,230,196,218,52,226,33,105,145,238,105,6,142,54,131,226,50,91,146,192,39,241,227,103,125,66,11,152,170,230,232,69,36,32,135,249,31,201,81,24,220,171,162,204,85,4,20,87,132,1,95,176,240,6,84,206,147,151,10,23,210,3,151,135,216,253,137,2,196,157,73,191,183,55,126,92,253,129,67,131,165,84,156,166,52,236,214,81,196,192,90,26,17,150,126,82,21,62,243,129,72,201,193,228,135,22,251,186,164,201,7,149,216,112,37,113,224,70,99,82,246,29,209,107,189,59,8,188,70,5,116,208,145,201,182,105,60,16,44,114,230,128,77,215,119,26,85,42,44,150,65,95,251,28,159,142,82,153,110,189,93,98,119,179,188,208,87,114,60,68,165,240,24,121,55,96,11,224,21,136,237,46,69,47,216,188,96,215,120,238,255,68,244,132,38,197,58,231,82,109,224,113,188,80,172,173,47,69,77,195,192,86,209,125,155,149,251,25,254,184,142,145,20,11,97,51,86,11,71,152,32,118,94,252,81,219,59,243,173,250,85,243,204,89,192,165,247,224,214,144,222,179,75,11,102,158,246,14,174,141,178,154,90,182,211,101,32,123,140,68,11,105,32,110,244,156,136,14,199,112,209,171,151,4,211,25,52,95,209,26,70,163,171,27,184,118,105,111,36,89,191,101,127,119,220,44,140,125,27,250,194,17,122,156,15,115,241,126,118,160,111,199,215,234,232,12,168,122,177,232,219,41,98,71,178,97,252,120,60,6,51,200,125,87,33,149,139,237,17,79,104,63,68,90,208,135,208,20,167,233,135,235,150,67,234,251,22,187,121,77,166,1,73,205,29,29,2,140,165,112,27,218,50,28,187,29,72,155,187,83,250,62,189,165,146,230,135,126,103,157,153,219,30,174,181,97,39,63,108,207,48,158,220,86,143,194,175,124,239,84,160,4,107,53,50,239,222,164,15,110,76,58,127,82,141,84,200,224,185,112,31,50,158,230,222,171,235,124,244,222,32,82,46,80,217,110,219,140,98,115,203,251,222,48,250,147,21,62,158,54,159,111,51,179,235,94,117,228,189,246,22,76,65,75,161,122,48,173,131,139,148,148,237,36,47,201,86,105,180,210,6,180,150,240,87,111,99,156,53,202,234,215,93,118,94,113,151,216,135,74,137,24,184,184,54,32,198,242,130,66,68,112,75,59,46,113,105,97,97,71,9,183,97,180,222,31,231,84,217,55,140,231,205,36,232,157,51,9,251,252,125,228,79,90,139,54,65,65,123,93,33,243,199,108,72,202,180,121,12,195,148,136,208,27,182,44,233,116,119,33,61,5,147,135,17,30,226,167,98,100,245,206,249,14,212,179,242,202,57,216,220,53,98,254,79,187,32,141,199,110,89,187,17,114,56,210,41,85,81,25,171,180,197,154,206,234,91,167,86,14,149,93,196,131,143,172,203,210,164,244,94,142,211,102,178,239,16,201,29,107,27,68,208,38,82,162,63,169,27,179,204,123,96,102,156,193,123,92,84,32,1,14,103,165,127,236,10,154,7,104,142,28,141,254,44,10,184,155,83,18,45,225,104,106,225,137,148,165,93,165,191,31,136,24,240,166,171,181,4,163,227,159,238,211,60,255,222,154,127,106,219,64,109,146,167,101,108,176,120,224,125,4,179,190,164,10,33,114,34,48,218,87,218,150,225,139,93,168,216,81,211,145,239,172,218,107,173,38,71,234,99,185,43,223,44,192,175,102,172,109,101,220,221,55,85,28,4,83,177,151,54,187,239,223,189,96,56,114,116,184,222,122,40,170,169,213,185,237,166,51,235,241,163,100,35,68,202,173,138,67,13,139,129,197,212,242,124,14,180,98,121,213,249,204,12,152,198,238,103,55,53,170,71,49,28,164,176,242,240,211,64,169,241,108,92,42,52,80,206,73,186,37,74,231,136,146,136,44,40,161,41,238,235,141,150,77,95,254,9,225,158,191,88,148,169,106,247,244,144,77,179,70,113,72,88,80,167,212,70,5,73,180,25,19,25,230,194,222,245,248,210,109,69,148,195,217,9,175,65,89,50,91,195,221,150,142,27,201,254,227,231,112,115,234,206,175,15,13,222,166,148,196,54,184,151,226,211,132,11,156,74,72,232,232,60,151,146,47,109,224,222,178,52,138,33,200,52,126,27,26,39,224,29,61,232,7,74,210,153,119,236,107,78,117,78,3,200,164,216,151,62,147,92,239,243,212,83,41,163,0,153,125,187,199,244,82,110,118,67,65,69,255,250,245,119,66,204,15,238,116,145,11,175,23,209,92,52,6,54,237,40,137,198,130,247,158,27,144,175,188,120,78,49,50,66,241,170,78,33,213,230,37,89,54,63,147,71,234,43,23,41,33,221,107,220,14,199,146,193,203,54,90,14,192,35,72,115,245,88,158,207,142,75,169,199,148,179,146,153,252,83,235,134,53,40,77,207,19,83,133,84,110,204,175,136,60,46,106,23,59,73,186,228,151,179,161,169,249,210,5,15,61,24,82,50,142,37,29,119,111,69,171,112,228,228,123,190,164,133,141,32,173,29,79,222,136,11,249,102,122,222,147,95,129,9,201,136,114,190,221,176,41,194,181,242,225,215,104,44,56,70,224,166,221,103,128,116,112,92,204,211,52,78,64,29,222,167,200,216,136,207,131,142,20,160,89,120,140,84,91,182,3,36,115,117,25,153,37,141,48,234,79,86,115,29,146,114,186,145,84,25,121,246,237,213,99,212,175,235,21,7,53,92,178,166,120,127,22,7,91,176,44,163,43,8,147,157,47,193,118,46,201,206,79,114,159,2,45,157,226,95,251,49,98,153,221,49,184,61,219,148,18,96,1,143,31,196,108,173,77,74,112,28,201,188,95,149,163,6,53,169,58,62,140,61,169,29,210,160,12,20,162,136,118,69,223,12,195,220,190,134,58,202,49,22,124,35,144,122,148,29,250,35,216,157,97,161,78,238,152,172,212,163,189,91,201,239,14,166,107,189,120,214,224,35,255,188,186,94,109,210,227,153,211,189,96,171,227,139,144,168,225,35,202,32,215,226,111,134,201,244,29,53,76,13,234,123,150,137,42,167,91,30,128,213,239,225,31,176,105,231,64,243,76,138,92,232,41,138,145,139,85,100,112,95,166,174,56,158,10,222,106,182,17,44,188,205,13,183,190,52,102,109,51,34,72,150,147,88,118,8,69,148,245,60,255,225,80,89,74,92,240,38,97,215,89,162,2,94,52,121,178,136,211,172,24,79,199,216,187,169,145,54,111,77,90,16,195,113,249,225,205,209,217,66,129,228,24,140,165,162,153,246,85,33,58,141,249,168,24,87,33,61,105,15,249,184,114,156,76,37,255,236,197,58,137,215,181,62,81,184,246,213,56,15,188,228,58,82,39,61,153,88,219,175,250,227,161,72,54,149,137,133,88,87,52,3,41,54,180,18,99,123,127,243,41,226,193,25,233,109,106,228,179,228,18,114,207,129,68,69,227,97,200,19,183,71,158,114,37,39,18,180,198,6,67,143,143,36,2,196,233,94,143,4,221,53,222,230,27,42,192,181,62,59,247,14,45,244,252,68,159,180,93,200,42,145,184,75,101,225,151,36,138,48,208,189,111,188,213,23,242,66,221,194,141,91,127,119,105,61,60,115,209,222,146,225,206,183,157,46,121,211,4,204,189,31,9,49,73,8,90,115,101,179,87,247,234,191,40,212,108,12,178,246,214,126,44,222,157,142,155,188,215,177,240,86,2,40,203,221,189,114,206,23,245,154,43,197,70,123,253,67,255,146,14,135,179,74,82,187,3,161,118,206,38,86,102,169,229,139,111,41,65,194,67,85,37,253,227,47,187,13,59,147,171,124,194,103,30,217,207,159,80,123,213,6,160,85,120,86,155,164,127,177,22,228,81,224,230,252,76,36,192,181,100,130,7,235,53,29,181,157,214,148,59,90,213,243,235,33,186,224,169,182,210,48,87,41,235,30,146,248,100,220,6,55,219,137,162,233,78,20,68,195,114,233,52,173,12,198,219,185,228,80,170,75,169,20,59,246,247,173,59,137,56,34,113,247,27,85,253,106,127,35,158,31,153,224,56,224,52,232,15,96,159,255,178,166,249,250,176,40,130,229,128,248,170,231,14,55,175,216,67,162,94,119,199,36,249,47,218,67,82,137,185,36,111,11,136,20,33,11,170,95,0,236,126,41,167,94,166,73,162,45,186,118,28,228,84,27,37,132,176,216,145,133,150,128,74,107,215,116,199,183,4,24,106,222,0,230,166,72,83,87,7,138,213,106,133,25,202,17,21,81,232,246,209,192,6,245,251,55,45,219,0,155,23,48,204,119,67,251,217,137,117,219,181,108,175,39,209,32,65,90,3,98,244,95,82,133,205,50,170,189,233,159,72,95,245,52,103,159,177,116,82,62,77,52,105,53,109,136,62,84,11,43,207,87,255,194,91,56,41,199,185,109,123,38,68,201,129,222,147,89,111,83,241,35,104,135,166,65,90,92,67,21,240,66,58,226,228,12,33,58,91,66,249,115,222,214,219,195,78,98,122,149,33,87,91,175,68,45,113,221,169,60,180,245,89,93,24,36,199,37,60,50,155,119,163,98,194,90,200,213,192,239,11,164,128,127,160,39,173,115,227,229,33,94,207,65,78,255,248,154,153,254,240,144,114,177,8,252,84,106,242,221,138,41,193,43,242,144,119,14,209,102,27,30,206,35,42,149,65,210,128,71,213,189,138,226,100,129,129,240,5,194,118,218,215,202,236,147,120,16,22,76,113,217,143,104,239,180,200,135,130,130,200,107,42,181,63,165,136,29,188,8,114,113,14,191,193,104,27,159,107,89,162,242,50,90,6,134,145,85,69,156,210,55,34,75,241,234,121,219,250,7,41,77,159,127,214,123,254,66,125,54,247,81,142,115,35,37,69,177,110,126,157,63,241,81,121,200,215,26,116,178,166,98,165,245,243,199,215,235,187,186,208,197,83,198,57,214,249,124,25,3,158,180,239,144,77,15,80,131,161,20,36,3,36,130,93,164,37,192,81,83,97,121,209,249,249,158,195,77,251,162,23,242,241,28,111,227,181,18,248,69,110,93,72,210,1,162,47,40,123,84,133,104,175,171,165,220,46,64,231,85,246,217,29,78,117,99,40,243,185,83,150,212,100,238,88,167,53,143,184,246,49,242,235,50,29,126,92,232,69,24,83,12,130,220,236,152,10,191,175,124,56,80,35,164,140,160,33,230,173,147,210,251,59,100,13,134,199,120,72,229,220,112,67,249,159,51,42,76,143,100,172,156,154,23,177,58,86,177,49,234,245,179,8,139,253,198,119,238,68,248,98,158,12,178,36,182,126,112,200,219,49,91,10,191,111,147,127,237,196,110,217,125,198,186,232,104,146,89,101,147,139,246,221,163,64,68,250,147,241,206,108,54,213,120,205,168,88,243,109,102,237,67,180,119,189,3,210,239,68,41,163,9,88,134,211,201,0,206,153,146,43,124,175,87,15,36,239,86,166,9,29,158,125,233,247,17,214,35,126,53,121,175,252,188,52,55,81,249,192,96,191,238,30,205,208,203,252,238,44,91,71,59,170,226,158,135,99,29,1,68,159,84,121,32,116,180,229,34,195,87,51,200,31,155,126,68,131,151,65,11,150,6,61,126,73,77,192,73,65,30,70,214,48,48,23,96,162,88,219,234,136,169,166,226,182,79,143,170,93,193,60,212,169,181,88,14,142,133,65,93,22,172,211,148,182,187,149,34,0,164,193,149,184,105,41,147,136,124,43,122,39,152,59,42,182,203,33,204,151,184,244,93,210,205,189,184,85,10,73,239,143,236,227,27,23,253,123,172,15,218,66,174,26,102,190,169,110,213,229,14,164,27,88,12,38,104,2,21,55,221,154,19,93,243,169,18,54,151,149,166,170,90,88,127,96,18,76,158,143,10,124,203,123,100,205,76,138,111,206,32,102,201,30,170,122,195,186,44,208,67,62,145,46,79,19,47,155,57,8,79,239,170,179,20,207,65,223,182,60,208,119,136,250,233,230,255,250,248,81,165,251,101,5,204,48,185,248,188,157,117,156,25,118,167,225,135,113,179,92,121,122,91,242,148,50,73,34,230,110,97,28,36,160,75,48,152,78,124,117,125,217,228,158,177,28,195,89,102,114,71,220,196,231,240,27,97,156,229,229,132,131,70,107,228,169,166,204,228,71,102,76,15,247,253,192,210,177,58,50,134,87,117,239,19,176,44,62,55,74,41,200,171,119,194,173,82,53,198,62,164,106,217,102,4,34,127,104,233,154,50,255,108,226,154,238,202,19,187,161,0,223,141,248,124,10,100,202,125,244,205,192,170,86,201,248,249,135,212,126,149,181,120,156,112,97,99,168,45,233,103,76,136,6,4,235,158,44,33,99,220,192,117,154,40,227,129,144,115,120,63,6,92,145,134,157,140,43,96,157,204,0,99,107,228,110,132,32,228,123,1,122,122,207,206,33,84,77,2,188,206,162,2,204,202,116,170,2,11,75,166,131,159,162,203,119,148,22,224,237,246,51,221,209,255,186,177,153,22,76,157,22,158,92,96,11,118,109,223,110,190,203,52,162,33,225,242,178,84,253,51,235,163,126,126,12,202,198,189,208,49,230,7,67,241,211,33,177,22,4,51,252,76,114,201,135,74,174,185,15,211,20,45,91,69,165,89,197,103,204,167,143,60,168,64,38,117,5,4,230,50,85,65,100,214,115,68,56,68,247,174,157,118,10,93,4,34,145,56,104,164,240,16,234,243,202,194,44,229,10,42,41,138,164,213,235,54,135,210,77,168,92,232,83,213,58,62,154,29,180,80,154,208,64,157,233,145,71,75,139,44,75,22,60,86,182,88,19,171,129,159,229,58,246,214,162,18,212,108,43,182,24,225,129,141,57,234,89,95,69,178,74,215,127,68,145,74,11,90,36,87,33,148,53,173,74,153,82,110,132,191,183,119,125,163,159,219,31,181,48,92,5,25,148,114,99,168,113,141,140,241,238,248,69,229,65,227,170,52,14,93,171,190,144,32,247,69,103,30,171,197,18,41,25,19,198,50,61,163,73,29,191,199,223,120,9,70,124,243,185,80,241,21,149,143,0,77,62,143,103,214,7,15,83,203,136,19,10,10,142,72,214,207,149,199,236,112,186,236,207,130,55,123,177,240,96,94,1,207,60,28,169,34,60,33,95,124,54,232,27,243,247,56,176,158,113,118,121,15,209,194,239,34,131,1,247,203,46,182,5,59,140,247,223,23,205,141,170,79,243,166,128,74,136,135,236,206,249,109,75,47,243,252,119,124,220,73,194,90,48,193,155,87,155,120,11,104,135,74,123,158,251,50,105,86,201,146,107,248,251,186,65,235,0,205,232,221,130,187,143,128,239,68,78,243,122,199,243,83,15,220,185,9,220,122,227,131,125,249,85,72,187,11,206,172,180,70,174,114,125,244,20,184,191,227,104,216,238,68,55,99,115,165,126,74,211,195,15,251,148,147,179,112,158,222,34,57,38,159,82,68,77,216,22,32,47,142,199,38,66,148,125,201,188,242,166,132,216,112,243,229,247,7,45,175,165,118,157,83,209,96,211,55,173,41,74,29,137,212,154,211,33,81,154,208,140,186,250,56,190,147,151,11,185,210,189,21,252,238,76,111,10,86,133,178,146,247,142,99,228,200,39,100,121,206,65,173,3,234,58,254,159,209,251,144,102,121,52,83,41,106,19,24,252,86,5,70,36,52,140,203,197,77,221,234,45,94,105,15,67,223,72,47,128,156,143,22,228,218,196,91,140,166,13,219,217,92,158,79,53,132,133,149,146,29,155,187,218,4,112,82,153,212,28,132,67,11,77,134,240,229,151,155,232,204,205,86,51,6,84,228,20,149,39,172,228,7,182,36,179,195,132,22,52,29,235,210,109,18,73,72,239,45,187,70,113,14,72,80,27,39,236,200,49,198,105,22,38,184,201,239,154,1,85,51,94,235,93,255,148,27,72,142,202,9,219,214,166,151,85,14,232,134,53,72,43,17,131,88,82,167,135,76,228,234,147,20,170,94,10,52,39,217,248,217,157,199,124,236,161,83,131,243,124,229,110,247,147,197,188,126,95,150,9,213,203,22,166,234,101,27,58,229,22,150,34,236,4,58,121,46,21,250,69,24,253,4,105,207,76,65,23,213,50,130,248,18,147,107,139,189,15,67,92,82,130,95,158,232,223,100,247,228,251,132,103,62,194,39,121,27,159,122,189,37,67,49,237,60,179,99,21,83,174,123,52,115,86,45,112,135,147,139,250,225,214,90,102,191,59,75,23,89,251,17,2,22,123,224,163,238,70,194,231,142,94,143,16,237,147,161,121,153,194,18,223,238,228,25,205,161,183,68,99,92,253,144,250,88,87,107,93,86,79,148,49,212,30,135,175,122,212,199,187,157,233,66,254,123,36,190,40,205,146,145,137,163,244,94,251,147,79,135,87,188,115,22,11,252,93,19,45,114,91,233,21,57,142,185,234,188,207,227,85,223,10,112,27,135,10,77,65,110,24,165,157,205,209,22,39,86,149,190,179,249,202,156,170,75,77,147,121,223,224,104,165,165,54,196,3,59,122,93,42,239,119,233,159,59,60,134,228,106,120,233,180,217,223,219,54,235,217,58,192,248,118,232,228,114,232,90,161,130,206,93,197,251,230,182,232,184,43,6,7,3,164,23,135,43,43,25,156,223,86,117,194,127,80,120,243,160,51,117,61,153,96,240,84,132,13,157,129,6,206,61,136,172,88,243,97,176,105,105,166,214,205,50,95,187,197,243,51,138,87,196,112,10,46,191,59,107,197,200,24,13,79,197,161,47,240,87,197,24,24,176,180,96,220,194,29,129,128,242,38,112,243,201,179,217,76,25,157,107,227,159,224,153,178,134,115,26,190,113,151,196,125,130,17,59,45,103,173,21,225,142,123,145,54,185,242,241,7,44,244,149,81,131,146,104,26,47,23,94,254,26,158,69,84,165,82,116,215,123,162,56,31,218,11,190,167,192,235,133,54,69,66,158,67,227,54,126,133,217,221,121,175,77,141,62,18,153,155,79,125,109,167,201,138,20,6,190,233,52,46,244,151,52,14,226,193,250,229,236,214,62,81,139,179,177,139,179,45,145,194,161,148,209,42,95,43,133,196,2,201,188,143,139,10,229,244,71,83,46,3,69,38,202,225,79,236,72,206,175,136,35,124,206,131,55,212,60,241,52,114,163,195,48,46,123,150,200,117,166,164,132,86,242,44,114,60,131,131,132,67,198,60,30,172,80,244,125,177,165,161,229,32,83,114,214,86,241,24,36,117,146,236,81,225,206,106,228,114,171,231,140,61,67,240,50,53,60,35,152,171,158,173,96,82,86,5,24,169,238,166,230,175,159,21,94,175,173,77,95,241,220,115,176,174,12,247,168,102,20,216,202,78,224,167,107,18,123,74,11,23,187,68,219,199,216,240,27,176,240,25,219,108,69,179,74,167,102,78,124,167,28,210,49,166,92,145,226,251,100,21,155,19,172,76,225,252,193,73,103,241,48,13,52,144,153,62,33,105,58,187,162,16,203,118,123,188,94,167,205,86,246,162,133,185,161,82,60,238,14,199,17,238,26,159,30,215,196,213,220,210,226,116,185,32,184,108,238,121,179,156,178,103,153,96,242,26,137,155,70,180,22,203,17,26,232,77,88,60,231,229,168,114,47,223,186,224,103,74,80,59,195,246,86,157,193,233,143,9,236,146,91,134,9,53,14,77,13,233,135,0,51,138,44,161,92,230,41,49,226,137,106,176,253,72,187,226,32,129,229,247,207,223,141,96,231,149,88,18,179,28,126,106,111,99,222,6,172,40,59,214,225,215,239,154,65,183,89,201,112,202,20,121,249,49,42,35,114,155,184,35,147,160,54,21,201,115,81,154,250,99,203,24,18,139,33,11,245,170,164,253,185,42,0,133,66,129,189,216,172,176,205,106,192,214,57,97,49,73,131,101,95,194,106,68,83,18,248,137,178,209,26,49,198,254,241,99,222,86,170,227,107,244,142,183,47,111,25,21,133,107,16,84,67,132,42,232,103,217,221,79,79,239,138,120,53,65,62,61,36,82,95,72,44,251,154,119,173,105,204,123,224,215,124,50,165,251,89,152,213,6,243,167,55,247,129,194,124,215,209,222,171,106,122,180,68,202,169,113,70,231,93,68,55,203,64,51,91,101,54,1,253,211,231,164,94,35,161,108,111,217,15,112,236,6,77,31,94,37,78,50,120,173,18,79,224,244,140,148,74,220,59,76,174,121,181,255,228,117,84,178,182,117,255,119,144,10,27,117,230,55,149,17,19,225,147,90,168,76,133,212,91,157,50,144,118,131,250,56,254,226,149,5,179,162,162,155,186,204,113,211,190,57,198,114,103,253,229,112,93,151,145,106,240,244,73,17,109,95,162,146,139,195,211,98,14,27,94,76,32,92,56,9,125,169,40,76,55,200,16,7,221,221,10,23,143,105,216,4,75,249,43,86,29,161,93,173,94,108,25,30,248,84,97,125,7,36,251,142,72,139,175,109,224,73,228,203,69,73,81,175,184,151,221,123,111,211,240,87,47,27,170,63,195,19,250,171,214,116,76,58,98,166,13,150,31,110,139,117,117,248,72,101,215,182,219,55,149,225,93,35,204,189,133,165,13,60,57,143,7,162,167,101,217,219,88,89,51,187,244,236,115,60,174,138,115,218,88,8,104,106,167,11,118,191,195,155,107,202,146,185,82,52,216,245,166,217,168,12,109,98,69,134,7,24,244,153,213,150,40,205,240,45,70,27,99,38,13,202,197,126,206,90,39,188,56,120,180,169,20,180,205,199,82,231,42,232,152,48,84,134,149,231,34,92,51,35,133,43,193,126,201,78,119,94,244,194,104,71,83,98,239,235,22,215,149,138,104,65,140,190,174,226,118,62,230,218,151,99,212,23,182,85,150,57,125,202,140,163,171,175,127,183,66,124,237,140,237,246,50,77,67,249,166,202,113,238,8,28,72,101,34,20,34,101,223,4,93,3,111,167,76,190,51,121,204,253,105,145,67,55,217,63,110,174,182,183,218,70,171,247,231,204,155,228,73,172,169,205,138,3,236,77,202,190,18,43,79,7,94,57,37,129,64,166,141,7,76,217,229,188,126,128,5,229,112,124,37,143,68,185,169,207,123,68,84,223,56,179,35,210,247,51,222,116,252,132,234,71,198,44,138,148,159,83,177,159,206,15,97,126,114,245,122,156,106,253,146,236,41,229,4,199,99,46,134,81,3,82,121,157,13,203,57,253,70,68,60,133,31,101,155,224,170,180,169,100,217,90,13,18,67,55,111,41,133,97,90,200,148,198,233,242,94,13,162,125,55,213,182,243,101,178,66,196,236,173,110,149,223,238,160,44,239,32,203,162,12,28,119,186,243,91,11,211,74,211,143,138,78,166,163,196,159,204,246,146,166,59,199,251,82,70,194,63,181,216,100,46,206,21,51,162,249,218,191,173,244,93,226,13,71,153,71,116,24,90,89,218,122,42,173,158,47,47,143,250,10,179,109,201,157,186,193,174,248,40,21,30,83,209,221,62,161,253,217,175,225,90,142,142,40,43,10,87,21,124,167,45,159,1,164,236,126,232,27,136,137,227,184,38,75,225,104,48,20,241,70,36,211,38,227,190,64,200,211,194,0,50,39,203,236,215,93,193,133,223,125,38,94,212,59,157,125,38,174,12,234,8,238,26,170,184,234,181,161,219,218,111,49,184,177,170,22,167,51,239,28,159,94,191,180,30,84,103,39,120,48,39,14,36,255,66,180,17,227,226,210,36,114,244,100,153,213,150,133,1,217,65,164,57,235,226,99,70,248,195,180,7,169,14,167,14,147,157,246,184,235,56,122,160,213,167,153,252,73,233,69,47,154,99,219,131,40,178,13,32,155,41,27,185,196,76,5,41,26,182,236,41,11,78,61,73,29,79,236,235,4,166,239,83,237,12,16,215,19,139,252,69,234,189,204,210,110,206,206,235,72,43,235,231,66,52,30,130,134,193,248,73,88,180,126,254,35,18,226,110,53,181,253,239,59,144,50,30,35,10,44,205,161,230,70,147,79,49,78,180,62,84,33,62,12,23,124,205,85,20,138,170,159,238,81,126,127,179,5,229,98,89,16,121,217,97,126,51,20,29,149,240,192,210,230,49,121,141,229,187,239,31,183,11,189,216,209,147,166,107,174,74,23,130,190,42,217,3,167,128,131,68,138,138,36,155,73,20,69,170,34,159,98,98,229,218,13,166,199,34,9,85,93,210,54,243,196,110,47,121,37,188,62,196,126,42,213,221,244,246,33,121,145,107,96,152,126,13,175,222,199,242,182,58,97,176,89,23,115,61,182,182,198,203,182,206,248,104,174,127,143,82,41,125,133,219,97,221,244,62,128,162,200,20,82,99,114,102,76,67,172,124,220,104,76,241,237,5,51,203,149,93,132,200,157,133,231,73,90,102,155,38,134,178,111,3,57,199,76,183,50,67,171,113,165,217,37,85,246,152,43,147,140,63,185,121,186,105,58,87,146,41,170,33,42,148,147,115,238,186,184,189,248,200,186,4,44,248,57,223,161,158,128,52,211,88,169,168,89,151,17,164,95,165,185,111,154,57,240,114,21,3,112,85,97,181,188,215,22,78,226,23,119,96,227,219,191,254,250,227,86,141,77,180,168,162,206,7,236,249,53,188,219,52,125,71,194,103,122,128,143,254,63,61,198,234,214,145,42,208,103,175,31,91,216,249,187,145,35,92,133,115,44,174,148,170,31,152,32,13,110,83,171,192,0,217,88,25,158,49,198,119,92,210,95,178,231,82,34,99,168,73,25,197,20,4,67,32,227,108,221,25,75,234,215,207,25,137,67,175,71,198,64,167,151,59,133,55,23,112,193,148,222,39,113,216,21,105,124,244,105,172,49,195,56,190,214,47,84,10,82,210,26,213,72,213,113,39,168,179,166,58,169,132,7,108,159,24,181,139,29,144,169,126,81,252,156,115,64,197,208,154,51,195,145,22,237,177,51,0,111,252,110,73,96,6,233,119,15,18,136,47,249,89,97,73,145,62,220,100,164,79,106,147,178,105,84,191,45,35,142,167,228,144,20,37,60,202,84,164,223,91,243,90,90,54,34,62,211,42,242,246,105,159,83,121,26,71,229,180,112,43,126,9,139,24,246,235,234,114,174,181,66,54,152,203,226,86,171,242,110,152,89,204,101,210,197,3,163,60,58,82,41,162,111,31,202,204,167,220,212,52,183,66,105,237,42,173,116,42,60,195,244,37,163,54,139,134,130,36,131,232,130,159,114,151,242,163,203,33,54,61,168,202,40,152,56,209,159,36,177,89,53,149,63,115,174,103,190,22,212,84,17,213,150,233,242,165,212,204,190,229,207,186,191,92,236,88,54,204,52,65,12,248,9,1,45,171,87,245,138,224,46,8,195,251,71,167,140,34,114,184,159,83,194,239,243,51,238,130,68,8,21,210,242,17,153,211,88,198,27,135,4,223,13,211,179,204,184,178,118,176,243,169,107,53,19,94,245,242,140,174,96,28,170,63,77,178,162,239,151,74,67,35,187,144,78,115,220,177,47,199,141,221,55,119,168,204,100,244,151,221,131,202,72,41,203,155,18,1,100,209,123,147,159,181,218,40,33,98,139,68,74,15,171,167,189,137,159,76,177,129,216,70,124,243,233,102,39,203,47,234,206,126,210,188,46,120,102,62,69,211,250,154,88,101,225,185,251,7,116,26,215,199,120,69,116,91,133,29,218,236,150,128,35,103,237,24,23,79,206,59,38,178,54,22,15,200,84,7,172,204,208,145,87,229,221,94,59,50,155,227,120,228,154,166,107,15,24,59,52,128,89,229,128,196,35,48,3,234,75,91,182,183,109,118,167,56,176,115,108,204,147,233,72,234,93,181,126,102,149,84,237,11,107,103,241,182,57,237,244,211,234,162,7,18,125,92,207,125,139,48,154,198,197,24,107,65,12,67,194,103,172,169,246,126,189,151,104,250,159,67,183,120,135,63,198,47,77,25,208,202,238,47,249,209,144,81,185,73,69,93,97,80,200,125,177,215,9,220,213,194,238,216,167,49,203,16,103,205,6,58,175,114,209,153,22,227,208,23,189,223,106,207,142,156,91,187,247,60,127,106,209,145,222,20,116,143,59,248,131,127,3,15,83,179,14,18,208,155,210,205,80,255,53,206,214,122,85,87,213,209,228,185,6,105,55,165,98,165,56,86,46,58,230,145,68,211,251,229,16,244,85,74,175,102,7,186,136,84,151,83,86,27,130,99,209,253,96,96,139,217,195,144,113,125,92,117,81,92,15,204,87,71,247,105,95,53,151,59,211,85,114,46,242,123,86,249,167,210,28,106,149,141,221,233,161,236,209,27,229,133,232,168,137,172,108,43,43,235,114,119,247,191,171,79,24,247,220,115,177,183,165,250,252,53,38,143,188,230,221,32,238,151,209,213,31,174,77,225,146,195,46,37,3,4,61,34,43,5,131,88,219,2,253,156,69,54,210,31,108,1,222,56,67,218,213,174,17,217,27,110,237,43,42,159,74,56,26,107,208,134,78,67,139,43,199,244,131,69,84,182,98,165,31,148,93,32,184,105,24,174,104,62,150,21,61,222,51,17,32,181,188,79,43,56,254,170,177,31,231,67,248,137,89,117,58,157,196,94,167,149,85,64,137,178,54,237,245,11,5,119,34,113,231,247,216,214,33,151,96,98,91,15,134,167,208,247,15,134,124,47,212,106,128,55,248,97,9,190,57,175,150,102,237,34,62,7,50,251,57,211,70,29,112,113,75,172,232,28,13,217,2,202,234,67,49,36,135,242,86,92,35,13,20,47,4,0,78,31,172,179,11,45,95,202,93,197,27,234,118,232,209,201,27,45,76,138,209,67,174,92,26,40,27,82,170,208,15,33,233,137,215,202,74,95,208,24,223,250,62,164,202,8,153,119,62,193,3,185,204,236,70,48,245,72,2,149,134,34,156,219,200,189,239,235,50,70,109,29,135,89,33,238,223,54,37,5,117,234,240,16,147,34,97,95,2,22,174,177,69,30,192,44,38,141,201,14,99,217,93,208,70,25,110,139,86,70,166,93,155,251,155,127,222,70,224,239,88,231,166,122,245,206,208,79,0,95,105,173,113,125,171,153,83,231,230,179,25,5,140,139,225,91,95,157,103,38,224,209,120,244,244,46,134,177,20,243,77,21,150,228,83,108,188,170,43,68,11,44,215,187,203,112,90,205,117,214,189,46,67,80,119,151,68,204,238,255,0,13,181,164,64,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,49,55,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,10,47,70,111,110,116,78,97,109,101,32,47,73,89,69,67,67,86,43,67,77,83,83,49,48,10,47,70,108,97,103,115,32,52,10,47,70,111,110,116,66,66,111,120,32,91,45,54,49,32,45,50,53,48,32,57,57,57,32,55,53,57,93,10,47,65,115,99,101,110,116,32,54,57,52,10,47,67,97,112,72,101,105,103,104,116,32,54,57,52,10,47,68,101,115,99,101,110,116,32,45,49,57,52,10,47,73,116,97,108,105,99,65,110,103,108,101,32,48,10,47,83,116,101,109,86,32,55,56,10,47,88,72,101,105,103,104,116,32,52,52,52,10,47,67,104,97,114,83,101,116,32,40,47,97,47,97,116,47,99,47,105,47,107,47,108,47,109,47,111,47,112,101,114,105,111,100,47,122,41,10,47,70,111,110,116,70,105,108,101,32,49,54,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,49,56,32,48,32,111,98,106,32,60,60,10,47,76,101,110,103,116,104,49,32,49,54,50,53,10,47,76,101,110,103,116,104,50,32,57,54,54,51,10,47,76,101,110,103,116,104,51,32,48,10,47,76,101,110,103,116,104,32,49,48,55,49,54,32,32,32,32,32,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,218,141,180,5,84,20,218,26,54,76,9,130,210,45,53,116,195,208,41,221,221,93,3,12,48,196,12,12,221,41,141,72,73,74,139,116,167,32,221,221,37,74,73,35,41,33,32,124,232,61,231,222,115,239,255,175,245,125,107,214,154,153,231,237,103,239,231,221,244,212,26,218,236,146,214,48,75,176,28,12,234,198,206,197,1,20,6,72,171,234,232,112,1,1,64,32,15,7,16,200,141,65,79,175,3,113,115,4,255,109,199,160,215,3,195,93,33,48,168,240,63,34,164,225,96,144,219,163,77,6,228,246,24,168,10,131,2,148,220,29,1,92,60,0,46,126,97,46,1,97,32,16,192,13,4,10,253,29,8,131,11,3,100,64,30,16,107,128,42,7,64,9,6,5,187,98,208,75,195,156,189,225,16,91,59,183,199,62,127,255,5,48,89,49,3,184,132,132,4,216,254,164,3,36,157,192,112,136,21,8,10,80,5,185,217,129,157,30,59,90,129,28,1,218,48,43,8,216,205,251,191,74,48,137,218,185,185,57,11,115,114,122,122,122,114,128,156,92,57,96,112,91,49,102,54,128,39,196,205,14,160,5,118,5,195,61,192,214,128,223,148,1,106,32,39,240,95,212,56,48,232,1,58,118,16,215,127,57,180,97,54,110,158,32,56,24,240,104,112,132,88,129,161,174,143,41,238,80,107,48,28,240,216,29,160,173,168,2,80,119,6,67,255,21,172,242,175,0,54,192,95,135,3,224,226,224,250,119,185,191,178,127,23,130,64,255,36,131,172,172,96,78,206,32,168,55,4,106,11,176,129,56,130,1,234,114,42,28,110,94,110,108,0,16,212,250,119,32,200,209,21,246,152,15,242,0,65,28,65,150,143,1,127,70,7,1,228,36,53,1,160,71,134,127,241,115,181,130,67,156,221,92,57,92,33,142,191,57,114,254,46,243,120,204,178,80,107,105,152,147,19,24,234,230,138,241,123,62,25,8,28,108,245,120,238,222,156,127,93,174,3,20,230,9,245,253,27,217,64,160,214,54,191,105,88,187,59,115,234,66,33,46,238,96,69,153,191,98,30,77,24,255,177,217,130,221,0,124,64,32,80,144,135,27,0,118,1,128,189,172,236,56,127,55,208,241,118,6,255,113,114,253,54,63,114,240,247,117,134,57,3,108,30,105,128,253,33,54,224,199,31,12,95,87,144,7,24,224,6,119,7,251,251,254,211,241,223,8,131,139,11,96,13,177,114,3,88,130,109,33,80,140,255,84,127,52,131,109,254,133,31,239,31,14,241,2,24,3,31,229,199,5,0,254,254,252,251,159,233,163,194,172,97,80,71,239,255,132,255,185,98,78,41,121,45,61,35,77,214,191,40,255,219,41,37,5,243,2,248,178,243,2,216,185,121,120,0,124,60,2,0,126,33,126,128,255,127,87,249,55,255,191,185,255,177,106,128,32,127,205,246,143,122,138,80,27,24,64,232,95,20,30,207,238,111,26,30,127,233,130,233,175,165,97,6,252,119,7,53,216,163,154,193,0,166,255,136,223,4,200,7,180,122,252,226,250,127,94,129,63,41,255,127,202,255,93,229,255,42,254,255,157,72,206,221,209,241,143,159,233,95,1,255,31,63,200,9,226,232,253,87,196,163,154,221,221,30,55,67,21,246,184,31,208,255,13,213,7,255,107,157,85,193,214,16,119,167,255,245,42,186,129,30,55,68,18,106,235,248,239,131,132,184,202,65,188,192,214,26,16,55,43,187,63,138,249,251,26,30,171,59,66,160,96,13,152,43,228,247,123,3,96,231,2,2,255,199,247,184,114,86,14,143,111,138,235,227,101,253,113,129,31,55,234,191,59,202,66,173,96,214,191,87,143,155,143,31,0,130,195,65,222,24,192,71,125,113,243,241,1,124,185,30,119,212,26,236,245,71,218,0,78,14,40,204,237,49,5,240,200,206,31,96,3,131,99,252,190,82,33,33,0,167,213,111,211,31,196,39,248,136,96,142,143,195,252,109,225,122,148,34,39,248,31,144,7,192,105,251,15,200,11,224,180,251,7,228,3,112,66,254,1,31,139,59,253,7,62,74,149,243,31,149,31,151,131,19,246,15,200,13,224,116,254,55,228,229,127,68,143,250,128,89,255,35,226,177,25,252,31,240,177,153,235,127,18,4,30,145,35,200,245,31,211,112,61,214,112,251,7,124,156,198,243,15,252,175,19,180,114,135,195,31,31,151,63,34,127,60,222,191,241,159,151,12,12,246,2,91,97,44,205,195,172,68,194,236,107,195,218,174,171,37,201,60,217,183,198,95,206,208,111,233,167,49,179,251,46,193,63,185,223,96,161,165,48,87,101,133,172,194,47,37,83,134,186,113,86,54,101,153,46,36,150,169,126,249,30,180,212,163,69,124,76,210,108,189,245,187,51,79,208,154,218,106,197,88,156,36,234,159,40,60,144,172,235,163,64,39,103,215,145,216,246,251,229,226,167,23,236,128,220,130,216,161,68,159,235,226,46,136,165,145,143,127,237,217,43,239,85,215,87,250,121,52,124,126,75,115,187,138,95,249,217,93,233,52,123,156,110,172,73,240,135,89,250,60,203,119,115,36,52,168,110,236,20,79,89,240,78,188,176,103,47,46,103,240,114,38,30,168,148,18,88,49,252,15,227,120,222,251,26,173,113,191,254,57,231,243,165,92,135,219,181,147,148,142,212,136,132,2,249,2,111,116,138,193,87,106,247,173,18,241,130,111,113,81,236,234,203,133,108,32,51,7,194,234,104,31,149,223,72,7,245,119,97,99,21,69,60,98,160,35,124,73,72,126,148,206,191,181,142,51,216,160,231,57,122,214,150,182,133,51,75,173,243,1,214,2,9,171,141,167,167,156,124,190,122,115,81,175,217,246,96,4,250,85,36,156,213,90,213,35,30,77,205,219,119,123,125,9,229,194,240,224,66,249,224,123,237,132,177,207,176,177,205,6,58,198,6,225,74,147,212,23,153,95,17,46,254,4,170,168,228,63,182,5,59,253,10,237,51,75,232,106,124,123,236,39,14,157,103,188,182,189,180,63,245,151,201,30,185,99,97,160,21,166,164,99,227,224,23,102,52,10,208,15,37,92,212,224,243,154,160,87,9,181,90,34,160,155,116,49,27,15,145,46,203,233,126,230,112,57,221,190,231,253,158,55,106,148,38,168,124,235,227,233,73,222,224,237,152,60,81,164,200,103,137,215,68,101,111,149,240,221,136,176,28,9,43,61,154,45,73,32,167,112,126,168,84,185,70,248,154,86,66,233,179,117,165,196,84,171,220,33,226,152,106,196,206,85,151,121,105,222,173,53,46,173,45,107,237,205,193,203,166,93,177,131,104,148,89,163,119,17,160,192,230,166,84,125,242,104,181,11,130,104,5,62,67,206,229,77,81,163,218,254,194,221,194,188,136,190,36,68,34,50,217,177,247,198,35,227,12,185,113,138,207,186,121,119,231,174,46,49,99,191,161,190,197,38,177,115,118,176,105,138,84,51,174,200,162,39,146,186,27,26,62,171,146,235,22,183,213,74,87,46,169,51,141,26,123,35,170,61,163,17,210,220,249,128,29,95,254,254,229,69,233,134,241,40,121,79,210,146,105,53,109,64,218,168,209,76,151,209,162,247,176,215,96,85,108,109,68,205,64,176,62,131,140,113,194,204,30,66,38,3,94,195,214,199,57,17,26,33,242,214,87,26,254,63,253,219,19,86,59,122,166,64,23,243,246,28,230,191,198,227,114,151,71,20,168,26,190,64,183,227,204,246,175,251,61,227,135,102,84,155,102,88,188,156,154,231,136,182,13,43,83,9,70,197,14,87,48,57,224,91,248,229,111,156,109,124,129,50,157,126,252,18,101,59,57,123,239,68,76,247,57,171,218,237,252,38,38,57,174,63,104,73,162,124,29,170,86,158,69,118,202,114,188,52,91,97,208,95,9,34,142,249,50,224,75,217,148,127,242,203,73,174,247,197,151,227,50,138,119,245,169,29,100,203,115,233,67,60,111,228,148,3,20,137,194,223,11,72,16,233,8,72,174,168,222,170,107,96,69,115,136,188,254,242,38,86,97,152,21,18,110,80,147,45,226,95,155,120,157,77,176,109,223,103,104,112,33,187,224,94,70,213,86,192,55,208,234,252,249,141,148,98,91,209,122,94,180,54,128,232,174,36,87,192,89,243,83,28,47,208,10,81,33,125,118,142,247,196,221,248,16,211,211,240,83,207,219,140,236,173,119,220,109,198,110,147,211,67,195,111,151,11,98,235,179,196,237,126,164,71,55,91,102,173,223,179,44,81,32,209,5,97,88,247,191,183,136,166,3,104,188,122,254,42,51,74,56,24,135,38,36,247,180,132,249,117,137,159,238,212,113,127,201,65,172,13,49,234,207,50,124,153,134,66,183,107,156,89,235,212,238,15,185,47,203,51,179,248,198,206,219,2,89,201,26,11,143,236,5,186,232,15,32,18,15,169,68,27,248,131,184,204,164,136,83,145,35,58,156,8,147,46,145,47,116,87,38,229,246,106,174,222,180,112,37,187,201,78,132,76,55,125,201,151,192,156,202,15,34,230,34,237,41,168,149,51,211,18,127,203,254,46,229,221,89,119,145,11,81,24,154,89,22,245,109,44,18,11,151,173,231,213,14,119,103,30,47,103,81,110,78,51,79,135,68,217,134,73,181,128,207,103,144,207,254,20,23,249,30,115,84,19,199,90,250,201,121,112,140,172,87,136,33,227,199,193,210,171,125,190,72,57,171,192,151,80,251,118,238,141,79,115,168,243,86,4,187,111,60,185,158,199,221,93,143,238,242,4,89,230,40,154,70,100,69,119,121,55,215,10,191,30,253,134,105,51,159,87,178,178,31,147,180,181,127,90,116,91,108,99,123,72,223,225,156,119,43,10,57,165,82,167,100,98,244,45,137,159,171,29,193,242,44,187,215,222,214,6,103,50,10,202,60,156,142,76,145,109,212,113,79,140,119,110,251,83,94,201,85,4,73,205,21,195,102,226,62,38,124,199,55,67,9,237,74,61,50,42,202,65,125,118,176,244,192,152,242,166,34,28,11,81,221,119,74,46,45,170,7,180,158,169,63,24,124,123,61,33,194,247,37,171,80,195,73,114,118,144,53,87,111,97,216,231,203,112,65,98,166,21,17,85,4,137,5,143,153,14,22,70,142,134,7,6,195,139,234,234,205,174,253,242,4,211,43,45,173,204,82,233,247,210,40,102,85,124,191,132,104,127,72,126,95,103,21,31,144,58,160,219,89,25,96,222,151,72,172,21,254,192,164,207,184,205,134,28,129,112,47,213,39,95,250,156,148,29,158,56,170,147,23,158,50,71,100,8,9,66,193,14,147,98,115,120,135,92,188,195,128,19,56,94,38,75,147,233,126,218,186,100,184,118,83,98,113,44,134,59,101,102,65,137,80,207,148,82,49,195,136,234,148,126,67,241,76,153,17,91,121,99,6,147,81,44,7,55,75,118,77,67,141,77,88,117,215,55,90,155,71,158,91,11,75,130,223,36,103,77,156,253,100,206,140,200,32,142,49,232,243,238,69,160,28,17,135,139,93,90,207,147,43,67,178,156,179,91,199,16,80,105,177,231,232,146,90,165,174,243,216,7,139,138,138,31,27,25,170,66,53,168,223,204,9,148,108,167,45,61,169,55,82,159,143,182,185,246,6,15,235,76,39,35,84,200,116,34,91,134,12,9,235,187,80,155,6,66,250,243,60,91,147,44,30,118,11,75,80,208,98,25,183,186,45,214,236,204,80,187,159,235,232,196,43,150,65,21,162,192,142,223,26,243,113,63,141,37,158,189,190,234,201,181,192,251,114,57,191,25,156,22,116,185,240,5,192,88,76,233,28,185,138,197,244,18,165,204,144,171,101,251,178,44,42,87,183,99,170,188,152,243,80,253,230,137,14,6,189,5,195,33,185,111,24,19,137,114,159,48,135,244,33,100,76,89,40,191,195,75,161,143,29,223,99,67,246,110,150,215,203,156,143,50,114,43,62,119,233,227,93,116,70,47,219,143,236,15,214,27,142,124,140,150,35,150,95,92,216,222,42,92,114,0,212,147,170,119,5,251,214,209,213,212,160,87,70,189,242,103,79,208,92,220,199,40,155,6,106,230,85,147,145,218,127,116,217,222,238,205,90,115,34,35,113,160,193,190,7,176,244,126,122,139,183,254,177,29,123,184,3,76,224,124,61,210,128,193,117,84,235,15,195,14,82,70,56,100,122,123,236,43,249,98,210,85,117,147,194,66,28,128,251,60,187,97,196,159,20,199,15,239,44,11,15,1,175,216,108,122,249,3,211,237,50,87,135,71,142,42,162,193,221,162,164,253,27,106,61,148,243,80,7,190,151,251,253,12,153,134,121,135,16,202,37,207,243,240,17,63,226,98,146,119,225,30,210,85,49,26,96,159,77,57,148,154,175,113,123,22,114,161,27,74,104,234,212,157,101,247,62,253,121,3,61,5,178,28,204,130,5,146,89,110,22,172,169,227,176,253,165,253,228,167,149,21,152,65,161,62,4,22,219,212,126,247,129,21,32,150,202,49,235,29,221,103,111,80,208,152,57,220,20,201,237,92,18,22,238,35,41,89,128,200,185,46,71,65,31,107,130,170,196,118,194,212,8,7,116,209,251,120,250,169,6,227,215,4,176,123,131,132,212,221,26,141,121,252,226,78,248,224,64,228,243,22,231,254,197,251,219,69,65,180,213,20,253,52,114,23,25,149,190,79,109,175,125,87,190,91,212,18,36,13,90,123,38,147,249,45,132,97,202,43,61,248,112,54,101,237,42,48,182,27,209,133,69,45,33,164,47,170,142,23,10,198,21,174,189,142,239,55,194,25,141,124,141,88,248,84,84,96,213,183,74,197,249,43,110,207,149,30,51,61,62,222,250,174,195,240,10,79,104,216,97,186,14,172,240,78,26,234,207,43,214,100,244,0,31,172,246,109,133,19,119,233,26,61,8,201,150,230,204,207,202,87,174,187,39,240,10,45,139,173,89,192,72,93,218,199,56,67,10,215,3,246,176,188,54,222,198,107,191,242,203,178,17,162,90,40,23,239,52,56,229,112,31,148,242,178,145,183,148,189,227,240,212,23,185,125,149,14,99,235,68,39,126,47,165,226,224,160,220,224,139,38,100,243,212,214,246,142,13,209,113,207,175,140,161,141,44,104,154,4,75,117,16,196,82,48,75,119,25,69,209,225,65,187,210,40,118,40,160,123,104,181,23,56,214,211,136,86,134,192,216,132,68,16,1,109,86,195,158,76,31,231,138,205,216,41,210,255,218,95,118,143,86,188,244,160,183,242,188,36,77,205,29,149,85,232,97,25,155,87,0,55,198,91,30,155,105,170,251,126,117,21,179,56,24,179,187,51,154,166,194,103,120,3,11,166,222,109,158,236,87,110,101,116,79,238,35,85,184,29,42,209,100,20,36,73,245,165,253,231,154,4,168,0,236,245,118,139,204,82,252,205,142,24,205,56,97,10,226,195,16,154,97,231,171,227,163,172,121,226,168,61,157,34,91,169,122,71,20,252,165,56,33,221,95,114,251,74,85,226,52,120,198,206,166,221,207,150,159,12,59,143,219,197,46,118,229,142,119,38,22,159,134,235,34,9,6,77,204,37,249,228,237,124,109,87,9,23,175,11,186,65,74,34,190,19,166,84,142,17,169,188,184,201,211,127,160,31,53,72,14,187,64,161,91,140,16,38,182,28,18,114,222,172,151,51,179,206,144,26,167,156,87,210,98,66,228,55,102,215,97,249,206,75,157,21,55,229,109,136,96,193,168,218,240,139,9,249,89,197,211,170,239,195,170,248,101,26,146,180,253,54,9,65,58,52,54,228,177,52,40,226,224,171,212,123,131,15,12,137,90,237,189,178,3,7,207,76,139,185,85,130,246,195,123,17,248,81,158,159,138,219,49,11,50,140,18,114,74,129,112,108,66,47,223,38,81,19,127,4,70,54,156,184,225,52,169,138,246,197,32,27,0,17,125,62,113,173,210,241,211,17,54,249,223,6,235,139,174,114,217,111,65,54,4,248,119,126,209,181,243,214,128,17,171,235,235,0,59,37,42,91,108,30,227,121,58,238,154,187,176,22,225,47,103,47,79,253,41,26,100,235,71,138,153,54,181,135,71,198,128,28,73,29,85,175,185,190,50,63,179,190,37,138,9,165,61,31,86,68,29,19,105,13,210,48,37,198,251,52,212,112,218,66,164,133,216,113,159,114,183,155,242,81,17,153,45,153,102,80,60,243,93,82,240,229,166,165,84,206,196,248,224,221,130,160,223,202,103,249,137,236,175,95,142,77,68,62,42,60,199,128,246,175,163,90,113,71,174,86,121,81,25,140,163,18,228,114,81,139,11,175,17,174,227,182,188,221,194,33,114,163,165,236,89,35,18,167,111,153,186,74,177,13,139,214,238,0,27,251,100,228,128,199,16,94,249,3,134,87,237,152,83,111,100,14,159,35,219,179,223,188,122,26,214,123,168,30,198,239,113,225,227,94,248,70,194,50,20,61,166,15,29,226,85,111,213,255,197,2,254,25,143,1,222,185,67,142,137,165,120,184,143,138,23,79,26,191,220,98,46,134,251,52,24,147,75,123,95,219,250,201,15,4,146,45,67,186,163,87,22,204,133,221,21,23,83,189,36,11,194,79,162,137,142,58,82,112,77,159,93,107,225,153,78,202,41,86,234,56,120,157,100,218,219,90,102,43,36,89,63,229,96,18,198,232,218,56,46,203,34,231,136,157,68,74,165,47,116,118,233,40,253,33,70,20,88,46,102,182,231,227,197,182,236,107,150,56,102,101,10,207,220,224,135,85,54,133,55,180,92,228,13,126,45,119,83,72,210,89,145,254,53,177,0,72,81,23,153,116,217,8,54,21,252,73,71,224,221,220,36,21,9,83,129,99,6,249,190,180,233,108,44,167,99,4,200,93,247,249,179,92,132,210,255,100,137,193,194,187,41,189,113,179,118,205,39,202,148,70,84,243,177,106,108,205,248,112,27,194,39,31,48,22,184,216,221,156,13,6,236,115,199,80,204,90,151,145,227,33,70,111,154,90,186,250,48,118,12,10,111,77,128,244,37,235,75,211,197,120,73,88,49,126,33,21,241,185,175,190,84,162,212,57,187,169,72,82,136,36,68,20,44,54,92,111,34,130,54,227,79,78,248,222,213,176,7,99,183,93,223,60,205,118,123,152,246,215,184,59,76,118,235,37,204,255,160,228,85,151,34,184,48,56,163,69,254,121,157,131,216,196,119,216,194,253,203,131,49,97,36,25,85,195,135,31,244,123,45,60,93,145,241,119,175,4,186,77,230,224,208,144,112,53,37,170,134,253,251,152,137,179,244,95,185,114,21,14,229,181,207,234,158,156,181,171,219,119,164,126,122,81,185,186,188,205,90,143,166,15,126,49,55,233,90,162,58,167,151,26,195,92,122,157,246,246,188,107,13,173,84,233,212,80,239,116,36,83,176,254,176,147,171,235,23,170,53,173,146,10,23,145,56,190,106,253,160,56,62,77,95,166,229,135,81,205,46,44,242,227,246,22,27,171,166,201,153,28,120,253,167,170,103,162,182,142,1,113,199,169,9,124,134,85,202,19,47,131,181,183,78,77,15,172,49,36,34,11,131,204,209,248,230,20,92,215,66,110,47,86,8,251,247,57,207,54,62,198,140,58,232,145,127,113,223,182,253,22,152,252,43,47,102,254,8,199,159,145,215,49,101,50,121,75,226,103,85,135,185,186,226,106,139,0,105,230,4,167,239,27,51,20,31,111,118,107,248,24,137,23,166,13,89,222,167,81,170,27,60,1,165,213,169,249,211,235,176,133,153,206,171,122,237,119,37,155,140,57,47,200,124,124,73,91,14,44,27,222,207,88,57,104,88,62,13,232,15,70,88,196,0,230,213,116,247,92,23,141,249,144,109,42,206,84,80,135,97,234,132,54,199,104,149,210,205,176,189,167,12,41,62,228,204,221,149,66,40,60,220,8,102,144,77,67,21,236,170,75,31,184,83,69,247,212,189,202,58,228,77,93,92,238,101,203,90,131,20,69,24,90,172,182,176,128,23,77,13,89,227,92,126,168,38,20,178,52,189,11,248,72,214,233,179,242,81,244,171,119,176,238,182,244,164,68,120,170,97,65,56,89,142,140,233,199,145,85,39,247,119,225,227,252,183,254,234,123,164,178,28,58,150,13,70,184,115,45,1,25,184,230,60,209,122,249,245,71,164,185,168,245,100,188,90,123,52,241,20,68,133,181,147,13,251,39,235,88,88,152,37,176,112,165,212,215,250,93,12,29,132,45,126,250,70,76,63,195,246,39,21,84,208,135,36,182,35,198,5,172,213,123,10,182,135,195,92,244,99,194,65,9,103,164,85,43,21,196,217,194,174,196,244,104,30,148,44,52,170,162,163,168,148,105,222,123,11,27,246,66,106,138,38,79,210,250,249,226,236,230,190,96,179,155,36,69,255,252,166,66,105,57,75,216,197,86,101,171,14,101,20,36,28,186,27,44,173,168,164,38,126,33,59,27,206,40,66,113,255,138,139,8,16,177,25,158,53,28,200,72,122,14,50,234,7,56,238,144,23,207,148,95,10,252,164,201,27,183,12,210,153,150,120,75,163,73,150,236,233,60,110,159,73,152,52,103,103,192,117,85,39,194,120,81,60,249,164,222,172,200,5,91,116,130,233,248,60,240,166,139,79,190,243,89,24,88,16,199,252,13,104,220,236,25,25,149,57,186,117,42,171,99,153,14,141,47,37,132,191,218,220,3,174,167,254,153,40,63,252,41,226,27,27,212,183,59,57,33,165,118,161,171,182,156,233,94,173,121,213,106,83,223,251,103,116,185,197,207,108,165,143,8,52,131,203,8,104,157,49,252,13,21,209,148,141,67,126,246,69,178,181,207,92,73,166,29,107,105,140,82,161,105,56,64,68,175,244,117,16,183,146,10,223,96,174,29,88,68,186,141,171,71,38,106,244,103,56,142,198,95,234,248,178,152,0,117,158,141,81,210,15,74,45,111,229,170,229,62,175,21,127,2,76,78,117,38,125,248,126,175,114,82,159,108,80,95,131,185,252,245,167,76,50,72,13,117,75,12,20,140,7,111,227,93,72,154,147,32,253,105,221,94,154,218,149,188,227,81,197,71,80,135,180,255,49,139,15,76,216,43,99,163,197,218,100,245,82,3,130,244,224,90,246,217,32,65,144,226,62,99,118,210,201,41,38,40,227,179,136,108,69,149,202,126,175,105,150,130,95,133,118,82,119,117,77,68,19,128,246,98,176,3,173,227,195,201,245,8,69,253,135,173,157,234,206,214,126,236,82,199,29,172,139,90,178,159,233,155,128,193,171,226,179,48,109,126,44,162,159,209,219,39,224,194,163,174,14,106,30,196,160,167,82,134,58,182,56,105,40,168,203,168,53,254,68,58,121,58,160,180,241,200,144,200,156,178,9,36,27,194,204,89,219,156,162,214,217,251,19,131,34,115,86,183,100,174,60,110,102,201,121,44,223,213,226,235,227,77,171,208,133,234,220,132,178,98,31,13,22,205,145,146,84,237,5,173,45,107,22,170,29,71,181,239,196,139,241,150,248,246,67,17,37,4,72,158,159,220,205,251,62,32,147,144,3,87,73,120,222,155,119,56,245,188,68,230,220,93,13,212,60,253,81,231,110,243,99,35,31,227,148,81,17,93,13,37,191,117,67,124,8,223,197,190,244,52,157,25,99,248,245,65,198,76,45,107,118,99,158,36,222,192,20,197,36,60,127,163,181,132,159,65,97,50,89,90,104,222,9,254,196,175,71,0,94,139,119,46,255,147,94,56,226,76,9,126,223,40,250,149,169,204,86,222,172,187,183,190,46,160,202,75,99,15,213,44,72,121,227,235,44,41,113,215,154,225,141,225,43,153,145,36,154,235,230,100,58,2,113,155,38,1,202,212,229,140,85,127,220,150,68,131,145,111,176,221,200,29,158,187,44,198,13,86,157,87,96,63,129,139,128,28,175,107,33,185,246,196,121,212,225,36,64,10,129,59,198,232,113,90,50,100,243,169,29,2,134,144,154,27,46,41,69,226,43,161,144,86,119,136,213,182,235,216,55,165,32,79,12,43,35,191,198,46,130,39,116,210,131,198,83,148,144,232,5,240,73,232,179,105,154,43,132,219,218,181,246,126,145,23,60,126,146,9,62,114,235,134,188,151,250,104,139,218,228,10,195,105,74,235,31,178,247,152,3,30,8,232,179,62,88,26,119,224,170,139,247,156,246,137,16,230,104,121,70,172,182,12,200,86,240,21,136,211,100,235,111,249,5,137,204,85,42,242,31,197,33,37,27,32,49,154,88,71,239,42,255,252,225,234,207,29,75,234,171,41,201,236,249,66,105,223,13,205,96,237,53,33,132,199,61,86,11,143,7,73,39,211,133,47,193,210,143,50,224,224,38,81,116,143,251,182,83,128,212,82,210,255,85,112,78,250,139,247,42,6,179,234,252,59,183,156,56,140,72,22,194,84,19,179,167,159,144,234,59,234,19,138,41,63,34,18,158,10,218,198,42,34,210,93,200,179,165,60,140,170,90,120,251,203,239,23,101,17,15,139,51,91,37,174,60,249,122,254,54,227,65,96,93,249,25,181,160,212,240,167,215,142,136,67,28,43,207,145,96,23,148,19,68,13,115,238,145,30,24,202,77,97,218,226,99,64,35,209,82,138,182,51,85,179,108,152,44,210,250,252,113,50,166,168,65,164,53,8,172,140,105,22,48,176,214,20,196,138,78,141,213,190,38,234,36,223,226,17,231,109,11,20,18,251,80,79,67,201,181,87,244,221,164,2,60,94,174,216,248,92,219,21,119,72,74,81,167,41,118,110,214,227,12,111,9,188,219,144,71,133,174,213,234,224,225,72,231,87,1,185,58,4,186,56,159,124,194,208,244,66,152,130,195,54,21,110,52,35,235,210,61,124,78,119,50,251,66,79,192,145,75,167,188,241,22,197,3,163,224,18,203,171,180,143,226,101,122,140,85,32,175,19,66,202,231,221,44,235,99,68,232,3,121,136,173,1,49,170,91,210,210,63,242,163,42,147,47,128,211,52,240,12,50,215,204,113,109,233,202,109,164,151,221,211,222,195,207,111,141,103,111,103,205,68,169,217,139,184,232,170,249,84,146,191,170,226,226,42,178,139,221,19,205,37,43,30,33,112,69,88,211,102,225,41,9,29,49,164,43,198,35,191,162,173,1,76,244,217,190,94,109,180,98,105,149,194,69,100,45,174,32,92,145,211,135,90,135,171,250,79,104,25,186,167,91,106,32,55,133,84,120,100,236,88,137,155,219,170,58,240,25,193,122,97,95,8,190,145,23,231,212,133,78,219,228,134,35,7,16,175,126,151,239,22,155,189,91,108,56,24,139,100,203,193,201,45,79,219,180,117,24,50,69,146,21,196,111,18,71,78,203,89,180,0,69,170,113,90,56,163,126,192,222,25,223,216,227,230,134,32,23,223,184,141,160,51,113,26,247,74,108,250,137,72,23,173,34,152,130,224,252,155,115,6,23,152,97,250,205,108,72,109,210,49,209,8,8,234,68,151,81,154,135,81,134,22,197,59,22,74,230,82,85,107,148,118,31,102,93,78,247,240,5,159,83,139,12,113,156,77,12,144,117,176,244,118,168,168,94,149,15,28,239,100,90,118,36,23,169,42,147,166,130,124,45,97,202,153,138,219,208,41,221,48,88,51,153,231,156,45,197,25,79,98,215,92,156,95,130,86,187,11,133,56,238,73,25,227,77,9,246,54,162,246,205,60,76,113,94,207,164,23,237,179,41,100,94,199,118,48,38,206,216,124,213,168,193,252,208,62,156,188,178,224,62,153,175,176,170,152,81,77,208,19,91,53,146,30,141,85,86,216,35,22,35,122,152,38,12,185,121,166,244,184,36,112,61,9,84,228,69,36,50,97,248,252,181,69,157,211,243,171,154,241,126,112,220,217,241,113,9,141,165,235,26,196,69,140,173,247,133,17,116,152,162,167,56,147,103,187,59,22,60,57,202,244,190,198,182,127,17,118,91,68,216,6,120,73,119,168,245,179,233,33,167,225,126,165,252,230,73,85,14,35,242,134,146,176,149,125,41,79,81,136,13,55,134,90,98,131,48,143,180,244,27,17,117,156,97,15,26,209,64,162,193,58,73,113,161,151,29,179,17,160,196,25,146,65,95,130,155,27,213,145,214,232,198,75,6,127,149,109,168,251,187,162,64,146,247,188,159,115,244,140,71,215,88,57,242,205,95,89,238,23,211,185,93,150,189,225,218,231,104,244,31,154,31,152,233,178,154,186,171,242,253,86,38,42,154,233,113,120,181,210,188,74,52,234,51,255,35,66,244,230,217,24,194,233,219,193,201,130,47,8,66,163,112,212,175,36,13,193,52,89,150,33,110,141,233,195,105,116,222,123,147,165,243,121,122,135,0,83,253,183,36,221,243,211,179,98,5,95,54,129,200,217,184,23,129,84,26,133,82,137,77,250,44,20,70,210,67,253,153,209,234,217,251,218,193,65,232,7,192,186,189,160,57,80,60,241,199,144,241,249,206,143,168,91,218,97,53,124,227,41,87,236,254,2,81,33,79,103,251,137,150,216,187,50,89,136,155,21,165,43,227,125,185,6,91,194,37,163,211,86,141,250,234,190,161,85,146,194,213,19,152,228,159,62,123,1,77,195,227,223,164,34,104,139,207,23,130,108,242,173,90,226,202,252,82,187,170,165,162,100,244,84,233,198,196,68,220,98,195,171,181,167,73,217,67,208,247,168,243,86,29,183,180,241,200,108,41,252,73,206,192,54,23,174,128,86,25,30,138,51,213,216,38,111,28,98,243,234,123,47,33,67,82,137,70,167,87,115,61,131,34,30,73,70,250,195,65,97,60,228,37,19,246,72,106,238,174,143,112,136,177,63,32,131,110,255,70,108,30,101,202,180,62,111,71,209,209,163,210,91,227,199,210,157,117,236,140,49,37,114,136,27,238,71,159,41,207,111,34,83,118,8,86,239,133,222,86,237,25,60,215,22,60,196,243,125,151,128,53,247,206,176,92,137,215,129,208,181,229,132,145,14,206,154,233,150,241,43,98,91,128,57,140,121,213,137,33,70,69,127,84,115,22,115,83,69,32,137,185,162,206,246,50,168,41,56,124,225,60,97,44,161,145,134,35,178,179,237,193,6,16,137,35,155,249,139,101,3,3,187,154,88,117,248,50,68,88,128,188,234,194,254,133,83,102,26,242,243,82,234,6,198,34,148,14,2,158,22,47,130,94,50,81,99,56,224,232,91,25,202,81,84,46,233,1,244,205,23,179,116,215,143,67,194,57,102,169,170,190,61,66,178,73,125,77,4,83,228,72,163,130,83,95,164,54,221,68,151,245,105,15,234,244,93,63,163,243,36,250,119,227,4,111,7,152,78,168,73,254,154,242,162,46,122,254,221,38,249,132,254,126,58,189,119,224,186,218,179,123,137,28,51,232,48,242,160,103,164,142,109,177,67,115,126,51,182,94,191,167,60,166,20,113,36,231,201,155,50,25,2,202,74,44,98,50,183,56,44,238,227,30,164,186,209,120,91,103,60,20,6,177,84,60,175,67,125,62,2,33,122,219,98,14,71,101,94,135,178,46,223,170,149,40,184,206,136,162,197,138,147,141,227,212,149,232,203,28,98,24,24,167,69,11,154,60,187,249,218,242,186,165,5,202,206,88,26,71,207,106,99,247,52,71,35,9,89,168,243,51,210,203,167,91,118,192,24,66,208,224,187,224,186,62,81,99,217,215,229,206,21,119,58,193,200,56,35,216,229,166,238,182,165,76,161,120,218,137,161,214,170,71,50,187,218,172,108,179,120,187,6,223,181,145,202,95,111,233,81,217,71,243,169,14,68,187,125,13,181,175,179,234,43,238,15,255,241,173,224,44,149,54,68,134,136,167,44,71,90,170,131,104,43,61,248,180,66,223,171,246,23,118,167,73,125,63,83,222,73,146,103,179,78,209,240,20,118,8,85,36,172,94,17,90,67,254,137,160,65,215,92,204,46,182,21,147,42,229,56,171,28,24,194,174,116,185,215,128,70,215,239,174,95,159,37,173,209,114,128,30,120,78,142,63,137,136,165,36,146,28,8,73,11,113,194,53,122,151,220,136,189,156,224,184,92,50,206,228,80,228,21,168,104,68,80,254,54,25,248,84,178,10,91,216,118,125,27,93,100,123,165,30,225,211,117,95,109,78,0,34,210,46,17,50,3,166,44,82,162,99,129,211,213,125,57,146,222,244,238,79,68,198,28,174,4,248,102,16,47,121,233,64,154,242,15,153,114,179,178,91,152,201,235,207,8,247,173,247,39,154,65,14,232,97,213,40,231,211,123,220,244,254,65,227,47,53,180,136,214,24,190,230,178,250,19,42,51,133,228,114,229,195,113,180,57,191,148,48,133,68,201,236,131,157,109,154,85,136,159,188,1,234,58,228,49,160,45,111,52,30,134,35,55,46,102,70,63,68,171,85,112,88,250,43,54,35,43,60,189,252,182,201,118,12,95,173,200,178,112,125,254,217,49,162,104,97,85,128,11,182,158,156,98,64,204,95,125,191,118,65,227,204,17,92,108,19,253,196,192,171,132,12,48,155,144,154,216,41,90,34,124,151,230,200,219,25,106,144,191,20,50,75,176,33,62,93,214,67,2,175,54,33,38,119,9,191,248,72,31,0,210,43,224,190,252,174,91,85,247,118,173,175,170,26,234,104,44,205,78,80,243,202,35,126,62,183,226,234,210,100,158,147,78,7,69,221,129,176,208,219,122,58,117,179,96,165,141,133,106,75,34,219,231,2,191,155,128,128,18,169,95,110,234,109,148,125,18,201,44,176,150,151,245,157,32,234,205,201,175,88,113,215,182,244,175,121,139,84,197,139,8,167,69,113,134,26,29,250,129,121,10,201,134,41,1,32,141,6,176,201,68,48,189,111,173,166,181,237,100,27,93,39,178,240,49,233,118,168,172,149,204,141,218,187,180,176,108,251,90,236,202,155,164,158,147,2,109,48,49,85,233,195,118,4,84,205,243,57,163,97,181,136,81,169,185,246,250,139,163,26,203,166,90,232,84,3,142,104,249,15,81,222,90,243,207,21,215,85,185,214,246,18,92,7,120,170,47,88,163,73,48,227,14,111,84,133,139,243,87,104,210,163,6,203,121,149,223,133,120,173,36,121,8,80,100,62,208,31,5,75,95,113,229,106,97,22,66,96,173,174,231,195,50,68,218,27,234,195,210,157,185,207,145,99,120,216,127,237,164,25,183,56,237,189,233,246,34,22,45,145,2,150,65,167,13,195,186,185,89,113,74,129,244,29,66,211,61,41,16,218,33,211,205,187,53,222,189,94,242,215,104,145,221,195,52,49,204,120,246,137,126,134,239,131,252,25,21,250,13,28,50,56,142,244,6,100,86,143,62,168,202,160,127,136,122,22,219,123,109,189,183,220,94,166,215,166,104,186,154,52,60,126,183,85,98,24,220,17,151,221,115,60,84,128,63,113,231,41,198,199,244,137,55,36,159,187,218,21,163,132,132,61,250,215,156,22,46,149,179,41,71,134,254,162,130,156,7,203,75,222,107,71,107,236,164,27,125,85,94,122,83,100,74,14,114,142,162,169,245,220,243,99,153,42,202,86,192,15,234,221,40,207,4,200,9,42,147,84,71,71,126,226,32,175,36,197,121,5,82,252,82,223,232,59,63,28,66,127,68,249,44,85,52,34,33,83,155,17,117,105,222,197,58,91,4,34,162,58,60,161,61,199,236,153,89,43,228,177,159,79,83,43,41,228,147,173,144,155,46,115,4,138,149,43,152,37,128,165,241,235,230,40,216,202,101,129,9,202,51,111,139,10,122,221,66,219,108,108,211,165,241,90,34,62,159,31,223,76,116,141,215,127,210,67,28,111,156,244,110,73,175,190,70,191,247,168,173,62,137,152,151,13,108,154,95,123,125,253,36,115,168,196,72,148,172,100,147,136,101,35,59,201,67,157,150,122,243,173,166,52,114,249,164,128,163,52,237,143,116,61,13,64,63,228,227,125,205,244,211,74,126,22,32,214,102,119,218,34,115,209,33,125,139,154,65,102,4,49,68,102,153,59,126,189,63,209,32,236,187,22,33,54,150,132,112,28,136,219,174,129,230,41,249,121,58,76,176,205,35,68,220,88,9,97,228,53,200,27,129,54,70,109,197,38,115,19,146,239,40,211,88,244,122,140,235,101,254,71,166,108,169,5,9,170,133,103,47,70,142,4,169,90,80,38,160,29,70,238,237,131,151,95,166,64,235,120,138,198,188,153,53,69,135,237,38,39,49,87,120,94,183,172,39,131,239,5,25,147,94,116,120,174,59,145,33,71,132,137,206,100,176,156,28,102,106,218,122,202,151,33,214,27,218,148,92,118,255,202,77,26,85,146,5,241,55,86,176,59,249,135,153,202,89,47,225,86,111,75,33,235,171,25,68,195,112,165,151,207,12,223,56,212,140,227,226,207,43,11,24,25,82,26,59,17,251,136,73,105,153,114,120,75,14,57,254,136,53,49,90,137,4,20,189,67,189,183,213,23,225,111,229,241,167,170,15,94,12,65,54,233,253,206,128,58,90,63,212,207,53,241,170,7,91,38,59,222,134,120,243,187,8,42,86,209,209,123,34,45,73,252,75,12,193,235,16,202,200,176,84,218,201,94,92,9,239,120,3,94,111,244,75,15,132,8,147,252,95,130,206,116,216,26,33,238,80,134,29,255,157,124,154,110,115,147,224,247,147,59,103,134,209,122,189,60,79,178,67,83,145,11,50,175,79,119,37,230,32,166,206,43,42,169,145,74,33,10,186,211,46,15,91,59,113,156,76,102,247,192,54,57,178,91,206,103,106,160,121,214,11,165,108,4,156,80,194,205,248,7,43,35,113,253,1,166,221,69,36,76,151,46,103,241,163,128,173,119,135,126,122,48,4,95,133,179,68,4,155,44,169,215,183,99,1,102,26,28,147,218,193,165,116,63,25,168,184,184,98,195,69,91,80,199,27,17,200,131,200,188,91,14,130,17,164,185,191,10,194,105,117,167,249,147,134,199,208,164,111,25,46,91,63,132,204,180,170,37,79,216,244,181,196,61,103,5,230,210,155,15,96,221,89,69,217,197,29,116,178,64,145,176,220,185,131,198,37,103,208,232,242,10,90,187,81,169,228,24,20,137,0,137,146,157,203,182,91,237,157,109,254,154,94,96,92,68,110,98,111,9,180,102,193,19,211,195,11,173,219,70,124,16,253,172,81,132,48,106,15,148,224,112,201,217,215,127,36,210,212,97,184,120,175,224,30,86,110,1,104,198,19,91,92,237,254,214,162,160,75,189,18,244,94,255,123,99,244,106,255,62,253,80,167,204,82,240,158,60,113,102,151,148,25,244,41,130,238,19,194,138,159,136,53,246,96,119,212,87,246,13,140,58,47,110,179,17,189,182,116,99,111,60,91,8,173,99,37,138,69,223,192,104,154,200,181,134,142,112,213,86,95,233,226,121,25,46,144,146,216,48,180,43,88,242,180,16,158,178,233,213,101,141,184,4,218,70,140,65,76,236,188,165,92,242,17,117,93,70,207,128,175,174,190,171,190,210,11,155,70,55,68,217,169,246,125,74,104,241,34,85,235,142,36,78,136,100,72,34,3,132,40,120,145,92,193,91,68,130,145,153,94,48,174,207,252,46,227,60,80,23,210,125,240,146,74,43,103,223,121,242,101,169,63,137,140,142,247,248,179,126,125,62,234,246,46,238,45,218,172,60,5,244,32,199,6,65,191,146,58,3,250,129,148,122,61,94,41,159,254,64,144,49,186,171,248,165,144,114,250,195,246,212,208,215,113,254,113,93,16,59,31,145,166,120,124,118,227,225,29,88,247,217,170,135,82,87,238,249,207,38,1,47,22,111,163,182,153,0,95,213,43,50,187,248,68,53,27,167,59,218,136,124,167,148,13,145,177,12,140,101,158,167,236,154,84,189,39,199,145,82,116,219,40,0,46,111,188,12,19,11,53,252,80,157,229,50,210,237,44,47,242,165,49,55,88,162,159,180,191,51,32,101,72,213,77,55,33,128,27,216,104,135,32,71,72,59,85,87,140,160,188,0,234,239,137,50,58,87,147,130,134,155,14,126,68,174,231,56,172,167,80,172,4,125,14,152,182,162,198,69,50,28,114,21,255,86,116,76,94,80,170,46,158,12,24,221,206,131,32,43,54,180,155,179,192,67,3,83,204,35,246,108,30,116,23,13,43,207,174,233,28,150,206,9,166,98,95,33,15,69,241,138,22,124,123,243,108,210,252,178,172,17,197,52,35,135,36,76,168,29,128,190,129,62,117,232,251,40,124,72,101,146,20,79,90,68,233,69,205,244,123,204,114,168,94,91,159,111,169,80,133,78,13,217,201,171,6,157,197,135,254,116,115,203,129,7,76,46,80,140,194,183,240,55,83,14,194,100,61,89,164,247,92,43,34,0,235,209,46,233,99,98,10,74,122,121,12,0,191,5,0,70,103,151,224,48,4,136,68,157,24,70,62,200,25,27,62,214,28,92,35,92,95,42,121,149,253,109,93,31,224,142,177,179,40,134,244,201,158,82,213,244,106,108,45,19,161,74,201,168,147,177,215,86,210,114,91,37,5,183,148,68,32,76,170,121,196,123,167,212,137,111,219,215,171,102,219,179,77,219,238,240,242,237,162,98,198,238,94,88,42,135,8,18,139,43,27,97,111,61,101,17,169,38,16,174,39,60,234,75,77,142,144,195,109,169,157,179,103,200,99,56,184,138,23,35,140,98,235,55,242,109,43,144,219,245,233,178,29,142,236,76,138,201,224,177,237,221,233,8,214,135,31,75,223,56,28,20,247,113,249,190,191,152,129,246,18,251,201,235,161,167,119,117,136,158,198,123,102,161,76,200,214,51,83,119,201,188,95,227,148,192,138,242,14,82,17,237,247,212,37,245,18,163,130,199,0,72,159,249,64,173,169,136,178,60,151,237,109,225,66,34,241,154,52,254,17,237,74,14,87,64,13,238,234,112,118,229,141,214,4,231,98,49,55,38,97,221,235,172,64,41,155,16,116,227,113,229,210,160,21,179,41,15,237,213,171,226,164,64,232,59,75,186,201,70,188,51,192,140,76,45,43,195,166,44,71,141,248,174,61,151,175,103,12,62,43,89,197,208,74,164,14,237,83,39,123,37,207,180,188,29,15,218,119,249,70,176,10,96,255,53,151,225,154,21,167,106,133,189,150,56,159,165,152,175,96,217,110,66,163,240,77,177,227,186,127,137,70,105,177,115,199,89,48,78,136,179,192,0,250,181,165,164,75,177,211,168,91,192,230,233,17,80,109,178,190,76,157,44,184,238,23,137,14,63,129,92,169,29,222,202,176,148,231,68,7,243,232,180,8,252,195,69,84,161,83,224,47,165,133,161,111,224,147,26,246,75,149,60,139,39,133,187,108,99,84,75,32,117,68,172,83,193,182,85,61,228,28,210,26,110,249,134,39,164,133,57,61,175,157,138,182,34,186,197,14,47,43,220,127,152,229,12,49,110,109,156,223,117,20,140,117,239,206,240,226,125,84,106,115,53,47,17,164,58,80,212,191,165,41,235,236,1,141,37,29,117,207,248,77,243,158,119,149,156,121,155,209,164,116,124,177,4,42,40,185,94,147,138,110,19,81,169,66,176,93,18,233,82,222,12,108,210,58,209,142,164,25,26,175,101,102,45,116,30,121,226,126,84,59,195,21,142,238,235,53,77,225,230,89,142,120,19,50,166,203,165,160,196,178,128,239,228,138,46,62,177,56,65,145,207,208,235,12,129,28,206,61,88,235,90,78,76,156,143,62,123,66,35,133,53,58,163,190,173,61,143,152,133,153,171,242,222,66,128,218,218,145,141,82,195,152,71,190,200,85,237,37,92,67,79,224,250,173,189,154,48,112,149,55,36,236,234,151,164,138,244,103,192,207,188,35,23,16,153,7,249,193,221,67,185,133,25,249,32,102,7,138,195,49,246,101,126,29,171,167,44,39,235,26,93,4,198,71,138,201,215,195,58,201,207,59,37,14,202,231,218,214,176,60,204,23,251,9,101,159,6,57,248,87,135,222,190,63,114,63,157,10,106,198,62,140,233,95,204,239,242,112,174,29,150,109,163,7,176,229,210,128,135,208,20,18,78,15,26,239,227,246,151,132,195,46,100,68,102,178,112,48,233,124,11,159,204,133,162,70,177,42,204,110,2,145,222,56,157,113,247,137,142,227,225,222,23,152,56,218,5,26,233,69,242,82,38,105,191,170,10,227,143,116,11,1,92,225,43,22,28,143,241,157,159,43,82,34,224,164,172,104,119,74,12,224,32,72,254,98,205,217,24,87,84,113,137,149,168,212,145,160,225,94,18,67,133,92,31,87,63,223,179,72,96,28,24,235,47,18,136,26,161,221,224,182,47,242,100,25,163,213,20,225,60,110,55,137,198,7,100,125,77,248,160,210,46,79,152,6,251,26,229,207,142,188,176,143,37,107,123,223,251,12,137,121,226,233,250,164,240,147,32,118,165,115,125,59,190,124,214,67,86,20,61,93,124,84,60,127,139,137,174,233,125,228,203,211,13,197,217,161,197,140,152,112,193,233,8,238,17,253,179,61,221,56,113,109,76,43,145,2,73,168,123,57,23,139,169,95,105,137,183,189,228,60,166,92,183,222,194,145,88,210,82,2,120,51,209,13,71,47,187,49,52,123,194,188,194,169,113,158,227,61,154,111,223,79,157,94,210,217,237,138,220,87,200,247,103,43,176,13,252,18,19,195,253,6,134,155,234,142,179,93,211,167,59,21,109,34,92,91,132,152,132,246,85,206,37,68,139,97,57,248,91,230,6,149,150,72,76,132,209,110,159,84,179,29,66,249,22,104,112,41,226,250,2,71,197,219,59,112,219,37,195,83,135,96,178,162,237,183,181,174,153,171,35,77,30,59,234,248,135,245,177,234,174,233,1,186,45,118,114,180,82,63,162,40,146,155,129,132,242,76,219,234,187,231,23,24,26,132,149,89,81,193,180,135,76,198,193,222,188,43,30,133,107,215,55,106,212,29,101,81,163,251,85,73,93,168,20,52,60,248,87,223,237,108,90,249,3,60,142,159,113,190,46,173,214,198,50,159,245,59,145,140,226,14,29,81,248,133,48,238,33,15,229,232,236,37,246,170,140,204,159,241,221,218,85,55,172,198,87,214,15,176,184,56,213,158,217,252,124,106,123,14,211,152,43,108,175,234,0,202,224,95,197,82,207,212,55,171,169,40,97,223,107,113,222,2,50,86,19,11,114,74,181,73,95,136,79,78,157,102,199,189,39,78,222,121,11,225,69,103,211,101,220,174,186,137,53,147,1,229,217,112,168,72,39,182,215,209,247,128,229,148,187,155,130,177,113,112,48,111,147,245,127,90,156,182,54,103,28,113,6,109,216,76,225,226,48,212,103,161,125,253,246,12,11,50,180,39,183,141,86,137,128,150,214,49,11,32,213,122,17,55,71,90,181,55,227,22,192,68,193,212,221,48,102,10,35,236,254,193,127,206,99,254,48,59,121,164,104,83,11,60,111,11,195,80,159,76,208,228,49,98,165,184,18,228,254,181,227,94,99,205,95,185,218,168,101,142,58,110,194,106,23,64,64,150,65,46,16,212,224,67,251,254,21,207,219,57,6,100,114,236,54,161,11,193,194,69,102,45,78,171,53,18,138,146,160,58,26,88,179,0,117,19,171,139,255,16,19,3,16,150,96,86,91,85,243,150,228,16,255,123,125,83,188,23,126,63,247,153,180,254,58,104,75,77,166,197,0,209,104,54,128,232,163,101,156,229,46,147,249,167,123,205,126,46,228,66,59,1,185,1,31,56,148,45,180,177,115,23,40,114,240,254,255,0,114,19,181,39,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,49,57,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,10,47,70,111,110,116,78,97,109,101,32,47,66,71,82,86,90,81,43,67,77,84,84,49,48,10,47,70,108,97,103,115,32,52,10,47,70,111,110,116,66,66,111,120,32,91,45,52,32,45,50,51,51,32,53,51,55,32,54,57,54,93,10,47,65,115,99,101,110,116,32,54,49,49,10,47,67,97,112,72,101,105,103,104,116,32,54,49,49,10,47,68,101,115,99,101,110,116,32,45,50,50,50,10,47,73,116,97,108,105,99,65,110,103,108,101,32,48,10,47,83,116,101,109,86,32,54,57,10,47,88,72,101,105,103,104,116,32,52,51,49,10,47,67,104,97,114,83,101,116,32,40,47,99,47,99,111,108,111,110,47,101,47,103,47,104,47,105,47,109,47,110,47,111,47,112,47,112,101,114,105,111,100,47,114,47,115,47,115,108,97,115,104,47,116,47,119,41,10,47,70,111,110,116,70,105,108,101,32,49,56,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,50,48,32,48,32,111,98,106,32,60,60,10,47,76,101,110,103,116,104,49,32,49,54,50,54,10,47,76,101,110,103,116,104,50,32,56,51,55,49,10,47,76,101,110,103,116,104,51,32,48,10,47,76,101,110,103,116,104,32,57,50,49,50,32,32,32,32,32,32,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,218,173,119,117,84,212,109,183,54,82,210,221,57,132,116,119,119,74,131,116,14,195,0,131,195,12,48,67,55,72,72,167,52,210,221,221,45,33,138,132,72,73,41,72,131,74,72,8,124,248,60,231,156,247,172,231,59,223,63,231,123,255,152,181,126,247,142,107,95,123,95,251,190,215,154,39,76,250,70,188,138,14,112,123,176,26,28,134,228,21,228,19,144,2,232,66,92,237,61,17,134,112,87,93,184,164,54,175,14,216,1,2,120,176,139,226,60,121,162,236,1,6,34,33,112,152,10,16,9,150,2,152,130,29,0,42,96,16,64,72,8,32,40,41,41,137,243,4,160,12,119,243,245,128,56,57,35,1,28,198,134,166,156,220,220,60,255,178,252,9,1,216,251,254,167,231,33,19,1,113,130,1,216,30,62,188,192,80,184,155,43,24,134,124,128,248,95,39,26,129,193,0,164,51,24,224,8,129,130,1,202,122,250,230,154,186,234,0,14,117,93,99,128,58,24,6,246,0,66,1,250,158,246,80,8,8,160,13,1,129,97,8,48,39,192,17,238,1,128,254,125,0,128,224,48,7,200,159,214,16,124,15,88,138,8,0,16,128,112,3,131,32,15,105,96,31,16,216,237,143,139,7,224,6,246,112,133,32,16,15,223,0,8,2,224,228,1,132,33,31,102,128,132,3,32,48,16,212,211,225,15,129,7,187,35,252,47,66,110,30,240,135,8,215,7,223,3,152,62,28,129,68,128,60,32,110,72,192,67,85,125,21,181,191,121,34,157,129,200,63,181,17,144,7,55,0,238,248,16,233,0,7,121,254,105,233,47,223,3,204,131,23,9,132,192,16,0,36,216,7,249,167,150,61,24,224,0,65,184,65,129,190,15,181,31,192,220,60,32,127,209,240,68,64,96,78,255,98,192,3,240,0,59,1,61,28,160,96,4,226,1,230,1,251,207,116,254,213,39,224,191,117,15,116,115,131,250,254,149,13,255,43,234,191,56,64,144,8,48,212,145,15,71,80,232,161,38,8,249,80,219,9,2,195,225,255,179,43,154,48,71,56,64,80,224,111,187,131,167,219,127,250,188,192,30,127,13,136,227,207,206,112,62,144,0,58,192,97,80,95,128,3,216,17,135,95,23,142,124,40,9,224,248,223,169,204,247,239,19,249,223,32,241,191,69,224,127,139,188,255,127,226,254,83,163,255,118,137,255,127,239,243,63,161,213,60,161,80,93,160,235,195,2,252,253,198,0,30,30,25,32,12,240,240,206,0,180,1,127,30,26,79,215,255,43,5,232,10,129,250,254,191,146,254,25,109,10,254,155,173,18,28,234,240,79,159,38,18,248,48,18,69,152,211,131,44,2,124,2,127,27,33,8,53,136,15,216,65,31,130,4,57,3,28,129,208,135,121,253,101,55,134,57,128,61,160,16,24,248,65,215,191,70,10,224,21,20,16,248,135,239,153,51,4,244,28,246,71,0,209,191,93,96,152,195,63,233,63,72,245,23,121,126,13,115,109,101,115,117,238,255,225,113,253,43,80,255,97,9,144,207,124,221,30,184,253,71,43,58,112,135,255,58,252,129,81,82,130,251,0,252,121,5,197,36,0,188,194,34,130,15,119,239,129,144,164,152,64,224,255,80,242,47,32,193,127,157,117,128,72,15,136,15,192,242,161,111,1,193,191,186,255,143,223,191,78,214,255,128,81,133,129,224,14,127,214,198,8,9,132,57,60,108,218,127,25,254,184,65,158,30,30,15,2,255,117,249,31,186,254,207,243,95,59,15,6,251,128,65,56,75,159,224,32,233,23,46,153,57,89,200,6,202,215,163,239,84,44,135,6,4,209,70,35,220,202,155,159,149,20,133,212,193,251,131,51,163,55,36,171,237,126,215,71,240,181,76,73,221,117,250,206,239,187,221,110,61,229,218,30,31,160,128,178,247,191,2,31,23,210,5,178,112,14,22,17,175,178,117,139,115,111,135,241,219,148,227,103,29,152,198,249,159,124,212,94,71,183,16,19,48,217,222,124,103,96,104,83,246,27,147,126,170,91,216,3,235,228,23,103,8,139,87,81,8,25,235,133,27,65,16,40,163,41,145,188,135,168,5,133,164,161,120,255,128,45,117,247,215,5,251,200,196,216,232,155,254,31,24,131,91,180,220,249,137,216,79,164,129,148,65,233,251,76,105,72,95,59,143,179,102,208,29,198,181,151,184,27,138,241,132,167,155,197,211,37,101,190,100,135,214,174,108,29,199,218,85,174,224,28,254,97,238,90,51,190,205,249,250,186,139,83,87,157,116,147,48,235,56,37,215,139,50,21,3,207,250,221,217,70,117,119,244,246,145,145,121,122,148,230,164,108,166,74,140,107,227,164,129,95,241,173,72,244,168,137,111,23,56,211,226,2,162,252,13,24,79,133,107,26,58,56,94,58,13,144,190,220,67,225,101,68,175,208,242,17,73,154,240,147,21,18,77,255,80,18,218,104,31,36,170,251,91,206,62,123,59,22,220,123,54,184,247,72,74,41,82,242,8,221,60,219,111,241,123,232,56,161,61,230,114,169,89,149,12,214,15,198,120,213,150,238,5,79,170,247,236,193,81,153,249,82,218,5,146,203,126,28,223,215,198,237,199,50,209,10,72,48,21,206,164,147,83,56,39,204,18,106,55,236,165,40,199,75,47,152,139,127,175,189,150,226,173,155,222,93,118,193,246,197,161,156,130,44,127,34,203,218,94,123,101,118,230,84,195,187,122,47,75,123,191,16,78,205,55,121,245,136,238,99,233,140,54,247,17,227,157,26,161,50,184,90,40,204,246,92,224,70,85,150,190,10,142,111,224,54,201,37,233,180,34,10,176,148,192,34,73,181,113,215,106,199,156,150,108,29,164,28,94,165,200,127,180,9,97,43,30,203,200,44,56,202,200,220,99,248,200,55,72,174,222,196,133,188,209,17,209,131,124,34,73,47,216,89,121,22,230,27,234,41,155,211,75,247,70,47,6,73,91,238,62,61,187,214,162,231,129,69,159,27,115,248,237,57,95,143,180,66,71,128,88,176,194,147,179,150,26,231,16,79,210,222,80,172,254,220,151,207,142,248,232,204,102,166,84,41,146,185,21,102,13,21,252,33,26,194,54,71,216,54,171,73,153,208,233,251,25,107,13,223,246,145,134,112,233,36,151,185,11,53,7,21,26,233,120,190,106,19,77,91,59,171,89,119,227,244,115,204,235,139,193,240,21,62,137,162,199,200,164,60,196,126,183,35,30,246,16,172,255,157,220,210,71,216,238,205,250,5,138,245,157,69,194,89,114,107,64,110,82,253,186,163,184,58,110,200,228,70,53,191,74,201,27,249,166,156,189,31,177,206,92,17,182,119,142,253,227,252,110,25,53,111,93,179,203,206,154,207,13,90,127,172,30,11,241,26,209,252,122,219,197,6,191,17,1,213,6,208,206,189,96,90,182,195,180,111,38,242,230,246,150,52,45,24,162,156,38,239,242,33,76,206,95,28,142,0,38,113,218,209,191,58,170,16,246,78,113,161,149,149,231,106,240,248,181,76,195,170,208,209,175,100,180,204,191,135,200,119,43,15,238,99,58,87,150,244,181,21,190,64,49,194,10,217,192,206,120,4,135,173,230,134,153,107,84,69,88,10,223,90,94,55,161,125,74,189,189,255,58,68,213,111,67,177,94,226,16,152,204,107,119,58,37,99,109,146,33,128,118,159,225,140,124,58,85,190,13,199,173,148,27,120,188,24,242,221,7,163,47,118,143,228,60,170,194,126,137,78,127,171,177,181,187,222,71,125,10,165,51,78,71,138,197,201,169,141,155,156,103,208,185,185,51,9,29,101,7,3,112,76,144,143,8,249,34,52,180,42,163,163,231,118,4,154,228,3,81,45,133,204,124,143,185,167,10,38,126,142,208,50,108,190,52,79,217,34,246,188,91,92,16,99,142,249,29,132,159,27,91,169,228,208,213,24,215,160,243,22,171,91,127,4,139,193,178,176,156,236,228,81,124,15,245,50,5,249,69,228,164,239,23,89,75,95,151,44,17,201,188,92,107,54,3,247,2,89,206,22,178,144,57,51,200,143,129,11,218,194,212,159,38,191,56,170,32,197,241,110,225,54,209,38,187,75,121,90,29,159,164,190,156,125,251,36,213,88,95,63,158,97,47,133,165,151,167,175,222,29,143,117,7,150,197,24,254,42,69,124,132,133,108,181,224,151,236,167,221,151,114,233,13,246,18,73,205,17,72,195,211,219,42,73,9,97,146,34,216,103,191,19,33,124,227,246,173,19,61,81,82,1,207,165,38,63,183,146,90,134,60,144,245,101,232,205,198,251,168,156,92,151,181,251,233,171,37,91,228,139,166,6,91,173,50,206,53,129,173,221,32,210,231,165,244,210,115,5,85,103,85,209,207,216,181,168,78,170,133,166,20,137,151,230,201,143,187,221,83,158,78,11,188,187,19,233,59,24,112,210,111,67,124,223,87,234,110,202,142,174,112,254,176,207,4,83,244,78,176,58,217,92,0,30,183,109,23,101,27,96,46,199,97,44,49,10,157,75,158,195,34,214,216,238,210,236,130,177,66,230,191,245,228,201,134,187,136,67,224,233,71,57,223,82,8,42,33,108,175,217,189,224,46,44,194,179,153,195,9,56,104,12,239,192,3,135,185,77,193,44,35,157,3,88,250,215,154,13,210,45,248,59,151,55,55,115,207,73,10,7,175,44,82,70,4,175,112,125,61,152,150,212,145,206,249,225,219,10,112,235,244,103,131,28,26,48,163,24,1,54,42,254,2,234,140,95,148,68,163,115,85,17,148,6,222,81,241,81,203,155,186,190,145,184,226,208,176,199,227,132,48,113,74,42,124,189,188,247,242,203,22,69,111,221,199,63,92,120,252,174,90,15,42,71,147,23,164,211,170,200,37,87,47,161,245,242,48,255,96,98,177,172,79,124,87,40,21,72,226,33,145,110,154,222,209,250,221,139,238,252,2,117,1,65,137,27,116,225,55,53,171,195,178,238,27,165,187,126,235,44,154,165,169,71,42,36,16,76,154,90,162,71,149,212,70,251,217,28,248,169,49,133,159,87,132,24,78,130,146,204,243,72,180,40,51,17,57,40,47,209,197,118,20,40,54,252,116,80,91,169,183,14,23,6,186,16,95,178,15,231,104,84,247,162,117,199,160,246,43,112,35,176,77,73,205,38,56,255,33,162,92,73,78,40,90,245,198,94,122,178,30,250,102,38,218,183,114,120,142,2,42,249,185,77,89,124,161,80,209,48,135,232,182,254,85,179,212,188,206,77,145,253,1,143,162,174,114,53,125,32,172,80,120,240,38,77,76,97,73,4,28,216,104,195,217,132,107,219,167,22,136,208,116,187,254,209,83,146,235,174,98,100,60,176,30,176,136,25,180,38,244,94,97,53,84,94,53,87,185,43,97,166,182,112,209,101,198,127,149,98,155,136,105,194,75,249,167,58,127,61,249,227,0,226,66,7,149,75,166,75,19,202,189,161,207,246,212,173,47,55,6,62,134,212,235,94,54,172,188,153,190,89,193,37,202,20,231,102,203,194,134,167,202,113,246,210,6,81,136,45,172,28,77,108,126,101,78,239,126,52,3,146,93,140,28,65,206,80,79,143,97,127,76,76,90,222,88,159,155,125,81,210,246,2,113,147,215,195,48,149,230,78,242,190,61,185,240,109,158,151,69,124,30,24,103,174,86,190,67,238,168,108,213,213,190,194,142,43,35,21,139,89,225,76,36,83,106,146,70,116,111,226,201,247,16,59,114,53,69,74,6,20,69,249,48,64,222,178,207,79,118,178,155,188,93,124,9,225,181,67,31,141,133,129,254,196,139,230,152,167,197,10,248,51,152,16,93,46,170,34,161,185,152,226,163,9,6,58,172,47,134,27,54,154,78,249,80,191,113,70,165,61,113,222,237,122,39,106,65,250,183,199,156,9,175,74,51,140,197,127,27,43,74,131,132,118,202,113,98,74,173,123,244,98,110,158,28,194,176,121,233,43,237,77,42,199,201,232,113,155,242,8,186,222,43,235,200,190,227,153,247,156,152,138,158,9,212,22,112,0,33,26,177,117,10,116,199,32,189,207,250,97,135,65,19,188,138,144,54,94,67,150,226,34,123,35,53,180,143,212,252,0,77,181,112,89,135,49,182,137,240,102,241,66,233,89,222,200,175,109,28,145,71,205,151,93,250,101,160,55,132,191,119,212,233,248,190,27,41,112,73,15,206,126,121,137,189,172,39,173,209,80,12,126,36,196,25,76,151,218,6,210,255,176,220,87,136,135,170,131,127,150,240,69,64,155,106,40,141,222,42,187,209,156,78,92,109,55,93,102,60,33,65,0,157,159,113,28,130,16,180,98,215,201,145,32,203,40,124,77,22,114,131,183,74,64,70,40,79,83,22,32,83,125,184,250,51,73,235,150,55,51,202,240,201,98,7,87,120,132,96,168,19,91,70,247,51,75,237,136,149,42,237,171,96,241,59,168,108,44,134,242,142,113,76,21,211,128,218,202,120,157,182,241,170,193,65,34,119,166,117,159,158,230,179,234,26,202,221,134,229,187,201,107,22,32,173,191,232,211,175,188,121,174,9,19,65,47,143,172,230,252,172,201,168,98,202,124,199,167,225,91,218,71,186,58,230,30,182,165,208,110,115,249,111,243,130,200,175,172,141,142,221,6,105,249,186,96,16,193,134,88,104,25,171,123,225,128,104,42,55,88,245,218,204,1,107,240,245,213,230,185,219,120,8,201,188,246,175,141,87,32,110,169,158,126,105,70,53,6,213,223,233,103,26,242,71,33,67,119,186,210,21,133,205,158,66,70,145,238,73,87,227,71,71,226,89,168,237,1,157,195,46,51,142,233,140,92,217,17,55,126,130,179,60,178,88,171,47,168,99,242,137,54,137,72,55,219,136,23,147,71,79,103,25,187,171,166,19,235,92,113,66,43,123,24,37,170,160,144,45,147,56,93,32,241,113,223,236,29,233,182,214,184,176,41,161,116,224,133,141,135,108,51,175,35,201,100,181,94,192,26,107,101,235,228,81,49,118,45,119,243,35,50,161,74,231,234,242,165,143,125,246,67,230,153,146,37,251,57,137,130,9,33,45,125,250,131,11,109,0,124,141,170,131,205,53,129,170,224,174,158,123,207,147,55,22,61,81,129,164,175,151,70,31,79,59,146,120,182,61,239,53,155,217,35,187,207,94,205,145,137,82,221,180,122,196,137,10,113,185,197,212,189,97,226,16,144,234,7,171,91,247,254,124,18,48,221,7,123,36,251,188,173,185,207,30,207,36,67,206,160,35,108,80,60,194,80,154,153,106,29,59,164,83,251,28,235,236,62,29,237,214,107,217,237,116,254,209,148,180,23,228,184,116,196,153,126,251,29,84,212,128,166,39,50,77,104,180,78,2,123,161,42,71,7,174,22,206,182,14,191,147,176,224,228,144,50,104,121,86,137,87,206,153,76,69,152,139,105,183,118,169,201,218,33,81,231,59,234,156,226,9,241,120,66,145,57,38,227,28,89,167,193,111,22,18,83,33,21,35,76,248,98,237,23,86,249,47,25,91,182,75,13,254,19,44,79,134,182,80,39,195,124,9,169,126,16,233,139,213,2,181,119,166,118,40,41,194,183,27,205,113,31,15,233,31,87,94,82,214,246,210,79,76,76,39,80,248,11,53,57,150,196,83,196,248,147,103,137,139,247,17,60,247,213,220,210,38,123,133,210,130,206,249,169,44,156,26,74,150,87,55,98,199,27,22,164,104,156,250,35,141,247,4,125,47,148,87,69,252,168,32,31,137,182,231,164,170,20,18,66,96,141,12,147,13,199,145,237,211,176,102,150,218,7,251,165,34,176,133,245,53,158,123,231,130,24,234,238,41,67,102,134,191,185,167,21,238,34,213,247,207,44,120,213,10,24,51,63,140,135,105,125,251,122,183,204,26,214,210,248,100,252,247,179,177,175,75,205,82,184,46,119,95,121,139,199,163,81,108,157,107,129,211,130,123,87,246,65,16,66,191,211,101,19,24,150,148,12,63,159,138,13,51,198,240,71,83,22,226,59,76,172,246,203,72,255,24,118,118,163,86,92,104,216,152,100,140,150,45,191,11,143,223,251,170,153,141,42,171,36,34,65,75,135,31,101,9,8,243,36,226,173,78,2,193,119,34,63,161,22,181,89,220,100,41,23,137,246,27,1,218,123,184,58,27,223,216,107,52,67,92,243,238,19,116,197,244,126,115,201,193,168,186,165,232,110,87,71,55,247,42,188,39,212,116,250,6,0,231,187,94,159,204,244,127,219,152,24,30,1,32,169,180,225,205,66,121,171,211,42,189,50,50,98,215,61,153,153,35,122,136,53,146,112,193,159,238,214,216,178,110,30,78,190,10,40,250,152,84,181,133,254,188,185,71,3,228,42,102,169,173,234,156,229,209,99,246,108,236,6,111,206,81,16,97,64,165,8,156,104,10,141,15,63,123,89,253,143,231,231,154,45,9,183,29,169,107,11,79,205,54,60,91,198,135,208,219,179,139,123,123,108,143,9,29,247,19,197,210,66,82,16,88,77,237,156,172,126,43,75,101,189,142,38,62,163,18,100,230,221,210,139,187,189,113,235,192,187,159,102,54,26,124,95,119,130,57,28,180,229,123,60,205,164,124,149,143,162,121,135,70,171,151,79,227,42,20,174,73,95,31,219,170,146,62,97,29,166,253,134,217,252,249,21,49,185,230,49,70,123,62,254,103,55,97,189,139,133,22,181,11,255,95,56,7,167,22,92,91,133,196,99,254,107,179,29,151,245,114,62,39,7,245,159,163,31,107,10,95,150,175,191,163,186,156,103,85,203,42,26,43,36,254,165,151,48,164,247,106,18,2,15,27,61,204,95,238,95,161,171,63,191,9,67,155,146,126,226,65,236,252,153,102,3,27,63,44,70,245,72,43,103,76,105,82,125,125,104,190,25,39,102,209,2,241,150,179,124,115,114,234,222,58,38,137,62,120,230,160,156,44,19,20,43,204,159,146,208,75,154,21,231,4,55,17,254,104,211,19,217,69,240,45,198,172,95,251,61,105,118,88,128,199,79,62,15,218,88,165,248,220,230,173,211,28,93,113,158,168,218,163,170,239,207,228,96,119,79,38,131,178,61,43,61,3,209,129,44,44,99,250,163,72,114,29,123,25,103,160,69,204,242,117,22,7,145,75,102,226,133,143,103,10,150,177,56,85,232,204,82,35,38,2,31,175,177,178,193,68,129,175,55,160,203,233,196,173,19,106,23,56,146,97,142,24,91,96,24,64,211,246,66,139,189,237,205,75,103,138,180,169,254,57,191,94,193,223,46,13,216,26,86,221,124,35,232,94,242,1,29,99,106,253,235,232,139,43,122,203,40,139,246,248,171,243,1,185,59,185,221,21,233,111,48,190,98,185,231,11,20,184,99,209,4,20,201,158,7,42,228,103,64,166,77,220,53,95,9,46,130,147,196,247,94,33,139,68,249,49,145,31,0,153,109,52,11,239,101,9,120,70,191,63,233,165,155,26,172,151,81,112,188,202,241,62,206,250,237,86,131,238,53,178,233,121,193,53,36,116,241,62,185,192,112,136,244,108,0,73,95,93,89,113,111,66,205,23,69,206,206,37,148,111,222,84,58,248,254,75,115,64,136,158,190,169,191,43,41,214,106,174,162,182,205,217,27,238,47,117,228,254,5,246,88,208,122,190,66,45,60,207,221,237,69,255,139,244,224,116,38,2,243,233,227,202,97,5,90,90,119,185,228,97,208,59,47,138,110,219,233,148,232,225,240,119,154,175,91,84,218,66,137,112,252,170,251,211,209,58,63,93,116,215,252,158,112,4,243,106,166,73,88,226,183,18,175,231,46,20,116,2,159,78,10,196,212,125,81,50,178,168,198,73,144,59,86,25,30,183,152,240,21,127,137,44,10,237,248,142,84,5,161,189,253,202,234,102,185,225,73,178,24,235,104,43,164,94,147,42,80,74,65,67,112,25,107,234,129,26,210,3,200,234,192,209,170,122,229,117,220,217,165,192,214,249,132,107,161,21,57,174,200,216,149,190,103,122,172,186,131,219,193,36,38,236,252,145,225,148,233,199,173,99,126,192,84,115,234,21,26,250,228,216,43,229,0,147,212,122,244,75,149,160,252,250,24,37,156,56,71,109,56,130,223,149,193,94,129,78,182,90,78,150,49,200,245,93,242,40,64,108,206,205,198,155,33,245,138,133,255,64,180,162,6,58,58,162,189,244,246,26,175,174,30,39,37,208,42,240,243,134,236,187,38,206,17,53,36,162,64,230,104,79,68,44,24,75,30,12,156,144,116,204,231,104,181,28,150,253,44,37,112,216,139,137,67,224,85,227,130,155,245,235,149,243,153,82,74,147,200,178,255,12,125,247,110,211,38,244,157,205,45,144,127,167,247,145,47,116,251,80,19,231,138,67,44,45,58,138,141,84,248,103,213,174,14,158,98,7,246,75,55,231,28,93,81,119,70,88,212,47,230,77,107,21,82,219,177,197,240,3,141,223,135,82,6,112,244,232,171,200,43,246,186,207,98,147,97,77,186,241,23,140,72,6,140,151,160,89,177,111,53,223,111,240,176,114,81,42,198,243,107,222,123,175,174,224,245,15,0,237,174,253,141,167,244,3,209,164,23,166,230,160,19,250,36,65,1,18,207,202,169,50,243,146,173,49,223,138,172,60,197,136,205,28,179,190,214,93,149,88,49,37,58,184,67,241,193,150,43,9,196,47,101,254,34,116,246,140,169,109,77,73,138,225,39,55,47,78,248,72,24,232,50,234,86,184,159,149,215,42,221,7,155,209,104,55,74,63,237,105,33,145,185,193,12,198,39,243,44,139,42,248,32,58,105,49,162,114,99,117,10,134,215,132,242,194,73,156,95,176,148,120,203,94,219,131,236,75,223,250,78,231,43,3,247,123,230,83,202,61,110,70,179,122,89,90,205,216,133,123,254,153,167,171,246,110,35,140,184,221,76,132,93,92,251,70,149,97,229,229,241,65,93,195,115,77,145,207,30,59,225,176,173,48,6,91,19,202,55,105,66,83,162,169,196,118,130,141,45,248,187,7,106,49,51,8,195,117,63,116,208,211,228,66,117,190,48,24,97,13,98,120,70,220,103,16,126,176,126,148,71,9,30,193,221,142,163,252,168,169,105,232,84,111,87,112,120,182,33,3,164,57,115,223,232,24,74,237,227,220,214,227,122,100,107,142,249,37,223,116,183,171,149,125,3,109,242,176,165,91,150,115,136,149,129,52,199,83,112,214,197,75,88,86,90,252,185,246,77,146,223,75,220,117,83,30,170,66,244,15,90,56,190,58,152,116,207,130,18,41,51,203,244,178,40,239,147,226,51,102,234,36,187,197,69,36,67,230,233,86,69,89,191,55,170,117,103,117,53,126,234,204,115,61,123,95,124,190,133,170,182,70,180,206,125,182,98,114,229,25,145,188,255,246,88,213,23,248,12,186,144,163,241,203,170,247,135,36,29,179,147,153,63,87,209,185,82,45,105,134,219,33,193,199,236,98,198,226,43,70,121,33,55,111,228,10,202,65,10,254,244,75,142,174,50,161,48,99,229,233,139,210,9,53,129,111,34,196,101,181,221,109,35,239,157,180,12,240,176,139,186,213,115,77,59,201,228,227,80,73,157,19,192,111,111,248,108,117,136,165,215,216,220,173,240,92,240,88,7,141,121,232,202,125,80,197,53,166,166,131,166,105,175,215,213,150,213,203,125,51,199,5,167,10,189,80,87,120,21,41,53,10,27,50,105,238,236,134,185,40,190,211,56,178,195,230,164,94,245,145,103,241,111,98,191,108,166,22,158,197,118,48,195,219,140,110,144,122,90,248,248,34,175,42,178,66,45,218,208,37,4,179,202,129,108,194,39,118,4,221,178,126,146,155,7,207,27,196,49,57,162,239,95,153,142,118,100,79,119,100,188,184,38,109,244,14,3,110,156,52,253,122,101,143,221,183,206,47,167,242,182,215,79,28,182,24,187,147,149,231,80,204,46,71,78,123,132,255,94,212,220,158,252,69,50,135,104,1,69,12,204,230,151,226,133,229,10,149,74,236,134,208,7,142,174,61,189,173,220,234,216,119,239,147,36,247,24,243,176,153,39,183,100,68,155,104,119,142,127,174,184,124,61,230,106,208,93,83,92,183,181,197,247,72,118,57,107,142,58,164,18,231,119,142,212,236,185,13,10,194,97,25,171,148,42,156,67,224,241,50,27,151,144,151,99,158,30,236,160,14,61,207,165,165,48,102,92,13,69,187,115,71,219,158,98,121,108,217,249,242,118,181,187,173,96,248,61,138,196,134,145,1,25,186,214,144,110,186,117,75,187,201,101,77,68,163,0,113,39,232,21,15,138,229,219,31,226,45,216,75,102,171,128,164,50,183,149,112,168,10,10,174,203,138,78,252,90,54,4,127,228,55,94,128,226,37,170,210,74,216,207,158,23,45,188,225,192,179,179,170,85,17,211,221,56,1,86,0,211,211,243,34,255,169,46,46,188,56,235,93,163,103,146,159,39,218,172,15,22,178,38,234,92,232,101,187,109,6,78,166,228,197,247,80,105,247,101,213,228,18,205,54,207,29,118,98,244,235,173,200,156,87,74,11,45,7,232,241,191,156,19,2,251,97,235,134,34,41,70,39,210,236,102,252,39,143,174,74,79,81,243,146,198,51,20,173,109,159,83,241,239,148,128,121,33,91,54,85,174,51,28,192,229,77,200,168,137,104,255,147,132,179,23,50,146,71,159,116,204,111,211,190,101,78,151,233,99,20,3,230,143,28,30,27,83,5,5,74,63,189,186,107,250,238,156,137,242,51,120,138,255,213,7,199,97,166,243,79,21,60,210,56,167,102,73,32,85,137,239,73,94,5,201,111,33,74,183,116,106,177,200,120,235,214,23,150,49,172,171,30,30,224,46,215,104,138,152,64,83,170,96,44,14,39,139,34,238,226,29,131,16,117,202,225,232,76,9,0,6,190,49,80,75,71,64,141,40,38,189,193,120,175,33,231,122,75,5,77,162,76,15,56,66,117,121,161,248,210,247,194,38,238,151,168,63,230,254,224,103,69,252,147,155,157,32,0,122,169,138,173,74,230,214,193,117,235,79,63,159,227,150,68,133,206,12,177,56,64,92,129,81,199,236,2,141,120,10,3,100,141,246,78,3,99,251,52,27,81,243,57,246,169,125,212,54,110,176,141,97,104,228,41,235,26,6,170,190,140,181,150,53,161,207,104,138,55,111,10,83,115,193,247,196,0,31,85,44,49,168,178,135,143,243,252,217,254,87,117,13,123,14,104,195,86,74,110,185,71,140,105,71,66,61,189,9,117,78,51,15,237,211,78,241,133,228,95,158,102,34,116,207,178,99,10,43,125,22,149,61,191,218,144,206,165,148,251,68,192,114,92,75,134,88,206,62,96,136,144,26,225,178,15,217,197,254,224,202,204,93,58,248,0,140,205,204,107,31,111,29,38,138,98,140,47,140,157,213,252,165,106,163,154,205,203,231,135,231,253,210,244,119,23,46,118,49,9,35,5,84,217,169,43,27,176,117,16,138,151,59,12,84,63,170,164,8,141,164,200,115,239,246,82,13,164,153,82,68,177,16,84,86,249,26,177,172,124,136,107,61,5,87,150,103,246,166,10,225,86,180,219,32,193,113,24,231,196,93,57,169,237,97,255,49,83,54,27,199,123,155,88,96,74,79,248,170,49,145,26,171,40,206,213,104,209,57,239,187,133,57,45,209,98,200,227,183,98,217,225,209,52,111,196,6,178,191,146,213,216,168,103,21,107,90,209,205,199,17,93,126,29,249,146,244,226,248,22,136,61,103,148,222,37,117,121,240,153,166,45,82,240,203,175,37,187,126,155,20,52,196,118,235,163,159,90,194,153,225,44,235,25,248,248,97,33,24,91,86,26,28,41,90,60,109,203,115,44,161,52,105,118,88,72,65,170,243,171,8,54,50,50,1,239,48,52,84,218,5,38,109,102,145,218,208,81,192,17,23,137,50,79,227,221,33,87,163,129,43,191,69,81,79,128,145,178,233,172,39,110,216,81,163,250,106,210,143,120,148,13,216,224,204,162,136,65,117,74,137,183,241,102,158,188,134,103,99,134,51,209,33,78,247,27,97,44,75,151,189,162,68,145,152,31,189,40,145,83,32,201,228,208,223,182,161,222,192,197,235,232,229,124,157,75,117,146,217,22,41,46,218,43,235,31,184,25,195,246,46,44,160,121,21,13,173,100,22,5,234,217,47,172,161,28,38,148,196,43,178,161,27,10,132,222,118,34,85,8,183,113,167,222,203,203,113,243,230,88,12,184,122,134,153,148,45,221,155,21,217,107,71,11,181,90,98,99,151,188,99,166,83,75,15,155,167,147,54,243,140,99,168,29,18,86,86,195,4,195,215,171,111,170,150,223,189,124,195,167,164,216,141,12,16,95,81,38,78,1,221,154,211,176,213,144,121,18,188,172,108,55,66,220,190,138,58,149,72,17,195,28,90,125,142,97,28,87,195,3,149,76,127,58,155,178,147,13,202,15,193,54,107,224,68,120,49,73,53,186,8,10,230,24,248,27,56,101,24,19,29,3,182,162,140,225,214,245,45,172,71,211,56,132,165,79,131,109,114,252,218,242,198,130,247,138,194,155,43,70,11,22,89,192,207,67,76,195,177,106,139,219,101,2,83,214,175,169,127,148,103,79,116,41,127,81,96,53,178,134,90,136,235,4,161,178,61,169,125,163,45,57,24,195,38,146,213,141,62,236,152,124,228,167,110,88,97,47,92,122,35,127,154,191,45,11,165,67,221,156,55,72,250,97,233,205,44,129,191,205,239,159,77,11,107,102,105,156,132,205,164,30,176,125,195,197,104,196,56,56,240,67,122,45,10,206,14,72,200,75,202,70,181,37,46,135,60,119,235,73,113,111,77,20,85,126,74,178,251,211,106,196,107,114,210,133,124,4,161,242,235,123,20,132,143,174,8,199,153,16,255,116,173,131,251,22,168,133,26,25,224,220,155,96,187,87,98,98,212,93,207,101,253,214,4,191,181,7,141,213,130,63,230,13,247,41,46,126,115,83,62,141,204,68,2,205,57,83,163,162,198,232,139,81,207,73,219,164,44,89,236,218,161,20,73,95,234,165,167,111,67,52,197,246,27,199,246,241,50,149,245,234,36,37,204,43,19,7,154,247,165,240,234,208,10,8,253,58,55,239,80,179,99,35,46,49,101,14,125,226,170,150,192,238,236,188,218,24,215,150,145,152,204,232,161,148,182,253,134,47,222,244,110,91,123,250,162,243,161,84,5,19,221,126,213,54,197,247,223,113,209,116,49,99,229,55,216,17,34,13,121,247,22,137,81,211,184,243,61,43,74,225,130,189,225,213,207,158,228,250,115,240,225,139,216,94,245,142,185,32,153,198,249,179,30,159,110,1,202,147,246,212,166,138,231,253,134,42,226,158,229,80,195,67,241,201,224,175,176,19,142,206,140,62,197,180,32,209,113,169,108,215,237,9,117,50,156,145,88,230,147,58,185,203,59,146,121,158,6,204,104,63,131,31,157,136,75,22,111,170,185,175,36,193,161,179,184,111,127,124,111,11,243,202,195,234,170,242,100,177,79,220,131,7,163,217,151,151,107,148,201,192,194,19,190,101,133,254,168,53,245,105,186,37,28,176,106,25,229,40,252,158,234,221,97,58,217,73,97,221,89,156,50,157,239,91,111,16,41,48,242,29,180,235,85,108,13,92,24,197,38,136,240,107,224,252,54,102,192,146,149,56,194,43,135,39,15,120,69,184,135,43,51,122,210,101,185,249,93,249,52,142,65,90,166,137,82,208,144,73,246,87,124,0,182,72,211,43,195,29,144,0,150,87,247,99,97,167,50,154,228,118,197,230,119,90,206,95,151,78,22,41,69,173,245,162,60,62,189,197,200,134,46,132,162,233,75,17,3,24,250,172,242,219,15,237,176,169,76,38,95,201,150,81,171,148,179,57,74,192,63,112,114,10,4,34,239,213,38,137,63,223,19,81,244,138,149,245,122,94,216,148,107,55,84,226,216,3,86,100,8,233,165,83,90,128,78,69,52,25,9,218,135,37,237,107,6,73,254,228,42,239,48,104,235,143,32,230,168,198,254,226,103,233,235,161,175,75,169,168,123,232,98,250,113,108,228,39,150,43,184,164,181,25,189,173,38,158,115,118,102,211,62,163,52,41,60,86,61,81,246,27,251,220,253,232,230,220,40,242,204,62,67,80,121,243,147,131,168,174,186,170,255,124,155,184,122,46,200,205,181,163,186,213,2,20,118,115,93,33,114,15,18,54,23,84,152,64,174,18,196,200,205,27,250,84,160,47,192,192,242,63,36,21,80,57,217,163,36,24,72,153,206,219,120,40,87,54,63,237,163,209,235,251,135,162,32,106,166,86,128,73,199,219,50,27,213,69,31,135,60,36,122,188,128,77,193,208,196,129,11,211,235,23,111,90,247,216,69,59,202,23,134,219,206,91,148,84,69,245,129,159,79,131,82,175,240,53,49,164,249,142,39,38,209,170,193,194,20,89,58,91,105,188,178,23,160,143,229,237,213,9,36,253,85,133,109,98,214,185,249,201,216,232,12,175,11,191,106,222,101,68,28,118,73,26,234,134,184,70,172,210,60,242,187,158,219,224,8,33,41,106,76,214,145,97,245,179,106,190,26,246,187,124,135,109,15,175,139,174,211,156,213,207,171,180,70,117,5,10,216,173,219,93,119,78,130,170,179,238,62,123,91,15,60,7,190,212,49,168,101,134,55,55,0,157,35,63,138,8,187,225,247,168,48,172,189,125,118,176,115,66,191,183,111,240,21,34,187,173,218,212,158,197,186,248,232,5,87,152,34,238,40,115,225,237,130,38,248,147,201,59,55,150,210,245,111,221,157,204,172,118,242,98,196,197,106,207,28,69,38,118,10,151,198,220,210,207,128,48,64,91,35,183,65,64,44,101,48,225,188,120,214,18,145,81,77,96,203,69,74,18,131,125,139,217,225,233,80,248,199,1,147,41,187,50,197,169,174,4,234,179,229,173,172,209,190,104,23,250,148,246,126,159,218,153,204,190,98,211,254,94,55,231,67,203,162,14,118,219,207,79,121,24,69,78,19,138,222,134,9,191,84,54,243,198,240,174,231,222,213,37,222,180,52,84,48,140,26,126,188,247,241,53,164,99,68,4,187,73,172,54,136,55,102,83,246,126,134,30,71,254,30,77,249,39,35,145,222,177,245,134,81,106,171,73,88,60,74,148,85,157,246,85,57,7,137,169,97,216,184,158,131,69,167,94,18,122,157,239,253,69,190,212,175,3,10,43,44,93,234,243,159,81,232,144,48,199,46,27,160,12,98,200,186,230,106,98,62,14,118,36,241,162,146,127,59,89,227,73,245,138,251,117,109,203,7,85,206,56,201,55,86,125,74,95,118,249,211,213,67,210,86,187,35,9,157,146,99,194,199,233,3,17,216,95,162,211,141,146,231,163,130,58,44,48,117,60,242,245,106,221,173,66,223,159,237,174,101,221,174,93,42,59,121,203,121,87,214,50,124,126,237,248,132,78,164,196,180,237,87,21,150,18,109,57,179,94,237,68,169,183,79,63,38,91,132,152,188,171,255,152,75,19,44,227,164,95,249,251,224,84,103,152,9,227,213,89,178,94,36,251,251,124,27,199,225,235,34,62,199,248,34,63,82,227,8,145,155,210,12,207,112,60,110,33,50,161,186,218,83,161,232,180,16,167,168,164,180,90,208,140,224,221,205,109,212,52,168,190,150,128,178,116,228,137,8,229,15,104,165,28,102,86,206,151,155,91,130,192,109,107,209,70,52,221,195,200,61,54,44,239,254,36,235,189,52,147,217,214,3,238,77,209,232,137,47,53,99,80,63,222,79,166,196,138,21,115,29,4,9,238,65,154,169,216,31,164,163,9,237,23,76,182,135,19,121,220,245,50,238,108,81,11,151,239,153,62,225,121,29,249,203,75,221,158,40,24,44,132,225,50,51,110,180,211,20,107,156,76,223,225,36,175,220,204,223,170,195,51,14,167,164,216,107,100,9,84,252,21,218,166,80,24,90,143,231,249,63,172,12,161,223,238,154,119,49,71,110,31,112,32,44,8,112,74,203,226,127,115,14,231,53,63,191,118,34,153,230,23,159,41,129,54,124,124,207,96,157,219,56,153,22,226,153,87,157,124,240,158,245,113,62,195,35,150,143,214,180,83,213,45,250,102,150,41,86,129,235,250,41,247,249,202,182,232,228,67,106,238,4,123,66,84,130,125,109,78,246,67,243,22,93,85,58,102,238,212,70,205,204,145,66,205,139,236,22,194,172,116,157,25,204,138,93,101,101,170,220,191,81,192,198,220,106,158,36,108,49,157,201,4,23,225,236,7,91,37,11,68,62,84,230,136,205,199,66,237,222,151,21,200,55,9,219,192,42,177,94,138,190,6,141,229,59,7,34,137,3,53,5,209,184,89,53,194,132,118,112,94,200,8,230,151,68,125,187,18,124,212,180,225,253,43,101,147,70,76,122,110,191,136,47,53,57,236,38,147,88,18,121,241,249,233,172,69,11,67,225,147,153,220,31,252,56,249,97,17,35,11,21,206,49,68,41,128,221,197,199,155,31,71,118,91,65,95,189,243,73,95,250,8,144,98,124,8,139,93,169,35,75,192,84,16,150,194,21,133,4,60,23,219,175,195,120,157,114,19,167,217,175,254,228,4,39,253,230,92,125,97,197,171,27,189,222,46,205,201,226,125,70,83,228,55,34,101,218,222,79,57,109,156,157,58,37,159,61,84,53,205,187,36,82,123,114,27,198,62,215,71,241,181,171,246,91,206,111,158,26,9,28,125,74,235,146,56,232,209,101,175,172,106,26,113,243,17,211,244,181,220,75,199,145,156,184,226,113,17,178,141,26,140,189,45,177,174,87,206,24,232,158,203,121,182,232,40,132,229,141,71,48,19,156,128,74,67,105,194,31,199,250,152,173,144,146,254,122,175,112,71,242,82,206,99,227,87,2,171,220,72,110,120,104,236,214,227,102,94,62,218,235,170,29,189,114,197,66,242,167,177,94,240,248,138,212,233,152,197,45,78,166,125,216,136,223,230,55,94,135,229,26,238,72,242,217,4,137,73,74,29,172,18,226,141,113,227,159,61,63,99,200,26,129,145,96,181,88,65,249,133,61,171,23,35,244,120,121,98,197,93,207,3,182,10,163,36,56,203,248,94,182,142,25,179,173,50,150,48,80,30,24,192,22,50,197,10,13,179,203,108,147,238,142,244,93,208,10,253,88,93,3,24,121,251,127,7,86,63,214,253,234,227,113,144,179,118,23,84,63,216,158,139,130,95,186,128,60,141,183,87,32,22,252,98,87,76,229,55,44,137,37,37,44,252,246,146,187,99,102,222,117,251,115,21,205,121,153,94,210,230,209,26,217,66,114,117,234,169,107,129,13,195,229,171,137,140,90,58,32,142,220,1,253,231,204,47,33,69,195,29,1,25,47,74,214,35,12,221,228,99,246,211,215,212,253,93,169,225,114,9,154,226,122,164,106,26,113,252,111,222,140,232,208,117,17,140,96,37,10,244,243,240,52,63,185,173,69,96,104,233,101,63,66,121,230,43,203,95,224,93,243,2,81,68,125,252,123,135,185,202,181,196,63,242,163,120,165,19,97,170,128,82,114,196,100,146,202,129,169,89,184,201,209,142,6,36,252,55,124,118,191,78,73,175,142,25,169,38,222,106,152,149,237,148,183,51,165,76,59,202,244,88,144,192,180,160,116,90,104,167,132,169,129,251,32,254,248,211,42,41,204,53,34,93,14,125,203,34,5,119,89,69,13,252,90,173,9,223,65,43,64,200,218,212,154,186,69,155,241,30,57,75,75,153,45,183,129,145,203,144,79,57,51,194,68,153,230,237,134,211,173,241,123,186,112,194,97,56,50,184,79,47,206,192,146,228,253,88,98,106,24,45,177,77,82,52,103,87,150,71,227,88,213,115,68,87,251,124,10,61,170,242,176,66,180,226,190,211,132,33,149,82,76,201,225,156,231,81,172,35,85,205,178,92,41,58,85,36,97,180,152,201,75,220,230,92,102,152,190,250,202,6,40,235,135,3,139,64,19,246,105,37,137,72,104,86,7,128,90,177,64,199,145,231,68,139,158,206,177,242,185,159,55,20,180,188,250,222,249,86,196,128,100,222,101,191,183,217,126,172,85,111,78,225,58,237,35,158,118,223,231,142,197,17,93,237,199,106,206,12,71,134,228,113,143,81,157,75,166,209,95,210,199,18,170,193,164,191,89,225,131,138,10,203,85,221,232,214,143,69,94,48,186,79,152,214,104,0,20,132,242,108,148,40,219,100,19,53,223,78,247,29,117,176,187,138,238,230,126,235,23,169,5,107,76,255,60,50,249,165,60,89,37,69,70,143,30,107,18,146,118,225,32,58,250,54,1,32,47,55,84,251,84,173,245,29,57,201,243,250,174,81,141,163,109,198,135,255,204,244,186,31,194,64,225,168,102,158,152,153,104,197,104,220,132,93,24,79,254,15,39,127,75,166,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,50,49,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,10,47,70,111,110,116,78,97,109,101,32,47,72,89,76,67,89,71,43,78,105,109,98,117,115,82,111,109,78,111,57,76,45,77,101,100,105,10,47,70,108,97,103,115,32,52,10,47,70,111,110,116,66,66,111,120,32,91,45,49,54,56,32,45,51,52,49,32,49,48,48,48,32,57,54,48,93,10,47,65,115,99,101,110,116,32,54,57,48,10,47,67,97,112,72,101,105,103,104,116,32,54,57,48,10,47,68,101,115,99,101,110,116,32,45,50,48,57,10,47,73,116,97,108,105,99,65,110,103,108,101,32,48,10,47,83,116,101,109,86,32,49,52,48,10,47,88,72,101,105,103,104,116,32,52,54,49,10,47,67,104,97,114,83,101,116,32,40,47,65,47,67,47,69,47,74,47,76,47,77,47,83,47,86,47,97,47,98,47,99,47,99,111,108,111,110,47,101,47,104,121,112,104,101,110,47,105,47,108,47,109,47,110,47,111,47,112,47,114,47,115,47,116,47,118,41,10,47,70,111,110,116,70,105,108,101,32,50,48,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,50,50,32,48,32,111,98,106,32,60,60,10,47,76,101,110,103,116,104,49,32,49,54,51,48,10,47,76,101,110,103,116,104,50,32,49,51,53,49,53,10,47,76,101,110,103,116,104,51,32,48,10,47,76,101,110,103,116,104,32,49,52,51,53,56,32,32,32,32,32,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,218,173,119,99,116,102,237,150,109,108,219,121,99,219,102,197,182,253,198,170,216,169,216,70,197,54,43,78,42,168,216,118,42,182,85,177,111,190,239,116,247,233,113,110,247,159,238,254,177,199,216,207,194,92,152,235,89,99,111,10,18,37,85,6,17,51,7,19,160,132,131,189,11,3,11,35,51,47,64,193,202,206,196,213,89,197,193,78,193,129,71,142,65,5,104,225,10,248,148,115,192,81,80,136,57,1,141,93,172,28,236,197,141,93,128,188,0,77,160,25,64,28,104,10,96,101,5,176,240,240,240,192,81,0,196,28,28,61,157,172,44,44,93,0,212,234,42,154,52,116,116,244,255,148,252,101,2,48,241,252,119,205,167,167,179,149,133,61,128,242,243,197,13,104,235,224,104,7,180,119,249,132,248,31,59,170,2,129,0,23,75,32,192,220,202,22,8,16,83,84,210,150,86,144,4,80,75,42,168,3,36,129,246,64,39,99,91,128,146,171,137,173,149,41,64,206,202,20,104,239,12,164,1,152,59,56,1,108,255,113,0,152,58,216,155,89,253,85,154,51,227,39,150,136,51,192,24,224,236,8,52,181,250,116,3,122,152,2,29,255,82,209,3,28,129,78,118,86,206,206,159,239,0,43,103,128,133,147,177,189,203,103,15,92,28,0,86,246,166,182,174,102,127,37,240,41,55,119,248,59,33,71,39,135,79,11,187,79,221,39,152,146,131,179,139,179,169,147,149,163,11,224,51,170,146,184,196,63,242,116,177,52,118,249,43,182,179,213,167,26,224,96,254,105,105,230,96,234,250,87,73,127,235,62,97,62,181,46,198,86,246,206,0,23,160,135,203,95,177,76,128,0,51,43,103,71,91,99,207,207,216,159,96,142,78,86,127,167,225,234,108,101,111,241,207,12,232,1,78,64,11,99,39,51,91,160,179,243,39,204,39,246,95,221,249,103,157,128,255,84,189,177,163,163,173,231,223,222,14,127,91,253,71,14,86,46,206,64,91,115,70,56,22,214,207,152,166,46,159,177,45,172,236,225,152,254,154,21,105,123,115,7,0,11,243,63,228,102,174,142,255,174,115,3,58,253,221,32,234,191,102,134,230,51,9,99,51,7,123,91,79,128,25,208,28,142,73,193,193,229,51,36,128,250,127,198,50,227,255,29,201,255,7,20,255,159,16,252,127,66,239,255,142,220,127,229,232,63,93,226,255,237,125,254,87,104,9,87,91,91,5,99,187,207,1,248,199,142,1,124,46,25,99,123,192,231,158,1,200,1,254,90,52,182,198,78,255,159,143,177,157,149,173,231,127,231,245,175,214,154,192,127,164,251,223,128,73,187,24,127,182,69,196,222,226,147,26,102,70,230,127,8,173,156,37,172,60,128,102,74,86,46,166,150,0,115,99,219,207,158,253,45,87,183,55,3,58,217,90,217,3,63,185,253,187,173,0,6,22,102,230,127,209,169,89,90,153,218,216,255,69,2,199,63,84,64,123,179,127,173,224,147,174,191,243,103,146,21,85,21,85,151,161,251,47,22,236,223,134,74,159,131,224,162,230,233,248,153,219,191,85,35,239,96,246,31,135,191,96,68,69,29,60,0,222,12,44,156,220,0,6,86,110,150,207,251,247,153,16,15,43,187,239,127,17,242,111,32,150,127,158,229,141,93,156,172,60,0,186,159,117,51,179,252,93,253,191,61,255,60,233,255,11,204,23,123,83,7,179,191,70,71,213,197,216,222,236,115,218,254,67,240,151,218,212,213,201,233,147,228,191,23,192,103,213,255,126,254,123,238,129,64,15,160,41,220,202,162,131,41,95,176,117,90,102,186,203,15,236,220,193,113,113,221,222,110,22,240,193,16,199,210,6,181,162,130,111,53,14,191,252,211,194,183,120,42,141,94,107,67,24,27,39,121,223,219,60,23,78,28,223,246,100,104,247,135,187,177,108,169,126,165,2,47,242,9,124,201,104,122,10,80,215,41,219,185,232,246,3,153,12,74,17,211,79,53,163,189,47,231,229,54,33,116,56,153,53,246,183,199,149,85,12,74,94,161,8,39,219,217,156,96,46,31,104,190,145,185,21,124,195,32,191,119,68,242,51,253,94,31,135,217,129,210,8,130,246,163,240,228,148,50,233,232,225,158,170,127,100,104,112,224,215,53,100,207,30,62,93,78,28,44,5,159,49,182,95,202,9,73,178,139,167,145,211,109,131,233,59,228,179,27,151,115,213,66,86,139,102,13,106,146,186,187,23,254,203,162,43,49,249,93,236,22,58,75,250,57,27,145,197,135,8,232,46,179,240,162,73,156,172,251,69,88,40,124,44,107,81,162,32,61,241,168,216,148,154,140,65,93,199,162,244,233,50,231,239,179,122,65,222,52,155,204,101,158,88,43,248,131,198,168,69,201,52,178,34,142,141,119,84,13,106,97,169,254,249,76,157,208,4,51,41,13,102,110,148,116,101,109,141,40,129,41,46,246,58,60,33,138,47,130,72,81,194,63,190,141,84,36,111,11,23,199,24,180,187,248,18,193,8,116,129,84,171,165,245,213,101,159,42,49,12,10,88,129,51,196,176,28,184,71,222,126,229,103,22,22,214,182,14,165,61,141,190,135,126,86,41,103,143,21,218,225,199,3,75,93,111,196,18,173,152,176,174,154,29,92,129,132,22,74,107,138,237,68,173,117,151,189,216,165,96,123,198,13,67,149,90,183,107,36,230,141,150,206,165,184,241,185,73,49,104,249,165,219,217,149,246,133,35,16,113,78,200,104,234,176,183,81,182,100,27,198,179,97,80,91,170,235,28,164,76,22,86,48,86,33,207,143,61,69,231,244,13,105,222,164,118,160,177,145,94,55,234,72,111,171,18,63,235,167,104,106,230,175,72,206,157,100,62,194,76,192,253,37,59,214,14,165,155,144,122,126,234,40,98,168,71,164,13,210,92,236,192,15,52,153,17,208,59,67,38,11,102,219,99,153,26,45,216,122,0,95,187,78,20,142,174,121,253,99,126,228,23,59,176,56,147,229,109,127,185,215,137,53,104,177,23,48,13,127,176,228,74,247,181,188,54,199,40,74,10,199,93,88,31,55,183,204,133,248,188,220,106,76,178,221,78,162,133,183,96,215,238,38,239,20,80,108,237,153,98,61,199,134,116,199,181,41,55,168,172,213,212,120,203,34,19,155,97,211,26,66,205,84,8,80,116,181,9,193,78,229,38,25,252,114,143,92,55,15,53,155,141,123,185,44,229,49,7,160,28,133,102,52,159,172,15,221,175,106,73,51,178,74,173,1,127,169,250,98,185,108,241,106,14,59,20,187,128,208,50,195,16,143,58,103,13,148,123,55,143,32,71,12,150,187,2,37,54,17,16,37,64,51,207,173,22,138,56,242,141,200,121,145,230,99,53,41,58,100,36,155,21,168,153,10,142,97,112,206,142,178,48,20,152,89,158,194,111,63,136,214,218,243,251,68,69,134,188,234,39,241,189,11,118,123,54,103,67,123,15,43,44,246,237,104,17,207,63,113,171,22,130,61,214,116,176,130,103,202,69,198,40,204,31,219,243,61,249,95,236,5,171,33,241,65,71,20,244,115,142,229,66,244,110,240,91,247,197,15,194,254,236,148,231,46,135,234,204,43,180,209,136,33,205,101,116,167,25,200,232,113,51,98,85,48,216,247,241,241,56,28,155,177,144,175,105,249,111,192,206,45,91,28,95,110,72,247,6,173,139,191,177,253,144,45,58,153,56,15,104,56,156,123,232,206,214,208,49,67,171,98,126,141,13,232,10,39,41,7,199,81,210,204,4,155,124,55,214,139,245,33,53,46,245,115,190,227,102,212,170,193,2,17,43,222,120,45,149,68,42,161,139,223,162,68,174,184,43,247,114,82,251,145,64,139,227,53,73,83,101,189,89,148,229,235,192,49,81,153,84,205,170,206,194,197,201,87,112,181,246,243,77,248,57,238,217,93,242,52,179,137,112,2,148,6,191,219,153,13,147,101,117,237,196,183,94,46,3,28,108,36,194,154,128,126,26,23,111,57,138,109,250,7,7,29,135,109,82,154,223,138,49,23,96,138,110,183,206,108,176,168,144,19,254,150,32,23,245,50,223,188,110,10,106,97,100,136,27,32,233,121,84,123,136,222,178,135,236,254,112,127,202,114,190,47,180,185,104,137,169,82,97,175,55,123,129,18,32,215,59,196,30,138,155,99,224,78,145,198,255,214,8,112,0,121,62,168,185,120,18,125,101,59,208,174,56,14,64,157,195,173,189,165,18,197,231,217,212,179,112,241,92,77,76,203,126,145,149,50,137,251,51,61,92,62,182,173,105,3,241,124,109,89,245,37,95,156,108,112,82,56,105,231,186,12,123,160,181,118,253,193,219,5,161,102,230,119,2,129,31,192,187,115,35,245,184,154,219,190,79,193,104,236,120,160,166,33,69,57,156,37,115,232,169,159,253,49,143,215,108,119,206,134,200,36,124,61,121,218,227,177,150,149,191,1,90,43,19,119,79,180,83,209,251,26,152,40,129,123,169,192,207,80,50,12,37,185,16,125,108,230,253,170,253,132,240,145,96,239,58,252,10,94,121,17,213,168,51,120,138,213,43,93,180,146,26,19,85,88,99,167,55,235,201,52,73,68,249,203,28,90,146,247,188,105,153,87,124,92,83,34,9,4,155,198,67,164,0,46,18,247,5,134,124,32,126,205,100,25,83,103,224,97,101,173,152,201,96,167,67,100,15,115,236,236,139,68,244,175,218,113,34,230,233,205,54,211,216,236,145,3,67,215,56,228,254,55,79,132,117,118,3,122,84,189,218,146,24,106,213,104,121,90,232,63,143,188,177,148,121,241,129,207,125,2,141,102,154,7,252,245,78,128,53,228,145,128,181,49,160,174,125,96,90,253,239,178,150,228,93,67,144,142,40,227,21,4,149,223,26,249,241,45,196,215,212,248,136,22,243,115,19,92,122,158,70,130,207,246,48,204,56,60,184,211,154,124,85,169,190,63,52,66,182,119,192,241,252,10,91,202,191,238,205,64,68,147,196,27,59,120,10,52,160,163,84,192,197,125,193,64,218,123,62,87,14,199,157,86,99,215,191,22,119,38,156,101,163,67,246,55,8,238,183,190,247,166,173,199,201,155,77,155,136,63,157,79,217,209,131,22,64,196,58,94,188,181,16,242,115,4,158,224,141,194,147,222,162,110,201,236,121,39,62,142,21,11,180,186,33,146,106,86,39,132,80,120,202,31,183,25,9,49,233,77,7,112,169,108,208,237,235,74,165,210,7,203,85,182,116,205,71,228,199,207,28,169,166,169,14,149,105,163,60,110,112,18,72,20,235,214,28,123,33,46,87,91,54,137,87,8,214,82,122,166,13,159,252,182,136,222,89,127,164,155,235,33,28,66,207,226,23,116,67,140,182,240,62,145,127,46,209,253,82,103,4,157,89,230,94,80,73,216,147,101,127,228,16,115,240,184,58,179,161,56,158,218,54,121,87,205,120,12,126,189,47,8,237,118,226,254,149,76,106,73,37,141,164,92,207,62,177,49,197,213,19,170,246,4,129,239,2,89,189,250,94,177,88,225,156,92,213,85,44,196,55,3,188,89,12,85,123,237,207,69,138,223,197,188,48,204,245,119,151,244,88,156,189,228,68,234,89,78,152,85,97,211,67,225,248,157,185,220,76,70,116,214,213,8,201,47,166,173,158,100,11,100,83,143,190,112,97,43,189,5,45,237,69,2,68,182,125,226,142,195,116,228,166,248,156,0,166,15,21,49,163,38,191,209,228,227,154,128,201,97,92,112,64,91,232,135,246,118,226,115,49,123,241,13,118,3,21,37,236,68,119,76,30,155,148,0,20,241,222,202,236,253,41,129,197,225,182,237,137,196,21,81,13,163,137,64,17,222,203,55,171,204,233,178,105,80,81,79,184,20,212,212,199,161,125,138,86,27,232,155,159,181,26,51,38,118,157,203,19,183,41,129,82,32,107,100,198,63,44,168,48,110,46,144,154,137,235,116,228,142,245,192,169,226,52,242,124,216,41,138,132,180,205,82,12,29,149,175,176,90,234,93,106,233,185,130,155,155,26,74,232,253,109,133,122,186,131,80,57,210,126,174,73,219,183,149,179,174,145,86,151,31,116,154,124,35,189,31,69,33,27,182,119,121,66,241,206,215,39,32,89,28,53,25,139,95,50,3,122,99,67,47,43,235,3,111,49,149,65,25,17,159,39,78,93,152,35,227,117,75,180,16,215,181,238,7,10,7,209,13,186,28,18,156,186,185,248,66,208,119,73,165,203,197,232,65,20,102,75,192,34,82,178,219,223,81,44,87,152,214,196,96,126,39,165,85,85,219,190,195,14,57,169,77,91,103,9,1,110,125,74,228,122,31,234,110,105,224,229,229,166,163,33,179,40,195,225,161,43,156,159,149,227,33,95,230,87,5,200,100,60,139,238,133,38,106,163,102,97,220,54,209,118,68,253,22,152,194,183,243,10,192,233,8,31,233,12,180,189,179,168,154,175,107,124,195,191,78,155,33,194,141,131,203,171,157,57,8,52,85,82,24,220,19,104,195,5,58,158,198,111,191,73,176,209,70,12,252,254,90,251,139,68,18,91,210,160,34,151,143,102,159,137,238,158,121,180,126,48,139,82,127,161,202,96,87,46,130,4,130,173,155,131,159,204,20,219,207,48,27,240,235,248,107,11,252,111,186,49,126,1,178,213,244,44,9,13,138,154,149,129,165,222,162,122,113,216,63,241,188,112,109,79,224,108,175,215,246,122,155,61,20,248,152,250,40,117,97,69,70,212,3,69,233,152,97,249,18,154,69,20,25,201,252,117,72,245,107,0,139,244,202,103,1,116,235,38,245,141,45,108,182,131,173,157,5,172,126,245,39,82,206,208,162,251,195,179,148,103,55,12,210,165,219,101,130,151,56,8,60,223,43,51,31,17,215,242,23,1,63,98,54,253,25,244,145,0,142,170,160,170,27,245,6,24,3,141,34,24,191,233,224,204,195,69,42,199,224,184,238,177,10,115,168,163,196,250,61,60,108,222,226,248,230,17,70,82,10,132,82,139,51,191,199,27,121,144,77,112,93,191,217,93,16,247,0,2,5,22,183,107,4,199,56,242,87,209,144,28,249,52,51,137,140,244,104,127,107,215,168,44,85,114,58,194,88,59,50,117,89,113,161,215,27,187,182,208,193,65,156,138,187,104,76,77,67,196,229,139,234,75,99,56,164,194,232,196,56,93,239,170,217,81,236,142,148,68,28,136,75,99,233,230,11,230,60,75,6,138,51,215,163,182,247,226,108,114,243,95,65,229,232,122,61,169,57,146,58,155,220,129,34,124,22,219,173,99,12,15,135,155,150,141,248,107,71,209,147,78,89,70,130,49,51,250,193,10,179,49,129,48,166,199,172,215,223,243,10,96,11,230,110,246,46,29,33,159,75,107,211,152,100,131,79,235,111,189,17,169,51,76,105,34,41,113,254,144,24,245,149,229,124,92,161,88,195,125,111,197,37,132,65,91,35,78,97,133,150,8,240,248,193,89,21,0,85,75,106,254,108,165,200,159,181,7,77,94,163,56,116,68,147,12,108,30,121,29,207,24,11,159,201,247,141,115,145,82,154,103,168,21,134,43,34,80,127,114,75,94,12,6,221,171,20,82,219,153,73,167,215,255,120,238,196,66,208,133,117,251,176,229,210,91,163,226,185,166,98,191,237,230,30,236,152,194,62,58,172,120,59,105,54,184,96,246,12,67,29,205,11,247,241,211,94,60,132,154,222,198,136,49,226,187,128,1,65,144,70,186,223,158,145,44,140,242,235,145,196,218,62,86,107,89,193,159,200,183,60,235,30,247,18,168,40,0,194,125,64,199,9,233,91,172,84,253,236,32,13,182,221,117,116,149,248,252,24,1,134,136,60,105,164,226,189,114,249,118,228,116,12,163,148,236,170,50,153,246,168,191,132,142,221,151,48,246,206,127,55,116,113,153,32,29,245,131,42,198,61,72,248,88,170,39,56,230,251,37,134,167,228,178,68,170,164,8,183,142,11,206,209,234,41,199,2,242,6,83,152,119,252,115,156,166,187,196,40,239,16,178,50,28,63,249,138,131,210,109,221,152,159,10,148,47,95,53,221,162,63,25,250,195,0,81,141,35,186,100,184,63,206,137,27,93,230,149,39,75,162,71,212,65,241,129,214,69,54,246,60,201,245,167,136,56,92,154,197,31,209,54,166,175,184,2,0,57,84,207,195,125,52,228,4,66,202,103,116,96,184,109,133,33,40,231,70,231,202,60,165,110,84,212,77,97,114,216,154,100,252,232,150,225,15,178,146,61,153,51,115,36,176,106,61,36,177,184,84,177,53,81,139,161,16,149,91,224,164,228,72,103,35,221,60,185,185,86,123,33,100,153,173,75,74,114,116,203,248,14,126,197,208,12,71,172,108,39,79,237,9,155,214,136,170,32,119,152,221,131,159,97,121,250,240,51,100,101,10,165,57,143,150,199,131,215,150,120,168,254,33,115,108,140,29,31,210,159,145,208,227,117,43,19,66,169,14,216,223,164,118,150,49,176,29,82,122,166,215,15,172,243,235,225,80,234,221,19,29,232,58,162,4,95,62,42,51,119,228,120,247,40,242,180,19,108,82,116,24,24,52,184,212,166,96,218,105,49,211,65,174,146,183,156,25,177,249,214,225,36,88,219,107,102,157,113,248,151,111,113,237,59,120,167,123,228,246,48,2,56,87,50,54,32,73,43,86,43,250,185,151,158,238,244,72,242,20,241,80,230,42,95,101,10,50,30,72,18,169,17,234,98,183,32,181,55,170,109,54,180,127,242,204,177,55,132,62,33,10,9,169,33,94,12,245,117,37,252,46,172,234,248,243,28,66,93,118,24,118,225,132,51,254,123,32,229,59,92,165,66,123,154,12,177,27,181,19,236,180,244,196,109,208,193,81,190,2,248,100,172,26,197,234,166,85,205,13,121,165,190,246,135,142,203,44,96,225,151,133,255,87,12,109,56,231,98,170,148,163,51,30,62,239,49,124,204,114,163,180,88,174,216,245,232,95,222,213,128,186,182,68,149,252,11,123,212,35,75,246,16,6,201,241,109,31,255,228,253,211,188,87,69,26,151,67,32,17,129,169,87,198,143,67,57,86,118,235,160,70,13,196,58,90,183,176,178,7,115,37,51,109,34,107,49,43,86,139,240,110,22,105,221,237,83,139,175,78,147,64,126,102,100,149,8,123,37,79,39,252,90,50,169,69,210,196,9,3,10,60,53,72,147,100,24,82,121,104,48,104,233,236,63,183,130,190,42,123,162,231,149,179,156,157,195,85,95,208,120,118,37,81,25,208,66,42,173,132,44,90,34,16,119,240,184,221,198,26,43,82,43,53,15,24,153,246,163,138,107,148,240,78,229,23,99,121,154,211,149,4,125,248,106,255,140,253,246,81,235,214,242,120,26,128,14,228,8,45,142,254,21,38,204,39,94,209,74,99,78,0,123,203,52,222,133,110,158,36,236,91,246,152,73,49,22,66,82,37,74,152,0,106,212,71,255,177,17,227,23,157,141,201,96,139,56,18,142,42,83,239,125,6,198,62,144,162,214,244,82,152,63,240,108,166,200,184,47,100,203,14,209,165,59,52,7,191,40,124,184,227,204,217,82,222,88,67,66,145,137,162,97,88,105,29,146,46,91,76,39,136,129,79,251,96,125,242,152,145,231,248,125,166,90,143,220,178,65,89,87,65,207,90,156,41,6,227,108,113,153,143,149,118,199,43,117,236,14,9,175,82,190,46,108,253,176,16,179,25,61,76,220,196,100,20,130,108,255,135,196,182,149,58,229,59,25,85,92,218,242,87,231,229,150,216,40,55,251,96,147,120,239,23,221,208,147,22,38,83,16,20,139,213,111,172,9,70,55,39,41,91,31,95,77,69,235,79,93,161,106,31,33,205,79,242,178,67,5,183,91,87,22,112,219,91,168,118,244,115,156,121,160,145,139,149,106,115,82,75,116,76,133,166,169,191,25,143,143,228,201,173,98,214,25,245,237,212,135,180,79,109,203,65,245,199,227,40,53,115,88,51,78,238,163,198,132,78,32,14,235,100,168,118,249,17,64,5,105,8,218,17,167,33,99,167,48,19,147,234,170,218,76,0,215,214,223,36,43,120,169,36,238,46,46,139,200,218,107,118,33,107,11,95,72,172,130,54,141,105,210,4,245,122,138,94,19,248,19,204,47,108,190,129,66,252,137,186,16,184,194,207,119,247,42,12,196,167,150,197,247,11,236,227,177,109,205,44,160,0,21,210,87,24,94,236,244,80,236,168,102,210,99,11,233,184,172,111,205,125,254,24,104,92,37,150,245,155,163,246,137,34,19,94,98,217,235,147,222,233,207,74,228,180,100,236,16,166,245,27,70,108,182,45,253,99,229,47,96,34,37,145,119,19,247,2,179,142,47,91,208,89,161,153,156,141,52,188,97,226,196,228,22,89,247,53,64,39,230,106,48,94,44,126,77,83,22,18,130,255,124,9,116,33,115,180,33,36,28,43,19,228,254,109,243,18,244,196,148,216,222,240,251,86,165,30,142,37,24,145,213,253,218,31,110,83,130,119,139,77,54,129,212,71,88,87,166,242,69,98,198,7,236,154,128,51,116,44,223,48,80,71,186,185,110,245,8,237,48,241,161,134,252,66,50,178,206,120,242,156,116,3,158,190,211,214,249,235,165,37,193,40,4,225,140,128,147,224,219,89,141,252,169,129,207,159,17,133,179,7,216,119,154,148,141,52,120,210,35,213,14,44,157,30,162,157,43,146,208,69,177,90,33,108,223,86,12,133,175,174,188,122,43,57,76,142,217,88,189,39,95,57,232,169,247,158,224,138,172,227,111,91,198,236,182,239,53,88,62,32,52,67,121,218,6,147,141,22,151,189,224,168,216,182,249,202,17,242,139,215,32,183,164,143,128,170,213,31,162,73,24,88,85,84,228,56,81,36,102,196,24,114,94,38,74,39,126,148,56,47,34,243,191,113,226,184,121,22,240,23,180,197,42,220,192,40,101,55,28,40,204,181,144,124,107,32,246,218,126,136,165,44,148,136,226,165,205,224,206,218,25,38,16,113,239,152,63,208,114,245,40,220,190,139,56,196,53,180,225,244,171,117,106,186,84,188,208,59,189,224,145,194,205,40,16,213,56,78,62,220,70,116,245,234,243,221,195,170,97,159,130,145,9,24,63,24,81,211,40,78,229,161,84,255,132,186,227,117,4,105,232,152,144,113,17,56,224,243,10,74,185,167,248,201,185,130,174,248,18,145,226,170,241,37,94,149,212,55,59,249,165,80,50,137,156,83,188,181,80,176,144,197,116,108,158,251,43,57,208,146,37,148,233,138,96,44,212,31,204,47,229,106,28,115,227,110,125,254,242,158,183,61,9,241,203,119,222,75,132,103,223,153,15,234,67,171,204,110,171,178,174,184,64,39,170,203,6,79,171,94,14,135,164,112,235,88,235,251,83,105,73,197,3,234,4,216,23,89,87,133,198,49,234,46,204,111,147,144,167,58,176,166,169,163,38,213,139,83,95,155,226,132,82,243,46,37,198,227,113,178,112,238,40,157,175,169,40,110,56,240,214,233,167,216,35,157,142,144,193,51,92,201,178,228,219,226,41,133,87,98,72,227,180,92,57,237,55,74,55,199,142,187,121,183,195,120,6,204,83,166,117,146,3,63,170,203,214,92,131,93,225,29,72,122,187,209,179,67,158,29,222,236,136,247,95,248,243,139,161,95,173,223,180,182,199,237,187,174,81,70,91,19,35,85,40,157,252,168,120,86,0,15,187,97,37,231,240,171,20,64,130,28,163,134,226,233,40,97,203,235,109,21,52,175,13,21,232,192,179,64,118,246,95,83,59,56,69,77,31,96,102,215,103,105,56,175,65,240,55,151,216,53,198,116,191,190,221,118,194,185,177,230,232,76,140,60,73,184,218,97,73,92,103,12,77,200,37,154,210,200,204,36,70,213,174,112,97,194,135,84,221,82,122,99,32,206,31,142,244,147,205,154,107,45,103,237,160,13,163,233,17,78,109,223,110,30,189,43,85,28,199,56,88,127,187,102,77,28,177,238,220,93,5,187,139,2,53,84,22,85,42,47,78,147,153,89,33,47,137,128,27,94,73,178,30,115,42,150,34,33,184,100,206,151,150,188,210,164,99,145,118,1,17,255,10,207,185,115,235,169,248,56,99,186,253,206,188,83,146,115,165,237,42,151,205,15,132,208,166,62,202,38,137,35,182,149,194,232,104,96,87,18,202,149,89,118,146,220,67,183,120,165,63,163,213,129,146,244,67,96,17,170,119,4,106,114,52,135,251,66,64,33,184,40,163,213,24,8,169,82,228,230,248,128,148,85,66,79,97,141,99,25,220,171,95,35,166,69,50,114,199,38,113,247,49,167,168,19,29,77,146,15,130,8,87,41,112,187,151,177,184,215,246,112,30,182,58,52,220,35,11,15,132,76,164,141,140,131,82,92,167,86,253,70,206,28,181,81,225,121,120,222,97,98,218,169,107,255,93,72,68,49,91,112,86,162,38,24,60,83,20,229,245,16,91,156,1,48,156,41,215,59,124,40,61,147,145,103,106,166,110,137,161,204,255,130,52,94,4,92,34,121,84,119,61,105,34,10,95,245,193,131,130,23,67,222,92,189,224,230,208,166,54,224,44,40,184,205,249,252,19,77,95,245,190,20,117,102,160,213,129,134,6,87,158,20,72,30,31,231,30,133,44,108,77,148,97,175,137,22,104,182,20,78,45,26,123,39,181,247,58,164,206,175,203,12,103,97,238,103,75,177,244,12,102,163,20,180,227,84,189,189,14,4,69,76,149,42,233,40,69,201,57,27,118,46,31,194,78,45,242,16,138,105,252,56,162,82,210,165,170,70,107,123,214,0,221,163,136,216,229,92,24,188,232,245,102,78,209,185,230,219,189,154,140,249,234,57,50,233,47,237,54,251,209,2,210,60,135,210,76,49,44,92,113,9,54,147,233,171,236,201,53,84,190,166,80,119,85,95,99,204,117,35,139,184,210,205,101,161,55,66,188,82,148,27,36,224,40,107,83,115,223,201,227,99,34,174,240,110,206,22,105,98,205,218,188,135,35,125,248,29,179,61,124,183,180,142,131,231,24,148,132,109,110,20,92,46,197,152,6,31,252,61,28,187,200,68,1,20,107,2,166,56,231,193,94,130,60,34,13,29,40,71,31,192,91,195,223,27,216,148,231,103,102,32,48,193,113,157,109,97,215,187,137,135,79,169,55,190,36,247,110,229,222,125,123,237,112,151,178,138,111,253,125,27,120,178,182,160,68,116,68,178,148,115,88,111,242,115,73,208,84,165,144,254,89,185,179,60,147,232,49,192,93,245,130,22,19,30,215,244,233,214,199,221,216,13,238,199,112,69,3,149,130,116,133,144,46,200,151,124,32,86,219,22,24,183,88,6,165,225,13,39,201,14,73,86,235,133,91,28,18,214,83,104,140,240,237,67,221,4,204,69,154,215,199,36,96,117,169,133,204,250,62,5,124,101,9,183,15,228,143,26,153,144,43,87,210,54,105,126,207,122,223,202,67,46,106,12,220,90,149,52,83,77,135,241,5,132,57,131,81,176,162,237,45,10,220,84,200,240,117,13,186,170,133,12,194,148,67,48,36,211,171,132,241,13,91,224,180,213,213,137,115,85,104,13,47,133,24,131,250,198,197,67,204,70,119,143,42,141,241,185,85,121,187,17,67,134,242,108,16,65,250,204,56,97,49,1,113,203,207,13,209,40,86,84,97,89,213,165,105,65,48,170,104,254,165,111,75,108,158,99,45,62,233,3,176,57,86,195,158,49,244,235,218,97,120,204,10,29,120,228,167,123,34,233,201,25,215,130,144,39,140,99,84,10,227,66,227,133,251,56,110,202,206,210,206,105,11,144,105,230,85,191,237,124,78,70,104,210,214,166,72,16,10,229,90,40,96,175,108,44,98,183,225,96,51,83,226,43,230,144,223,59,225,86,202,252,165,12,144,209,6,147,75,159,202,157,23,11,112,134,225,174,51,246,171,99,184,109,88,51,180,99,219,219,61,160,172,70,107,187,95,187,28,219,81,200,124,94,79,193,230,150,11,121,179,112,48,144,10,157,89,213,187,62,48,3,246,4,160,76,231,204,157,15,91,93,122,36,133,78,251,175,131,58,147,41,196,96,245,227,97,21,90,50,175,181,41,47,230,49,164,134,39,34,206,182,53,227,243,252,100,213,78,234,34,145,198,224,131,88,166,243,217,118,13,117,26,96,178,18,22,243,217,87,83,7,124,145,64,109,253,11,175,73,233,180,142,138,156,81,210,67,107,68,62,8,206,106,21,215,240,167,222,45,106,192,46,229,91,140,249,177,197,222,181,2,179,146,24,35,36,197,144,18,103,14,232,134,67,83,84,235,52,141,6,98,115,220,163,190,145,133,136,190,201,192,117,92,146,172,179,28,15,236,230,168,137,184,36,158,177,9,15,197,144,11,75,142,130,137,190,197,33,230,240,152,23,56,148,156,69,128,120,96,21,192,163,53,6,157,152,45,71,105,28,60,77,214,156,174,149,192,57,144,27,104,210,95,211,248,164,249,50,69,67,25,92,105,64,225,189,107,241,84,251,114,95,144,55,51,61,255,112,244,125,192,56,71,83,195,185,242,120,143,46,69,56,95,97,98,201,130,247,16,173,30,81,173,55,215,44,48,193,135,201,116,130,169,175,14,130,155,69,43,204,81,109,198,151,174,186,101,189,145,90,210,30,113,233,181,147,147,237,254,121,18,99,32,98,43,248,208,194,21,6,49,211,166,255,170,252,37,233,38,181,190,192,54,51,185,67,29,47,169,220,163,36,0,206,252,56,206,9,137,186,8,82,41,225,220,22,217,153,15,92,111,116,164,96,180,32,170,207,110,209,106,143,229,116,172,19,84,186,131,102,84,183,149,252,220,50,245,224,105,147,57,103,61,195,100,135,93,226,253,113,28,94,122,71,31,108,58,36,102,217,55,61,49,100,156,74,112,163,70,118,43,248,123,137,162,163,179,109,134,210,201,158,238,192,73,110,95,208,222,180,146,78,60,47,219,233,150,90,56,60,79,88,226,207,180,17,63,51,164,121,59,174,7,234,225,58,244,154,155,216,83,197,175,85,12,20,168,152,129,201,2,112,8,242,119,153,103,41,115,63,248,28,226,255,20,41,127,229,80,200,132,204,201,201,34,4,223,153,187,219,230,242,194,63,217,166,68,54,79,95,249,82,178,179,11,14,34,18,148,114,97,58,27,235,25,121,246,21,79,125,176,123,185,63,185,60,46,161,231,25,162,114,0,223,57,44,227,121,190,111,145,158,107,48,80,147,94,184,193,167,72,142,230,49,139,90,34,151,178,230,213,89,73,219,116,28,191,219,84,183,235,214,82,117,80,95,38,164,209,86,38,224,183,241,2,103,239,52,40,30,227,175,163,168,145,38,238,247,71,33,216,167,16,150,95,153,216,239,107,116,192,70,28,239,48,5,97,83,241,29,26,42,84,48,84,74,76,108,217,189,129,11,125,38,206,150,107,223,114,60,5,213,225,122,51,113,187,76,189,225,99,188,224,75,179,210,27,20,252,72,11,1,68,44,200,65,246,49,163,219,62,51,104,0,213,100,73,94,15,149,67,197,119,254,102,20,10,70,118,123,171,95,82,71,187,84,80,197,56,182,26,63,112,42,97,29,167,127,40,163,202,239,122,125,64,203,237,215,127,125,140,90,182,9,107,87,222,147,248,150,8,135,128,189,191,212,217,100,179,58,71,253,240,142,229,236,114,238,246,190,162,213,213,144,38,187,213,19,175,86,124,38,121,126,117,170,73,98,147,131,63,147,1,107,35,35,39,104,189,121,149,153,172,47,39,4,47,33,126,225,232,173,118,141,219,4,55,216,245,104,70,224,55,57,151,221,190,252,237,213,202,160,121,227,50,247,123,123,35,150,144,142,88,94,40,94,60,219,185,91,139,105,217,170,249,139,167,144,247,185,251,43,41,159,160,231,23,35,1,35,204,203,47,105,188,130,96,37,214,137,56,124,17,197,247,212,196,90,235,222,29,75,13,223,53,42,229,30,103,121,205,105,24,87,86,82,228,191,214,194,39,11,242,219,4,181,50,14,210,117,178,29,231,182,160,129,46,82,92,33,157,54,63,235,139,122,122,86,253,10,105,148,171,198,195,172,109,168,45,235,158,189,236,250,3,61,86,8,26,201,24,103,93,230,221,200,129,50,170,226,42,113,165,157,11,235,62,181,89,156,140,106,175,88,55,57,96,248,203,194,192,109,29,225,247,198,171,218,219,185,71,185,184,245,239,49,98,148,26,66,172,56,194,86,230,150,81,166,74,106,78,104,114,244,64,226,41,124,194,71,185,44,163,136,94,66,25,40,254,3,200,17,146,159,164,88,95,71,21,9,16,140,11,71,165,8,28,228,9,225,61,85,211,92,110,173,110,102,244,132,120,73,83,120,221,197,30,61,232,163,126,199,166,64,251,97,177,221,216,32,38,143,189,77,85,90,176,103,23,16,221,60,49,37,114,251,47,60,69,105,228,244,251,3,116,119,202,42,240,162,215,46,146,214,39,238,58,47,249,21,79,121,63,96,233,47,222,26,66,58,94,127,200,187,245,202,117,9,225,192,145,6,230,105,135,87,119,120,82,106,180,46,4,218,45,125,25,129,201,207,68,233,155,212,195,231,206,134,60,215,12,125,79,70,145,228,216,38,20,22,220,235,35,61,183,54,252,137,76,54,108,242,90,138,13,77,229,228,194,170,68,185,154,104,69,28,242,222,223,248,238,90,59,54,99,185,199,121,142,79,85,195,156,163,230,238,194,155,242,187,5,184,191,92,162,61,18,16,21,232,47,135,48,94,97,181,244,157,77,246,207,98,74,28,171,81,194,88,129,180,115,11,165,208,90,20,188,230,203,1,169,174,242,28,186,94,229,75,111,192,115,225,232,47,174,121,73,244,155,158,57,149,99,66,189,45,110,27,228,216,21,38,226,212,82,35,138,1,71,112,195,228,116,48,9,202,164,62,166,253,122,164,245,87,177,239,229,176,193,49,254,25,10,129,60,205,167,119,196,35,109,207,152,166,41,81,17,112,16,152,125,207,175,206,122,149,198,94,7,36,41,156,7,210,243,32,240,202,212,163,201,54,123,183,171,219,54,208,196,180,77,1,121,123,229,214,4,152,208,112,213,103,35,149,100,60,225,167,45,126,30,95,38,117,189,238,170,6,147,225,27,251,235,223,179,97,153,8,153,92,140,104,245,186,127,26,30,105,25,69,88,228,246,238,153,119,168,181,18,166,33,190,87,157,189,124,243,253,18,182,145,64,132,212,33,241,118,226,7,19,175,169,223,17,11,97,169,124,109,109,183,188,182,237,95,39,110,250,123,150,175,188,243,79,172,48,160,182,58,51,121,105,97,101,255,44,225,148,171,169,205,34,140,166,75,242,92,86,60,11,61,180,213,61,33,224,146,254,126,238,133,26,166,0,112,246,96,3,58,105,188,157,210,176,206,95,193,2,55,174,200,20,166,209,90,80,138,91,24,241,114,101,123,252,91,197,107,65,76,97,135,31,98,65,245,163,71,221,154,235,33,210,46,15,0,127,218,195,224,38,212,9,4,143,178,112,252,19,57,218,123,198,43,58,167,211,20,157,27,63,66,62,9,30,200,10,255,241,115,246,233,42,130,88,157,45,64,209,155,174,211,31,211,36,120,226,248,64,181,183,125,108,208,224,41,137,241,8,41,114,114,42,156,234,12,2,219,29,141,161,67,241,43,60,116,89,172,253,209,160,251,122,235,148,215,152,44,165,176,232,104,138,53,227,86,50,51,45,141,51,234,239,246,4,20,188,186,115,99,121,223,199,198,57,115,57,125,112,245,199,206,45,189,240,147,234,176,236,118,255,38,38,138,98,38,161,0,13,77,99,3,57,63,13,30,87,245,159,171,230,190,117,160,65,38,98,240,30,8,9,160,79,74,248,43,169,173,235,23,99,232,126,89,24,113,57,115,93,230,115,133,165,254,172,150,220,131,232,94,54,247,66,206,158,163,198,169,202,94,202,41,124,102,166,99,232,185,162,181,127,132,121,209,125,152,54,68,143,89,252,64,182,98,171,229,16,153,228,238,71,68,142,156,21,143,131,142,66,199,191,67,11,156,107,58,229,221,8,9,96,85,163,233,94,145,57,9,155,65,225,227,140,95,236,127,179,117,86,155,108,87,113,226,98,96,88,89,243,189,37,31,27,39,168,183,243,150,167,48,235,23,28,18,4,107,130,210,223,128,146,55,251,225,163,36,210,217,230,93,249,141,56,52,144,161,39,141,144,7,226,81,63,246,76,52,85,116,196,193,142,95,51,54,32,53,108,138,254,183,188,236,244,0,190,90,211,16,250,232,59,249,51,127,172,112,252,119,27,57,224,109,151,80,167,106,50,39,223,150,206,58,136,28,87,100,216,212,161,146,205,45,33,218,203,141,28,122,34,21,11,200,6,129,179,74,156,182,194,10,252,25,14,172,217,217,134,115,96,233,195,55,227,224,169,134,195,25,14,143,40,253,92,44,85,28,78,224,109,39,31,229,146,235,38,62,75,22,95,114,45,132,220,124,113,97,32,165,126,12,63,205,10,44,128,214,190,213,93,166,63,194,41,63,110,71,241,97,204,192,253,5,19,52,37,155,15,27,7,236,163,232,245,66,8,159,116,167,165,133,210,156,152,203,121,219,157,154,112,4,54,30,162,73,6,62,181,51,222,41,70,229,206,235,154,239,116,122,46,63,190,104,177,91,233,208,52,89,107,44,246,180,80,91,131,137,101,144,26,140,192,226,155,60,231,211,65,129,161,106,37,50,197,107,73,123,40,146,99,106,240,137,133,190,48,45,221,210,237,214,100,229,59,110,145,172,174,24,225,178,52,132,142,230,60,32,214,29,252,182,55,7,77,248,9,146,109,39,224,226,124,92,200,64,254,8,126,124,181,204,220,107,93,39,123,75,214,189,35,194,95,169,180,132,62,82,72,93,35,170,88,81,92,208,54,137,216,118,240,28,37,214,77,47,44,9,99,159,117,57,188,52,105,186,62,156,211,122,218,225,81,42,221,172,52,56,110,240,102,170,72,214,95,181,241,99,88,203,250,61,252,17,26,119,152,78,196,194,90,230,230,208,228,99,93,28,233,135,165,194,73,75,212,72,242,226,175,55,120,76,135,254,196,251,78,111,123,247,229,205,61,145,237,251,72,17,123,174,29,229,86,152,242,158,24,213,92,147,58,214,12,219,144,83,103,45,216,242,211,17,50,158,132,158,188,201,88,98,202,2,77,146,27,132,130,210,28,167,158,173,208,106,183,158,239,193,42,126,190,98,153,189,28,194,123,161,13,100,133,248,215,65,240,68,115,237,137,10,59,83,66,122,174,212,135,121,96,185,207,211,206,220,128,8,45,81,251,0,72,1,80,45,88,159,85,123,106,228,196,212,125,201,181,155,90,246,175,215,14,15,218,139,188,62,176,120,235,19,204,46,114,144,51,180,99,65,82,26,5,69,118,65,227,241,136,31,116,202,201,73,35,103,176,113,219,119,198,209,5,184,36,240,7,10,105,224,225,173,155,171,128,184,12,240,28,84,127,147,184,184,161,186,120,181,41,105,236,14,53,160,193,79,159,138,50,149,16,139,124,162,149,177,250,28,101,9,237,121,93,244,140,86,190,48,114,124,135,221,249,73,10,68,124,198,114,85,89,36,17,49,254,88,100,206,237,137,96,209,66,102,82,118,89,228,58,14,215,66,180,136,4,79,153,57,83,229,199,178,198,188,220,193,3,123,188,171,252,154,124,48,114,145,198,45,182,24,219,46,22,241,221,43,178,54,113,137,184,197,238,90,99,250,214,130,209,73,120,243,240,137,78,72,11,83,191,57,173,91,42,155,1,92,224,179,227,216,98,160,5,244,175,46,128,19,154,173,116,220,168,111,233,141,35,107,99,158,170,47,242,83,106,206,3,165,128,248,57,204,152,251,221,6,19,140,168,108,53,173,155,39,124,59,206,113,41,47,111,63,178,70,112,48,92,153,205,185,112,18,233,204,84,230,27,157,222,165,61,204,195,8,155,60,107,98,78,20,49,111,15,245,187,237,49,63,36,17,250,36,195,59,48,10,206,105,170,89,69,217,82,180,61,8,4,75,56,89,176,30,115,244,104,150,96,171,97,168,44,71,176,218,57,213,182,160,73,160,129,24,74,27,16,213,104,177,177,49,195,75,94,74,242,138,82,104,196,58,195,119,156,185,35,16,207,60,41,50,151,5,152,148,24,51,58,165,50,204,141,20,179,19,176,111,149,170,105,56,143,27,165,86,83,91,10,124,162,135,51,84,157,73,125,113,91,225,231,154,88,236,140,252,153,123,120,203,164,19,142,147,207,40,210,97,27,95,56,145,219,200,238,130,178,243,75,225,26,239,171,138,55,110,105,96,78,109,185,218,254,216,112,128,142,121,170,183,107,146,15,102,228,196,1,200,37,199,44,220,225,228,16,78,63,168,215,122,223,92,135,63,246,31,6,35,104,248,122,195,211,73,2,145,82,228,220,182,101,188,215,109,185,4,41,34,169,49,35,38,57,46,4,74,234,137,160,28,225,64,135,237,17,71,37,54,171,238,144,228,170,103,164,73,73,142,247,90,230,102,229,48,242,198,51,128,19,231,78,219,238,225,72,9,233,172,250,130,231,112,65,35,19,79,81,146,1,202,245,75,54,149,253,74,25,211,71,45,119,135,67,2,149,176,133,14,118,240,249,46,247,156,219,23,228,242,65,152,188,16,253,145,88,185,112,123,43,123,27,2,81,33,224,1,184,162,87,27,212,5,86,203,31,237,249,185,197,153,171,31,22,92,115,55,150,191,110,88,75,213,160,24,141,129,209,235,108,93,236,231,176,237,248,151,41,20,171,103,239,58,233,50,88,22,209,48,213,47,115,114,105,162,207,129,198,24,155,179,160,205,48,77,30,39,53,57,48,65,165,13,103,139,126,186,51,61,192,66,37,10,78,38,192,109,64,203,65,97,92,13,7,7,170,10,200,224,226,108,71,118,222,207,150,223,169,57,137,185,213,139,184,141,167,59,75,66,37,85,143,141,239,57,11,13,9,197,179,155,208,158,131,100,193,137,222,148,150,77,86,32,94,193,200,187,207,137,121,247,121,8,98,235,253,212,155,242,184,187,231,124,80,72,37,23,197,226,109,154,27,167,43,188,136,4,246,225,20,101,212,3,50,99,7,199,117,178,116,30,190,127,140,146,110,101,164,157,209,214,209,197,90,149,183,133,13,156,46,253,253,122,43,110,230,179,52,20,233,57,103,133,7,86,236,176,92,150,23,4,98,166,111,203,208,154,8,221,121,199,55,19,246,236,134,40,192,149,228,139,86,59,81,87,206,106,105,149,92,98,168,133,46,252,119,243,124,5,56,186,38,182,115,162,44,154,214,2,19,61,234,208,224,120,245,185,74,98,181,51,56,99,29,124,224,155,60,249,40,109,130,222,99,172,28,7,55,179,27,147,29,166,226,176,42,216,73,188,135,188,137,160,117,100,219,18,190,156,168,79,205,204,208,215,45,189,82,14,108,231,126,32,62,237,236,177,154,21,170,246,13,86,28,228,58,107,224,119,180,37,198,229,201,158,25,200,7,54,66,148,251,246,254,128,159,26,61,49,34,203,187,58,201,215,216,189,68,58,225,50,48,143,215,151,142,160,115,212,138,113,25,8,61,52,214,51,156,220,60,107,216,133,65,30,92,110,72,81,99,48,144,144,81,218,127,246,151,58,156,227,122,31,10,178,110,216,229,154,137,87,101,121,85,14,21,83,122,86,88,231,94,213,68,57,125,7,241,128,21,44,242,69,44,38,221,225,209,240,73,96,69,47,33,200,226,91,97,179,62,229,239,114,71,188,76,63,77,98,41,249,118,161,89,6,124,239,41,154,209,252,30,216,188,167,190,214,151,89,102,45,245,93,51,236,150,18,67,28,149,136,160,1,203,145,161,194,5,28,100,156,82,173,132,152,87,32,221,178,193,63,124,217,108,48,37,160,145,207,109,120,81,45,148,91,58,72,158,132,253,91,155,118,170,104,88,51,52,28,143,118,225,139,20,126,76,193,19,118,192,48,116,161,182,237,86,38,236,202,36,167,167,89,75,157,85,197,126,104,146,162,222,228,219,181,149,120,40,56,160,141,83,4,205,172,88,61,204,63,160,163,233,165,243,163,53,52,196,34,152,181,147,98,238,165,144,183,112,207,135,227,117,235,70,108,106,37,216,55,209,128,251,210,104,252,157,120,158,229,123,221,16,68,125,24,109,239,180,144,246,70,214,228,13,127,3,104,23,246,144,19,97,212,110,191,204,180,193,225,244,42,217,175,136,178,147,209,112,44,8,133,144,66,182,15,231,174,222,49,180,84,120,140,19,82,143,18,3,206,175,4,30,214,212,62,64,159,113,136,158,33,71,29,98,46,63,160,110,93,80,235,150,83,222,239,94,152,153,54,222,204,244,217,2,54,148,15,211,3,188,230,82,213,43,189,216,179,251,80,172,189,115,119,181,177,239,36,43,80,117,89,156,121,237,115,82,177,163,220,173,177,76,191,194,245,214,127,36,130,68,238,64,92,197,237,101,231,20,97,12,155,24,132,206,252,196,238,14,228,109,142,146,169,21,224,236,140,81,125,39,177,201,40,253,17,202,114,226,68,247,109,248,100,31,135,171,62,10,87,209,106,144,148,9,21,94,183,245,202,157,218,129,252,132,233,73,228,185,4,107,116,241,139,82,163,198,154,150,171,245,59,7,95,218,239,133,16,6,28,93,97,142,8,69,123,202,53,100,151,179,46,194,121,195,250,150,55,145,171,238,238,239,124,140,221,74,241,162,39,121,4,201,172,234,49,154,70,191,172,185,19,149,133,49,54,250,250,49,224,95,173,181,194,103,71,163,109,68,212,22,126,127,113,56,49,17,6,163,177,38,122,127,198,42,193,28,19,149,59,102,231,31,255,70,41,103,155,20,5,146,146,5,207,128,124,164,24,244,156,65,157,161,183,143,138,174,160,20,172,49,115,146,117,151,64,80,50,118,113,128,118,146,4,203,228,214,182,128,41,74,10,103,202,167,198,152,252,173,70,20,52,2,9,171,145,210,78,249,253,141,149,33,182,23,101,26,190,142,139,212,128,58,179,200,174,90,88,89,171,49,0,65,132,232,42,79,219,58,205,231,55,107,168,140,226,199,62,84,86,16,186,92,240,6,6,214,15,236,121,117,76,4,253,4,114,241,126,227,41,72,118,217,206,129,81,18,235,218,144,7,113,145,37,128,61,2,63,11,180,180,36,217,100,228,137,10,71,36,121,149,136,14,244,188,132,228,70,233,9,226,6,134,237,33,207,212,156,202,21,26,214,205,245,128,118,201,215,164,228,116,33,157,157,48,121,144,197,100,244,41,101,211,225,16,102,140,109,198,103,155,87,164,175,229,93,48,66,235,90,67,224,157,52,98,218,199,145,26,149,166,173,56,210,145,95,5,94,136,1,103,128,224,80,196,239,17,144,56,140,13,214,180,77,183,248,181,132,43,184,145,80,183,219,18,152,225,176,183,184,108,124,223,87,165,37,206,74,36,188,221,71,219,157,36,63,206,37,194,171,114,130,222,55,202,183,136,242,150,214,90,49,73,211,160,105,9,89,89,182,103,158,239,19,159,166,138,162,139,227,184,82,40,65,95,36,177,141,80,153,179,19,209,195,113,83,250,183,149,223,2,42,171,23,211,154,80,147,75,80,99,93,251,180,181,66,73,121,17,89,63,118,226,197,97,246,223,205,246,215,194,23,205,213,6,73,218,28,251,14,0,228,105,150,57,20,25,33,238,234,123,215,240,187,135,129,82,248,62,80,181,26,81,243,142,24,146,130,103,199,183,229,185,119,193,118,217,151,55,252,25,39,232,15,92,134,188,111,28,30,216,115,63,145,232,218,98,168,212,87,86,67,159,138,241,210,140,94,133,40,190,173,212,244,216,247,188,100,69,14,153,26,222,125,161,191,194,93,25,127,34,67,36,36,152,254,154,235,221,159,153,224,58,128,224,85,45,179,195,95,161,103,104,123,48,158,55,176,88,107,242,251,208,252,230,246,34,197,214,226,155,187,90,208,52,104,157,104,222,153,81,25,221,150,95,126,131,0,210,46,35,47,141,242,199,113,111,243,214,211,33,209,53,56,105,175,220,156,249,20,243,66,141,220,193,15,89,43,9,111,202,42,166,225,200,54,230,139,229,40,158,83,214,153,202,130,194,241,145,159,72,95,226,14,246,121,146,135,157,228,143,78,139,168,144,127,167,101,229,220,197,238,215,187,196,138,155,232,67,138,27,21,251,161,170,201,184,31,51,40,168,225,100,58,79,142,94,122,161,186,111,89,173,248,195,229,14,187,133,190,146,14,203,148,118,5,26,131,248,76,37,217,68,51,249,233,75,142,73,116,242,166,185,205,128,168,196,40,27,13,29,223,207,149,194,34,69,192,71,68,1,246,244,144,187,244,120,160,95,79,181,15,24,106,69,225,181,6,29,251,198,26,158,16,97,30,47,145,208,242,236,31,194,146,166,111,100,158,33,93,57,208,246,8,225,13,93,205,223,32,224,90,215,64,17,214,33,89,98,215,157,54,110,156,31,199,190,90,216,128,160,161,37,193,76,77,142,81,173,119,28,49,249,170,211,189,7,227,32,30,218,106,46,180,95,145,113,131,217,165,67,50,236,6,227,134,46,13,234,90,89,251,188,12,104,196,90,37,88,58,128,130,43,198,226,90,65,204,238,78,247,129,6,124,113,10,242,115,82,254,195,168,251,195,186,213,46,214,196,28,132,224,33,207,94,115,209,81,191,93,13,42,40,52,6,7,74,148,251,197,197,175,121,135,19,33,154,102,62,245,252,12,142,82,0,206,36,176,243,185,168,48,9,2,123,34,200,160,230,56,115,84,119,133,78,70,228,220,212,8,225,18,226,12,244,167,60,135,131,99,233,245,32,23,81,174,163,67,178,180,189,109,69,213,190,181,159,245,107,183,74,11,149,59,239,213,99,218,66,196,189,171,192,4,125,177,43,39,244,62,86,176,242,29,178,133,39,134,208,235,15,143,130,248,184,37,180,117,159,231,235,202,114,154,95,148,142,25,181,18,186,65,85,222,35,138,203,75,126,239,170,29,239,248,116,68,99,227,250,172,169,149,75,98,27,80,87,68,75,133,172,100,152,135,149,47,223,150,182,92,220,191,148,17,59,10,222,117,77,230,72,148,171,75,238,108,235,55,249,52,73,114,13,225,231,156,185,83,152,88,242,124,159,148,38,168,16,222,190,23,17,64,7,51,122,141,101,119,194,250,78,226,7,136,182,118,238,104,230,132,181,232,63,65,153,68,181,126,180,166,181,141,248,181,29,131,188,142,150,9,146,244,149,121,72,226,229,126,167,228,186,122,74,215,154,108,21,16,76,83,76,105,230,61,211,120,109,40,217,88,148,106,145,66,130,23,239,165,62,60,55,157,158,81,209,53,215,175,77,217,36,142,110,93,34,138,24,59,186,30,30,79,116,38,92,57,2,230,183,217,130,31,150,103,218,104,222,69,70,93,0,46,53,235,2,171,80,57,227,104,230,252,244,227,134,88,127,92,45,184,154,12,185,67,129,196,230,77,63,129,87,188,90,241,232,6,25,211,24,74,185,15,107,149,162,134,247,173,132,64,125,220,71,8,99,25,171,38,192,213,71,143,34,153,96,149,6,239,109,211,219,108,23,60,42,114,104,250,226,8,53,212,1,84,37,246,232,90,5,52,135,134,86,207,80,48,186,181,241,48,57,65,169,105,100,18,213,16,183,152,58,88,128,141,118,3,155,116,127,236,46,229,213,186,152,155,107,250,82,66,134,57,139,144,238,164,188,255,187,160,124,61,126,65,253,253,163,50,152,104,109,2,213,160,120,246,164,243,90,4,247,110,172,14,125,155,202,166,64,78,218,219,163,101,254,196,236,236,68,34,45,46,112,220,157,102,86,99,122,249,116,37,116,49,124,218,206,76,231,58,71,239,203,179,96,159,36,184,227,129,82,253,173,63,118,228,68,175,141,88,250,120,6,247,237,10,190,125,199,222,64,59,6,238,87,177,53,47,95,229,71,219,64,196,188,243,12,176,31,131,185,12,39,103,202,60,180,72,18,169,65,162,67,122,115,168,82,217,41,66,185,197,229,72,101,149,95,135,125,11,236,4,10,19,172,206,115,242,180,90,205,24,235,126,243,194,188,13,136,232,197,232,40,178,217,153,169,84,18,123,153,115,104,73,44,176,107,199,5,158,223,81,177,131,73,208,59,231,226,236,57,52,224,64,116,5,85,22,14,160,235,88,48,148,139,183,59,37,42,198,9,111,213,164,142,161,196,120,197,82,152,49,137,13,73,185,62,187,128,181,76,255,164,94,243,30,222,32,236,77,206,57,29,69,227,149,31,228,9,158,218,119,131,67,168,218,154,222,246,16,92,62,73,6,221,207,68,38,164,213,128,20,156,192,35,210,142,1,125,217,248,96,167,54,53,115,142,247,85,235,196,201,51,135,31,76,49,159,70,116,227,65,61,201,140,102,220,171,104,211,18,162,247,238,224,25,86,159,147,68,64,198,16,177,248,102,42,166,126,28,55,231,145,89,145,228,210,68,206,181,123,233,111,157,144,15,22,43,33,247,149,245,222,191,153,40,198,82,179,112,101,124,55,221,59,169,90,150,52,218,219,113,163,238,90,186,1,180,165,175,8,156,96,8,240,221,26,13,114,17,92,188,139,166,103,24,251,67,136,144,99,185,141,253,107,45,130,67,184,226,208,89,84,134,86,36,254,119,199,139,26,199,83,138,158,202,233,168,41,167,104,90,10,147,176,48,0,51,142,116,231,175,168,59,225,211,199,209,199,244,108,69,48,155,165,139,95,161,157,5,15,132,117,65,69,250,9,119,204,20,18,88,87,21,186,138,205,48,110,20,87,175,190,148,78,108,249,30,171,193,26,252,224,171,44,171,253,218,27,22,119,85,101,67,182,126,137,150,187,157,107,89,202,198,6,80,110,149,227,76,42,16,121,131,48,53,246,174,162,88,228,120,102,160,161,211,247,39,222,170,248,177,34,217,155,113,43,62,224,227,251,59,246,102,212,174,12,74,146,251,173,56,74,109,50,163,201,30,244,91,26,123,84,60,13,105,1,190,67,216,113,172,127,232,179,213,219,44,53,148,38,243,56,139,150,58,106,228,105,47,190,71,126,91,212,21,177,202,38,108,183,34,51,7,93,58,74,154,49,112,42,223,116,56,6,253,25,248,216,247,139,165,173,230,124,1,22,54,207,38,118,240,221,114,98,240,151,223,34,43,88,135,27,13,121,6,35,122,225,23,143,30,57,65,5,69,111,53,20,86,169,210,44,251,243,90,178,10,75,83,52,58,19,175,10,48,199,39,196,60,246,63,217,83,108,34,248,184,143,53,19,20,96,20,126,44,253,155,81,103,53,78,59,249,60,27,45,161,20,200,70,11,165,249,65,124,184,99,98,27,36,150,59,5,87,23,63,137,140,24,44,142,8,150,142,38,78,246,70,172,23,74,91,169,68,217,72,243,106,208,60,204,177,247,77,98,212,37,110,247,22,22,136,203,28,3,167,29,20,179,134,233,204,139,158,49,196,104,90,127,55,168,130,143,180,12,72,159,237,194,128,36,42,94,44,244,41,36,161,85,192,228,84,170,44,200,64,106,150,127,89,60,108,62,231,39,79,89,41,123,16,133,112,245,31,84,201,116,162,192,240,97,7,123,185,62,214,130,106,196,226,127,112,88,47,75,19,247,19,82,60,246,185,75,194,112,160,37,250,38,191,26,6,59,145,0,151,220,7,253,205,8,120,142,163,81,133,85,39,75,145,45,40,201,183,188,208,44,19,171,67,254,99,141,166,62,24,66,230,42,63,118,197,144,158,180,54,71,255,252,138,251,143,70,139,87,102,220,30,43,227,98,224,208,244,181,223,81,62,212,216,70,43,46,150,49,66,167,232,134,172,140,165,203,67,38,1,67,107,140,156,84,47,156,63,7,139,187,184,180,194,244,17,146,55,197,9,39,30,142,134,214,120,101,253,128,10,138,107,83,159,16,70,253,59,134,234,213,235,48,79,73,253,209,52,222,166,234,165,38,127,238,47,204,189,253,246,221,90,29,118,251,247,148,189,87,107,15,185,159,34,154,222,236,48,244,115,18,230,134,11,55,208,200,208,224,101,53,147,170,222,248,109,204,193,107,45,219,160,1,105,247,244,53,39,126,48,117,133,33,252,101,172,82,180,140,91,98,129,10,203,4,87,213,21,17,152,178,236,168,65,71,186,48,61,130,239,61,189,219,131,40,56,186,125,50,85,22,164,247,11,33,171,160,74,217,232,10,131,181,21,244,90,237,133,202,100,86,220,131,102,190,90,124,50,114,227,30,158,100,90,3,229,130,3,51,103,121,86,135,113,21,63,208,161,125,149,116,31,45,70,106,2,99,130,218,48,139,3,23,11,161,212,137,32,156,71,7,97,115,71,108,203,221,146,35,218,146,70,177,246,190,105,208,187,77,203,98,242,75,71,216,157,137,222,102,86,31,143,174,221,24,85,164,27,158,4,133,10,32,10,119,221,97,133,142,205,170,161,202,63,92,205,237,146,29,200,32,243,47,148,99,246,105,166,71,207,210,203,224,234,220,94,135,168,248,198,133,249,207,55,225,169,61,8,238,48,58,172,186,143,239,248,92,177,69,77,146,242,99,35,6,230,159,233,146,91,145,199,213,212,21,67,96,70,171,116,72,158,14,145,85,52,242,246,86,202,157,33,66,72,32,181,227,189,249,75,78,24,7,43,119,190,188,180,83,160,29,207,152,146,210,63,172,231,198,86,81,62,108,202,232,206,172,220,213,235,154,220,20,121,115,69,166,64,217,17,74,66,110,250,113,220,94,52,22,37,152,50,146,147,45,245,67,134,199,48,35,9,251,182,227,24,87,23,146,60,186,188,118,24,205,22,24,12,116,88,136,182,75,204,244,108,133,6,41,133,190,116,19,33,199,251,32,205,179,202,239,73,169,21,75,155,161,185,45,193,18,147,241,79,107,123,192,211,72,120,254,198,216,80,127,59,159,126,122,188,119,44,184,136,196,180,43,132,102,124,240,188,136,48,247,165,22,238,138,90,176,184,109,176,175,1,195,57,124,17,27,114,73,105,173,213,12,83,48,133,179,119,188,45,73,93,78,20,70,205,143,47,238,91,220,129,16,64,216,185,29,106,22,75,126,63,100,120,191,180,100,186,166,127,126,150,168,227,41,193,244,239,141,98,113,121,82,164,226,93,119,191,95,181,157,202,62,229,76,20,98,97,199,207,134,132,146,235,26,16,224,125,218,235,99,217,164,49,3,203,224,64,187,75,125,71,177,224,155,247,8,136,41,102,223,103,173,165,8,14,128,50,214,60,216,216,47,13,35,92,240,115,130,116,155,26,230,54,0,251,150,187,73,127,216,91,145,148,41,85,20,27,132,24,55,26,188,29,96,247,160,245,44,20,255,200,85,208,198,216,218,74,99,230,199,230,213,100,224,68,109,129,65,157,113,249,22,80,108,113,207,97,77,120,50,203,232,220,151,102,116,34,161,86,102,162,161,186,186,136,168,71,2,129,58,112,121,41,88,41,216,163,48,61,86,218,233,243,229,160,60,110,244,105,172,74,56,110,92,228,86,81,164,163,6,138,253,116,59,190,188,246,154,130,80,67,215,129,36,112,219,223,235,89,99,93,253,100,63,172,45,228,1,222,69,71,249,99,243,35,10,181,206,200,19,214,101,215,231,6,51,179,97,7,83,173,109,208,105,170,27,202,72,146,66,64,180,148,146,236,155,228,147,47,81,53,153,85,191,149,172,81,233,123,207,137,143,161,103,130,40,51,143,156,241,215,48,236,235,67,173,240,130,53,103,78,107,242,229,131,25,53,149,163,165,51,14,65,223,128,232,24,84,166,210,54,8,4,29,72,206,130,26,13,111,11,119,87,179,112,83,206,179,35,127,19,11,156,182,87,95,197,34,99,75,237,187,29,143,133,224,43,253,99,157,192,169,132,179,209,111,183,51,42,175,78,89,191,84,69,148,244,45,138,9,32,193,89,243,198,224,249,193,175,229,239,118,188,187,253,165,167,14,141,76,215,165,87,191,123,94,81,83,60,63,253,97,138,22,35,237,231,175,114,242,97,34,33,68,156,41,164,123,45,245,139,111,159,24,133,128,141,158,1,35,13,237,94,1,115,181,216,96,123,124,109,231,124,60,126,254,149,140,210,153,76,223,69,172,252,216,69,116,9,198,232,231,17,72,221,248,123,73,131,186,85,215,42,204,249,21,34,31,55,137,131,187,124,191,112,217,163,250,231,64,177,175,114,172,167,72,76,140,217,161,56,48,10,50,164,67,128,34,58,109,220,31,227,134,141,229,146,127,227,129,82,61,220,95,43,144,92,100,33,179,159,226,205,215,111,63,229,167,225,192,38,207,91,32,57,245,119,113,166,68,220,217,251,101,238,118,183,129,232,48,180,19,65,124,151,156,30,116,61,192,107,110,201,131,149,151,149,125,247,24,170,73,86,103,222,70,58,129,82,55,136,22,169,9,55,48,7,12,53,110,189,218,30,7,2,109,150,134,134,11,50,164,220,19,19,6,53,122,207,250,46,236,233,168,19,60,188,160,29,120,10,178,114,230,127,217,168,200,215,150,125,169,114,95,49,85,163,238,5,77,43,159,234,21,99,142,153,202,93,122,60,174,116,186,7,48,174,155,139,208,181,235,200,144,249,112,219,160,101,241,125,36,54,57,238,25,193,72,142,44,16,97,103,54,74,55,163,160,72,127,38,129,26,10,52,165,109,74,228,120,210,163,186,174,129,211,225,85,163,147,108,181,68,110,104,243,241,251,162,218,244,103,206,107,118,88,241,180,196,147,163,126,144,166,112,219,122,40,230,245,99,97,6,80,242,214,81,32,193,125,133,23,2,55,51,144,66,114,134,197,48,95,31,35,18,68,187,33,242,198,19,103,19,13,26,31,71,141,127,180,97,138,105,226,64,233,26,82,238,102,14,20,39,38,240,205,33,56,245,31,207,244,69,23,187,32,172,209,151,71,176,119,8,254,81,139,229,67,52,205,133,242,36,247,77,107,94,70,31,48,67,166,239,133,181,231,196,104,196,187,114,241,61,43,173,109,127,235,132,93,29,34,174,95,185,99,245,2,119,205,58,175,15,215,133,117,201,129,206,148,151,236,93,38,170,121,110,32,34,211,152,147,209,111,65,155,181,228,73,13,211,32,77,86,240,22,204,63,41,108,227,207,31,226,9,201,138,136,214,6,107,122,254,148,167,122,116,139,66,53,31,199,63,51,93,154,223,247,25,33,207,206,237,48,204,75,117,179,193,166,38,52,1,70,164,0,225,23,199,89,93,202,234,181,203,73,152,117,168,65,6,109,83,95,233,40,1,24,196,183,59,65,102,189,100,154,110,51,50,155,16,211,173,1,107,211,90,243,10,203,160,85,148,222,86,150,231,225,6,29,71,94,185,26,55,60,94,230,47,252,17,22,239,12,71,77,235,147,110,60,52,192,231,14,96,51,35,39,125,123,109,219,84,111,136,146,192,225,187,184,29,231,29,247,213,254,201,101,32,219,42,154,102,2,26,62,155,163,182,130,155,172,29,62,230,227,55,133,174,195,31,83,4,57,75,3,240,220,253,244,95,243,197,156,125,149,13,134,176,187,244,88,242,22,126,212,198,76,106,174,250,232,104,166,198,49,198,63,149,248,225,193,18,214,104,31,219,44,177,153,24,116,215,119,222,168,57,96,127,95,6,241,75,97,192,236,230,185,197,7,128,77,146,212,233,5,16,125,227,243,52,25,96,147,232,204,128,189,88,138,206,220,176,86,153,146,245,72,21,166,251,46,242,187,178,207,122,66,147,66,80,65,144,174,147,33,5,203,90,128,79,248,210,232,124,116,249,255,1,204,110,164,160,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,50,51,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,10,47,70,111,110,116,78,97,109,101,32,47,75,66,83,66,85,74,43,78,105,109,98,117,115,82,111,109,78,111,57,76,45,82,101,103,117,10,47,70,108,97,103,115,32,52,10,47,70,111,110,116,66,66,111,120,32,91,45,49,54,56,32,45,50,56,49,32,49,48,48,48,32,57,50,52,93,10,47,65,115,99,101,110,116,32,54,55,56,10,47,67,97,112,72,101,105,103,104,116,32,54,53,49,10,47,68,101,115,99,101,110,116,32,45,50,49,54,10,47,73,116,97,108,105,99,65,110,103,108,101,32,48,10,47,83,116,101,109,86,32,56,53,10,47,88,72,101,105,103,104,116,32,52,53,48,10,47,67,104,97,114,83,101,116,32,40,47,65,47,67,47,68,47,69,47,72,47,73,47,74,47,76,47,77,47,83,47,84,47,86,47,87,47,90,47,97,47,98,47,98,114,97,99,107,101,116,108,101,102,116,47,98,114,97,99,107,101,116,114,105,103,104,116,47,99,47,99,111,108,111,110,47,99,111,109,109,97,47,100,47,101,47,101,110,100,97,115,104,47,102,47,102,105,47,103,47,104,47,104,121,112,104,101,110,47,105,47,107,47,108,47,109,47,110,47,111,47,111,110,101,47,112,47,112,97,114,101,110,108,101,102,116,47,112,97,114,101,110,114,105,103,104,116,47,112,101,114,105,111,100,47,112,108,117,115,47,113,47,113,117,111,116,101,114,105,103,104,116,47,114,47,115,47,116,47,116,119,111,47,117,47,118,47,119,47,120,47,121,47,122,41,10,47,70,111,110,116,70,105,108,101,32,50,50,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,50,52,32,48,32,111,98,106,32,60,60,10,47,76,101,110,103,116,104,49,32,49,54,52,55,10,47,76,101,110,103,116,104,50,32,57,49,48,52,10,47,76,101,110,103,116,104,51,32,48,10,47,76,101,110,103,116,104,32,57,57,52,55,32,32,32,32,32,32,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,218,173,121,101,84,156,221,146,53,238,78,112,2,157,224,238,238,18,220,221,189,129,134,166,177,198,2,4,9,238,18,28,130,75,112,39,193,221,130,67,176,224,174,193,157,192,144,247,157,59,119,214,253,190,249,51,115,127,116,175,231,212,62,181,171,234,236,58,213,189,186,105,222,168,105,178,72,88,57,90,0,101,28,33,80,22,14,86,118,65,128,10,200,193,194,205,85,195,209,65,197,81,64,137,69,3,104,227,38,15,53,7,3,94,48,30,52,26,26,41,23,160,57,20,228,8,145,54,135,2,5,1,186,64,43,128,52,208,18,192,201,9,224,16,16,16,64,163,1,72,57,58,121,185,128,108,108,161,0,122,109,13,93,6,38,38,230,127,90,254,108,1,88,120,253,3,121,241,116,5,217,64,0,180,47,15,238,64,176,163,147,3,16,2,125,161,248,95,59,106,2,129,0,168,45,16,96,13,2,3,1,82,170,106,250,242,42,178,0,122,89,21,109,128,44,16,2,116,121,41,66,205,205,2,12,178,4,40,129,44,129,16,87,32,3,192,218,209,5,0,254,123,1,176,116,132,88,129,254,148,230,202,250,194,37,225,10,48,7,184,58,1,45,65,47,110,64,79,75,160,211,31,136,25,224,4,116,113,0,185,186,190,60,3,64,174,0,27,23,115,8,244,229,12,160,142,0,16,196,18,236,102,245,39,129,23,187,181,227,95,9,57,185,56,190,236,112,120,193,94,200,212,28,93,161,174,150,46,32,39,40,224,37,170,154,180,204,223,121,66,109,205,161,127,98,187,130,94,96,128,163,245,203,78,43,71,75,183,63,37,253,133,189,208,188,160,80,115,16,196,21,0,5,122,66,255,196,178,0,2,172,64,174,78,96,115,175,151,216,47,100,78,46,160,191,210,112,115,5,65,108,254,153,1,51,192,5,104,99,238,98,5,6,186,186,190,208,188,112,255,57,157,127,214,9,248,111,213,155,59,57,129,189,254,242,118,252,107,215,127,229,0,130,186,2,193,214,172,104,28,156,47,49,45,161,47,177,109,64,16,52,182,63,253,34,15,177,118,4,112,176,255,109,183,114,115,250,7,230,14,116,249,235,128,232,255,244,12,195,75,18,230,86,142,16,176,23,192,10,104,141,198,166,226,8,125,9,9,160,255,223,169,204,250,239,19,249,223,32,241,191,69,224,127,139,188,255,55,113,255,85,163,255,118,137,255,175,247,249,95,169,101,220,192,96,21,115,135,151,6,248,123,206,0,94,6,141,57,4,240,50,107,0,74,128,63,195,6,108,238,2,248,51,112,64,150,255,143,171,185,3,8,236,245,63,57,255,235,110,93,224,223,89,255,39,231,191,194,127,135,144,128,216,188,40,196,194,193,195,202,243,183,25,228,42,3,242,4,90,169,129,160,150,182,0,107,115,240,203,225,253,101,215,134,88,1,93,192,32,8,240,69,228,191,206,247,197,137,157,253,95,48,45,91,144,165,61,228,143,26,60,127,67,64,136,213,191,214,240,162,219,95,21,176,201,170,170,234,74,232,49,253,15,211,246,175,205,106,47,93,1,213,242,114,2,2,254,51,146,174,178,163,213,127,45,254,80,73,74,58,122,2,188,89,56,120,5,0,44,156,124,236,47,151,241,229,58,10,112,114,251,254,127,194,254,69,196,241,207,181,178,57,212,5,228,9,48,100,103,101,103,231,0,188,188,255,227,245,207,149,241,191,208,188,131,88,58,90,253,233,35,77,168,57,196,234,165,245,254,203,240,7,182,116,115,113,121,81,252,175,105,240,82,249,63,214,127,93,2,32,208,19,104,137,182,48,235,104,41,20,100,151,154,145,6,173,38,202,238,31,145,54,236,238,228,128,239,15,118,42,174,211,42,200,243,175,116,236,240,75,13,91,19,40,51,123,172,10,102,173,31,19,124,250,230,245,227,192,233,247,150,2,227,246,96,39,33,152,174,35,25,248,43,151,220,151,138,161,43,15,119,153,182,133,143,105,59,144,205,164,24,51,237,80,55,202,251,100,70,105,21,193,128,151,93,103,123,125,68,93,195,164,232,17,233,245,88,11,151,11,202,201,13,131,63,149,123,158,255,43,234,107,39,172,15,150,41,181,177,4,173,56,245,48,120,213,249,7,135,180,137,123,55,215,116,189,67,3,253,125,29,103,136,93,91,100,76,159,99,81,105,132,204,137,62,36,29,188,249,4,245,50,115,185,172,179,124,66,188,119,231,115,67,247,192,244,198,79,251,237,70,21,0,121,155,234,40,85,243,126,234,142,211,159,190,165,248,226,227,152,145,100,138,107,221,130,109,61,251,251,147,254,75,91,41,17,42,64,40,121,240,99,58,159,79,128,76,53,85,140,101,200,249,41,206,86,183,208,21,54,59,121,210,10,147,130,118,122,155,187,158,255,85,221,124,50,166,143,12,27,61,87,250,145,188,231,185,121,142,174,185,30,183,109,147,144,204,34,189,198,207,215,25,232,154,215,146,110,234,141,123,126,164,175,18,114,179,230,160,35,253,185,19,29,209,148,85,181,138,93,117,133,144,119,116,241,123,15,9,72,121,67,171,132,30,123,114,69,62,202,3,90,163,40,92,184,224,32,26,188,247,241,217,247,251,111,175,143,92,36,53,42,53,173,217,68,15,106,126,230,177,23,149,217,45,68,157,191,127,172,181,229,147,251,48,166,241,170,29,63,23,127,202,215,164,87,190,28,214,103,224,140,237,166,137,163,177,50,79,218,226,162,99,87,106,165,141,248,203,231,69,222,137,224,10,94,184,95,137,159,133,25,197,31,146,212,47,183,247,17,116,99,162,79,43,139,214,81,113,126,0,140,226,189,223,85,79,92,42,149,166,137,22,61,178,18,29,72,125,21,181,40,171,35,34,170,27,159,251,56,165,21,130,162,84,74,110,197,168,156,66,18,103,27,174,142,249,193,108,176,25,93,238,219,12,220,219,105,59,88,210,130,193,87,145,133,126,132,134,77,196,4,220,171,104,250,222,163,175,239,98,103,165,127,139,10,162,230,145,85,19,119,88,126,176,192,146,87,57,12,18,214,53,92,114,134,181,120,181,158,133,41,2,143,30,241,185,178,36,236,237,175,148,249,230,231,54,54,13,22,193,238,11,121,186,100,10,226,12,12,66,97,94,147,22,9,152,176,125,3,195,41,152,29,166,31,13,123,50,109,151,93,116,176,17,90,197,145,99,14,3,210,189,93,149,157,40,190,151,78,115,172,50,228,254,94,103,123,133,120,94,202,30,152,2,164,112,51,244,143,195,165,170,189,99,162,39,227,120,13,154,243,143,250,122,145,9,52,192,178,188,46,175,218,172,177,177,66,26,229,57,49,254,200,111,10,31,10,206,192,88,57,116,209,7,185,148,76,219,14,21,245,213,82,29,158,148,13,4,164,202,212,241,29,121,51,2,40,172,81,55,57,70,173,65,2,130,95,216,94,163,86,81,128,206,64,0,224,106,109,226,192,92,139,54,53,168,189,66,241,149,87,5,153,219,182,70,149,18,33,11,31,156,239,98,170,165,9,229,105,125,79,115,230,79,137,253,238,132,125,88,105,7,241,92,84,164,97,12,49,171,108,47,219,250,231,169,126,77,32,122,45,39,150,246,61,73,98,140,18,159,219,121,72,142,1,14,238,248,229,214,192,133,102,107,115,128,46,63,50,234,254,4,199,116,159,118,195,253,165,195,113,122,182,124,215,60,109,115,103,231,87,137,192,253,55,116,143,11,101,31,253,56,87,202,24,168,77,220,246,131,90,13,187,82,60,242,47,98,159,108,43,92,185,251,197,95,61,238,226,91,137,173,248,143,193,40,142,191,161,33,100,56,70,205,150,149,70,218,254,125,82,214,153,39,58,12,145,178,23,57,87,241,237,175,224,243,125,118,173,123,181,5,3,43,14,199,23,129,147,4,181,231,174,34,48,133,178,69,189,31,133,133,90,136,249,165,51,75,172,202,90,56,154,191,119,168,208,150,49,179,139,214,248,250,142,160,6,151,106,224,56,38,107,129,27,221,86,58,19,78,250,237,155,21,221,239,188,33,155,8,191,59,194,123,54,48,193,102,223,115,6,136,224,47,170,13,62,86,44,236,96,93,115,33,82,159,8,51,10,234,192,83,243,149,6,67,5,58,8,179,208,150,142,80,131,191,109,117,10,92,244,8,177,153,195,140,124,242,158,164,15,67,250,37,196,211,254,186,160,102,40,142,59,53,162,93,218,45,70,66,194,223,120,180,126,213,220,132,185,81,222,191,151,160,46,173,91,42,205,190,33,184,231,247,200,114,254,132,18,219,64,109,174,250,119,121,70,250,36,234,64,127,122,52,85,202,68,19,109,26,98,58,116,75,130,195,241,150,169,142,152,216,42,154,159,66,14,54,201,143,99,116,184,137,209,102,6,229,136,191,105,90,241,21,19,160,54,249,204,128,114,254,201,211,239,159,11,160,163,236,243,209,71,0,172,159,130,204,158,214,67,30,54,81,186,228,35,217,207,173,189,93,220,130,38,239,145,134,112,53,147,150,216,18,14,146,182,143,182,115,98,150,137,210,228,239,3,190,102,150,12,18,233,208,169,88,167,220,188,230,140,116,27,204,193,48,82,122,239,162,23,78,175,108,33,60,191,189,106,223,91,113,139,79,95,242,35,1,238,211,148,187,198,3,125,152,158,217,105,50,177,14,243,207,64,139,74,229,100,87,10,228,84,55,134,85,42,48,36,248,41,4,206,188,192,252,231,214,243,171,12,56,25,158,228,54,90,79,145,227,201,57,158,197,161,45,107,43,96,217,175,19,191,130,147,145,124,12,158,107,228,171,46,230,50,117,148,207,244,164,223,235,223,168,145,24,149,62,221,253,152,113,183,239,38,59,76,42,25,93,85,252,238,246,225,228,249,222,189,81,252,17,113,234,55,209,79,85,161,84,154,98,9,10,171,240,212,199,138,93,132,92,4,180,125,6,23,155,107,124,254,152,11,150,132,161,238,157,251,128,237,146,225,71,160,53,87,198,248,17,51,141,3,115,43,178,65,203,153,145,62,67,56,182,101,25,100,243,38,252,44,252,193,194,81,16,122,192,193,216,213,148,172,148,214,187,79,68,130,194,78,150,41,148,170,90,91,194,212,161,37,48,66,219,240,90,171,234,213,70,199,92,141,239,40,171,197,9,218,88,251,140,213,65,70,159,17,171,87,170,186,139,156,196,50,191,177,170,211,253,35,229,225,142,203,27,132,121,238,25,252,189,145,163,215,138,121,98,184,201,87,116,51,123,108,21,229,96,126,6,106,189,100,114,15,66,27,138,188,56,172,252,116,17,96,201,24,194,186,30,39,195,71,7,204,249,97,1,140,223,4,89,126,20,52,252,211,106,183,142,249,244,188,109,199,69,157,179,161,13,165,167,185,171,10,72,173,150,157,151,210,100,79,112,191,26,3,219,53,178,155,70,55,115,115,126,58,70,137,214,249,5,120,140,235,21,4,227,93,113,50,90,129,65,4,155,148,9,33,88,123,76,202,50,158,60,224,213,190,222,64,69,93,50,37,16,86,122,162,16,74,106,92,51,39,226,38,155,87,97,51,113,101,56,21,10,230,73,174,91,237,219,166,220,246,18,46,46,235,210,140,107,255,96,38,46,103,181,139,116,83,187,159,196,137,104,226,124,2,187,232,87,46,235,39,86,131,227,208,3,7,169,51,132,141,250,80,182,27,30,161,233,54,119,59,198,109,14,205,205,94,175,190,189,118,153,233,87,221,234,144,220,176,187,181,165,55,23,37,17,19,220,202,193,48,159,145,178,216,166,10,65,137,2,45,218,243,42,112,151,63,156,173,219,225,189,171,90,189,46,68,145,235,8,42,174,95,149,87,78,83,45,239,47,157,110,187,41,5,163,22,40,136,251,46,16,148,57,135,61,183,110,150,7,172,218,154,154,48,240,13,25,170,77,248,88,18,150,117,6,37,157,112,164,35,123,96,165,140,165,145,254,246,129,118,234,123,97,119,32,164,220,142,140,113,240,224,70,160,179,143,80,158,20,145,100,112,93,116,17,241,240,172,251,132,5,123,161,207,182,3,94,137,27,76,156,48,125,24,215,161,71,166,96,67,182,216,86,225,173,33,158,146,35,89,140,94,39,140,40,29,186,232,206,3,195,96,222,38,254,174,224,90,231,218,124,224,146,224,63,177,39,99,103,181,175,112,204,245,61,122,162,239,26,199,207,216,184,204,252,136,86,164,77,210,28,255,193,113,155,70,208,11,167,83,28,82,76,79,189,219,247,126,157,247,120,141,198,142,203,182,17,231,203,156,195,128,134,233,171,197,245,32,249,47,80,151,117,14,252,48,246,222,121,23,35,217,73,233,216,137,73,45,110,108,153,137,11,148,166,201,84,198,162,104,178,94,141,218,133,210,174,174,55,100,166,100,69,27,147,91,5,70,35,237,169,217,52,194,25,218,23,239,46,173,88,240,14,232,171,106,83,86,172,137,63,142,224,231,128,249,38,156,168,100,68,38,124,104,159,137,64,5,131,121,234,81,79,71,234,249,159,188,229,68,230,223,81,110,61,187,108,122,195,143,157,110,44,42,5,49,142,123,21,2,126,14,186,172,44,198,53,101,227,138,25,40,110,7,252,148,239,59,140,16,130,98,228,85,15,237,115,93,18,114,121,53,9,65,253,101,146,107,84,209,162,153,59,6,106,52,76,250,75,149,6,89,31,217,213,82,140,10,57,10,103,225,130,180,148,107,74,80,184,38,62,190,198,38,51,61,83,35,165,176,183,231,161,25,147,209,9,239,179,102,61,139,219,87,91,153,243,34,250,230,135,36,107,143,119,150,172,126,170,35,158,250,154,29,188,197,82,160,118,191,181,207,177,151,103,82,115,212,215,108,80,158,234,79,210,235,188,161,145,198,252,8,127,56,200,18,67,14,229,18,154,108,49,158,219,30,65,219,9,218,182,161,189,98,59,167,184,190,42,77,92,79,138,94,69,134,119,251,188,251,118,45,203,144,218,66,149,119,171,16,198,199,216,96,197,104,136,33,151,167,184,173,145,206,176,71,39,239,166,116,111,125,10,35,65,188,236,46,193,112,170,115,197,140,151,8,222,172,114,82,135,73,97,41,123,17,76,108,200,249,21,107,127,161,220,78,114,118,221,198,134,113,151,178,178,151,107,239,23,98,237,54,234,109,142,143,201,67,88,189,10,231,18,73,37,164,8,172,81,206,107,28,166,253,56,234,230,141,108,114,154,66,54,223,32,89,153,17,126,224,204,226,85,152,204,194,138,70,176,241,45,245,161,213,204,187,254,177,187,63,219,145,20,254,184,34,235,67,208,168,134,145,113,146,23,75,81,7,57,4,179,76,251,241,41,166,118,118,220,190,249,238,14,161,203,183,155,104,224,203,176,153,210,173,56,25,125,38,233,147,71,16,116,221,45,94,63,123,246,205,117,19,78,135,199,60,135,127,139,172,68,81,50,31,136,49,70,109,138,139,74,32,26,158,3,225,190,97,50,152,234,117,193,73,162,28,229,154,83,159,142,72,100,72,6,242,244,18,65,173,29,82,68,243,215,44,192,80,97,74,60,82,240,151,246,173,239,37,182,211,26,21,93,104,58,10,68,69,206,228,184,86,156,209,34,46,213,130,209,32,184,218,37,188,197,158,67,145,71,116,143,150,224,9,218,49,129,193,194,133,111,78,229,10,172,146,46,154,137,153,253,81,42,59,90,42,191,200,76,147,237,195,200,25,60,110,225,147,7,16,134,18,116,191,228,164,11,205,63,97,40,35,35,233,44,134,83,218,131,25,178,135,177,134,69,244,253,154,231,7,142,56,46,186,122,33,6,187,217,208,6,78,50,61,118,230,17,224,247,120,112,11,88,63,121,200,40,181,78,188,181,26,99,171,125,165,46,30,163,47,74,154,23,231,60,1,9,193,29,255,100,224,231,194,217,155,244,121,76,1,229,15,55,124,107,116,246,105,49,151,105,130,98,94,15,69,219,193,232,227,120,29,102,168,98,55,110,228,9,31,27,89,70,58,43,59,73,71,109,203,122,106,195,1,49,18,149,77,184,206,7,103,239,85,191,124,249,165,93,227,84,44,34,123,176,203,120,91,34,199,226,238,208,186,182,220,80,162,215,248,161,159,207,148,141,182,83,30,215,87,72,172,74,231,174,206,241,117,110,211,83,231,145,138,28,240,11,127,99,10,218,23,59,51,204,135,93,107,73,244,76,200,13,27,152,10,249,29,62,226,186,46,34,192,96,231,89,144,21,149,86,111,107,95,68,157,84,61,219,91,147,234,189,253,105,220,186,187,128,180,138,46,97,243,228,227,90,49,53,49,74,89,132,188,24,137,77,213,8,76,205,1,74,72,140,19,63,115,59,194,158,214,211,151,143,159,212,130,223,169,55,183,87,89,229,106,221,24,239,201,62,34,121,123,108,88,243,227,73,1,100,250,27,76,216,186,159,165,103,52,154,13,51,30,183,206,30,219,193,243,219,68,251,7,68,162,114,17,2,29,199,21,152,150,72,228,36,89,41,0,110,111,106,197,70,83,59,105,94,205,113,47,126,106,105,12,5,243,37,94,216,123,46,217,28,103,116,178,219,108,150,144,143,225,188,204,195,189,36,226,133,145,75,232,212,4,245,99,115,34,85,108,57,247,175,184,159,125,169,123,31,57,57,223,165,147,248,31,189,131,7,229,164,138,234,115,80,170,17,11,154,195,33,139,185,94,193,219,226,163,221,211,89,255,222,95,195,215,46,237,200,239,138,233,85,19,17,211,206,231,147,134,158,205,180,187,56,117,75,28,36,93,219,92,224,23,17,245,230,86,178,55,223,22,157,158,113,12,64,170,150,219,79,137,41,18,189,186,115,241,42,42,20,243,37,48,184,37,169,246,190,90,35,94,160,143,199,232,162,75,73,244,184,145,226,60,129,185,16,14,212,145,216,240,41,143,59,51,245,104,132,165,224,32,42,216,65,52,159,143,121,133,110,162,21,180,197,179,9,113,41,202,35,31,48,63,65,184,183,45,68,32,95,67,28,44,137,134,218,156,144,225,23,127,126,62,10,251,250,217,216,171,68,210,32,85,245,160,254,138,196,12,201,118,43,114,109,160,48,110,118,144,72,82,9,134,38,193,68,239,208,178,12,240,110,27,172,8,232,45,228,132,209,190,253,53,72,82,107,183,14,140,208,38,220,98,122,84,248,252,136,237,156,104,124,172,247,250,140,248,156,64,110,242,125,223,30,212,114,59,178,215,19,237,76,165,229,44,116,162,122,193,244,6,206,28,154,41,31,93,144,250,216,206,197,195,103,197,225,42,60,84,118,176,136,32,158,203,147,70,139,227,250,24,155,50,242,112,138,126,74,213,197,76,54,234,34,80,33,39,76,197,47,68,118,7,124,147,105,205,22,140,211,210,168,126,188,219,176,138,56,40,61,157,18,27,161,218,58,148,165,46,92,135,66,28,185,186,24,135,224,223,102,155,89,112,65,59,111,242,139,149,67,194,210,115,143,252,54,230,172,190,236,44,241,250,244,14,86,243,125,187,24,133,48,115,34,158,163,2,251,217,199,34,251,209,48,206,200,204,130,77,219,77,148,54,151,233,213,140,234,200,70,67,92,19,153,165,101,248,138,228,238,184,96,229,121,164,231,168,219,72,131,108,143,248,181,2,110,97,20,154,6,164,224,16,69,62,184,234,218,188,61,248,111,25,243,48,30,1,38,90,242,2,112,134,245,212,182,17,118,17,212,204,110,199,54,65,198,170,54,107,230,93,164,33,41,179,191,118,127,152,90,151,44,251,117,222,16,44,225,220,240,205,249,94,165,126,98,187,76,165,71,68,33,2,47,14,11,245,102,22,33,222,235,141,42,145,139,142,158,53,150,173,145,96,183,36,169,224,76,165,115,123,223,129,207,86,66,147,98,62,189,242,76,145,133,135,78,243,192,46,154,5,224,20,185,71,60,147,251,203,4,171,239,209,36,190,73,175,203,56,71,128,139,61,152,70,148,127,103,129,205,156,67,230,216,132,245,221,247,77,88,227,88,127,93,147,12,118,189,246,91,102,132,82,84,102,247,0,31,139,198,133,182,215,128,198,135,144,11,58,204,183,39,121,236,221,230,139,108,13,241,249,63,250,244,157,11,228,73,130,37,171,19,227,176,17,207,89,102,53,195,214,148,201,12,217,242,13,211,237,27,195,203,225,135,81,133,66,156,38,88,59,173,215,136,33,245,191,2,1,221,249,163,100,226,101,15,62,59,218,244,73,213,204,207,139,226,237,226,119,24,221,25,135,184,205,175,98,2,106,174,191,109,180,157,159,113,154,50,56,95,104,119,227,227,45,14,54,207,246,127,30,29,133,124,32,143,187,32,52,206,182,22,43,106,70,115,71,104,196,42,123,245,165,214,102,95,205,5,184,68,65,13,255,217,200,188,183,246,182,102,120,161,72,176,253,102,5,192,58,146,2,239,40,166,216,157,104,121,183,48,94,62,152,161,122,124,50,175,149,213,224,234,215,186,83,119,128,18,92,241,253,250,142,107,252,86,214,70,240,18,214,26,22,167,215,66,140,255,71,132,143,134,210,118,48,249,160,72,59,74,252,196,77,6,217,232,125,6,247,205,101,124,127,6,171,244,230,167,198,38,119,13,196,121,38,131,190,116,164,88,239,91,91,230,212,200,22,169,165,115,9,73,193,150,111,15,254,240,49,225,109,128,172,234,145,229,30,201,17,17,169,143,58,12,32,238,9,177,205,75,8,101,170,241,44,242,71,182,8,208,219,139,226,52,138,136,96,7,79,191,183,180,82,12,9,9,218,50,19,178,231,45,159,155,165,202,90,74,0,44,82,168,132,85,243,227,220,34,17,174,29,76,209,57,66,95,162,35,146,118,39,149,243,51,55,26,26,205,136,62,109,215,15,146,95,220,240,43,48,56,177,161,231,197,214,94,194,240,248,88,225,134,186,57,206,198,173,7,143,98,207,18,99,210,28,155,156,123,92,77,191,217,90,207,189,255,196,168,34,106,253,75,237,224,234,30,193,207,82,251,62,113,169,79,219,86,56,135,71,198,64,242,251,48,84,55,254,188,88,34,200,31,219,105,124,64,120,78,87,152,164,175,134,27,199,94,1,211,178,30,93,131,188,18,253,135,92,71,217,30,171,161,128,81,131,89,100,226,93,129,27,81,116,230,176,251,125,132,15,250,16,47,183,164,154,204,109,252,179,66,150,224,0,202,117,230,253,73,225,244,239,90,125,73,74,0,77,48,82,1,129,215,244,225,180,152,34,44,213,199,126,211,235,163,85,107,57,211,128,71,158,171,89,76,5,166,17,206,96,158,139,196,88,21,82,229,125,15,190,215,226,84,160,64,45,161,47,215,24,71,177,41,50,41,253,31,73,20,59,180,115,210,197,17,202,170,88,48,39,201,34,136,189,220,91,86,157,172,217,5,244,62,141,230,26,10,39,199,132,235,6,125,155,147,166,190,142,174,190,7,112,26,237,100,29,200,188,198,147,210,173,85,168,181,147,160,54,247,51,86,80,253,204,55,17,27,190,167,248,186,110,23,156,176,132,125,92,62,94,185,57,252,67,219,127,104,75,62,207,81,151,220,68,230,16,6,96,152,63,160,244,204,249,141,142,185,169,147,94,138,43,63,178,134,105,237,160,170,122,96,2,126,170,182,24,121,73,187,167,101,182,153,82,60,254,181,56,57,236,219,171,80,165,136,197,51,228,227,153,42,162,7,130,12,7,84,89,188,78,25,12,13,42,216,246,242,47,179,188,52,218,13,85,162,175,156,14,116,214,216,138,249,8,85,137,10,251,109,43,190,251,187,98,249,127,183,236,120,104,75,251,141,21,50,113,163,122,52,116,195,182,22,149,123,201,77,19,178,110,16,161,84,253,45,120,233,140,112,185,232,254,114,85,122,91,177,22,63,47,244,118,154,180,151,110,234,163,109,51,228,22,116,30,166,182,207,207,152,254,225,96,124,113,139,69,44,117,192,170,107,241,152,131,79,126,139,87,29,72,92,32,19,176,205,207,209,177,208,24,207,182,27,42,96,26,50,242,19,188,51,117,218,239,195,159,144,128,245,35,143,59,181,150,172,100,73,229,172,113,2,41,206,139,187,113,156,18,244,22,19,190,90,117,188,66,44,98,62,78,235,208,24,116,27,77,134,83,133,201,234,117,5,103,181,133,73,78,102,168,7,97,142,168,131,105,62,250,212,54,26,97,242,214,152,97,70,147,9,129,21,233,132,152,194,33,239,96,126,108,104,90,150,233,32,100,98,49,168,30,49,43,99,33,70,214,227,242,190,154,53,161,144,253,14,86,74,226,210,3,156,47,212,129,26,120,140,32,196,214,114,23,76,248,205,64,76,194,70,47,175,161,248,11,51,122,136,9,77,245,61,127,81,192,76,148,189,125,86,113,46,138,37,59,34,78,152,195,71,219,163,54,111,207,69,210,140,133,28,59,141,105,126,71,26,219,247,33,244,2,9,146,156,31,178,107,234,158,26,111,141,102,216,98,227,210,182,97,194,48,212,222,54,6,158,223,115,63,173,21,62,104,182,154,122,121,33,251,195,128,184,211,75,93,3,39,222,191,239,88,228,151,168,238,42,49,94,144,179,11,254,26,217,169,82,91,147,180,188,121,69,72,38,197,143,140,82,152,101,201,231,74,225,108,224,61,152,203,58,221,191,88,173,207,143,132,134,223,224,8,69,64,245,209,0,181,40,239,243,142,8,42,158,17,80,101,56,254,234,110,17,168,220,242,200,112,174,121,27,2,69,177,6,227,118,181,250,29,92,119,56,192,253,238,231,181,207,43,43,87,72,83,25,204,234,91,214,11,164,4,58,52,186,121,128,78,104,213,246,15,243,235,21,226,117,159,49,143,173,205,135,223,120,227,46,8,105,7,73,136,24,22,115,24,254,104,22,89,229,253,74,82,237,138,212,171,232,47,89,200,222,191,152,11,211,238,242,81,96,81,16,137,66,121,194,98,49,5,199,193,54,151,62,171,141,54,203,150,214,210,77,75,196,59,90,123,13,251,36,88,105,242,196,220,164,7,233,54,46,199,79,13,156,198,53,249,42,31,14,238,19,78,207,58,234,111,123,139,2,2,158,189,243,190,60,65,174,39,152,201,235,152,71,250,155,33,17,190,125,43,162,171,149,38,251,232,187,165,61,120,94,164,86,5,32,184,149,28,217,195,150,85,192,147,142,37,182,65,250,49,227,179,14,117,121,224,163,200,12,80,166,149,164,7,151,76,165,36,131,9,53,37,138,32,103,43,78,7,117,217,57,5,6,3,98,172,2,92,132,0,36,109,91,149,133,87,120,228,1,223,48,191,24,234,165,13,61,137,103,201,191,174,127,187,49,206,15,120,203,218,212,99,63,66,97,84,70,240,76,18,0,213,199,19,28,119,145,112,15,117,242,122,98,166,203,197,37,100,215,138,194,116,91,23,218,183,211,110,24,84,162,242,238,49,185,53,235,180,205,233,142,130,184,30,234,189,1,169,55,84,169,28,201,82,88,128,28,98,87,252,239,82,142,18,153,109,49,166,217,156,88,210,209,35,230,213,96,97,221,137,215,1,20,225,120,55,136,218,155,39,168,46,65,204,178,228,228,94,50,23,233,136,120,237,236,77,101,104,105,191,120,46,151,91,197,36,132,164,165,141,168,5,115,122,249,51,68,99,219,148,198,214,126,146,163,196,8,41,169,114,151,179,243,130,79,121,44,52,14,11,58,45,88,152,176,66,24,202,69,152,238,132,144,57,141,159,109,42,206,105,181,188,91,46,76,17,226,141,179,104,211,131,48,70,87,10,203,77,138,43,53,115,166,208,119,176,221,170,80,217,102,213,187,220,138,247,136,21,41,145,81,187,169,66,239,24,21,161,180,44,30,12,181,203,239,2,229,4,156,221,95,189,73,42,23,143,31,43,169,217,102,88,214,118,235,230,101,253,114,103,242,109,29,194,184,167,88,179,67,247,107,224,33,250,123,66,83,139,82,196,110,165,199,64,7,143,44,20,49,62,117,254,84,31,118,48,133,62,80,103,151,116,33,55,66,91,250,136,107,21,189,71,235,62,59,84,133,227,136,15,35,122,66,253,113,32,185,59,222,137,201,49,47,185,123,94,120,79,219,242,203,225,145,144,1,217,74,24,162,179,107,39,199,5,237,241,71,46,32,194,154,93,96,238,167,129,54,4,214,125,116,91,148,13,137,182,210,208,91,61,86,226,242,61,126,85,69,51,1,225,254,95,37,184,177,188,73,194,101,159,232,231,93,73,91,175,166,6,197,74,187,74,19,224,105,7,76,45,110,240,171,48,152,81,71,131,191,204,204,81,192,183,70,134,135,189,254,129,186,94,68,149,210,203,120,229,205,186,11,48,117,114,162,42,188,215,68,26,141,98,222,24,139,95,154,119,28,118,6,177,46,195,72,198,11,45,30,71,23,207,13,194,58,96,183,151,108,155,152,14,103,190,187,124,255,189,144,173,92,147,111,127,136,209,135,126,189,10,231,253,14,75,25,85,229,32,167,30,212,22,150,251,148,39,71,218,44,221,173,42,110,239,83,251,4,53,133,64,177,51,212,207,171,56,43,227,137,36,249,157,126,104,43,107,58,92,184,181,74,17,171,43,179,226,116,193,155,189,51,65,103,55,254,29,59,142,148,22,133,107,85,101,246,208,196,71,50,238,135,171,18,150,116,169,14,60,207,211,10,68,59,176,130,97,234,14,243,152,137,22,129,91,210,179,159,174,121,192,230,102,71,16,160,148,192,151,6,52,30,159,104,243,170,168,114,27,228,6,251,164,93,26,21,119,118,22,231,22,156,146,77,224,121,248,228,17,87,92,170,116,115,189,229,125,232,81,191,243,221,31,9,138,142,214,160,224,17,52,125,60,3,3,91,149,75,214,112,43,6,61,120,46,235,14,31,221,209,62,50,214,115,144,19,41,74,203,55,132,102,82,12,86,23,81,181,241,72,68,136,61,218,6,106,83,94,247,144,165,167,45,156,22,62,148,253,102,148,118,8,19,41,244,174,11,67,150,102,50,69,189,205,77,102,198,245,130,161,251,250,30,27,249,135,127,78,179,20,20,81,146,185,142,9,32,64,246,154,139,214,111,22,17,168,49,233,187,81,128,110,111,248,46,205,157,44,3,145,237,77,191,100,122,250,111,43,13,32,172,168,179,183,104,110,131,195,72,142,248,208,173,32,26,28,62,87,197,152,168,183,243,156,221,155,41,47,227,139,224,119,240,96,206,165,235,184,123,56,191,53,173,0,50,209,252,171,41,161,4,64,145,254,150,44,209,41,247,77,159,254,113,172,95,164,167,245,206,116,25,114,114,160,27,64,177,78,246,242,1,78,182,25,246,226,39,161,181,84,15,206,113,102,236,120,104,27,46,243,132,54,246,207,116,165,141,19,103,115,5,193,196,153,52,29,129,125,178,20,57,238,144,206,201,47,221,49,2,110,225,162,100,4,69,154,167,166,139,41,93,166,103,241,102,114,32,170,10,23,255,202,121,15,114,200,198,205,198,60,88,199,124,180,189,133,71,206,231,48,114,116,219,74,62,94,79,142,1,15,25,70,17,39,103,133,239,4,31,79,62,191,136,238,233,205,65,4,248,135,250,194,154,142,4,1,245,89,57,179,104,135,248,19,133,39,63,24,187,168,217,245,231,140,168,100,225,128,11,236,204,40,15,179,37,229,39,107,140,223,252,232,123,139,239,138,127,115,107,60,18,157,161,113,100,75,63,198,214,66,198,106,73,113,144,103,79,205,176,108,226,155,41,58,125,192,115,124,98,252,67,3,102,1,145,213,98,126,11,136,169,61,145,228,172,24,233,233,129,47,95,132,191,94,248,110,4,54,52,34,49,4,13,235,114,148,139,115,231,127,251,66,48,74,1,117,235,245,18,139,126,189,244,212,58,147,190,4,226,48,110,23,201,172,89,21,215,242,229,48,239,18,64,165,183,130,141,100,233,209,243,94,77,53,156,211,12,86,179,236,199,111,246,238,136,99,36,193,203,177,46,171,44,45,80,13,176,125,175,12,145,29,16,82,162,103,224,66,62,103,173,141,138,55,176,162,146,18,36,70,110,38,107,135,216,239,99,213,237,191,209,24,113,113,227,169,218,101,241,173,64,157,46,121,28,217,216,172,36,96,225,209,248,26,176,7,208,62,201,32,227,50,104,23,102,15,179,170,215,241,163,79,72,45,202,246,186,78,37,35,193,166,245,80,84,91,155,83,89,200,56,148,66,212,29,33,142,156,81,221,0,230,45,49,18,89,89,156,205,17,33,165,253,80,15,87,128,141,12,64,45,96,66,228,205,202,201,231,153,16,171,185,23,7,48,60,81,11,184,103,217,172,180,13,86,68,133,80,196,109,115,50,152,244,37,75,202,73,171,14,43,175,148,252,254,242,53,240,206,225,251,201,167,225,161,113,241,83,188,231,134,68,241,41,81,178,167,87,161,243,180,225,184,25,95,117,220,105,137,5,175,211,233,30,249,171,238,176,170,62,129,43,214,174,80,15,126,131,231,238,139,208,199,179,184,98,70,228,51,17,68,185,215,41,78,23,243,15,182,20,148,246,127,86,194,0,149,216,249,240,224,117,30,64,118,63,160,31,212,163,16,139,180,225,15,152,212,100,176,221,4,62,87,49,234,187,239,32,19,145,188,201,28,185,197,22,70,50,51,214,122,59,130,82,148,94,105,76,104,15,95,84,169,90,179,77,29,206,231,77,107,138,195,119,171,147,205,247,220,161,53,243,221,89,108,52,30,207,201,158,68,192,254,193,236,171,111,171,86,17,57,99,168,50,205,123,119,195,61,162,94,85,219,27,182,98,117,83,219,205,73,193,179,189,208,167,85,58,219,67,173,126,20,99,216,19,193,100,63,46,87,190,49,115,124,135,197,123,245,64,31,93,232,248,187,155,227,229,76,235,31,38,253,0,139,13,46,49,28,193,56,163,241,187,248,111,131,20,11,131,36,69,118,129,251,21,6,37,175,200,86,231,123,77,44,90,18,90,73,32,64,51,166,217,175,44,191,21,233,173,124,215,50,23,202,61,29,179,228,113,4,119,46,186,118,231,97,11,52,10,116,219,23,56,100,203,11,185,198,44,211,118,2,6,19,214,74,120,11,194,224,219,122,209,159,169,10,190,99,241,152,208,124,160,228,103,38,41,148,197,216,188,113,193,94,32,36,47,232,132,208,134,22,140,122,78,192,40,44,58,106,195,61,127,138,74,254,76,98,125,220,42,233,39,139,100,132,76,207,107,62,57,250,80,83,232,23,73,26,116,4,91,223,76,107,252,85,88,232,146,236,40,79,68,176,243,215,155,7,45,128,70,123,49,134,136,139,122,101,72,124,88,65,57,249,239,177,197,129,189,229,70,201,5,7,226,234,33,117,179,64,255,51,41,151,169,145,175,124,238,173,159,7,195,58,180,146,177,68,116,147,30,102,51,125,241,213,145,217,187,44,162,175,44,15,144,122,22,217,37,113,220,125,64,30,63,111,172,247,209,228,253,176,165,15,80,97,143,119,5,62,255,128,70,133,91,49,53,147,231,218,105,54,33,37,16,135,42,246,96,149,27,46,164,0,5,102,86,100,41,231,11,151,15,0,15,154,39,117,251,126,61,73,137,176,199,120,54,171,205,80,202,244,207,216,203,42,17,192,149,69,72,240,16,28,211,152,119,34,182,235,252,144,141,162,212,121,169,161,94,51,128,18,183,29,25,169,58,12,93,38,103,164,101,160,176,87,88,245,46,49,75,88,23,206,150,148,239,36,139,129,238,105,84,193,35,49,16,245,157,145,47,111,115,1,219,18,102,108,23,153,167,40,138,4,125,149,101,142,168,202,44,106,237,144,26,102,129,191,163,255,253,221,222,236,231,19,106,134,10,149,112,159,137,164,115,98,94,203,183,102,207,233,116,162,136,139,172,134,150,60,215,141,179,21,77,231,212,191,186,58,238,82,251,194,5,232,241,246,151,23,99,178,126,242,187,198,55,82,134,213,96,9,229,37,85,58,63,143,255,218,188,227,12,210,107,207,182,195,254,62,177,24,82,26,116,247,49,248,167,93,223,174,200,108,178,165,160,63,90,111,175,148,134,113,229,34,179,153,177,132,233,204,108,23,79,209,66,23,89,100,7,74,110,184,14,81,14,90,77,31,189,138,200,238,10,117,95,57,134,209,110,219,158,191,151,215,113,79,36,66,239,245,72,240,38,59,93,246,3,115,223,248,7,111,141,148,96,77,139,250,55,204,24,176,53,248,100,55,201,145,81,75,28,27,48,7,80,112,118,151,35,87,110,250,131,123,51,239,186,70,54,9,77,67,8,174,225,193,132,17,154,109,85,253,84,94,74,103,128,132,147,161,39,77,162,85,70,3,233,232,82,232,51,57,208,13,216,245,3,78,221,172,209,239,73,215,80,121,59,78,185,31,7,211,25,92,125,162,88,72,54,178,45,63,18,125,201,37,164,250,253,43,109,226,102,137,244,16,221,198,227,14,98,221,247,81,9,70,95,59,236,196,215,202,164,194,252,247,246,172,27,162,120,76,219,240,12,41,15,133,65,186,218,189,143,6,235,30,103,195,12,122,206,36,141,239,75,21,61,122,134,82,205,198,14,56,139,180,146,16,73,24,123,185,12,75,157,178,52,186,20,120,224,243,53,91,80,213,120,228,151,76,200,158,46,243,238,154,91,107,242,18,203,147,51,251,144,82,72,105,202,191,34,87,114,1,170,175,217,214,237,18,46,155,98,143,140,236,109,208,166,84,138,239,57,199,151,251,184,166,159,41,74,222,63,210,205,141,61,245,37,251,54,109,232,42,144,124,204,219,203,104,141,0,194,99,46,88,55,16,102,212,243,110,239,32,107,214,247,221,207,114,100,179,78,245,217,58,143,197,62,85,193,133,172,175,68,139,149,76,181,236,93,68,249,161,101,135,142,47,207,194,154,210,108,159,20,42,185,102,157,203,3,100,164,94,247,67,155,183,175,6,207,33,195,162,1,15,245,117,125,133,92,230,1,65,95,244,91,78,40,93,178,39,47,12,249,107,91,12,72,133,171,39,137,73,136,182,97,57,200,107,67,83,63,126,242,100,151,3,71,45,91,171,119,4,148,199,198,146,159,18,221,237,57,233,218,95,24,137,59,204,208,149,90,193,251,219,222,169,208,181,21,73,90,77,35,15,76,255,38,98,184,46,15,225,120,103,141,72,244,233,173,84,206,230,216,164,201,233,47,242,161,39,188,171,118,6,26,120,86,142,115,108,86,164,152,98,172,169,31,161,244,36,139,48,60,179,175,244,231,63,24,152,66,54,101,138,69,50,20,217,121,150,120,186,113,117,219,225,225,29,143,242,111,224,12,94,155,71,225,106,224,120,37,211,38,235,203,102,224,221,73,28,17,134,70,5,158,237,227,214,136,80,120,173,180,55,156,119,3,39,70,73,159,239,2,150,45,219,153,245,186,121,237,118,77,252,13,229,18,124,230,65,148,45,245,160,11,85,106,212,36,114,139,12,102,193,148,58,125,225,245,120,206,221,7,194,25,243,153,245,159,35,14,171,201,193,18,186,247,157,214,213,49,99,161,234,44,141,119,113,14,41,238,215,143,55,134,100,121,152,207,45,245,121,18,95,88,168,126,97,51,234,215,76,158,125,245,215,117,38,80,18,48,107,38,240,183,27,23,185,250,37,78,123,70,189,28,176,180,251,21,3,193,123,163,6,24,128,108,20,117,89,130,174,119,149,0,244,16,125,192,93,90,100,153,103,24,227,237,6,124,150,219,124,189,102,53,151,225,138,188,193,195,31,144,55,231,123,225,162,60,242,143,95,115,164,63,246,33,192,177,89,225,72,117,152,114,34,204,20,183,18,20,60,67,21,177,229,141,151,48,121,73,77,101,160,130,158,246,61,242,13,76,92,27,70,169,63,202,119,70,232,223,42,4,21,163,243,155,11,239,181,228,90,45,125,206,224,126,229,189,158,125,172,254,138,225,247,225,143,226,180,157,241,208,252,70,149,221,110,146,84,234,97,251,28,248,58,82,87,207,73,72,142,129,91,121,120,91,195,247,160,41,225,36,47,255,194,107,144,215,123,160,241,193,118,62,137,229,135,31,4,233,115,46,40,178,46,239,99,103,131,191,154,255,60,135,30,106,132,218,117,88,222,107,164,76,29,243,13,184,246,235,170,18,198,123,31,214,174,223,16,94,224,114,85,69,209,118,247,188,97,179,36,203,185,149,27,80,21,42,161,28,102,251,224,243,20,22,168,204,117,171,66,51,28,154,182,181,123,123,212,87,141,52,15,127,100,178,56,50,215,148,207,58,58,103,219,53,72,241,205,246,131,96,63,33,231,250,102,158,29,177,205,167,0,181,0,230,180,219,115,23,50,67,196,213,195,200,40,37,100,251,12,238,152,11,199,21,125,216,242,148,25,117,60,132,100,252,92,134,236,241,38,222,111,145,3,167,250,190,138,106,114,160,229,89,255,152,89,166,126,97,171,221,64,10,174,67,143,219,238,34,12,234,111,220,10,162,1,29,186,152,10,222,87,191,110,195,118,93,109,116,159,174,232,120,86,134,186,22,139,150,141,181,18,134,137,74,239,142,185,143,104,27,123,104,155,57,233,209,199,43,214,41,85,95,111,9,135,238,250,88,180,56,158,29,181,254,26,183,203,19,36,117,76,136,123,172,15,148,255,9,171,63,183,156,231,65,224,110,134,59,27,203,238,161,152,136,63,190,6,207,64,30,127,43,183,17,196,249,186,142,115,207,235,128,62,233,199,3,230,174,196,7,86,242,106,123,194,175,172,126,217,196,41,143,197,44,181,178,214,189,115,251,150,202,70,45,103,22,213,222,86,5,167,60,98,104,183,255,248,243,129,160,182,126,40,120,252,244,33,32,51,81,165,224,43,242,144,186,247,152,132,62,22,122,85,249,240,39,227,252,161,223,224,239,203,220,197,17,150,144,66,118,88,237,78,139,163,85,151,228,110,147,66,189,225,105,79,193,83,243,142,111,92,155,17,44,62,57,22,58,72,21,240,223,114,154,118,110,199,182,102,232,163,180,68,94,79,199,51,66,85,187,106,169,216,26,37,55,118,75,105,99,136,198,48,53,123,201,13,10,26,60,194,36,54,96,55,106,141,126,69,75,59,195,24,73,94,236,249,150,92,113,201,65,23,216,83,20,36,159,83,177,74,1,24,100,223,144,49,86,153,158,110,126,157,10,249,172,150,150,20,132,226,39,220,91,21,196,226,47,74,226,126,150,66,67,178,95,127,188,71,67,149,143,74,232,100,62,191,122,144,143,35,114,209,17,187,148,36,125,150,146,83,194,82,171,18,103,201,103,49,165,117,19,142,125,195,199,150,162,224,40,122,218,152,100,235,92,96,54,170,6,51,179,229,137,118,78,55,173,51,114,217,147,175,20,141,254,65,202,146,117,91,166,150,254,100,64,118,219,94,59,39,32,85,190,205,171,62,250,144,233,75,110,253,215,121,195,111,146,146,28,205,69,14,183,203,151,193,177,140,159,234,63,165,187,124,39,222,224,132,125,54,78,169,182,119,183,174,157,84,190,216,247,56,30,36,206,88,41,92,180,63,43,227,87,168,125,249,104,197,174,175,82,159,39,241,185,254,105,154,79,219,42,94,14,216,111,200,225,51,142,203,126,88,3,127,243,108,143,99,119,108,242,194,191,141,80,212,93,18,168,34,254,32,103,39,78,104,172,173,255,202,118,100,31,69,193,50,69,233,148,208,54,181,167,117,107,15,228,220,17,233,120,211,188,3,123,142,5,223,139,197,224,99,170,33,201,116,149,102,28,151,114,56,219,50,217,68,150,89,167,221,53,148,68,237,221,56,36,55,165,220,115,133,100,52,254,236,67,238,91,4,129,248,24,20,209,6,78,242,217,199,139,179,152,68,233,99,92,89,210,99,170,180,160,212,240,36,63,79,154,192,220,230,16,212,27,40,172,253,206,101,206,113,188,21,255,232,11,129,203,155,236,8,191,174,196,54,130,205,139,224,11,179,125,123,247,126,85,211,119,212,4,118,193,76,194,224,44,49,176,248,138,234,48,29,156,66,35,177,46,41,177,83,114,81,24,77,95,19,92,47,46,135,64,222,191,69,199,251,200,232,35,16,238,238,40,36,77,51,142,103,28,140,246,254,163,210,127,0,167,224,240,57,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,50,53,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,10,47,70,111,110,116,78,97,109,101,32,47,71,79,79,87,65,88,43,78,105,109,98,117,115,82,111,109,78,111,57,76,45,82,101,103,117,73,116,97,108,10,47,70,108,97,103,115,32,52,10,47,70,111,110,116,66,66,111,120,32,91,45,49,54,57,32,45,50,55,48,32,49,48,49,48,32,57,50,52,93,10,47,65,115,99,101,110,116,32,54,54,57,10,47,67,97,112,72,101,105,103,104,116,32,54,54,57,10,47,68,101,115,99,101,110,116,32,45,49,57,51,10,47,73,116,97,108,105,99,65,110,103,108,101,32,45,49,53,10,47,83,116,101,109,86,32,55,56,10,47,88,72,101,105,103,104,116,32,52,52,49,10,47,67,104,97,114,83,101,116,32,40,47,65,47,67,47,69,47,74,47,76,47,77,47,83,47,86,47,97,47,99,47,99,111,108,111,110,47,101,47,104,121,112,104,101,110,47,105,47,108,47,109,47,110,47,111,47,111,110,101,47,112,47,114,47,115,47,115,105,120,47,115,108,97,115,104,47,116,47,116,119,111,47,118,47,122,101,114,111,41,10,47,70,111,110,116,70,105,108,101,32,50,52,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,49,48,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,69,110,99,111,100,105,110,103,10,47,68,105,102,102,101,114,101,110,99,101,115,32,91,50,47,102,105,32,51,57,47,113,117,111,116,101,114,105,103,104,116,47,112,97,114,101,110,108,101,102,116,47,112,97,114,101,110,114,105,103,104,116,32,52,51,47,112,108,117,115,47,99,111,109,109,97,47,104,121,112,104,101,110,47,112,101,114,105,111,100,47,115,108,97,115,104,47,122,101,114,111,47,111,110,101,47,116,119,111,32,53,52,47,115,105,120,32,53,56,47,99,111,108,111,110,32,54,53,47,65,32,54,55,47,67,47,68,47,69,32,55,50,47,72,47,73,47,74,32,55,54,47,76,47,77,32,56,51,47,83,47,84,32,56,54,47,86,47,87,32,57,48,47,90,47,98,114,97,99,107,101,116,108,101,102,116,32,57,51,47,98,114,97,99,107,101,116,114,105,103,104,116,32,57,55,47,97,47,98,47,99,47,100,47,101,47,102,47,103,47,104,47,105,32,49,48,55,47,107,47,108,47,109,47,110,47,111,47,112,47,113,47,114,47,115,47,116,47,117,47,118,47,119,47,120,47,121,47,122,32,49,53,48,47,101,110,100,97,115,104,93,10,62,62,32,101,110,100,111,98,106,10,54,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,66,97,115,101,70,111,110,116,32,47,73,89,69,67,67,86,43,67,77,83,83,49,48,10,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,32,49,55,32,48,32,82,10,47,70,105,114,115,116,67,104,97,114,32,52,54,10,47,76,97,115,116,67,104,97,114,32,49,50,50,10,47,87,105,100,116,104,115,32,49,51,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,55,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,66,97,115,101,70,111,110,116,32,47,66,71,82,86,90,81,43,67,77,84,84,49,48,10,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,32,49,57,32,48,32,82,10,47,70,105,114,115,116,67,104,97,114,32,52,54,10,47,76,97,115,116,67,104,97,114,32,49,49,57,10,47,87,105,100,116,104,115,32,49,50,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,52,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,66,97,115,101,70,111,110,116,32,47,72,89,76,67,89,71,43,78,105,109,98,117,115,82,111,109,78,111,57,76,45,77,101,100,105,10,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,32,50,49,32,48,32,82,10,47,70,105,114,115,116,67,104,97,114,32,52,53,10,47,76,97,115,116,67,104,97,114,32,49,49,56,10,47,87,105,100,116,104,115,32,49,53,32,48,32,82,10,47,69,110,99,111,100,105,110,103,32,49,48,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,53,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,66,97,115,101,70,111,110,116,32,47,75,66,83,66,85,74,43,78,105,109,98,117,115,82,111,109,78,111,57,76,45,82,101,103,117,10,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,32,50,51,32,48,32,82,10,47,70,105,114,115,116,67,104,97,114,32,50,10,47,76,97,115,116,67,104,97,114,32,49,53,48,10,47,87,105,100,116,104,115,32,49,52,32,48,32,82,10,47,69,110,99,111,100,105,110,103,32,49,48,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,56,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,66,97,115,101,70,111,110,116,32,47,71,79,79,87,65,88,43,78,105,109,98,117,115,82,111,109,78,111,57,76,45,82,101,103,117,73,116,97,108,10,47,70,111,110,116,68,101,115,99,114,105,112,116,111,114,32,50,53,32,48,32,82,10,47,70,105,114,115,116,67,104,97,114,32,52,53,10,47,76,97,115,116,67,104,97,114,32,49,49,56,10,47,87,105,100,116,104,115,32,49,49,32,48,32,82,10,47,69,110,99,111,100,105,110,103,32,49,48,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,57,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,80,97,103,101,115,10,47,67,111,117,110,116,32,49,10,47,75,105,100,115,32,91,50,32,48,32,82,93,10,62,62,32,101,110,100,111,98,106,10,50,54,32,48,32,111,98,106,32,60,60,10,47,84,121,112,101,32,47,67,97,116,97,108,111,103,10,47,80,97,103,101,115,32,57,32,48,32,82,10,62,62,32,101,110,100,111,98,106,10,50,55,32,48,32,111,98,106,32,60,60,10,47,80,114,111,100,117,99,101,114,32,40,112,100,102,84,101,88,45,49,46,52,48,46,49,48,41,10,47,67,114,101,97,116,111,114,32,40,84,101,88,41,10,47,67,114,101,97,116,105,111,110,68,97,116,101,32,40,68,58,50,48,49,49,48,49,49,54,49,53,53,48,53,56,45,48,56,39,48,48,39,41,10,47,77,111,100,68,97,116,101,32,40,68,58,50,48,49,49,48,49,49,54,49,53,53,48,53,56,45,48,56,39,48,48,39,41,10,47,84,114,97,112,112,101,100,32,47,70,97,108,115,101,10,47,80,84,69,88,46,70,117,108,108,98,97,110,110,101,114,32,40,84,104,105,115,32,105,115,32,112,100,102,84,101,88,44,32,86,101,114,115,105,111,110,32,51,46,49,52,49,53,57,50,54,45,49,46,52,48,46,49,48,45,50,46,50,32,40,84,101,88,32,76,105,118,101,32,50,48,48,57,47,68,101,98,105,97,110,41,32,107,112,97,116,104,115,101,97,32,118,101,114,115,105,111,110,32,53,46,48,46,48,41,10,62,62,32,101,110,100,111,98,106,10,120,114,101,102,10,48,32,50,56,10,48,48,48,48,48,48,48,48,48,48,32,54,53,53,51,53,32,102,32,10,48,48,48,48,48,48,49,56,51,52,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,55,50,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,49,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,56,57,50,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,57,48,57,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,56,54,52,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,56,55,56,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,57,50,54,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,57,52,51,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,56,51,52,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,57,52,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,50,50,54,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,50,53,55,52,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,51,48,50,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,51,53,57,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,51,57,48,55,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,49,50,49,49,57,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,49,50,51,54,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,50,51,49,57,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,50,51,52,53,52,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,51,50,55,56,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,51,51,48,55,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,52,55,53,53,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,52,55,57,54,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,56,48,50,57,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,57,52,57,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,53,57,53,52,48,32,48,48,48,48,48,32,110,32,10,116,114,97,105,108,101,114,10,60,60,32,47,83,105,122,101,32,50,56,10,47,82,111,111,116,32,50,54,32,48,32,82,10,47,73,110,102,111,32,50,55,32,48,32,82,10,47,73,68,32,91,60,66,70,57,49,66,54,69,48,68,49,54,69,50,54,54,48,69,50,56,57,51,69,49,67,57,53,67,67,54,68,69,66,62,32,60,66,70,57,49,66,54,69,48,68,49,54,69,50,54,54,48,69,50,56,57,51,69,49,67,57,53,67,67,54,68,69,66,62,93,32,62,62,10,115,116,97,114,116,120,114,101,102,10,53,57,56,48,54,10,37,37,69,79,70,10]
likexx/riftwarrior
code/external/emscripten/demos/paper.pdf.js
JavaScript
mit
214,405
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Loki: Loki::ScopeGuardImpl4&lt; F, P1, P2, P3, P4 &gt; Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main&nbsp;Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li> <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li> <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="a00192.html">Loki</a>::<a class="el" href="a00115.html">ScopeGuardImpl4</a> </div> </div> <div class="contents"> <h1>Loki::ScopeGuardImpl4&lt; F, P1, P2, P3, P4 &gt; Class Template Reference<br> <small> [<a class="el" href="a00211.html">Exception-safe code</a>]</small> </h1><!-- doxytag: class="Loki::ScopeGuardImpl4" --><!-- doxytag: inherits="Loki::ScopeGuardImplBase" --><code>#include &lt;ScopeGuard.h&gt;</code> <p> <div class="dynheader"> Inheritance diagram for Loki::ScopeGuardImpl4&lt; F, P1, P2, P3, P4 &gt;:</div> <div class="dynsection"> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for Loki::ScopeGuardImpl4&lt; F, P1, P2, P3, P4 &gt;:</div> <div class="dynsection"> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a00364.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template&lt;typename F, typename P1, typename P2, typename P3, typename P4&gt;<br> class Loki::ScopeGuardImpl4&lt; F, P1, P2, P3, P4 &gt;</h3> Implementation class for a standalone function or class static function with four parameters. Each parameter is copied by value - use Loki::ByRef if you must use a reference instead. ScopeGuard ignores any value returned from the call within the Execute function.<p> This class has a single standalone helper function, MakeGuard which creates and returns a ScopeGuard. <hr>The documentation for this class was generated from the following file:<ul> <li>ScopeGuard.h</ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 29 18:51:44 2009 for Loki by&nbsp; <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>
GraphicsEmpire/tetcutter
src/3rdparty/loki/doc/html/a00115.html
HTML
mit
3,523
!function(t){"object"==typeof exports&&"object"==typeof module?t(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed"],t):t(CodeMirror)}(function(t){"use strict";var e=["template","literal","msg","fallbackmsg","let","if","elseif","else","switch","case","default","foreach","ifempty","for","call","param","deltemplate","delcall","log"];t.defineMode("soy",function(a){function n(t){return t[t.length-1]}function s(t,e,a){if(t.sol()){for(var s=0;s<e.indent&&t.eat(/\s/);s++);if(s)return null}var i=t.string,l=a.exec(i.substr(t.pos));l&&(t.string=i.substr(0,t.pos+l.index));var r=t.hideFirstChars(e.indent,function(){var a=n(e.localStates);return a.mode.token(t,a.state)});return t.string=i,r}function i(t,e){return{element:e,next:t}}function l(t,e,a){return function(t,e){for(;t;){if(t.element===e)return!0;t=t.next}return!1}(t,e)?"variable-2":a?"variable":"variable-2 error"}function r(t){t.scopes&&(t.variables=t.scopes.element,t.scopes=t.scopes.next)}var o=t.getMode(a,"text/plain"),c={html:t.getMode(a,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1}),attributes:o,text:o,uri:o,css:t.getMode(a,"text/css"),js:t.getMode(a,{name:"text/javascript",statementIndent:2*a.indentUnit})};return{startState:function(){return{kind:[],kindTag:[],soyState:[],templates:null,variables:i(null,"ij"),scopes:null,indent:0,quoteKind:null,localStates:[{mode:c.html,state:t.startState(c.html)}]}},copyState:function(e){return{tag:e.tag,kind:e.kind.concat([]),kindTag:e.kindTag.concat([]),soyState:e.soyState.concat([]),templates:e.templates,variables:e.variables,scopes:e.scopes,indent:e.indent,quoteKind:e.quoteKind,localStates:e.localStates.map(function(e){return{mode:e.mode,state:t.copyState(e.mode,e.state)}})}},token:function(o,d){switch(n(d.soyState)){case"comment":if(o.match(/^.*?\*\//)?d.soyState.pop():o.skipToEnd(),!d.scopes)for(var m=/@param\??\s+(\S+)/g,u=o.current();p=m.exec(u);)d.variables=i(d.variables,p[1]);return"comment";case"string":var p;return(p=o.match(/^.*?(["']|\\[\s\S])/))?p[1]==d.quoteKind&&(d.quoteKind=null,d.soyState.pop()):o.skipToEnd(),"string"}if(o.match(/^\/\*/))return d.soyState.push("comment"),"comment";if(o.match(o.sol()||d.soyState.length&&"literal"!=n(d.soyState)?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment";switch(n(d.soyState)){case"templ-def":return(p=o.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(d.templates=i(d.templates,p[1]),d.scopes=i(d.scopes,d.variables),d.soyState.pop(),"def"):(o.next(),null);case"templ-ref":return(p=o.match(/^\.?([\w]+)/))?(d.soyState.pop(),"."==p[0][0]?l(d.templates,p[1],!0):"variable"):(o.next(),null);case"param-def":return(p=o.match(/^\w+/))?(d.variables=i(d.variables,p[0]),d.soyState.pop(),d.soyState.push("param-type"),"def"):(o.next(),null);case"param-type":return"}"==o.peek()?(d.soyState.pop(),null):o.eatWhile(/^[\w]+/)?"variable-3":(o.next(),null);case"var-def":return(p=o.match(/^\$([\w]+)/))?(d.variables=i(d.variables,p[1]),d.soyState.pop(),"def"):(o.next(),null);case"tag":if(o.match(/^\/?}/))return"/template"==d.tag||"/deltemplate"==d.tag?(r(d),d.variables=i(null,"ij"),d.indent=0):("/for"!=d.tag&&"/foreach"!=d.tag||r(d),d.indent-=a.indentUnit*("/}"==o.current()||-1==e.indexOf(d.tag)?2:1)),d.soyState.pop(),"keyword";if(o.match(/^([\w?]+)(?==)/)){if("kind"==o.current()&&(p=o.match(/^="([^"]+)/,!1))){var f=p[1];d.kind.push(f),d.kindTag.push(d.tag);var h=c[f]||c.html;(g=n(d.localStates)).mode.indent&&(d.indent+=g.mode.indent(g.state,"")),d.localStates.push({mode:h,state:t.startState(h)})}return"attribute"}return(p=o.match(/^["']/))?(d.soyState.push("string"),d.quoteKind=p,"string"):(p=o.match(/^\$([\w]+)/))?l(d.variables,p[1]):(p=o.match(/^\w+/))?/^(?:as|and|or|not|in)$/.test(p[0])?"keyword":null:(o.next(),null);case"literal":return o.match(/^(?=\{\/literal})/)?(d.indent-=a.indentUnit,d.soyState.pop(),this.token(o,d)):s(o,d,/\{\/literal}/)}if(o.match(/^\{literal}/))return d.indent+=a.indentUnit,d.soyState.push("literal"),"keyword";if(p=o.match(/^\{([\/@\\]?\w+\??)(?=[\s\}]|\/[/*])/)){if("/switch"!=p[1]&&(d.indent+=(/^(\/|(else|elseif|ifempty|case|fallbackmsg|default)$)/.test(p[1])&&"switch"!=d.tag?1:2)*a.indentUnit),d.tag=p[1],d.tag=="/"+n(d.kindTag)){d.kind.pop(),d.kindTag.pop(),d.localStates.pop();var g=n(d.localStates);g.mode.indent&&(d.indent-=g.mode.indent(g.state,""))}return d.soyState.push("tag"),"template"==d.tag||"deltemplate"==d.tag?d.soyState.push("templ-def"):"call"==d.tag||"delcall"==d.tag?d.soyState.push("templ-ref"):"let"==d.tag?d.soyState.push("var-def"):"for"==d.tag||"foreach"==d.tag?(d.scopes=i(d.scopes,d.variables),d.soyState.push("var-def")):"namespace"==d.tag?d.scopes||(d.variables=i(null,"ij")):d.tag.match(/^@(?:param\??|inject)/)&&d.soyState.push("param-def"),"keyword"}return o.eat("{")?(d.tag="print",d.indent+=2*a.indentUnit,d.soyState.push("tag"),"keyword"):s(o,d,/\{|\s+\/\/|\/\*/)},indent:function(e,s){var i=e.indent,l=n(e.soyState);if("comment"==l)return t.Pass;if("literal"==l)/^\{\/literal}/.test(s)&&(i-=a.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(s))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(s)&&(i-=a.indentUnit),"switch"!=e.tag&&/^\{(case|default)\b/.test(s)&&(i-=a.indentUnit),/^\{\/switch\b/.test(s)&&(i-=a.indentUnit)}var r=n(e.localStates);return i&&r.mode.indent&&(i+=r.mode.indent(r.state,s)),i},innerMode:function(t){return t.soyState.length&&"literal"!=n(t.soyState)?null:n(t.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),t.registerHelper("hintWords","soy",e.concat(["delpackage","namespace","alias","print","css","debugger"])),t.defineMIME("text/x-soy","soy")});
tholu/cdnjs
ajax/libs/codemirror/5.32.0/mode/soy/soy.min.js
JavaScript
mit
5,897
( function( $ ) { 'use strict'; var tribeWidget = { setup: function( event, widget ){ var $widget = $( widget ); $widget.find( '.tribe-select2' ).each( function(){ var $this = $( this ), args = {}; if ( $this.hasClass('select2-container') ){ return; } if ( 1 === $this.data( 'noSearch' ) ){ args.minimumResultsForSearch = Infinity; } $this.on( 'open', function( event ){ $( '.select2-drop' ).css( 'z-index', 10000000 ); } ).select2( args ); } ); $widget.on( 'change', '.js-tribe-condition', function(){ var $this = $( this ), field = $this.data( 'tribeConditionalField' ), $conditionals = $widget.find( '.js-tribe-conditional' ).filter( '[data-tribe-conditional-field="' + field + '"]' ), value = $this.val(); // First hide all conditionals $conditionals.hide() // Now Apply any stuff that must be "conditional" on hide .each( function(){ var $conditional = $( this ); if ( $conditional.hasClass( 'tribe-select2' ) ){ $conditional.prev( '.select2-container' ).hide(); } } ) // Find the matching values .filter( '[data-tribe-conditional-value="' + value + '"]' ).show() // Apply showing with "conditions" .each( function(){ var $conditional = $( this ); if ( $conditional.hasClass( 'tribe-select2' ) ){ $conditional.hide().prev( '.select2-container' ).show(); } } ); } ); // Only happens on Widgets Admin page if ( ! $( 'body' ).hasClass( 'wp-customizer' ) ){ if ( $.isNumeric( event ) || 'widget-updated' === event.type ){ $widget.find( '.js-tribe-condition' ).trigger( 'change' ); } } } }; $( document ).on( { 'widget-added widget-synced widget-updated': tribeWidget.setup, 'ready': function( event ){ // Prevents problems on Customizer if ( $( 'body' ).hasClass( 'wp-customizer' ) ){ return; } // This ensures that we setup corretly the widgets that are already in place $( '.tribe-widget-countdown-container' ).each( tribeWidget.setup ); } } ); }( jQuery.noConflict() ) );
mandino/nu
wp-content/plugins/events-calendar-pro/src/resources/js/admin-widget-countdown.js
JavaScript
mit
2,112
<section> <header><h3>字体</h3></header> <article> <p>在ZUI中我们定义了三种字体家族已适应不同的场合。这些字体在中英文环境下都能够很好的显示。</p> <table class="table"> <tbody> <tr> <th>无衬线字体</th> <td><code>&quot;Helvetica Neue&quot;, Helvetica, Tahoma, Arial, sans-serif</code></td> </tr> <tr> <th>衬线字体</th> <td><code>Georgia, &quot;Times New Roman&quot;, Times, serif</code></td> </tr> <tr> <th>等宽字体</th> <td><code>Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace</code></td> </tr> </tbody> </table> <p>使用<a href= "http://zh.wikipedia.org/wiki/%E7%84%A1%E8%A5%AF%E7%B7%9A%E5%AD%97%E9%AB%94">无衬线字体</a>来作为页面的默认字体,因为无衬线字体非常适合在屏幕上显示;衬线字体作为一个额外的选择,但并不推荐在小字号中使用,但可以用于特殊文字或者标题中;等宽字体用来显示程序代码。</p> <p>默认的字体大小为 <strong>13px</strong>,以保证在所有屏幕上都能有最佳效果。ZUI中也允许使用更小号的字体,不过不要小于 <strong>12px</strong>。默认行高为字体大小的1.38倍,一般为18px。一至六级标题的行高为字体大小的1.2。</p> </article> </section> <section> <header><h3>文字排版</h3></header> <article> <p>字是组成页面的重要内容,一个好的排版是构建好的用户界面的基石。应根据我们的设计原则来进行文字排版。下表中列举了web设计时会用到的文字排版方式。</p> <table class="table"> <tbody> <tr> <th style="width:30%">元素</th> <th>标签</th> <th>字体大小</th> <th>说明</th> </tr> <tr> <td> <h1>页面标题</h1> </td> <td><code>&lt;h1&gt;</code></td> <td>26px</td> <td>在一个页面只有一个页面标题。</td> </tr> <tr> <td> <h2>标题</h2> </td> <td><code>&lt;h2&gt;</code></td> <td>22px</td> <td>作为页面第二级标题,可能在一个页面中使用到多个二级标题。</td> </tr> <tr> <td> <h3>三级标题</h3> </td> <td><code>&lt;h3&gt;</code></td> <td>16px 粗体</td> <td>页面第三级标题,嵌套在二级标题下使用。</td> </tr> <tr> <td> <h4>四级标题</h4> </td> <td><code>&lt;h4&gt;</code></td> <td>15px 粗体</td> <td>页面第四级标题,嵌套在三级标题下使用。</td> </tr> <tr> <td> <h5>五级标题</h5> </td> <td><code>&lt;h5&gt;</code></td> <td>13px 粗体 颜色灰色</td> <td>页面第五级标题,嵌套在四级标题下使用。</td> </tr> <tr> <td> <h6>六级标题</h6> </td> <td><code>&lt;h6&gt;</code></td> <td>12px 粗体 颜色灰色</td> <td>页面第六级标题,嵌套在五级标题下使用。</td> </tr> <tr> <td> <p>这是一个段落</p> </td> <td><code>&lt;p&gt;</code></td> <td>13px</td> <td>正文中大部分由段落组成。段落的行高为20px。段落间在垂直方向上有10px边距。</td> </tr> <tr> <td> <p class="lead">这是一个突出的段落</p> </td> <td><code>&lt;p class=&quot;lead&quot;&gt;</code></td> <td>20px</td> <td>突出的段落具有更大的字体,在一个段落上加<code>.lead</code>类。</td> </tr> <tr> <td><strong>粗体文本</strong></td> <td><code>&lt;strong&gt;</code></td> <td>13px</td> <td>通常粗体文本用来强调内容。</td> </tr> <tr> <td><em>斜体文本</em></td> <td><code>&lt;em&gt;</code></td> <td>13px</td> <td></td> </tr> <tr> <td><small>小的文本</small></td> <td><code>&lt;small&gt;</code></td> <td>12px 颜色灰色</td> <td>small文本字体只有正常字体大小的85%,通常为11.9px。</td> </tr> <tr> <td> <a href="#">超链接</a> </td> <td><code>&lt;a&gt;</code></td> <td>13px</td> <td>超链接具有不同的颜色以区别其他文本,超链接仅当鼠标悬停时会增加下划线。</td> </tr> <tr> <td> <ol> <li>这是一个有序列表</li> <li>包含三个列表项</li> <li>作为示例</li> </ol> </td> <td><code>&lt;ol&gt;&lt;li&gt;...&lt;/ol&gt;</code></td> <td>13px</td> <td>当组织一些并列项目且关注项目之间顺序时可以使用有序列表。</td> </tr> <tr> <td> <ul> <li>这是一个无序列表</li> <li>包含三个列表项</li> <li>作为示例</li> </ul> </td> <td><code>&lt;ul&gt;&lt;li&gt;...&lt;/ul&gt;</code></td> <td>13px</td> <td>当组织一些并列项目但不关注项目之间顺序时可以使用无序列表。</td> </tr> <tr> <td> <blockquote> 这是一大段引用内容 </blockquote> </td> <td><code>&lt;blockquote&gt;</code></td> <td>13px</td> <td>用于显示一大段引用的内容。</td> </tr> <tr> <td><q>这是内嵌的引用</q></td> <td><code>&lt;q&gt;</code></td> <td>13px</td> <td>用于在正文行内显示引用的术语。</td> </tr> <tr> <td> <pre><code>&lt;div&gt; &lt;p&gt;代码区域&lt;/p&gt; &lt;/div&gt;</code></pre> </td> <td><code>&lt;pre&gt;&lt;code&gt;...&lt;/code&gt;</code></td> <td>13px 等宽字体</td> <td> 代码区域会加上方框,并使用等宽字体显示,详细代码显示规定请参见节<a href="#prettify">代码高亮</a>。 </td> </tr> </tbody> </table> </article> </section>
fhchina/zui
docs/part/basic-typography.html
HTML
mit
6,722
try: import json except ImportError: import simplejson as json from models import Status, Image from test_api import StashboardTest class PublicStatusesTest(StashboardTest): def test_get(self): response = self.get("/api/v1/statuses") self.assertEquals(response.status_code, 200) def test_post(self): response = self.post("/api/v1/statuses") self.assertEquals(response.status_code, 405) def test_delete(self): response = self.delete("/api/v1/statuses") self.assertEquals(response.status_code, 405) def test_put(self): response = self.put("/api/v1/statuses") self.assertEquals(response.status_code, 405) class StatusInstanceTest(StashboardTest): def setUp(self): super(StatusInstanceTest, self).setUp() image = Image(icon_set="fugue", slug="cross-circle", path="fugue/cross-circle.png") image.put() self.status = Status(name="Foo", slug="foo", description="bar", image="cross-circle") self.status.put() def test_update_wrong_image(self): response = self.post("/admin/api/v1/statuses/foo", data={"image": "foobar"}) self.assertEquals(response.status_code, 400) def test_update_default_false(self): response = self.post("/admin/api/v1/statuses/foo", data={"default": "false"}) self.assertEquals(response.status_code, 200) status = Status.get(self.status.key()) self.assertFalse(status.default) def test_update_default(self): response = self.post("/admin/api/v1/statuses/foo", data={"default": "true"}) self.assertEquals(response.status_code, 200) status = Status.get(self.status.key()) self.assertTrue(status.default) def test_update_image(self): response = self.post("/admin/api/v1/statuses/foo", data={"image": "cross-circle"}) self.assertEquals(response.status_code, 200) status = Status.get(self.status.key()) self.assertEquals(status.image, "fugue/cross-circle.png") def test_update_description(self): response = self.post("/admin/api/v1/statuses/foo", data={"description": "blah"}) self.assertEquals(response.status_code, 200) self.assertEquals(response.headers["Content-Type"], "application/json") status = Status.get(self.status.key()) self.assertEquals(status.description, "blah") def test_update_name(self): response = self.post("/admin/api/v1/statuses/foo", data={"name": "Foobar"}) self.assertEquals(response.status_code, 200) self.assertEquals(response.headers["Content-Type"], "application/json") status = Status.get(self.status.key()) self.assertEquals(status.name, "Foobar") def test_get_wrong_status(self): response = self.get("/api/v1/statuses/bat") self.assertEquals(response.status_code, 404) self.assertEquals(response.headers["Content-Type"], "application/json") def test_get_status(self): response = self.get("/api/v1/statuses/foo") self.assertEquals(response.status_code, 200) self.assertEquals(response.headers["Content-Type"], "application/json") def test_url_api_correct(self): response = self.get("/admin/api/v1/statuses/foo") data = json.loads(response.content) self.assertEquals(data['url'], 'http://localhost:80/admin/api/v1/statuses/foo') def test_url_admin_api_correct(self): response = self.get("/api/v1/statuses/foo") data = json.loads(response.content) self.assertEquals(data['url'], 'http://localhost:80/api/v1/statuses/foo') def test_delete_success(self): response = self.delete("/admin/api/v1/statuses/foo") self.assertEquals(response.status_code, 200) self.assertEquals(response.headers["Content-Type"], "application/json") data = json.loads(response.content) self.assertEquals(data['url'], 'http://localhost:80/admin/api/v1/statuses/foo') status = Status.get(self.status.key()) self.assertEquals(status, None) def test_delete_no_slug(self): response = self.delete("/admin/api/v1/statuses/bar") self.assertEquals(response.status_code, 404) self.assertEquals(response.headers["Content-Type"], "application/json") def test_delete_wrong_version(self): response = self.delete("/admin/api/hey/statuses/foo") self.assertEquals(response.status_code, 404) self.assertEquals(response.headers["Content-Type"], "application/json") def test_post_no_slug(self): response = self.post("/admin/api/v1/statuses/bar") self.assertEquals(response.status_code, 404) self.assertEquals(response.headers["Content-Type"], "application/json") def test_post_wrong_version(self): response = self.post("/admin/api/hey/statuses/foo") self.assertEquals(response.status_code, 404) self.assertEquals(response.headers["Content-Type"], "application/json") def test_wrong_version(self): response = self.get("/api/hey/statuses/foo") self.assertEquals(response.status_code, 404) self.assertEquals(response.headers["Content-Type"], "application/json") class StatusesTest(StashboardTest): def setUp(self): super(StatusesTest, self).setUp() image = Image(icon_set="fugue", slug="cross-circle", path="fugue/cross-circle.png") image.put() def test_statuses_list_version(self): """Services should return a 404 when no using v1""" response = self.get("/api/hey/statuses") self.assertEquals(response.status_code, 404) def test_get_statuses_list(self): """Services should return a 200 with the proper content type""" response = self.get("/api/v1/statuses") self.assertEquals(response.status_code, 200) self.assertEquals(response.headers["Content-Type"], "application/json") def test_create_service_name(self): """Services should 201 """ response = self.post("/admin/api/v1/statuses", data={"description": "An example status", "name": "Some Random Name", "image": "cross-circle", "level": "ERROR", "default": "true"}) status = json.loads(response.content) self.assertEquals(response.status_code, 201) self.assertEquals(status["name"], "Some Random Name") self.assertEquals(status["description"], "An example status") self.assertEquals(status["level"], "NORMAL") def test_wrong_default_data(self): """Services should 400 because the default value isn't supported""" response = self.post("/admin/api/v1/statuses", data={"default": "foo"}) self.assertEquals(response.status_code, 400) self.assertEquals(response.headers["Content-Type"], "application/json") def test_wrong_version(self): """Services should 404 with the wrong version""" response = self.post("/admin/api/hey/statuses", data={"description": "An example service API"}) self.assertEquals(response.status_code, 404) self.assertEquals(response.headers["Content-Type"], "application/json") def test_existing_status(self): """Services should 400 without a name""" status = Status(name="Foo", slug="foo", description="hello", image="cross-circle") status.put() response = self.post("/admin/api/v1/statuses", data={"description": "An example service API", "name": "Foo", "image": "cross-circle"}) self.assertEquals(response.status_code, 400) self.assertEquals(response.headers["Content-Type"], "application/json") def test_wrong_image(self): """Services should 400 without a name""" response = self.post("/admin/api/v1/statuses", data={"description": "An example service API", "name": "Foo", "image": "foobar"}) self.assertEquals(response.status_code, 400) self.assertEquals(response.headers["Content-Type"], "application/json") def test_missing_image(self): """Services should 400 without a name""" response = self.post("/admin/api/v1/statuses", data={"description": "An example service API", "name": "Foo"}) self.assertEquals(response.status_code, 400) self.assertEquals(response.headers["Content-Type"], "application/json") def test_missing_service_name(self): """Services should 400 without a name""" response = self.post("/admin/api/v1/statuses", data={"description": "An example service API"}) self.assertEquals(response.status_code, 400) self.assertEquals(response.headers["Content-Type"], "application/json") def test_missing_service_description(self): """Services should 400 without a description""" response = self.post("/admin/api/v1/statuses", data={"name": "Some Random Name"}) self.assertEquals(response.status_code, 400) self.assertEquals(response.headers["Content-Type"], "application/json") def test_missing_service_data(self): """Creating a service should 400 without data""" response = self.post("/admin/api/v1/statuses") self.assertEquals(response.status_code, 400) self.assertEquals(response.headers["Content-Type"], "application/json") def test_delete(self): "should return 405 Method Not Allowed" response = self.delete("/admin/api/v1/statuses") self.assertEquals(response.status_code, 405) self.assertEquals(response.headers["Content-Type"], "application/json") def test_put(self): """Should return 405 Content Length Required""" response = self.put("/admin/api/v1/statuses") self.assertEquals(response.status_code, 405) self.assertEquals(response.headers["Content-Type"], "application/json") def test_put_with_data(self): """should return 405 Method Not Allowed""" response = self.put("/admin/api/v1/statuses", data={"description": "An example service API"}) self.assertEquals(response.status_code, 405) self.assertEquals(response.headers["Content-Type"], "application/json")
skynet/stashboard
tests/test_rest_status.py
Python
mit
10,843
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>THE CAT KNOWS WHAT HE IS DOING DAMNIT</title> <style> .gif { display: block; margin: 0 auto; border: 1px solid #383838; padding: 5px; } .typing { width: 485px; margin: 0 auto; font-family: monospace; word-wrap: break-word; } </style> </head> <body> <img class="gif" src="http://img.izifunny.com/pics/2013/20130429/original/izifunny-gifdump-april-29-2013-25-gifs_2.gif" alt="What, you don't want to see the funny cat gif?"> <div class="typing" id="cursor"></div> <script> var cursor = document.getElementById('cursor'); var catTyping = function() { var r = Math.random(); var char = (r < 0.1 ? Math.floor(r*100) : String.fromCharCode(Math.floor(r * 26) + (r > 0.5 ? 97 : 65))); cursor.innerHTML += char; window.setTimeout(catTyping, 85); }; catTyping(); </script> </body> </html>
tjhorner/illacceptanything
web/cat_typing/index.html
HTML
mit
1,080
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <title>slider</title> <style type='text/css'> body {font-family: verdana} .error {border: solid 1px red;} .error_text { color: red; font-size: 10px;} td {padding: 3px;} #sliderWrapper { border: solid 1px gray; width: 300px; height: 30px; } #slider { width: 30px; height: 30px; background-color: green; } </style> </head> <body> <div id='sliderWrapper'><div id='slider'></div></div> <input type='text' id='value' /> <textarea id='foo'></textarea> <select id='bar'> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option> <option value='4'>4</option> <option value='5'>5</option> <option value='6'>6</option> <option value='7'>7</option> <option value='8'>8</option> <option value='9'>9</option> <option value='10'>10</option> </select> <script type='text/javascript' src='../../steal/steal.js'> </script> <script type='text/javascript'> steal('jquery/model','mxui/nav/slider').then(function(){ $.fn.hookup = function(inst, attr, type){ inst.bind(attr, {jQ : this},function(ev, val){ if(type){ ev.data.jQ[type]("val", val) }else{ ev.data.jQ.val(val) } }) this.bind("change", function(el, val){ if(type){ inst.attr(attr, val) }else{ inst.attr(attr, $(this).val()) } }) var value = inst.attr(attr); if(type){ this[type]("val",value) }else{ this.val(value) } }; $.Model("Person",{},{}); var person = new Person({age: 1}) $("#slider").mxui_nav_slider({interval: 1, min: 1, max: 10}) .hookup(person,"age","mxui_nav_slider"); $('#value, #foo, #bar').hookup(person,"age"); }); </script> </body> </html>
akovalyov/RubyGarageTask
web/assets/js/jquery/model/modelBinder.html
HTML
mit
1,917
/* * /MathJax/localization/sco/HTML-CSS.js * * Copyright (c) 2009-2018 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ MathJax.Localization.addTranslation("sco","HTML-CSS",{version:"2.7.6",isLoaded:true,strings:{LoadWebFont:"Laidin wab font %1",CantLoadWebFont:"Canna laid wab font %1",FirefoxCantLoadWebFont:"Firefox canna laid wab fonts fae ae remote host",CantFindFontUsing:"Canna fynd ae valid font uisin %1",WebFontsNotAvailable:"Wab fonts no available. Uisin eimage fonts instead"}});MathJax.Ajax.loadComplete("[MathJax]/localization/sco/HTML-CSS.js");
cgrudz/cgrudz.github.io
teaching/stat_445_645_2021_fall/lesson_notes/mathjax-27/localization/sco/HTML-CSS.js
JavaScript
mit
1,111
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.felipecsl.asymmetricgridview.library; import android.annotation.TargetApi; import android.os.Build; import android.os.Handler; import android.os.Message; import android.os.Process; import java.util.ArrayDeque; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Callable; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.FutureTask; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; /** * <p>AsyncTaskCompat enables proper and easy use of the UI thread. This class allows to perform * background operations and publish results on the UI thread without having to manipulate threads * and/or handlers.</p> * * <p>AsyncTaskCompat is designed to be a helper class around {@link Thread} and {@link * android.os.Handler} and does not constitute a generic threading framework. AsyncTasks should * ideally be used for short operations (a few seconds at the most.) If you need to keep threads * running for long periods of time, it is highly recommended you use the various APIs provided by * the <code>java.util.concurrent</code> package such as {@link Executor}, {@link * ThreadPoolExecutor} and {@link FutureTask}.</p> * * <p>An asynchronous task is defined by a computation that runs on a background thread and whose * result is published on the UI thread. An asynchronous task is defined by 3 generic types, called * <code>Params</code>, <code>Progress</code> and <code>Result</code>, and 4 steps, called * <code>onPreExecute</code>, <code>doInBackground</code>, <code>onProgressUpdate</code> and * <code>onPostExecute</code>.</p> * * <div class="special reference"> <h3>Developer Guides</h3> <p>For more information about using * tasks and threads, read the <a href="{@docRoot}guide/topics/fundamentals/processes-and-threads.html">Processes * and Threads</a> developer guide.</p> </div> * * <h2>Usage</h2> <p>AsyncTaskCompat must be subclassed to be used. The subclass will override at * least one method ({@link #doInBackground}), and most often will override a second one ({@link * #onPostExecute}.)</p> * * <p>Here is an example of subclassing:</p> <pre class="prettyprint"> private class * DownloadFilesTask extends AsyncTaskCompat&lt;URL, Integer, Long&gt; { protected Long * doInBackground(URL... urls) { int count = urls.length; long totalSize = 0; for (int i = 0; i < * count; i++) { totalSize += Downloader.downloadFile(urls[i]); publishProgress((int) ((i / (float) * count) * 100)); // Escape early if cancel() is called if (isCancelled()) break; } return * totalSize; } * * protected void onProgressUpdate(Integer... progress) { setProgressPercent(progress[0]); } * * protected void onPostExecute(Long result) { showDialog("Downloaded " + result + " bytes"); } } * </pre> * * <p>Once created, a task is executed very simply:</p> <pre class="prettyprint"> new * DownloadFilesTask().execute(url1, url2, url3); </pre> * * <h2>AsyncTaskCompat's generic types</h2> <p>The three types used by an asynchronous task are the * following:</p> <ol> <li><code>Params</code>, the type of the parameters sent to the task upon * execution.</li> <li><code>Progress</code>, the type of the progress units published during the * background computation.</li> <li><code>Result</code>, the type of the result of the background * computation.</li> </ol> <p>Not all types are always used by an asynchronous task. To mark a type * as unused, simply use the type {@link Void}:</p> <pre> private class MyTask extends * AsyncTaskCompat&lt;Void, Void, Void&gt; { ... } </pre> * * <h2>The 4 steps</h2> <p>When an asynchronous task is executed, the task goes through 4 steps:</p> * <ol> <li>{@link #onPreExecute()}, invoked on the UI thread before the task is executed. This step * is normally used to setup the task, for instance by showing a progress bar in the user * interface.</li> <li>{@link #doInBackground}, invoked on the background thread immediately after * {@link #onPreExecute()} finishes executing. This step is used to perform background computation * that can take a long time. The parameters of the asynchronous task are passed to this step. The * result of the computation must be returned by this step and will be passed back to the last step. * This step can also use {@link #publishProgress} to publish one or more units of progress. These * values are published on the UI thread, in the {@link #onProgressUpdate} step.</li> <li>{@link * #onProgressUpdate}, invoked on the UI thread after a call to {@link #publishProgress}. The timing * of the execution is undefined. This method is used to display any form of progress in the user * interface while the background computation is still executing. For instance, it can be used to * animate a progress bar or show logs in a text field.</li> <li>{@link #onPostExecute}, invoked on * the UI thread after the background computation finishes. The result of the background computation * is passed to this step as a parameter.</li> </ol> * * <h2>Cancelling a task</h2> <p>A task can be cancelled at any time by invoking {@link * #cancel(boolean)}. Invoking this method will cause subsequent calls to {@link #isCancelled()} to * return true. After invoking this method, {@link #onCancelled(Object)}, instead of {@link * #onPostExecute(Object)} will be invoked after {@link #doInBackground(Object[])} returns. To * ensure that a task is cancelled as quickly as possible, you should always check the return value * of {@link #isCancelled()} periodically from {@link #doInBackground(Object[])}, if possible * (inside a loop for instance.)</p> * * <h2>Threading rules</h2> <p>There are a few threading rules that must be followed for this class * to work properly:</p> <ul> <li>The AsyncTaskCompat class must be loaded on the UI thread. This is * done automatically as of {@link android.os.Build.VERSION_CODES#JELLY_BEAN}.</li> <li>The task * instance must be created on the UI thread.</li> <li>{@link #execute} must be invoked on the UI * thread.</li> <li>Do not call {@link #onPreExecute()}, {@link #onPostExecute}, {@link * #doInBackground}, {@link #onProgressUpdate} manually.</li> <li>The task can be executed only once * (an exception will be thrown if a second execution is attempted.)</li> </ul> * * <h2>Memory observability</h2> <p>AsyncTaskCompat guarantees that all callback calls are * synchronized in such a way that the following operations are safe without explicit * synchronizations.</p> <ul> <li>Set member fields in the constructor or {@link #onPreExecute}, and * refer to them in {@link #doInBackground}. <li>Set member fields in {@link #doInBackground}, and * refer to them in {@link #onProgressUpdate} and {@link #onPostExecute}. </ul> * * <h2>Order of execution</h2> <p>When first introduced, AsyncTasks were executed serially on a * single background thread. Starting with {@link android.os.Build.VERSION_CODES#DONUT}, this was * changed to a pool of threads allowing multiple tasks to operate in parallel. Starting with {@link * android.os.Build.VERSION_CODES#HONEYCOMB}, tasks are executed on a single thread to avoid common * application errors caused by parallel execution.</p> <p>If you truly want parallel execution, you * can invoke {@link #executeOnExecutor(java.util.concurrent.Executor, Object[])} with {@link * #THREAD_POOL_EXECUTOR}.</p> */ public abstract class AsyncTaskCompat<Params, Progress, Result> { private static final String LOG_TAG = "AsyncTaskCompat"; private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors(); private static final int CORE_POOL_SIZE = CPU_COUNT + 1; private static final int MAXIMUM_POOL_SIZE = CPU_COUNT * 2 + 1; private static final int KEEP_ALIVE = 1; private static final ThreadFactory sThreadFactory = new ThreadFactory() { private final AtomicInteger mCount = new AtomicInteger(1); public Thread newThread(Runnable r) { return new Thread(r, "AsyncTaskCompat #" + mCount.getAndIncrement()); } }; private static final BlockingQueue<Runnable> sPoolWorkQueue = new LinkedBlockingQueue<Runnable>(128); /** * An {@link Executor} that can be used to execute tasks in parallel. */ public static final Executor THREAD_POOL_EXECUTOR = new ThreadPoolExecutor(CORE_POOL_SIZE, MAXIMUM_POOL_SIZE, KEEP_ALIVE, TimeUnit.SECONDS, sPoolWorkQueue, sThreadFactory); /** * An {@link Executor} that executes tasks one at a time in serial order. This serialization is * global to a particular process. */ public static final Executor SERIAL_EXECUTOR = new SerialExecutor(); private static final int MESSAGE_POST_RESULT = 0x1; private static final int MESSAGE_POST_PROGRESS = 0x2; private static final InternalHandler sHandler = new InternalHandler(); private static volatile Executor sDefaultExecutor = SERIAL_EXECUTOR; private final WorkerRunnable<Params, Result> mWorker; private final FutureTask<Result> mFuture; private volatile Status mStatus = Status.PENDING; private final AtomicBoolean mCancelled = new AtomicBoolean(); private final AtomicBoolean mTaskInvoked = new AtomicBoolean(); @TargetApi(Build.VERSION_CODES.GINGERBREAD) private static class SerialExecutor implements Executor { final ArrayDeque<Runnable> mTasks = new ArrayDeque<Runnable>(); Runnable mActive; public synchronized void execute(final Runnable r) { mTasks.offer(new Runnable() { public void run() { try { r.run(); } finally { scheduleNext(); } } }); if (mActive == null) { scheduleNext(); } } protected synchronized void scheduleNext() { if ((mActive = mTasks.poll()) != null) { THREAD_POOL_EXECUTOR.execute(mActive); } } } /** * Indicates the current status of the task. Each status will be set only once during the lifetime * of a task. */ public enum Status { /** * Indicates that the task has not been executed yet. */ PENDING, /** * Indicates that the task is running. */ RUNNING, /** * Indicates that {@link AsyncTaskCompat#onPostExecute} has finished. */ FINISHED, } /** * @hide Used to force static handler to be created. */ public static void init() { sHandler.getLooper(); } /** * @hide */ public static void setDefaultExecutor(Executor exec) { sDefaultExecutor = exec; } /** * Creates a new asynchronous task. This constructor must be invoked on the UI thread. */ public AsyncTaskCompat() { mWorker = new WorkerRunnable<Params, Result>() { public Result call() throws Exception { mTaskInvoked.set(true); Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); //noinspection unchecked return postResult(doInBackground(mParams)); } }; mFuture = new FutureTask<Result>(mWorker) { @Override protected void done() { try { postResultIfNotInvoked(get()); } catch (InterruptedException e) { android.util.Log.w(LOG_TAG, e); } catch (ExecutionException e) { throw new RuntimeException("An error occured while executing doInBackground()", e.getCause()); } catch (CancellationException e) { postResultIfNotInvoked(null); } } }; } private void postResultIfNotInvoked(Result result) { final boolean wasTaskInvoked = mTaskInvoked.get(); if (!wasTaskInvoked) { postResult(result); } } private Result postResult(Result result) { @SuppressWarnings("unchecked") Message message = sHandler.obtainMessage(MESSAGE_POST_RESULT, new AsyncTaskResult<Result>(this, result)); message.sendToTarget(); return result; } /** * Returns the current status of this task. * * @return The current status. */ public final Status getStatus() { return mStatus; } /** * Override this method to perform a computation on a background thread. The specified parameters * are the parameters passed to {@link #execute} by the caller of this task. * * This method can call {@link #publishProgress} to publish updates on the UI thread. * * @param params The parameters of the task. * @return A result, defined by the subclass of this task. * @see #onPreExecute() * @see #onPostExecute * @see #publishProgress */ protected abstract Result doInBackground(Params... params); /** * Runs on the UI thread before {@link #doInBackground}. * * @see #onPostExecute * @see #doInBackground */ protected void onPreExecute() { } /** * <p>Runs on the UI thread after {@link #doInBackground}. The specified result is the value * returned by {@link #doInBackground}.</p> * * <p>This method won't be invoked if the task was cancelled.</p> * * @param result The result of the operation computed by {@link #doInBackground}. * @see #onPreExecute * @see #doInBackground * @see #onCancelled(Object) */ @SuppressWarnings({"UnusedDeclaration"}) protected void onPostExecute(Result result) { } /** * Runs on the UI thread after {@link #publishProgress} is invoked. The specified values are the * values passed to {@link #publishProgress}. * * @param values The values indicating progress. * @see #publishProgress * @see #doInBackground */ @SuppressWarnings({"UnusedDeclaration"}) protected void onProgressUpdate(Progress... values) { } /** * <p>Runs on the UI thread after {@link #cancel(boolean)} is invoked and {@link * #doInBackground(Object[])} has finished.</p> * * <p>The default implementation simply invokes {@link #onCancelled()} and ignores the result. If * you write your own implementation, do not call <code>super.onCancelled(result)</code>.</p> * * @param result The result, if any, computed in {@link #doInBackground(Object[])}, can be null * @see #cancel(boolean) * @see #isCancelled() */ @SuppressWarnings({"UnusedParameters"}) protected void onCancelled(Result result) { onCancelled(); } /** * <p>Applications should preferably override {@link #onCancelled(Object)}. This method is invoked * by the default implementation of {@link #onCancelled(Object)}.</p> * * <p>Runs on the UI thread after {@link #cancel(boolean)} is invoked and {@link * #doInBackground(Object[])} has finished.</p> * * @see #onCancelled(Object) * @see #cancel(boolean) * @see #isCancelled() */ protected void onCancelled() { } /** * Returns <tt>true</tt> if this task was cancelled before it completed normally. If you are * calling {@link #cancel(boolean)} on the task, the value returned by this method should be * checked periodically from {@link #doInBackground(Object[])} to end the task as soon as * possible. * * @return <tt>true</tt> if task was cancelled before it completed * @see #cancel(boolean) */ public final boolean isCancelled() { return mCancelled.get(); } /** * <p>Attempts to cancel execution of this task. This attempt will fail if the task has already * completed, already been cancelled, or could not be cancelled for some other reason. If * successful, and this task has not started when <tt>cancel</tt> is called, this task should * never run. If the task has already started, then the <tt>mayInterruptIfRunning</tt> parameter * determines whether the thread executing this task should be interrupted in an attempt to stop * the task.</p> * * <p>Calling this method will result in {@link #onCancelled(Object)} being invoked on the UI * thread after {@link #doInBackground(Object[])} returns. Calling this method guarantees that * {@link #onPostExecute(Object)} is never invoked. After invoking this method, you should check * the value returned by {@link #isCancelled()} periodically from {@link * #doInBackground(Object[])} to finish the task as early as possible.</p> * * @param mayInterruptIfRunning <tt>true</tt> if the thread executing this task should be * interrupted; otherwise, in-progress tasks are allowed to * complete. * @return <tt>false</tt> if the task could not be cancelled, typically because it has already * completed normally; <tt>true</tt> otherwise * @see #isCancelled() * @see #onCancelled(Object) */ public final boolean cancel(boolean mayInterruptIfRunning) { mCancelled.set(true); return mFuture.cancel(mayInterruptIfRunning); } /** * Waits if necessary for the computation to complete, and then retrieves its result. * * @return The computed result. * @throws CancellationException If the computation was cancelled. * @throws ExecutionException If the computation threw an exception. * @throws InterruptedException If the current thread was interrupted while waiting. */ public final Result get() throws InterruptedException, ExecutionException { return mFuture.get(); } /** * Waits if necessary for at most the given time for the computation to complete, and then * retrieves its result. * * @param timeout Time to wait before cancelling the operation. * @param unit The time unit for the timeout. * @return The computed result. * @throws CancellationException If the computation was cancelled. * @throws ExecutionException If the computation threw an exception. * @throws InterruptedException If the current thread was interrupted while waiting. * @throws TimeoutException If the wait timed out. */ public final Result get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { return mFuture.get(timeout, unit); } /** * Executes the task with the specified parameters. The task returns itself (this) so that the * caller can keep a reference to it. * * <p>Note: this function schedules the task on a queue for a single background thread or pool of * threads depending on the platform version. When first introduced, AsyncTasks were executed * serially on a single background thread. Starting with {@link android.os.Build.VERSION_CODES#DONUT}, * this was changed to a pool of threads allowing multiple tasks to operate in parallel. Starting * {@link android.os.Build.VERSION_CODES#HONEYCOMB}, tasks are back to being executed on a single * thread to avoid common application errors caused by parallel execution. If you truly want * parallel execution, you can use the {@link #executeOnExecutor} version of this method with * {@link #THREAD_POOL_EXECUTOR}; however, see commentary there for warnings on its use. * * <p>This method must be invoked on the UI thread. * * @param params The parameters of the task. * @return This instance of AsyncTaskCompat. * @throws IllegalStateException If {@link #getStatus()} returns either {@link * AsyncTaskCompat.Status#RUNNING} or {@link AsyncTaskCompat.Status#FINISHED}. * @see #executeOnExecutor(java.util.concurrent.Executor, Object[]) * @see #execute(Runnable) * @see #executeParallely(Object[]) * @see #executeSerially(Object[]) */ public final AsyncTaskCompat<Params, Progress, Result> execute(Params... params) { return executeOnExecutor(sDefaultExecutor, params); } /** * Executes the task with the specified parameters. The task returns itself (this) so that the * caller can keep a reference to it. * * <p>Note: this function schedules the task to run serially with another tasks using the {@link * #SERIAL_EXECUTOR};. * <p>This method must be invoked on the UI thread. * * @param params The parameters of the task. * @return This instance of AsyncTaskCompat. * @throws IllegalStateException If {@link #getStatus()} returns either {@link * AsyncTaskCompat.Status#RUNNING} or {@link AsyncTaskCompat.Status#FINISHED}. * @see #executeOnExecutor(java.util.concurrent.Executor, Object[]) * @see #execute(Runnable) * @see #executeParallely(Object[]) */ public final AsyncTaskCompat<Params, Progress, Result> executeSerially(Params... params) { return executeOnExecutor(SERIAL_EXECUTOR, params); } /** * Executes the task with the specified parameters. The task returns itself (this) so that the * caller can keep a reference to it. * * <p>Note: this function schedules the task to run in parallel with another tasks using the * {@link #THREAD_POOL_EXECUTOR};. * * <p><em>Warning:</em> Allowing multiple tasks to run in parallel from a thread pool is generally * <em>not</em> what one wants, because the order of their operation is not defined. For example, * if these tasks are used to modify any state in common (such as writing a file due to a button * click), there are no guarantees on the order of the modifications. Without careful work it is * possible in rare cases for the newer version of the data to be over-written by an older one, * leading to obscure data loss and stability issues. Such changes are best executed in serial; * to guarantee such work is serialized regardless of platform version you can use the {@link * #execute} version of this method * * <p>This method must be invoked on the UI thread. * * @param params The parameters of the task. * @return This instance of AsyncTaskCompat. * @throws IllegalStateException If {@link #getStatus()} returns either {@link * AsyncTaskCompat.Status#RUNNING} or {@link AsyncTaskCompat.Status#FINISHED}. * @see #executeOnExecutor(java.util.concurrent.Executor, Object[]) * @see #executeSerially(Object[]) * @see #execute(Runnable) */ public final AsyncTaskCompat<Params, Progress, Result> executeParallely(Params... params) { return executeOnExecutor(THREAD_POOL_EXECUTOR, params); } /** * Executes the task with the specified parameters. The task returns itself (this) so that the * caller can keep a reference to it. * * <p>This method is typically used with {@link #THREAD_POOL_EXECUTOR} to allow multiple tasks to * run in parallel on a pool of threads managed by AsyncTaskCompat, however you can also use your * own {@link Executor} for custom behavior. * * <p><em>Warning:</em> Allowing multiple tasks to run in parallel from a thread pool is generally * <em>not</em> what one wants, because the order of their operation is not defined. For example, * if these tasks are used to modify any state in common (such as writing a file due to a button * click), there are no guarantees on the order of the modifications. Without careful work it is * possible in rare cases for the newer version of the data to be over-written by an older one, * leading to obscure data loss and stability issues. Such changes are best executed in serial; * to guarantee such work is serialized regardless of platform version you can use this function * with {@link #SERIAL_EXECUTOR}. * * <p>This method must be invoked on the UI thread. * * @param exec The executor to use. {@link #THREAD_POOL_EXECUTOR} is available as a convenient * process-wide thread pool for tasks that are loosely coupled. * @param params The parameters of the task. * @return This instance of AsyncTaskCompat. * @throws IllegalStateException If {@link #getStatus()} returns either {@link * AsyncTaskCompat.Status#RUNNING} or {@link AsyncTaskCompat.Status#FINISHED}. * @see #execute(Object[]) * @see #executeParallely(Object[]) * @see #executeSerially(Object[]) */ public final AsyncTaskCompat<Params, Progress, Result> executeOnExecutor(Executor exec, Params... params) { if (mStatus != Status.PENDING) { switch (mStatus) { case RUNNING: throw new IllegalStateException("Cannot execute task:" + " the task is already running."); case FINISHED: throw new IllegalStateException("Cannot execute task:" + " the task has already been executed " + "(a task can be executed only once)"); } } mStatus = Status.RUNNING; onPreExecute(); mWorker.mParams = params; exec.execute(mFuture); return this; } /** * Convenience version of {@link #execute(Object...)} for use with a simple Runnable object. See * {@link #execute(Object[])} for more information on the order of execution. * * @see #execute(Object[]) * @see #executeOnExecutor(java.util.concurrent.Executor, Object[]) */ public static void execute(Runnable runnable) { sDefaultExecutor.execute(runnable); } /** * This method can be invoked from {@link #doInBackground} to publish updates on the UI thread * while the background computation is still running. Each call to this method will trigger the * execution of {@link #onProgressUpdate} on the UI thread. * * {@link #onProgressUpdate} will note be called if the task has been canceled. * * @param values The progress values to update the UI with. * @see #onProgressUpdate * @see #doInBackground */ protected final void publishProgress(Progress... values) { if (!isCancelled()) { sHandler.obtainMessage(MESSAGE_POST_PROGRESS, new AsyncTaskResult<Progress>(this, values)).sendToTarget(); } } private void finish(Result result) { if (isCancelled()) { onCancelled(result); } else { onPostExecute(result); } mStatus = Status.FINISHED; } private static class InternalHandler extends Handler { @SuppressWarnings({"unchecked", "RawUseOfParameterizedType"}) @Override public void handleMessage(Message msg) { AsyncTaskResult result = (AsyncTaskResult) msg.obj; switch (msg.what) { case MESSAGE_POST_RESULT: // There is only one result result.mTask.finish(result.mData[0]); break; case MESSAGE_POST_PROGRESS: result.mTask.onProgressUpdate(result.mData); break; } } } private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> { Params[] mParams; } @SuppressWarnings({"RawUseOfParameterizedType"}) private static class AsyncTaskResult<Data> { final AsyncTaskCompat mTask; final Data[] mData; AsyncTaskResult(AsyncTaskCompat task, Data... data) { mTask = task; mData = data; } } }
fjolliver/AsymmetricGridView
library/src/main/java/com/felipecsl/asymmetricgridview/library/AsyncTaskCompat.java
Java
mit
27,997
// Type definitions for OpenLayers v3.6.0 // Project: http://openlayers.org/ // Definitions by: Wouter Goedhart <https://github.com/woutergd> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace olx { interface AttributionOptions { /** HTML markup for this attribution. */ html: string; } interface DeviceOrientationOptions { /** * Start tracking. Default is false. */ tracking?: boolean; } interface FrameState { /** * */ pixelRatio: number; /** * */ time: number; /** * */ viewState: olx.ViewState; } interface FeatureOverlayOptions { /** * Features */ features?: Array<ol.Feature> | ol.Collection<ol.Feature> | ol.style.StyleFunction; /** * Map */ map: ol.Map; /** * Style */ style: ol.style.Style | Array<ol.style.Style>; } interface GeolocationOptions { /** * Start Tracking. Default is false. */ tracking?: boolean; /** * Tracking options. See http://www.w3.org/TR/geolocation-API/#position_options_interface. */ trackingOptions?: PositionOptions; /** * The projection the position is reported in. */ projection?: ol.proj.ProjectionLike | ol.proj.Projection; } interface GraticuleOptions { /** Reference to an ol.Map object. */ map?: ol.Map; /** The maximum number of meridians and parallels from the center of the map. The default value is 100, which means that at most 200 meridians and 200 parallels will be displayed. The default value is appropriate for conformal projections like Spherical Mercator. If you increase the value more lines will be drawn and the drawing performance will decrease. */ maxLines?: number; /** The stroke style to use for drawing the graticule. If not provided, the lines will be drawn with rgba(0,0,0,0.2), a not fully opaque black. */ strokeStyle?: ol.style.Stroke; /** The target size of the graticule cells, in pixels. Default value is 100 pixels. */ targetSize?: number; } interface BaseWMSOptions { /** Attributions. */ attributions?: Array<ol.Attribution>; /** WMS request parameters. At least a LAYERS param is required. STYLES is '' by default. VERSION is 1.3.0 by default. WIDTH, HEIGHT, BBOX and CRS (SRS for WMS version < 1.3.0) will be set dynamically. */ params?: any; /** The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail. */ crossOrigin?: string; /** experimental Use the ol.Map#pixelRatio value when requesting the image from the remote server. Default is true. */ hidpi?: boolean; /** experimental The type of the remote WMS server: mapserver, geoserver or qgis. Only needed if hidpi is true. Default is undefined. */ serverType?: ol.source.wms.ServerType; /** WMS service URL. */ url?: string; /** Logo. */ logo?: olx.LogoOptions; /** experimental Projection. */ projection?: ol.proj.ProjectionLike; } interface ImageWMSOptions extends BaseWMSOptions { /** experimental Optional function to load an image given a URL. */ imageLoadFunction?: ol.ImageLoadFunctionType; /** Ratio. 1 means image requests are the size of the map viewport, 2 means twice the width and height of the map viewport, and so on. Must be 1 or higher. Default is 1.5. */ ratio?: number; /** Resolutions. If specified, requests will be made for these resolutions only. */ resolutions?: Array<number>; } interface TileWMSOptions { attributions?: Array<ol.Attribution>; /**WMS request parameters. At least a LAYERS param is required. STYLES is '' by default. VERSION is 1.3.0 by default. WIDTH, HEIGHT, BBOX and CRS (SRS for WMS version < 1.3.0) will be set dynamically. Required.*/ params: Object; /**The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you are using the WebGL renderer or if you want to access pixel data with the Canvas renderer. See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.*/ crossOrigin?: string; /** The size in pixels of the gutter around image tiles to ignore. By setting this property to a non-zero value, images will be requested that are wider and taller than the tile size by a value of 2 x gutter. Defaults to zero. Using a non-zero value allows artifacts of rendering at tile edges to be ignored. If you control the WMS service it is recommended to address "artifacts at tile edges" issues by properly configuring the WMS service. For example, MapServer has a tile_map_edge_buffer configuration parameter for this. See http://mapserver.org/output/tile_mode.html. */ gutter?: number; /** Use the ol.Map#pixelRatio value when requesting the image from the remote server. Default is true.*/ hidpi?: boolean; logo?: string | olx.LogoOptions; /** Tile grid. Base this on the resolutions, tilesize and extent supported by the server. If this is not defined, a default grid will be used: if there is a projection extent, the grid will be based on that; if not, a grid based on a global extent with origin at 0,0 will be used. */ tileGrid?: ol.tilegrid.TileGrid; /** experimental Maximum zoom. */ maxZoom?: number; projection?: ol.proj.ProjectionLike; reprojectionErrorThreshold?: number; /** experimental Optional function to load a tile given a URL. */ tileLoadFunction?: ol.TileLoadFunctionType; /** WMS service URL. */ url?: string; /** WMS service urls. Use this instead of url when the WMS supports multiple urls for GetMap requests. */ urls?: Array<string>; /** experimental The type of the remote WMS server. Currently only used when hidpi is true. Default is undefined. */ serverType?: ol.source.wms.ServerType; /** experimental Whether to wrap the world horizontally. When set to false, only one world will be rendered. When true, tiles will be requested for one world only, but they will be wrapped horizontally to render multiple worlds. The default is true. */ wrapX?: boolean; } /** * Object literal with config options for the map logo. */ interface LogoOptions { /** * Link url for the logo. Will be followed when the logo is clicked. */ href: string; /** * Image src for the logo */ src: string; } interface MapOptions { /** Controls initially added to the map. If not specified, ol.control.defaults() is used. */ controls?: any; /** The ratio between physical pixels and device-independent pixels (dips) on the device. If undefined then it gets set by using window.devicePixelRatio. */ pixelRatio?: number; /** Interactions that are initially added to the map. If not specified, ol.interaction.defaults() is used. */ interactions?: any; /** The element to listen to keyboard events on. This determines when the KeyboardPan and KeyboardZoom interactions trigger. For example, if this option is set to document the keyboard interactions will always trigger. If this option is not specified, the element the library listens to keyboard events on is the map target (i.e. the user-provided div for the map). If this is not document the target element needs to be focused for key events to be emitted, requiring that the target element has a tabindex attribute. */ keyboardEventTarget?: any; /** Layers. If this is not defined, a map with no layers will be rendered. Note that layers are rendered in the order supplied, so if you want, for example, a vector layer to appear on top of a tile layer, it must come after the tile layer. */ layers?: Array<any> /** When set to true, tiles will be loaded during animations. This may improve the user experience, but can also make animations stutter on devices with slow memory. Default is false. */ loadTilesWhileAnimating?: boolean; /** When set to true, tiles will be loaded while interacting with the map. This may improve the user experience, but can also make map panning and zooming choppy on devices with slow memory. Default is false. */ loadTilesWhileInteracting?: boolean; /** The map logo. A logo to be displayed on the map at all times. If a string is provided, it will be set as the image source of the logo. If an object is provided, the src property should be the URL for an image and the href property should be a URL for creating a link. To disable the map logo, set the option to false. By default, the OpenLayers 3 logo is shown. */ logo?: any; /** Overlays initially added to the map. By default, no overlays are added. */ overlays?: any; /** Renderer. By default, Canvas, DOM and WebGL renderers are tested for support in that order, and the first supported used. Specify a ol.RendererType here to use a specific renderer. Note that at present only the Canvas renderer supports vector data. */ renderer?: any; /** The container for the map, either the element itself or the id of the element. If not specified at construction time, ol.Map#setTarget must be called for the map to be rendered. */ target?: any; /** The map's view. No layer sources will be fetched unless this is specified at construction time or through ol.Map#setView. */ view?: ViewOptions; } interface OverlayOptions { /** * The overlay element. */ element?: Element; /** * Offsets in pixels used when positioning the overlay. The fist element in the array is the horizontal offset. A positive value shifts the overlay right. The second element in the array is the vertical offset. A positive value shifts the overlay down. Default is [0, 0]. */ offset?: Array<number>; /** * The overlay position in map projection. */ position?: ol.Coordinate; /** * Defines how the overlay is actually positioned with respect to its position property. Possible values are 'bottom-left', 'bottom-center', 'bottom-right', 'center-left', 'center-center', 'center-right', 'top-left', 'top-center', and 'top-right'. Default is 'top-left'. */ positioning?: ol.OverlayPositioning; /** * Whether event propagation to the map viewport should be stopped. Default is true. If true the overlay is placed in the same container as that of the controls (CSS class name ol-overlaycontainer-stopevent); if false it is placed in the container with CSS class name ol-overlaycontainer. */ stopEvent?: boolean; /** * Whether the overlay is inserted first in the overlay container, or appended. Default is true. If the overlay is placed in the same container as that of the controls (see the stopEvent option) you will probably set insertFirst to true so the overlay is displayed below the controls. */ insertFirst?: boolean; /** * If set to true the map is panned when calling setPosition, so that the overlay is entirely visible in the current viewport. The default is false. */ autoPan?: boolean; /** * The options used to create a ol.animation.pan animation. This animation is only used when autoPan is enabled. By default the default options for ol.animation.pan are used. If set to null the panning is not animated. */ autoPanAnimation?: olx.animation.PanOptions; /** * The margin (in pixels) between the overlay and the borders of the map when autopanning. The default is 20. */ autoPanMargin?: number; } interface ViewOptions { /** The initial center for the view. The coordinate system for the center is specified with the projection option. Default is undefined, and layer sources will not be fetched if this is not set. */ center?: ol.Coordinate; /** Rotation constraint. false means no constraint. true means no constraint, but snap to zero near zero. A number constrains the rotation to that number of values. For example, 4 will constrain the rotation to 0, 90, 180, and 270 degrees. The default is true. */ constrainRotation?: boolean; /** Enable rotation. Default is true. If false a rotation constraint that always sets the rotation to zero is used. The constrainRotation option has no effect if enableRotation is false. */ enableRotation?: boolean; /**The extent that constrains the center, in other words, center cannot be set outside this extent. Default is undefined. */ extent?: ol.Extent; /** The maximum resolution used to determine the resolution constraint. It is used together with minResolution (or maxZoom) and zoomFactor. If unspecified it is calculated in such a way that the projection's validity extent fits in a 256x256 px tile. If the projection is Spherical Mercator (the default) then maxResolution defaults to 40075016.68557849 / 256 = 156543.03392804097. */ maxResolution?: number; /** The minimum resolution used to determine the resolution constraint. It is used together with maxResolution (or minZoom) and zoomFactor. If unspecified it is calculated assuming 29 zoom levels (with a factor of 2). If the projection is Spherical Mercator (the default) then minResolution defaults to 40075016.68557849 / 256 / Math.pow(2, 28) = 0.0005831682455839253. */ minResolution?: number; /** The maximum zoom level used to determine the resolution constraint. It is used together with minZoom (or maxResolution) and zoomFactor. Default is 28. Note that if minResolution is also provided, it is given precedence over maxZoom. */ maxZoom?: number; /** The minimum zoom level used to determine the resolution constraint. It is used together with maxZoom (or minResolution) and zoomFactor. Default is 0. Note that if maxResolution is also provided, it is given precedence over minZoom. */ minZoom?: number; /** The projection. Default is EPSG:3857 (Spherical Mercator). */ projection?: ol.proj.ProjectionLike | ol.proj.Projection; /** The initial resolution for the view. The units are projection units per pixel (e.g. meters per pixel). An alternative to setting this is to set zoom. Default is undefined, and layer sources will not be fetched if neither this nor zoom are defined. */ resolution?: number; /** Resolutions to determine the resolution constraint. If set the maxResolution, minResolution, minZoom, maxZoom, and zoomFactor options are ignored. */ resolutions?: Array<number>; /** The initial rotation for the view in radians (positive rotation clockwise). Default is 0. */ rotation?: number; /** Only used if resolution is not defined. Zoom level used to calculate the initial resolution for the view. The initial resolution is determined using the ol.View#constrainResolution method. */ zoom?: number; /** The zoom factor used to determine the resolution constraint. Default is 2. */ zoomFactor?: number; } interface ViewState { /** * */ center: ol.Coordinate; /** * */ projection: ol.proj.Projection; /** * */ resolution: number; /** * */ rotation: number; } interface Projection { /** * The SRS identifier code, e.g. EPSG:4326. */ code: string; /** * Units. Required unless a proj4 projection is defined for code. */ units?: ol.proj.Units; /** * The validity extent for the SRS. */ extent?: Array<number>; /** * The axis orientation as specified in Proj4. The default is enu. */ axisOrientation?: string; /** * Whether the projection is valid for the whole globe. Default is false. */ global?: boolean; /** * experimental The world extent for the SRS. */ worldExtent?: ol.Extent; /** * experimental Function to determine resolution at a point. The function is called with * a {number} view resolution and an {ol.Coordinate} as arguments, and returns the {number} * resolution at the passed coordinate. */ getPointResolution?: (resolution: number, coordinate: ol.Coordinate) => number; } namespace animation { interface BounceOptions { /** * The resolution to start the bounce from, typically map.getView().getResolution(). */ resolution: number; /** * The start time of the animation. Default is immediately. */ start?: number; /** * The duration of the animation in milliseconds. Default is 1000. */ duration?: number; /** * The easing function to use. Can be an ol.easing or a custom function. Default is ol.easing.upAndDown. */ easing?: (t: number) => number; } interface PanOptions { /** * The resolution to start the bounce from, typically map.getView().getResolution(). */ source: ol.Coordinate; /** * The start time of the animation. Default is immediately. */ start?: number; /** * The duration of the animation in milliseconds. Default is 1000. */ duration?: number; /** * The easing function to use. Can be an ol.easing or a custom function. Default is ol.easing.upAndDown. */ easing?: (t: number) => number; } interface RotateOptions { /** * The rotation value (in radians) to begin rotating from, typically map.getView().getRotation(). If undefined then 0 is assumed. */ rotation?: number; /** * The rotation center/anchor. The map rotates around the center of the view if unspecified. */ anchor?: ol.Coordinate; /** * The start time of the animation. Default is immediately. */ start?: number; /** * The duration of the animation in milliseconds. Default is 1000. */ duration?: number; /** * The easing function to use. Can be an ol.easing or a custom function. Default is ol.easing.upAndDown. */ easing?: (t: number) => number } interface ZoomOptions { /** * The resolution to begin zooming from, typically map.getView().getResolution(). */ resolution: number; /** * The start time of the animation. Default is immediately. */ start?: number; /** * The duration of the animation in milliseconds. Default is 1000. */ duration?: number; /** * The easing function to use. Can be an ol.easing or a custom function. Default is ol.easing.upAndDown. */ easing?: (t: number) => number } } namespace control { interface DefaultsOptions { /** * Attribution. Default is true. */ attribution?: boolean; /** * Attribution options. */ //TODO: Replace with olx.control.AttributionOptions attributionOptions?: any; /** * Rotate. Default is true; */ rotate?: boolean; /** * Rotate options */ //TODO: Replace with olx.control.RotateOptions rotateOptions?: any; /** * Zoom. Default is true */ zoom?: boolean; /** * */ //TODO: Replace with olx.control.ZoomOptions zoomOptions?: any; } } namespace interaction { interface DefaultsOptions { altShiftDragRotate?: boolean; doubleClickZoom?: boolean; keyboard?: boolean; mouseWheelZoom?: boolean; shiftDragZoom?: boolean; dragPan?: boolean; pinchRotate?: boolean; pinchZoom?: boolean; zoomDelta?: number; zoomDuration?: number; } interface ModifyOptions { deleteCondition?: ol.events.ConditionType; pixelTolerance?: number; style?: ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction; features: ol.Collection<ol.Feature>; wrapX?: boolean; } interface DrawOptions { clickTolerance?: number; features?: ol.Collection<ol.Feature>; source?: ol.source.Vector; snapTolerance?: number; type: ol.geom.GeometryType; maxPoints?: number; minPoints?: number; style?: ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction; geometryFunction?: ol.interaction.DrawGeometryFunctionType; wrapX?: boolean; } interface SelectOptions { addCondition?: ol.events.ConditionType; condition?: ol.events.ConditionType; layers?: Array<ol.layer.Layer>; style?: ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction; removeCondition?: ol.events.ConditionType; toggleCondition?: ol.events.ConditionType; multi?: boolean; features?: ol.Collection<ol.Feature> filter?: ol.interaction.SelectFilterFunction; wrapX?: boolean; } } namespace layer { interface BaseOptions { /** * Opacity (0, 1). Default is 1. */ opacity?: number; /** * Visibility. Default is true. */ visible?: boolean; /** * The bounding extent for layer rendering. The layer will not be rendered outside of this extent. */ extent?: ol.Extent; zIndex?: number; /** * The minimum resolution (inclusive) at which this layer will be visible. */ minResolution?: number; /** * The maximum resolution (exclusive) below which this layer will be visible. */ maxResolution?: number; } interface GroupOptions extends BaseOptions { /** * Child layers */ layers?: Array<ol.layer.Base> | ol.Collection<ol.layer.Base>; } interface HeatmapOptions extends VectorOptions { /** * The color gradient of the heatmap, specified as an array of CSS color strings. Default is ['#00f', '#0ff', '#0f0', '#ff0', '#f00']. */ gradient?: Array<String>; /** * Radius size in pixels. Default is 8. */ radius?: number; /** * Blur size in pixels. Default is 15. */ blur?: number; /** * Shadow size in pixels. Default is 250. */ shadow?: number; } interface ImageOptions extends LayerOptions { } interface LayerOptions extends BaseOptions { /** * The layer source (or null if not yet set). */ source?: ol.source.Source; } interface TileOptions extends LayerOptions { /** * Preload. Load low-resolution tiles up to preload levels. By default preload is 0, which means no preloading. */ preload?: number; /** * Source for this layer. */ source?: ol.source.Tile; /** * Use interim tiles on error. Default is true. */ useInterimTilesOnError?: boolean; } interface VectorOptions extends LayerOptions { /** * When set to true, feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active. Default is false. */ updateWhileAnimating?: boolean; /** * When set to true, feature batches will be recreated during interactions. See also updateWhileInteracting. Default is false. */ updateWhileInteracting?: boolean; /** * Render order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Use null to avoid the sort, but get an undefined draw order. */ // TODO: replace any with the expected function, unclear in documentation what the parameters are renderOrder?: any; /** * The buffer around the viewport extent used by the renderer when getting features from the vector source for the rendering or hit-detection. Recommended value: the size of the largest symbol, line width or label. Default is 100 pixels. */ renderBuffer?: number; /** * Source. */ source?: ol.source.Vector; /** * Layer style. See ol.style for default style which will be used if this is not defined. */ style?: ol.style.Style | Array<ol.style.Style> | any; } } namespace source { interface VectorOptions { /** * Attributions. */ attributions?: Array<ol.Attribution>; /** * Features. If provided as {@link ol.Collection}, the features in the source * and the collection will stay in sync. */ features?: Array<ol.Feature> | ol.Collection<ol.Feature>; /** * The feature format used by the XHR feature loader when `url` is set. * Required if `url` is set, otherwise ignored. Default is `undefined`. */ format?: ol.format.Feature; /** * The loader function used to load features, from a remote source for example. * Note that the source will create and use an XHR feature loader when `url` is * set. */ loader?: ol.FeatureLoader; /** * Logo. */ logo?: string | olx.LogoOptions; /** * The loading strategy to use. By default an {@link ol.loadingstrategy.all} * strategy is used, a one-off strategy which loads all features at once. */ strategy?: ol.LoadingStrategy; /** * Setting this option instructs the source to use an XHR loader (see * {@link ol.featureloader.xhr}) and an {@link ol.loadingstrategy.all} for a * one-off download of all features from that URL. * Requires `format` to be set as well. */ url?: string; /** * By default, an RTree is used as spatial index. When features are removed and * added frequently, and the total number of features is low, setting this to * `false` may improve performance. */ useSpatialIndex?: boolean; /** * Wrap the world horizontally. Default is `true`. For vector editing across the * -180° and 180° meridians to work properly, this should be set to `false`. The * resulting geometry coordinates will then exceed the world bounds. */ wrapX?: boolean; } interface WMTSOptions { attributions?: Array<ol.Attribution>; crossOrigin?: string; logo?: string | olx.LogoOptions; tileGrid: ol.tilegrid.WMTS; // REQUIRED ! projection?: ol.proj.ProjectionLike; reprojectionErrorThreshold?: number; requestEncoding?: ol.source.WMTSRequestEncoding; layer: string; //REQUIRED style: string; //REQUIRED tileClass?: Function; tilePixelRatio?: number; version?: string; format?: string; matrixSet: string; //REQUIRED dimensions?: Object; url?: string; maxZoom?: number; tileLoadFunction?: ol.TileLoadFunctionType; urls?: Array<string>; wrapX: boolean; } } namespace style { interface FillOptions { color?: ol.Color | string; } interface StyleOptions { geometry?: string | ol.geom.Geometry | ol.style.GeometryFunction; fill?: ol.style.Fill; image?: ol.style.Image; stroke?: ol.style.Stroke; text?: ol.style.Text; zIndex?: number; } interface TextOptions { font?: string; offsetX?: number; offsetY?: number; scale?: number; rotation?: number; text?: string; textAlign?: string; textBaseline?: string; fill?: ol.style.Fill; stroke?: ol.style.Stroke; } interface StrokeOptions { color?: ol.Color | string; lineCap?: string; lineJoin?: string; lineDash?: Array<number>; miterLimit?: number; width?: number; } interface IconOptions { anchor?: Array<number>; anchorOrigin?: string; anchorXUnits?: string; anchorYUnits?: string; crossOrigin?: string; img?: ol.Image | HTMLCanvasElement; offset?: Array<number>; offsetOrigin?: string; opacity?: number; scale?: number; snapToPixel?: boolean; rotateWithView?: boolean; rotation?: number; size?: ol.Size; imgSize?: ol.Size; src?: string; } interface CircleOptions { fill?: ol.style.Fill; radius: number; snapToPixel?: boolean; stroke?: ol.style.Stroke; } } namespace tilegrid { interface TileGridOptions { /** * Extent for the tile grid. No tiles outside this extent will be requested by ol.source.Tile sources. When no origin or origins are configured, the origin will be set to the bottom-left corner of the extent. When no sizes are configured, they will be calculated from the extent. */ extent?: ol.Extent; /** * Minimum zoom. Default is 0. */ minZoom?: number; /** * Origin, i.e. the bottom-left corner of the grid. Default is null. */ origin?: ol.Coordinate; /** * Origins, i.e. the bottom-left corners of the grid for each zoom level. If given, the array length should match the length of the resolutions array, i.e. each resolution can have a different origin. */ origins?: Array<ol.Coordinate>; /** * Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a minZoom is configured, the resolutions array will have a length of maxZoom + 1. */ resolutions?: Array<number>; /** * Tile size. Default is [256, 256]. */ tileSize?: number | ol.Size; /** * Tile sizes. If given, the array length should match the length of the resolutions array, i.e. each resolution can have a different tile size. */ tileSizes?: Array<number | ol.Size>; } interface WMTSOptions { /** * Extent for the tile grid. No tiles outside this extent will be requested by ol.source.WMTS sources. When no origin or origins are configured, the origin will be calculated from the extent. When no sizes are configured, they will be calculated from the extent. */ extent?: ol.Extent; /** * Origin, i.e. the top-left corner of the grid. */ origin?: ol.Coordinate; /** * Origins, i.e. the top-left corners of the grid for each zoom level. The length of this array needs to match the length of the resolutions array. */ origins?: Array<ol.Coordinate>; /** * Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a minZoom is configured, the resolutions array will have a length of maxZoom + 1 */ resolutions?: Array<number>; /** * matrix IDs. The length of this array needs to match the length of the resolutions array. */ matrixIds?: Array<string>; /** * Number of tile rows and columns of the grid for each zoom level. The values here are the TileMatrixWidth and TileMatrixHeight advertised in the GetCapabilities response of the WMTS, and define the grid's extent together with the origin. An extent can be configured in addition, and will further limit the extent for which tile requests are made by sources. */ sizes?: Array<ol.Size>; /** * Tile size. */ tileSize?: number | ol.Size; /** * Tile sizes. The length of this array needs to match the length of the resolutions array. */ tileSizes?: Array<number | ol.Size>; /** * Number of tile columns that cover the grid's extent for each zoom level. Only required when used with a source that has wrapX set to true, and only when the grid's origin differs from the one of the projection's extent. The array length has to match the length of the resolutions array, i.e. each resolution will have a matching entry here. */ widths?: Array<number>; } interface XYZOptions { /** * Extent for the tile grid. The origin for an XYZ tile grid is the top-left corner of the extent. The zero level of the grid is defined by the resolution at which one tile fits in the provided extent. If not provided, the extent of the EPSG:3857 projection is used. */ extent?: ol.Extent; /** * Maximum zoom. The default is ol.DEFAULT_MAX_ZOOM. This determines the number of levels in the grid set. For example, a maxZoom of 21 means there are 22 levels in the grid set. */ maxZoom?: number; /** * Minimum zoom. Default is 0. */ minZoom?: number; /** * Tile size in pixels. Default is [256, 256]. */ tileSize?: number | ol.Size; } interface ZoomifyOptions { /** * Resolutions */ resolutions: Array<number>; } } namespace view { interface FitGeometryOptions { /** * Padding (in pixels) to be cleared inside the view. Values in the array are top, right, bottom and left padding. Default is [0, 0, 0, 0]. */ padding?: Array<number>; /** * Constrain the resolution. Default is true. */ constrainResolution?: boolean; /** * Get the nearest extent. Default is false. */ nearest?: boolean; /** * Minimum resolution that we zoom to. Default is 0. */ minResolution?: number; /** * Maximum zoom level that we zoom to. If minResolution is given, this property is ignored. */ maxZoom?: number; } } namespace format { interface WKTOptions { /** * Whether to split GeometryCollections into multiple features on reading. Default is false. */ splitCollection?: boolean; } interface GeoJSONOptions { /** * Default data projection. */ defaultDataProjection?: ol.proj.ProjectionLike | ol.proj.Projection; /** * Geometry name to use when creating features */ geometryName?: string; } interface ReadOptions { /** * Projection of the data we are reading. If not provided, the projection will be derived from the data (where possible) or the defaultDataProjection of the format is assigned (where set). If the projection can not be derived from the data and if no defaultDataProjection is set for a format, the features will not be reprojected. */ dataProjection?: ol.proj.ProjectionLike | ol.proj.Projection; /** * Projection of the feature geometries created by the format reader. If not provided, features will be returned in the dataProjection. */ featureProjection?: ol.proj.ProjectionLike | ol.proj.Projection; } interface WriteOptions { /** * Projection of the data we are writing. If not provided, the defaultDataProjection of the format is assigned (where set). If no defaultDataProjection is set for a format, the features will be returned in the featureProjection. */ dataProjection?: ol.proj.ProjectionLike | ol.proj.Projection; /** * Projection of the feature geometries that will be serialized by the format writer. */ featureProjection?: ol.proj.ProjectionLike | ol.proj.Projection; /** * When writing geometries, follow the right-hand rule for linear ring orientation. This means that polygons will have counter-clockwise exterior rings and clockwise interior rings. By default, coordinates are serialized as they are provided at construction. If true, the right-hand rule will be applied. If false, the left-hand rule will be applied (clockwise for exterior and counter-clockwise for interior rings). Note that not all formats support this. The GeoJSON format does use this property when writing geometries. */ rightHanded?: boolean; } } } /** * A high-performance, feature-packed library for all your mapping needs. */ declare namespace ol { interface TileLoadFunctionType { (image: ol.Image, url: string): void } interface ImageLoadFunctionType { (image: ol.Image, url: string): void } /** * An attribution for a layer source. */ class Attribution { /** * @constructor * @param options Attribution options. */ constructor(options: olx.AttributionOptions); /** * Get the attribution markup. * @returns The attribution HTML. */ getHTML(): string; } /** * An expanded version of standard JS Array, adding convenience methods for manipulation. Add and remove changes to the Collection trigger a Collection event. Note that this does not cover changes to the objects within the Collection; they trigger events on the appropriate object, not on the Collection as a whole. */ class Collection<T> extends ol.Object { /** * @constructor * @param values Array. */ constructor(values: Array<T>) /** * Remove all elements from the collection. */ clear(): void; /** * Add elements to the collection. This pushes each item in the provided array to the end of the collection. * @param arr Array. * @returns This collection. */ extend(arr: Array<T>): Collection<T>; /** * Iterate over each element, calling the provided callback. * @param f The function to call for every element. This function takes 3 arguments (the element, the index and the array). * @param ref The object to use as this in f. */ forEach(f: (element: T, index: number, array: Array<T>) => void, ref?: any): void; /** * Get a reference to the underlying Array object. Warning: if the array is mutated, no events will be dispatched by the collection, and the collection's "length" property won't be in sync with the actual length of the array. * @returns Array. */ getArray(): Array<T>; /** * Get the length of this collection. * @returns The length of the array. */ getLength(): number; /** * Insert an element at the provided index. * @param index Index. * @param elem Element. */ insertAt(index: number, elem: T): void; /** * Get the element at the provided index. * @param index Index. * @returns Element. */ item(index: number): T; /** * Remove the last element of the collection and return it. Return undefined if the collection is empty. * @returns Element */ pop(): T; /** * Insert the provided element at the end of the collection. * @param Element. * @returns Length. */ push(elem: T): number; /** * Remove the first occurrence of an element from the collection. * @param elem Element. * @returns The removed element or undefined if none found. */ remove(elem: T): T; /** * Remove the element at the provided index and return it. Return undefined if the collection does not contain this index. * @param index Index. * @returns Value. */ removeAt(index: number): T; /** * Set the element at the provided index. * @param index Index. * @param elem Element. */ setAt(index: number, elem: T): void; } /** * Events emitted by ol.Collection instances are instances of this type. */ class CollectionEvent<T> { /** * The element that is added to or removed from the collection. */ element: T; } /** * The ol.DeviceOrientation class provides access to information from DeviceOrientation events. */ class DeviceOrientation extends ol.Object { /** * @constructor * @param options Options. */ constructor(options?: olx.DeviceOrientationOptions); /** * Rotation around the device z-axis (in radians). * @returns The euler angle in radians of the device from the standard Z axis. */ getAlpha(): number; /** * Rotation around the device x-axis (in radians). * @returns The euler angle in radians of the device from the planar X axis. */ getBeta(): number; /** * Rotation around the device y-axis (in radians). * @returns The euler angle in radians of the device from the planar Y axis. */ getGamma(): number; /** * The heading of the device relative to north (in radians). * @returns The heading of the device relative to north, in radians, normalizing for different browser behavior. */ getHeading(): number; /** * Determine if orientation is being tracked. * @returns Changes in device orientation are being tracked. */ getTracking(): boolean; /** * Enable or disable tracking of device orientation events. * @param tracking The status of tracking changes to alpha, beta and gamma. If true, changes are tracked and reported immediately. */ setTracking(tracking: boolean): void; } /** * Events emitted by ol.interaction.DragBox instances are instances of this type. */ class DragBoxEvent { /** * The coordinate of the drag event. */ coordinate: ol.Coordinate; } /** * A vector object for geographic features with a geometry and other attribute properties, similar to the features in vector file formats like GeoJSON. */ class Feature extends ol.Object { /** * @constructor * @param geometry Geometry. */ // TODO: replace any with Object <string, *> constructor(geometryOrProperties?: ol.geom.Geometry | any); /** * Clone this feature. If the original feature has a geometry it is also cloned. The feature id is not set in the clone. * @returns The clone. */ clone(): Feature; /** * Get the feature's default geometry. A feature may have any number of named geometries. The "default" geometry (the one that is rendered by default) is set when calling ol.Feature#setGeometry. * @returns The default geometry for the feature. */ getGeometry(): ol.geom.Geometry; /** * Get the name of the feature's default geometry. By default, the default geometry is named geometry. * @returns Get the property name associated with the default geometry for this feature. */ getGeometryName(): string; /** * @returns Id. */ getId(): string | number; /** * Get the feature's style. This return for this method depends on what was provided to the ol.Feature#setStyle method. * The feature style. */ getStyle(): ol.style.Style | Array<ol.style.Style> | ol.FeatureStyleFunction; /** * Get the feature's style function. * @returns Return a function representing the current style of this feature. */ getStyleFunction(): ol.FeatureStyleFunction; /** * Set the default geometry for the feature. This will update the property with the name returned by ol.Feature#getGeometryName. * @param geometry The new geometry. */ setGeometry(geometry: ol.geom.Geometry): void; /** * Set the property name to be used when getting the feature's default geometry. When calling ol.Feature#getGeometry, the value of the property with this name will be returned. * @param name The property name of the default geometry. */ setGeometryName(name: string): void; /** * Set the feature id. The feature id is considered stable and may be used when requesting features or comparing identifiers returned from a remote source. The feature id can be used with the ol.source.Vector#getFeatureById method. * @param id The feature id. */ setId(id: string | number): void; /** * Set the style for the feature. This can be a single style object, an array of styles, or a function that takes a resolution and returns an array of styles. If it is null the feature has no style (a null style). * @param style Style for this feature. */ setStyle(style: ol.style.Style): void; /** * Set the style for the feature. This can be a single style object, an array of styles, or a function that takes a resolution and returns an array of styles. If it is null the feature has no style (a null style). * @param style Style for this feature. */ setStyle(style: Array<ol.style.Style>): void; /** * Set the style for the feature. This can be a single style object, an array of styles, or a function that takes a resolution and returns an array of styles. If it is null the feature has no style (a null style). * @param style Style for this feature. */ setStyle(style: ol.FeatureStyleFunction): void; } /** * A mechanism for changing the style of a small number of features on a temporary basis, for example highlighting. */ class FeatureOverlay { /** * @constructor * @param options Options. */ constructor(options?: olx.FeatureOverlayOptions); /** * Add a feature to the overlay. * @param feature Feature. */ addFeature(feature: ol.Feature): void; /** * Get the features on the overlay. * @returns Features collection. */ getFeatures: ol.Collection<ol.Feature>; /** * Get the map associated with the overlay. * @returns The map with which this feature overlay is associated. */ getMap(): ol.Map; /** * Get the style for features. This returns whatever was passed to the style option at construction or to the setStyle method. * @returns Overlay style. */ getStyle(): ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction; /** * Get the style function * @returns Style function */ getStyleFunction(): ol.style.StyleFunction; /** * Remove a feature from the overlay. * @param feature The feature to be removed. */ removeFeature(feature: ol.Feature): void; /** * Set the features for the overlay. * @param features Features collection. */ setFeatures(features: ol.Collection<ol.Feature>): void; /** * Set the map for the overlay. * @param map Map. */ setMap(map: ol.Map): void; /** * Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. * @param style Overlay style */ setStyle(style: ol.style.Style): void; /** * Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. * @param style Overlay style */ setStyle(style: Array<ol.style.Style>): void; /** * Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. * @param style Overlay style */ setStyle(style: ol.style.StyleFunction): void; } /** * Helper class for providing HTML5 Geolocation capabilities. The Geolocation API is used to locate a user's position. */ class Geolocation extends ol.Object { /** * @constructor * @param options Options. */ constructor(options?: olx.GeolocationOptions); /** * Get the accuracy of the position in meters. * @returns The accuracy of the position measurement in meters. */ getAccuracy(): number; /** * Get a geometry of the position accuracy. * @returns A geometry of the position accuracy. */ getAccuracyGeometry(): ol.geom.Geometry; /** * Get the altitude associated with the position. * @returns The altitude of the position in meters above mean sea level. */ getAltitude(): number; /** * Get the altitude accuracy of the position. * @returns The accuracy of the altitude measurement in meters. */ getAltitudeAccuracy(): number; /** * Get the heading as radians clockwise from North. * @returns The heading of the device in radians from north. */ getHeading(): number; /** * Get the position of the device. * @returns The current position of the device reported in the current projection. */ getPosition(): ol.Coordinate; /** * Get the projection associated with the position. * @returns The projection the position is reported in. */ getProjection(): ol.proj.Projection; /** * Get the speed in meters per second. * @returns The instantaneous speed of the device in meters per second. */ getSpeed(): number; /** * Determine if the device location is being tracked. * @returns The device location is being tracked. */ getTracking(): boolean; /** * Get the tracking options. * @returns PositionOptions as defined by the HTML5 Geolocation spec. */ getTrackingOptions(): PositionOptions; /** * Set the projection to use for transforming the coordinates. * @param projection The projection the position is reported in. */ setProjection(projection: ol.proj.Projection): void; /** * Enable or disable tracking. * @param tracking Enable tracking */ setTracking(tracking: boolean): void; /** * Set the tracking options. * @param PositionOptions as defined by the HTML5 Geolocation spec. */ setTrackingOptions(options: PositionOptions): void; } /** * Render a grid for a coordinate system on a map. */ class Graticule { /** * @constructor * @param options Options. */ constructor(options?: olx.GraticuleOptions); /** * Get the map associated with this graticule. * @returns The map. */ getMap(): Map; /** * Get the list of meridians. Meridians are lines of equal longitude. * @returns The meridians. */ getMeridians(): Array<ol.geom.LineString>; /** * Get the list of parallels. Pallels are lines of equal latitude. * @returns The parallels. */ getParallels(): Array<ol.geom.LineString>; /** * Set the map for this graticule.The graticule will be rendered on the provided map. * @param map Map */ setMap(map: Map): void; } /** * */ class Image extends ol.ImageBase { /** * Get the HTML image element (may be a Canvas, Image, or Video). * @param context Object. * @returns Image. */ getImage(context: HTMLCanvasElement): Image; /** * Get the HTML image element (may be a Canvas, Image, or Video). * @param context Object. * @returns Image. */ getImage(context: HTMLImageElement): Image; /** * Get the HTML image element (may be a Canvas, Image, or Video). * @param context Object. * @returns Image. */ getImage(context: HTMLVideoElement): Image; } /** * */ class ImageBase { } /** * */ class ImageTile extends ol.Tile { /** * Get the HTML image element for this tile (may be a Canvas, Image, or Video). * @param context Object. * @returns Image. */ getImage(context: HTMLCanvasElement): Image; /** * Get the HTML image element for this tile (may be a Canvas, Image, or Video). * @param context Object. * @returns Image. */ getImage(context: HTMLImageElement): Image; /** * Get the HTML image element for this tile (may be a Canvas, Image, or Video). * @param context Object. * @returns Image. */ getImage(context: HTMLVideoElement): Image; } /** * Implementation of inertial deceleration for map movement. */ class Kinetic { /** * @constructor * @param decay Rate of decay (must be negative). * @param Minimum velocity (pixels/millisecond). * @param Delay to consider to calculate the kinetic initial values (milliseconds). */ constructor(decay: number, minVelocity: number, delay: number); } /** * The map is the core component of OpenLayers. For a map to render, a view, one or more layers, and a target container are needed. */ class Map extends ol.Object { /** * @constructor * @params options Options. */ constructor(options: olx.MapOptions); /** * Add the given control to the map. * @param control Control. */ addControl(control: ol.control.Control): void; /** * Add the given interaction to the map. * @param interaction Interaction to add. */ addInteraction(interaction: ol.interaction.Interaction): void; /** * Adds the given layer to the top of this map. If you want to add a layer elsewhere in the stack, use getLayers() and the methods available on ol.Collection. * @param Layer. */ addLayer(layer: ol.layer.Base): void; /** * Add the given overlay to the map. * @param overlay Overlay. */ addOverlay(overlay: ol.Overlay): void; /** * Add functions to be called before rendering. This can be used for attaching animations before updating the map's view. The ol.animation namespace provides several static methods for creating prerender functions. * @param var_args Any number of pre-render functions. */ beforeRender(var_args: ol.PreRenderFunction): void; /** * Detect features that intersect a pixel on the viewport, and execute a callback with each intersecting feature. Layers included in the detection can be configured through opt_layerFilter. Feature overlays will always be included in the detection. * @param pixel Pixel. * @param callback Feature callback. The callback will be called with two arguments. The first argument is one feature at the pixel, the second is the layer of the feature. If the detected feature is not on a layer, but on a ol.FeatureOverlay, then the second argument to this function will be null. To stop detection, callback functions can return a truthy value. * @param ref Value to use as this when executing callback. * @param layerFilter Layer filter function. The filter function will receive one argument, the layer-candidate and it should return a boolean value. Only layers which are visible and for which this function returns true will be tested for features. By default, all visible layers will be tested. Feature overlays will always be tested. * @param ref2 Value to use as this when executing layerFilter. * @returns Callback result, i.e. the return value of last callback execution, or the first truthy callback return value. */ forEachFeatureAtPixel(pixel: ol.Pixel, callback: (feature: ol.Feature, layer: ol.layer.Layer) => any, ref?: any, layerFilter?: (layerCandidate: ol.layer.Layer) => boolean, ref2?: any): void; /** * Detect layers that have a color value at a pixel on the viewport, and execute a callback with each matching layer. Layers included in the detection can be configured through opt_layerFilter. Feature overlays will always be included in the detection. * @param pixel Pixel. * @param callback Layer callback. Will receive one argument, the layer that contains the color pixel. If the detected color value is not from a layer, but from a ol.FeatureOverlay, then the argument to this function will be null. To stop detection, callback functions can return a truthy value. * @param ref Value to use as this when executing callback. * @param layerFilter Layer filter function. The filter function will receive one argument, the layer-candidate and it should return a boolean value. Only layers which are visible and for which this function returns true will be tested for features. By default, all visible layers will be tested. Feature overlays will always be tested. * @param ref2 Value to use as this when executing layerFilter. * @returns Callback result, i.e. the return value of last callback execution, or the first truthy callback return value. */ forEachLayerAtPixel(pixel: ol.Pixel, callback: (layer: ol.layer.Layer) => any, ref?: any, layerFilter?: (layerCandidate: ol.layer.Layer) => boolean, ref2?: any): void; /** * Get the map controls. Modifying this collection changes the controls associated with the map. * @returns Controls. */ getControls(): ol.Collection<ol.control.Control>; /** * Get the coordinate for a given pixel. This returns a coordinate in the map view projection. * @param pixel Pixel position in the map viewport. * @returns The coordinate for the pixel position. */ getCoordinateFromPixel(pixel: ol.Pixel): ol.Coordinate; /** * Returns the geographical coordinate for a browser event. * @param event Event. * @returns Coordinate. */ getEventCoordinate(event: Event): ol.Coordinate; /** * Returns the map pixel position for a browser event relative to the viewport. * @param event Event. * @returns Pixel. */ getEventPixel(event: Event): ol.Pixel; /** * Get the map interactions. Modifying this collection changes the interactions associated with the map. * @returns Interactions */ getInteractions(): ol.Collection<ol.interaction.Interaction>; /** * Get the layergroup associated with this map. * @returns A layer group containing the layers in this map. */ getLayerGroup(): ol.layer.Group; /** * Get the collection of layers associated with this map. * @returns Layers. */ getLayers(): ol.Collection<ol.layer.Base>; /** * Get the map overlays. Modifying this collection changes the overlays associated with the map. * @returns Overlays. */ getOverlays(): ol.Collection<ol.Overlay>; /** * Get the pixel for a coordinate. This takes a coordinate in the map view projection and returns the corresponding pixel. * @param coordinate A map coordinate. * @returns A pixel position in the map viewport. */ getPixelFromCoordinate(coordinate: ol.Coordinate): ol.Pixel; /** * Get the size of this map. * @returns The size in pixels of the map in the DOM. */ getSize(): ol.Size; /** * Get the target in which this map is rendered. Note that this returns what is entered as an option or in setTarget: if that was an element, it returns an element; if a string, it returns that. * @returns The Element or id of the Element that the map is rendered in. */ getTarget(): Element | string; /** * Get the DOM element into which this map is rendered. In contrast to getTarget this method always return an Element, or null if the map has no target. * @returns The element that the map is rendered in. */ getTargetElement(): Element; /** * Get the view associated with this map. A view manages properties such as center and resolution. * @returns The view that controls this map. */ getView(): View; /** * Get the element that serves as the map viewport. * @returns Viewport. */ getViewport(): Element; /** * Detect if features intersect a pixel on the viewport. Layers included in the detection can be configured through opt_layerFilter. Feature overlays will always be included in the detection. * @param pixel Pixel. * @param layerFilter Layer filter function. The filter function will receive one argument, the layer-candidate and it should return a boolean value. Only layers which are visible and for which this function returns true will be tested for features. By default, all visible layers will be tested. Feature overlays will always be tested. * @param ref Value to use as this when executing layerFilter. * @returns Is there a feature at the given pixel? */ hasFeatureAtPixel(pixel: ol.Pixel, layerFilter?: (layer: ol.layer.Layer) => boolean, ref?: any): boolean; /** * Remove the given control from the map. * @param Control. * @returns The removed control (or undefined if the control was not found). */ removeControl(control: ol.control.Control): ol.control.Control; /** * Remove the given interaction from the map. * @param interaction Interaction to remove. * @returns The removed interaction (or undefined if the interaction was not found). */ removeInteraction(interaction: ol.interaction.Interaction): ol.interaction.Interaction; /** * Removes the given layer from the map. * @param Layer. * @returns The removed layer (or undefined if the layer was not found). */ removeLayer(layer: ol.layer.Base): ol.layer.Base; /** * Remove the given overlay from the map. * @param Overlay. * @returns The removed overlay (or undefined if the overlay was not found). */ removeOverlay(overlay: ol.Overlay): ol.Overlay; /** * Request a map rendering (at the next animation frame). */ render(): void; /** * Requests an immediate render in a synchronous manner. */ renderSync(): void; /** * Sets the layergroup of this map. * @param layerGroup A layer group containing the layers in this map. */ setLayerGroup(layerGroup: ol.layer.Group): void; /** * Set the size of this map. * @param size The size in pixels of the map in the DOM. */ setSize(size: ol.Size): void; /** * Set the target element to render this map into. * @param target The Element that the map is rendered in. */ setTarget(target: Element): void; /** * Set the target element to render this map into. * @param target The id of the element that the map is rendered in. */ setTarget(target: string): void; /** * Set the view for this map. * @param view The view that controls this map. */ setView(view: View): void; /** * Force a recalculation of the map viewport size. This should be called when third-party code changes the size of the map viewport. * */ updateSize(): void; } /** * Events emitted as map browser events are instances of this type. See ol.Map for which events trigger a map browser event. */ class MapBrowserEvent extends MapEvent { /** * The coordinate of the original browser event */ coordinate: Coordinate; /** * Indicates if the map is currently being dragged. Only set for POINTERDRAG and POINTERMOVE events. Default is false. */ dragging: boolean; /** * The frame state at the time of the event */ frameState: olx.FrameState; /** * The map where the event occured */ map: Map; /** * The original browser event */ originalEvent: Event; /** * The pixel of the original browser event. */ pixel: Pixel; // Methods /** * Prevents the default browser action. */ preventDefault(): void; /** * Prevents further propagation of the current event. */ stopPropagation(): void; } /** * Events emitted as map events are instances of this type. See ol.Map for which events trigger a map event. */ class MapEvent { /** * The frame state at the time of the event. */ frameState: olx.FrameState; /** * The map where the event occurred. */ map: Map; } /** * Abstract base class; normally only used for creating subclasses and not instantiated in apps. Most non-trivial classes inherit from this. */ class Object extends Observable { /** * @constructor * @param values An object with key-value pairs. */ constructor(values?: Object); /** * Gets a value. * @param key Key name. * @returns Value. */ get(key: string): any; /** * Get a list of object property names. * @returns List of property names. */ getKeys(): Array<string>; /** * Get an object of all property names and values. * @returns Object. */ getProperties(): Object; /** * @returns Revision. */ getRevision(): number; /** * Sets a value. * @param key Key name. * @param value Value. */ set(key: string, value: any): void; /** * Sets a collection of key-value pairs. Note that this changes any existing properties and adds new ones (it does not remove any existing properties). * @param Values. */ setProperties(values: Object): void; /** * Unsets a property. */ unset(key: string): void; } /** * Events emitted by ol.Object instances are instances of this type. */ class ObjectEvent { /** * The name of the property whose value is changing. */ key: string; /** * The old value. To get the new value use e.target.get(e.key) where e is the event object. */ oldValue: any; } /** * Abstract base class; normally only used for creating subclasses and not instantiated in apps. An event target providing convenient methods for listener registration and unregistration. A generic change event is always available through ol.Observable#changed. */ class Observable { /** * Removes an event listener using the key returned by on() or once(). */ unByKey(key: any): void; /** * Increases the revision counter and dispatches a 'change' event. */ changed(): void; /** * @returns Revision. */ getRevision(): number; /** * Listen for a certain type of event. * @param type The event type. * @param listener The listener function. * @param ref The object to use as this in listener. * @returns Unique key for the listener. */ on(type: string, listener: (event: MapBrowserEvent) => void, ref?: any): any; /** * Listen for a certain type of event. * @param type The array of event types. * @param listener The listener function. * @param ref The object to use as this in listener. * @returns Unique key for the listener. */ on(type: Array<string>, listener: (event: MapBrowserEvent) => void, ref?: any): any; /** * Listen once for a certain type of event. * @param type The event type. * @param listener The listener function. * @param ref The object to use as this in listener. * @returns Unique key for the listener. */ once(type: string, listener: (event: MapBrowserEvent) => void, ref?: any): any; /** * Listen once for a certain type of event. * @param type The array of event types. * @param listener The listener function. * @param ref The object to use as this in listener. * @returns Unique key for the listener. */ once(type: Array<string>, listener: (event: MapBrowserEvent) => void, ref?: any): any; /** * Unlisten for a certain type of event. * @param type The array of event types. * @param listener The listener function. * @param ref The object to use as this in listener. * @returns Unique key for the listener. */ un(type: Array<string>, listener: (event: MapBrowserEvent) => void, ref?: any): any; /** * Removes an event listener using the key returned by on() or once(). Note that using the ol.Observable.unByKey static function is to be preferred. * @param key The key returned by on() or once() */ unByKey(key: any): void; } /** * An element to be displayed over the map and attached to a single map location. */ class Overlay extends ol.Object { /** * @constructor * @param options Overlay options. */ constructor(options: olx.OverlayOptions); /** * Get the DOM element of this overlay. * @returns The Element containing the overlay. */ getElement(): Element; /** * Get the map associated with this overlay. * @returns The map that the overlay is part of. */ getMap(): ol.Map; /** * Get the offset of this overlay. * @returns The offset. */ getOffset(): Array<number>; /** * Get the current position of this overlay. * @returns The spatial point that the overlay is anchored at. */ getPosition(): ol.Coordinate; /** * Get the current positioning of this overlay. * @returns How the overlay is positioned relative to its point on the map. */ getPositioning(): ol.OverlayPositioning; /** * Set the DOM element to be associated with this overlay. * @param element The element containing the overlay. */ setElement(element: Element): void; /** * Set the map to be associated with this overlay. * @param map The map that the overlay is part of. */ setMap(map: Map): void; /** * Set the offset for this overlay. * @param offset Offset. */ setOffset(offset: Array<number>): void; /** * Set the position for this overlay. If the position is undefined the overlay is hidden. * @param position The spatial point that the overlay is anchored at. */ setPosition(position: ol.Coordinate): void; /** * Set the positioning for this overlay. * @param How the overlay is positioned relative to its point on the map. */ setPositioning(positioning: ol.OverlayPositioning): void; } /** * Events emitted by ol.interaction.Select instances are instances of this type. */ class SelectEvent { /** * Deselected features array. */ deselected: Array<ol.Feature>; /** * Associated ol.MapBrowserEvent; */ mapBrowserEvent: ol.MapBrowserEvent; /** * Selected features array. */ selected: Array<ol.Feature> } /** * Class to create objects that can be used with ol.geom.Polygon.circular. */ class Sphere { /** * @constructor * @param radius Radius. */ constructor(radius: number); /** * Returns the geodesic area for a list of coordinates. * @param coordinates List of coordinates of a linear ring. If the ring is oriented clockwise, the area will be positive, otherwise it will be negative. * @returns Area. */ geodesicArea(coordinates: Array<ol.Coordinate>): number; /** * Returns the distance from c1 to c2 using the haversine formula. * @param c1 Coordinate 1. * @param c2 Coordinate 2. * @returns Haversine distance. */ haversineDistance(c1: ol.Coordinate, c2: ol.Coordinate): number; } /** * Base class for tiles. */ class Tile { /** * Get the tile coordinate for this tile. * @returns TileCoord. */ getTileCoord(): ol.TileCoord; } /** * An ol.View object represents a simple 2D view of the map. */ class View extends ol.Object { /** * @constructor * @param options Options. */ constructor(options?: olx.ViewOptions); /** * Calculate the extent for the current view state and the passed size. The size is the pixel dimensions of the box into which the calculated extent should fit. In most cases you want to get the extent of the entire map, that is map.getSize(). * @param size Box pixel size * @returns Extent. */ calculateExtent(size: ol.Size): ol.Extent; /** * Center on coordinate and view position. * @param coordinate Coordinate. * @param size Box pixel size * @param position Position on the view to center on */ centerOn(coordinate: ol.Coordinate, size: ol.Size, position: ol.Pixel): void; /** * Get the constrained center of this view. * @param center Center. * @returns Constrained center. */ constrainCenter(center: ol.Coordinate): ol.Coordinate; /** * Get the constrained resolution of this view. * @param resolution: Resolution. * @param delta Delta. Default is 0. * @param direction Direction. Default is 0. * @returns Constrained resolution */ constrainResolution(resolution: number, delta?: number, direction?: number): number; /** * Fit the map view to the passed extent and size. The size is pixel dimensions of the box to fit the extent into. In most cases you will want to use the map size, that is map.getSize(). * @param extent Extent. * @param size Box pixel size. * @param options Options */ fit(geometry: ol.geom.SimpleGeometry | ol.Extent, size: ol.Size, opt_options?: olx.view.FitGeometryOptions): void; /** * Get the view center. * @returns The center of the view. */ getCenter(): ol.Coordinate; /** * Get the view projection * @returns The projection of the view. */ getProjection(): ol.proj.Projection; /** * Get the view resolution * @returns The resolution of the view. */ getResolution(): number; /** * Get the view rotation * @returns The rotation of the view in radians */ getRotation(): number; /** * Get the current zoom level. Return undefined if the current resolution is undefined or not a "constrained resolution". * @returns Zoom. */ getZoom(): number; /** * Rotate the view around a given coordinate. * @param rotation New rotation value for the view. * @param anchor The rotation center. */ rotate(rotation: number, anchor: ol.Coordinate): void; /** * Set the center of the current view. * @param center The center of the view. */ setCenter(center: ol.Coordinate): void; /** * Set the resolution for this view. * @param resolution The resolution of the view. */ setResolution(resolution: number): void; /** * Set the rotation for this view. * @param rotation The rotation of the view in radians. */ setRotation(rotation: number): void; /** * Zoom to a specific zoom level. * @param zoom Zoom level. */ setZoom(zoom: number): void; } // NAMESPACES /** * The animation static methods are designed to be used with the ol.Map#beforeRender method. */ namespace animation { /** * Generate an animated transition that will "bounce" the resolution as it approaches the final value. * @param options Bounce options. */ function bounce(options: olx.animation.BounceOptions): ol.PreRenderFunction; /** * Generate an animated transition while updating the view center. * @param options Pan options. */ function pan(options: olx.animation.PanOptions): ol.PreRenderFunction; /** * Generate an animated transition while updating the view rotation. * @param options Rotate options. */ function rotate(options: olx.animation.RotateOptions): ol.PreRenderFunction; /** * Generate an animated transition while updating the view resolution. * @param options Zoom options. */ function zoom(options: olx.animation.ZoomOptions): ol.PreRenderFunction; } /** * Return the color as an array. This function maintains a cache of calculated arrays which means the result should not be modified. */ namespace color { /** * Return the color as an array. This function maintains a cache of calculated arrays which means the result should not be modified. * @param color Color. */ function asArray(color: ol.Color): ol.Color; /** * Return the color as an array. This function maintains a cache of calculated arrays which means the result should not be modified. * @param color Color. */ function asArray(color: string): ol.Color; /** * Return the color as an rgba string. * @param color Color. */ function asString(color: ol.Color): string; /** * Return the color as an rgba string. * @param color Color. */ function asString(color: string): string; } namespace control { /** * Set of controls included in maps by default. Unless configured otherwise, this returns a collection containing an instance of each of the following controls: ol.control.Zoom, ol.control.Rotate, ol.control.Attribution * @param options Defaults options * @returns Control.s */ function defaults(options?: olx.control.DefaultsOptions): ol.Collection<ol.control.Control>; /** * Units for the scale line. Supported values are 'degrees', 'imperial', 'nautical', 'metric', 'us'. */ interface ScaleLineUnits extends String { } class Attribution { } class Control { } class FullScreen { } class MousePosition { } class OverviewMap { } class Rotate { } class ScaleLine { } class Zoom { } class ZoomSlider { } class ZoomToExtent { } } namespace coordinate { /** * Add delta to coordinate. coordinate is modified in place and returned by the function. * @param coordinate Coordinate * @param delta Delta * @returns The input coordinate adjusted by the given delta. */ function add(coordinate: ol.Coordinate, delta: ol.Coordinate): ol.Coordinate; /** * Returns a ol.CoordinateFormatType function that can be used to format a {ol.Coordinate} to a string. * @param fractionDigits The number of digits to include after the decimal point. Default is 0. * @returns Coordinate format */ function createStringXY(fractionDigits?: number): ol.CoordinateFormatType; /** * Transforms the given ol.Coordinate to a string using the given string template. The strings {x} and {y} in the template will be replaced with the first and second coordinate values respectively. * @param coordinate Coordinate * @param template A template string with {x} and {y} placeholders that will be replaced by first and second coordinate values. * @param fractionDigits The number of digits to include after the decimal point. Default is 0. * @returns Formatted coordinate */ function format(coordinate: ol.Coordinate, template: string, fractionDigits?: number): string; /** * Rotate coordinate by angle. coordinate is modified in place and returned by the function. * @param coordinate Coordinate * @param angle Angle in radian * @returns Coordinatee */ function rotate(coordinate: ol.Coordinate, angle: number): ol.Coordinate; /** * Format a geographic coordinate with the hemisphere, degrees, minutes, and seconds. * @param coordinate COordinate * @returns Hemisphere, degrees, minutes and seconds. */ function toStringHDMS(coordinate?: ol.Coordinate): string; /** * Format a coordinate as a comma delimited string. * @param coordinate Coordinate * @param fractionDigits The number of digits to include after the decimal point. Default is 0. * @returns XY */ function toStringXY(coordinate?: ol.Coordinate, fractionDigits?: number): string; } /** * Easing functions for ol.animation. */ namespace easing { /** * Start slow and speed up. * @param number Input between 0 and 1 * @returns Output between 0 and 1 */ function easeIn(t: number): number; /** * Start fast and slow down. * @param number Input between 0 and 1 * @returns Output between 0 and 1 */ function easeOut(t: number): number; /** * Start slow, speed up, and then slow down again. * @param number Input between 0 and 1 * @returns Output between 0 and 1 */ function inAndOut(t: number): number; /** * Maintain a constant speed over time. * @param number Input between 0 and 1 * @returns Output between 0 and 1 */ function linear(t: number): number; /** * Start slow, speed up, and at the very end slow down again. This has the same general behavior as ol.easing.inAndOut, but the final slowdown is delayed. * @param number Input between 0 and 1 * @returns Output between 0 and 1 */ function upAndDown(t: number): number; } namespace events { namespace condition { function altKeyOnly(mapBrowserEvent: ol.MapBrowserEvent): boolean; function altShiftKeyOnly(mapBrowserEvent: ol.MapBrowserEvent): boolean; function always(mapBrowserEvent: ol.MapBrowserEvent): boolean; function click(mapBrowserEvent: ol.MapBrowserEvent): boolean; function doubleClick(mapBrowserEvent: ol.MapBrowserEvent): boolean; function mouseOnly(mapBrowserEvent: ol.MapBrowserEvent): boolean; function never(mapBrowserEvent: ol.MapBrowserEvent): boolean; function noModifierKeys(mapBrowserEvent: ol.MapBrowserEvent): boolean; function platformModifierKeyOnly(mapBrowserEvent: ol.MapBrowserEvent): boolean; function pointerMove(mapBrowserEvent: ol.MapBrowserEvent): boolean; function shiftKeyOnly(mapBrowserEvent: ol.MapBrowserEvent): boolean; function singleClick(mapBrowserEvent: ol.MapBrowserEvent): boolean; function targetNotEditable(mapBrowserEvent: ol.MapBrowserEvent): boolean; } interface ConditionType { (mapBrowseEvent: ol.MapBrowserEvent): boolean; } } namespace extent { /** * Apply a transform function to the extent. * @param extent Extent * @param transformFn Transform function. Called with [minX, minY, maxX, maxY] extent coordinates. * @param destinationExtent Destination Extent * @returns Extent */ function applyTransform(extent: ol.Extent, transformFn: ol.TransformFunction, destinationExtent?: ol.Extent): ol.Extent; /** * Build an extent that includes all given coordinates. * @param coordinates Coordinates * @returns Bounding extent */ function boundingExtent(coordinates: Array<ol.Coordinate>): ol.Extent; /** * Return extent increased by the provided value. * @param extent Extent * @param value The amount by which the extent should be buffered. * @param destinationExtent Destination Extent * @returns Extent */ function buffer(extent: ol.Extent, value: number, destinationExtent?: ol.Extent): ol.Extent; /** * Check if the passed coordinate is contained or on the edge of the extent. * @param extent Extent * @param coordinate Coordinate * @returns The coordinate is contained in the extent */ function containsCoordinate(extent: ol.Extent, coordinate: ol.Coordinate): boolean; /** * Check if one extent contains another. An extent is deemed contained if it lies completely within the other extent, including if they share one or more edges. * @param extent1 Extent 1 * @param extent2 Extent 2 * @returns The second extent is contained by or on the edge of the first */ function containsExtent(extent1: ol.Extent, extent2: ol.Extent): boolean; /** * Check if the passed coordinate is contained or on the edge of the extent. * @param extent Extent * @param x X coordinate * @param y Y coordinate * @returns The x, y values are contained in the extent. */ function containsXY(extent: ol.Extent, x: number, y: number): boolean; /** * Create an empty extent. * @returns Empty extent */ function createEmpty(): ol.Extent; /** * Determine if two extents are equivalent. * @param extent1 Extent 1 * @param extent2 Extent 2 * @returns The two extents are equivalent */ function equals(extent1: ol.Extent, extent2: ol.Extent): boolean; /** * Modify an extent to include another extent. * @param extent1 The extent to be modified. * @param extent2 The extent that will be included in the first. * @returns A reference to the first (extended) extent. */ function extend(extent1: ol.Extent, extent2: ol.Extent): ol.Extent; /** * Get the bottom left coordinate of an extent. * @param extent Extent * @returns Bottom left coordinate */ function getBottomLeft(extent: ol.Extent): ol.Coordinate; /** * Get the bottom right coordinate of an extent. * @param extent Extent * @returns Bottom right coordinate */ function getBottomRight(extent: ol.Extent): ol.Coordinate; /** * Get the center coordinate of an extent. * @param extent Extent * @returns Center */ function getCenter(extent: ol.Extent): ol.Coordinate; /** * Get the height of an extent. * @param extent Extent * @returns Height */ function getHeight(extent: ol.Extent): number; /** * Get the intersection of two extents. * @param extent1 Extent 1 * @param extent2 Extent 2 * @param extent Optional extent to populate with intersection. * @returns Intersecting extent */ function getIntersection(extent1: ol.Extent, extent2: ol.Extent, extent?: ol.Extent): ol.Extent; /** * Get the size (width, height) of an extent. * @param extent Extent * @returns The extent size */ function getSize(extent: ol.Extent): ol.Size; /** * Get the top left coordinate of an extent. * @param extent Extent * @returns Top left coordinate */ function getTopLeft(extent: ol.Extent): ol.Coordinate; /** * Get the top right coordinate of an extent. * @param extent Extent * @returns Top right coordinate */ function getTopRight(extent: ol.Extent): ol.Coordinate; /** * Get the width of an extent. * @param extent Extent * @returns Width */ function getWidth(extent: ol.Extent): number; /** * Determine if one extent intersects another. * @param extent1 Extent 1 * @param extent2 Extent 2 * @returns The two extents intersects */ function intersects(extent1: ol.Extent, extent2: ol.Extent): boolean; /** * Determine if an extent is empty. * @param extent Extent * @returns Is empty */ function isEmpty(extent: ol.Extent): boolean; } /** * Loading mechanisms for vector data. */ namespace featureloader { /** * Create an XHR feature loader for a url and format. The feature loader loads features (with XHR), parses the features, and adds them to the vector source. * @param url Feature URL Service * @param format Feature format * @returns The feature loader */ function xhr(url: string, format: ol.format.Feature): ol.FeatureLoader; } namespace format { // Type definitions interface IGCZ extends String { } // Classes class EsriJSON { } class Feature { } /** * Feature format for reading and writing data in the GeoJSON format. */ class GeoJSON extends ol.format.JSONFeature { /** * @constructor * @param Options */ constructor(options?: olx.format.GeoJSONOptions); /** * Read a feature from a GeoJSON Feature source. Only works for Feature, use readFeatures to read FeatureCollection source. * @param source Source * @param options Read options * @returns Feature */ readFeature(source: Document | Node | JSON | string, options?: olx.format.ReadOptions): ol.Feature; /** * Read all features from a GeoJSON source. Works with both Feature and FeatureCollection sources. * @param source Source * @param options Read options * @returns Features */ readFeatures(source: Document | Node | JSON | string, options?: olx.format.ReadOptions): Array<ol.Feature>; /** * Read a geometry from a GeoJSON source. * @param source Source * @param options Read options * @returns Geometry */ readGeometry(source: Document | Node | JSON | string, options?: olx.format.ReadOptions): ol.geom.Geometry; /** * Read the projection from a GeoJSON source. * @param Source * @returns Projection */ readProjection(source: Document | Node | JSON | string): ol.proj.Projection; /** * Encode a feature as a GeoJSON Feature string. * @param feature Feature * @param options Write options * @returns GeoJSON */ writeFeature(feature: ol.Feature, options?: olx.format.WriteOptions): string; /** * Encode a feature as a GeoJSON Feature object. * @param feature Feature * @param options Write options * @returns GeoJSON object */ writeFeatureObject(feature: ol.Feature, options?: olx.format.WriteOptions): JSON; /** * Encode an array of features as GeoJSON. * @param features Features * @param options Write options * @returns GeoJSON */ writeFeatures(features: Array<ol.Feature>, options?: olx.format.WriteOptions): string; /** * Encode an array of features as a GeoJSON object. * @param features Features * @param options Write options * @returns GeoJSON object */ writeFeaturesObject(features: Array<ol.Feature>, options?: olx.format.WriteOptions): JSON; /** * Encode a geometry as a GeoJSON string. * @param geometry Geometry * @param options Write options * @returns GeoJSON */ writeGeometry(geometry: ol.geom.Geometry, options?: olx.format.WriteOptions): string; /** * Encode a geometry as a GeoJSON object. * @param geometry Geometry * @options Write options * @returns GeoJSON object */ writeGeometryObject(geometry: ol.geom.Geometry, options?: olx.format.WriteOptions): JSON; } class GML { } class GML2 { } class GML3 { } class GMLBase { } class GPX { } class IGC { } class JSONFeature { } class KML { } class OSMXML { } class Polyline { } class TextFeature { } class TopoJSON { } class WFS { readFeatures(source: Document | Node | Object | string, option?: olx.format.ReadOptions): Array<ol.Feature>; } class WKT { constructor(opt_options?: olx.format.WKTOptions); /** * Read a feature from a WKT source. * @param source Source * @param options Read options * @returns Feature */ readFeature(source: Document | Node | JSON | string, opt_options?: olx.format.ReadOptions): ol.Feature; /** * Read all features from a WKT source. * @param source Source * @param options Read options * @returns Features */ readFeatures(source: Document | Node | JSON | string, options?: olx.format.ReadOptions): Array<ol.Feature>; /** * Read a geometry from a GeoJSON source. * @param source Source * @param options Read options * @returns Geometry */ readGeometry(source: Document | Node | JSON | string, options?: olx.format.ReadOptions): ol.geom.Geometry; /** * Encode a feature as a WKT string. * @param feature Feature * @param options Write options * @returns GeoJSON */ writeFeature(feature: ol.Feature, options?: olx.format.WriteOptions): string; /** * Encode an array of features as a WKT string. * @param features Features * @param options Write options * @returns GeoJSON */ writeFeatures(features: Array<ol.Feature>, options?: olx.format.WriteOptions): string; /** * Write a single geometry as a WKT string. * @param geometry Geometry * @param options Write options * @returns GeoJSON */ writeGeometry(geometry: ol.geom.Geometry, options?: olx.format.WriteOptions): string; } class WMSCapabilities { } class WMSGetFeatureInfo { } class WMTSCapabilities { } class XML { } class XMLFeature { } } namespace geom { // Type definitions interface GeometryLayout extends String { } interface GeometryType extends String { } /** * Abstract base class; only used for creating subclasses; do not instantiate * in apps, as cannot be rendered. */ class Circle extends ol.geom.SimpleGeometry { /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Transform each coordinate of the circle from one coordinate reference system * to another. The geometry is modified in place. * If you do not want the geometry modified in place, first clone() it and * then use this function on the clone. * * Internally a circle is currently represented by two points: the center of * the circle `[cx, cy]`, and the point to the right of the circle * `[cx + r, cy]`. This `transform` function just transforms these two points. * So the resulting geometry is also a circle, and that circle does not * correspond to the shape that would be obtained by transforming every point * of the original circle. * @param source The current projection. Can be a string identifier or a {@link ol.proj.Projection} object. * @param destination The desired projection. Can be a string identifier or a {@link ol.proj.Projection} object. * @returns This geometry. Note that original geometry is modified in place. */ transform(source: ol.proj.ProjectionLike, destination: ol.proj.ProjectionLike): ol.geom.Circle; } /** * Abstract base class; normally only used for creating subclasses and not instantiated in apps. Base class for vector geometries. */ class Geometry extends ol.Object { /** * Return the closest point of the geometry to the passed point as coordinate. * @param point Point * @param closestPoint Closest Point * @returns Closest Point */ getClosestPoint(point: ol.Coordinate, closestPoint?: ol.Coordinate): ol.Coordinate; /** * Get the extent of the geometry. * @param Extent * @returns Extent */ getExtent(extent?: ol.Extent): ol.Extent; /** * Transform each coordinate of the geometry from one coordinate reference system to another. * The geometry is modified in place. For example, a line will be transformed to a line and a * circle to a circle. If you do not want the geometry modified in place, first clone() it and * then use this function on the clone. * @param source The current projection. Can be a string identifier or a ol.proj.Projection object. * @param destination The desired projection. Can be a string identifier or a ol.proj.Projection object. * @return This geometry. Note that original geometry is modified in place. */ transform(source: ol.proj.ProjectionLike | ol.proj.Projection, destination: ol.proj.ProjectionLike | ol.proj.Projection): ol.geom.Geometry; } /** * An array of ol.geom.Geometry objects. */ class GeometryCollection extends ol.geom.Geometry { /** * constructor * @param geometries Geometries. */ constructor(geometries?: Array<ol.geom.Geometry>); /** * Apply a transform function to each coordinate of the geometry. The geometry is modified in place. * If you do not want the geometry modified in place, first clone() it and then use this function on the clone. * @param transformFn TransformFunction */ applyTransform(transformFn: ol.TransformFunction): void; /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.GeometryCollection; /** * Return the geometries that make up this geometry collection. * @returns Geometries. */ getGeometries(): Array<Geometry>; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Set the geometries that make up this geometry collection. * @param geometries Geometries. */ setGeometries(geometries: Array<ol.geom.Geometry>): void; } /** * Linear ring geometry. Only used as part of polygon; cannot be rendered * on its own. */ class LinearRing extends SimpleGeometry { /** * constructor * @param coordinates Coordinates. * @param layout Layout. */ constructor(coordinates: Array<ol.Coordinate>, layout?: ol.geom.GeometryLayout); /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.LinearRing; /** * Return the area of the linear ring on projected plane. * @returns Area (on projected plane). */ getArea(): number; /** * Return the coordinates of the linear ring. * @returns Coordinates. */ getCoordinates(): Array<ol.Coordinate>; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * @Set the coordinates of the linear ring * @param coordinates Coordinates. * @param layout Layout. */ setCoordinates(coordinates: Array<ol.Coordinate>, layout?: any): void; } /** * Linestring geometry. */ class LineString extends ol.geom.SimpleGeometry { /** * constructor * @param coordinates Coordinates. * @param layout Layout. */ constructor(coordinates: Array<ol.Coordinate>, layout?: ol.geom.GeometryLayout); /** * Append the passed coordinate to the coordinates of the linestring. * @param coordinate Coordinate. */ appendCoordinate(coordinate: ol.Coordinate): void; /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.LineString; /** * Returns the coordinate at `m` using linear interpolation, or `null` if no * such coordinate exists. * * `extrapolate` controls extrapolation beyond the range of Ms in the * MultiLineString. If `extrapolate` is `true` then Ms less than the first * M will return the first coordinate and Ms greater than the last M will * return the last coordinate. * * @param m M. * @param extrapolate Extrapolate. Default is `false`. * @returns Coordinate. */ getCoordinateAtM(m: number, extrapolate?: boolean): ol.Coordinate; /** * Return the coordinates of the linestring. * @returns Coordinates. */ getCoordinates(): Array<ol.Coordinate>; /** * Return the length of the linestring on projected plane. * @returns Length (on projected plane). */ getLength(): number; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Set the coordinates of the linestring. * @param coordinates Coordinates. * @param layout Layout. */ setCoordinates(coordinates: Array<ol.Coordinate>, layout?: ol.geom.GeometryLayout): void; } /** * Multi-linestring geometry. */ class MultiLineString extends ol.geom.SimpleGeometry { /** * constructor * @param coordinates Coordinates. * @param layout Layout. */ constructor(coordinates: Array<Array<ol.Coordinate>>, layout?: ol.geom.GeometryLayout); /** * Append the passed linestring to the multilinestring. * @param lineString LineString. */ appendLineString(lineString: ol.geom.LineString): void; /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.MultiLineString; /** * Returns the coordinate at `m` using linear interpolation, or `null` if no * such coordinate exists. * * `extrapolate` controls extrapolation beyond the range of Ms in the * MultiLineString. If `extrapolate` is `true` then Ms less than the first * M will return the first coordinate and Ms greater than the last M will * return the last coordinate. * * `interpolate` controls interpolation between consecutive LineStrings * within the MultiLineString. If `interpolate` is `true` the coordinates * will be linearly interpolated between the last coordinate of one LineString * and the first coordinate of the next LineString. If `interpolate` is * `false` then the function will return `null` for Ms falling between * LineStrings. * * @param m M. * @param extrapolate Extrapolate. Default is `false`. * @param interpolate Interpolate. Default is `false`. * @returns Coordinate. */ getCoordinateAtM(m: number, extrapolate?: boolean, interpolate?: boolean): ol.Coordinate; /** * Return the coordinates of the multilinestring. * @returns Coordinates. */ getCoordinates(): Array<Array<ol.Coordinate>>; /** * Return the linestring at the specified index. * @param index Index. * @returns LineString. */ getLineString(index: number): ol.geom.LineString; /** * Return the linestrings of this multilinestring. * @returns LineStrings. */ getLineStrings(): Array<ol.geom.LineString>; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Set the coordinates of the multilinestring. * @param coordinates Coordinates. * @param layout Layout. */ setCoordinates(coordinates: Array<Array<ol.Coordinate>>, layout?: ol.geom.GeometryLayout): void; } /** * Multi-point geometry. */ class MultiPoint extends ol.geom.SimpleGeometry { /** * constructor * @param coordinates Coordinates. * @param layout Layout. */ constructor(coordinates: Array<ol.Coordinate>, layout?: ol.geom.GeometryLayout); /** * Append the passed point to this multipoint. * @param {ol.geom.Point} point Point. */ appendPoint(point: ol.geom.Point): void; /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.MultiPoint; /** * Return the coordinates of the multipoint. * @returns Coordinates. */ getCoordinates(): Array<ol.Coordinate>; /** * Return the point at the specified index. * @param index Index. * @returns Point. */ getPoint(index: number): ol.geom.Point; /** * Return the points of this multipoint. * @returns Points. */ getPoints(): Array<ol.geom.Point>; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Set the coordinates of the multipoint. * @param coordinates Coordinates. * @param layout Layout. */ setCoordinates(coordinates: Array<ol.Coordinate>, layout?: ol.geom.GeometryLayout): void; } /** * Multi-polygon geometry. */ class MultiPolygon extends ol.geom.SimpleGeometry { /** * constructor * @param coordinates Coordinates. * @param layout Layout. */ constructor(coordinates: Array<Array<Array<ol.Coordinate>>>, layout?: ol.geom.GeometryLayout); /** * Append the passed polygon to this multipolygon. * @param polygon Polygon. */ appendPolygon(polygon: ol.geom.Polygon): void; /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.MultiPolygon; /** * Return the area of the multipolygon on projected plane. * @returns Area (on projected plane). */ getArea(): number; /** * Get the coordinate array for this geometry. This array has the structure * of a GeoJSON coordinate array for multi-polygons. * * @param right Orient coordinates according to the right-hand * rule (counter-clockwise for exterior and clockwise for interior rings). * If `false`, coordinates will be oriented according to the left-hand rule * (clockwise for exterior and counter-clockwise for interior rings). * By default, coordinate orientation will depend on how the geometry was * constructed. * @returns Coordinates. */ getCoordinates(right?: boolean): Array<Array<Array<ol.Coordinate>>>; /** * Return the interior points as {@link ol.geom.MultiPoint multipoint}. * @returns Interior points. */ getInteriorPoints(): ol.geom.MultiPoint; /** * Return the polygon at the specified index. * @param index Index. * @returns Polygon. */ getPolygon(index: number): ol.geom.Polygon; /** * Return the polygons of this multipolygon. * @returns Polygons. */ getPolygons(): Array<ol.geom.Polygon>; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Set the coordinates of the multipolygon. * @param coordinates Coordinates. * @param layout Layout. */ setCoordinates(coordinates: Array<Array<Array<ol.Coordinate>>>, layout?: ol.geom.GeometryLayout): void; } /** * Point geometry. */ class Point extends SimpleGeometry { /** * constructor * @param coordinates Coordinates. * @param layout Layout. */ constructor(coordinates: ol.Coordinate, layout?: ol.geom.GeometryLayout); /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.Point; /** * Return the coordinate of the point. * @returns Coordinates. */ getCoordinates(): ol.Coordinate; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Set the coordinate of the point. * @param coordinates Coordinates. * @param layout Layout. */ setCoordinates(coordinates: ol.Coordinate, layout?: ol.geom.GeometryLayout): void; } /** * Polygon geometry. */ class Polygon extends SimpleGeometry { /** * constructor * @param coordinates Coordinates. * @param layout Layout. */ constructor(coordinates: Array<Array<ol.Coordinate>>, layout?: ol.geom.GeometryLayout); /** * Create an approximation of a circle on the surface of a sphere. * @param sphere The sphere. * @param center Center (`[lon, lat]` in degrees). * @param radius The great-circle distance from the center to the polygon vertices. * @param n Optional number of vertices for the resulting polygon. Default is `32`. * @returns The "circular" polygon. */ static circular(sphere: ol.Sphere, center: ol.Coordinate, radius: number, n?: number): ol.geom.Polygon; /** * Append the passed linear ring to this polygon. * @param linearRing Linear ring. */ appendLinearRing(linearRing: ol.geom.LinearRing): void; /** * Make a complete copy of the geometry. * @returns Clone. */ clone(): ol.geom.Polygon; /** * Return the area of the polygon on projected plane. * @returns Area (on projected plane). */ getArea(): number; /** * Get the coordinate array for this geometry. This array has the structure * of a GeoJSON coordinate array for polygons. * * @param right Orient coordinates according to the right-hand * rule (counter-clockwise for exterior and clockwise for interior rings). * If `false`, coordinates will be oriented according to the left-hand rule * (clockwise for exterior and counter-clockwise for interior rings). * By default, coordinate orientation will depend on how the geometry was * constructed. * @returns Coordinates. */ getCoordinates(right?: boolean): Array<Array<ol.Coordinate>>; /** * Return an interior point of the polygon. * @returns Interior point. */ getInteriorPoint(): ol.geom.Point; /** * Return the Nth linear ring of the polygon geometry. Return `null` if the * given index is out of range. * The exterior linear ring is available at index `0` and the interior rings * at index `1` and beyond. * * @param index Index. * @returns Linear ring. */ getLinearRing(index: number): ol.geom.LinearRing; /** * Return the linear rings of the polygon. * @returns Linear rings. */ getLinearRings(): Array<ol.geom.LinearRing>; /** * Get the type of this geometry. * @returns Geometry type */ getType(): ol.geom.GeometryType; /** * Test if the geometry and the passed extent intersect. * @param extent Extent * @returns true if the geometry and the extent intersect. */ intersectsExtent(extent: ol.Extent): boolean; /** * Set the coordinates of the polygon. * @param coordinates Coordinates. * @param layout Layout. */ setCoordinates(coordinates: Array<Array<ol.Coordinate>>, layout?: ol.geom.GeometryLayout): void; } /** * Abstract base class; only used for creating subclasses; do not instantiate * in apps, as cannot be rendered. */ class SimpleGeometry extends ol.geom.Geometry { /** * Apply a transform function to each coordinate of the geometry. The geometry is modified in place. * If you do not want the geometry modified in place, first clone() it and then use this function on the clone. * @param transformFn TransformFunction */ applyTransform(transformFn: ol.TransformFunction): void; /** * Return the first coordinate of the geometry. * @returns First coordinate. */ getFirstCoordinate(): ol.Coordinate; /** * Return the last coordinate of the geometry. * @returns Last point. */ getLastCoordinate(): ol.Coordinate; /** * Return the {@link ol.geom.GeometryLayout layout} of the geometry. * @returns Layout. */ getLayout(): ol.geom.GeometryLayout; /** * Translate the geometry. This modifies the geometry coordinates in place. * If instead you want a new geometry, first clone() this geometry. * @param deltaX Delta X * @param deltaY Delta Y */ translate(deltaX: number, deltaY: number): void; } } namespace has { } namespace interaction { class DoubleClickZoom { } class DragAndDrop { } class DragAndDropEvent { } class DragBox { } class DragPan { } class DragRotate { } class DragRotateAndZoom { } class DragZoom { } class Draw extends ol.interaction.Pointer { constructor(opt_options?: olx.interaction.DrawOptions) } class DrawEvent { } class Interaction extends ol.Object { } class KeyboardPan { } class KeyboardZoom { } class Modify extends ol.interaction.Pointer { constructor(opt_options?: olx.interaction.ModifyOptions) } class MouseWheelZoom { } class PinchRotate { } class PinchZoom { } class Pointer extends ol.interaction.Interaction { } class Select extends ol.interaction.Interaction { constructor(opt_options?: olx.interaction.SelectOptions); getLayer(): ol.layer.Layer; getFeatures(): ol.Collection<ol.Feature>; } class Snap { } function defaults(opts: olx.interaction.DefaultsOptions): ol.Collection<ol.interaction.Interaction>; interface DrawGeometryFunctionType { (coordinates: ol.Coordinate, geom?: ol.geom.Geometry): ol.geom.Geometry; } interface SelectFilterFunction { (feature: ol.Feature | ol.render.Feature, layer: ol.layer.Layer): boolean; } } namespace layer { /** * Abstract base class; normally only used for creating subclasses and not instantiated in apps. Note that with ol.layer.Base and all its subclasses, any property set in the options is set as a ol.Object property on the layer object, so is observable, and has get/set accessors. */ class Base extends ol.Object { /** * @constructor * @param options Layer options. */ constructor(options?: olx.layer.BaseOptions); /** * Return the brightness of the layer. * @returns The brightness of the layer. */ getBrightness(): number; /** * Return the contrast of the layer. * @returns The contrast of the layer. */ getContrast(): number; /** * Return the extent of the layer or undefined if it will be visible regardless of extent. * @returns The layer extent. */ getExtent(): ol.Extent; /** * Return the hue of the layer. * @returns The hue of the layer */ getHue(): number; /** * Return the maximum resolution of the layer. * @returns The maximum resolution of the layer */ getMaxResolution(): number; /** * Return the minimum resolution of the layer. * @returns The minimum resolution of the layer. */ getMinResolution(): number; /** * Return the opacity of the layer (between 0 and 1). * @returns The opacity of the layer. */ getOpacity(): number; /** * Return the saturation of the layer. * @returns The saturation of the layer. */ getSaturation(): number; /** * Return the visibility of the layer (true or false). * The visibility of the layer */ getVisible(): boolean; /** * Adjust the layer brightness. A value of -1 will render the layer completely black. A value of 0 will leave the brightness unchanged. A value of 1 will render the layer completely white. Other values are linear multipliers on the effect (values are clamped between -1 and 1). * @param brightness The brightness of the layer */ setBrightness(brigthness: number): void; /** * Adjust the layer contrast. A value of 0 will render the layer completely grey. A value of 1 will leave the contrast unchanged. Other values are linear multipliers on the effect (and values over 1 are permitted). * @param contrast The contrast of the layer */ setContrast(contrast: number): void; /** * Set the extent at which the layer is visible. If undefined, the layer will be visible at all extents. * @param extent The extent of the layer */ setExtent(extent?: ol.Extent): void; /** * Apply a hue-rotation to the layer. A value of 0 will leave the hue unchanged. Other values are radians around the color circle. * @param hue The hue of the layer */ setHue(hue: number): void; /** * Set the maximum resolution at which the layer is visible. * @param maxResolution The maximum resolution of the layer. */ setMaxResolution(maxResolution: number): void; /** * Set the minimum resolution at which the layer is visible. * @param minResolution The minimum resolution of the layer. */ setMinResolution(minResolution: number): void; /** * Set the opacity of the layer, allowed values range from 0 to 1. * @param opactity The opacity of the layer. */ setOpacity(opacity: number): void; /** * Adjust layer saturation. A value of 0 will render the layer completely unsaturated. A value of 1 will leave the saturation unchanged. Other values are linear multipliers of the effect (and values over 1 are permitted). * @param saturation The saturation of the layer. */ setSaturation(saturation: number): void; /** * Set the visibility of the layer (true or false). * @param visible The visibility of the layer. */ setVisible(visible: boolean): void; } /** * A ol.Collection of layers that are handled together. */ class Group extends ol.layer.Base { /** * @constructor * @param options Layer options. */ constructor(options?: olx.layer.GroupOptions); /** * Returns the collection of layers in this group. * @returns Collection of layers that are part of this group. */ getLayers(): ol.Collection<ol.layer.Base>; /** * Set the collection of layers in this group. * @param layers Collection of layers that are part of this group. */ setLayers(layers: ol.Collection<ol.layer.Base>): void; } /** * Layer for rendering vector data as a heatmap. Note that any property set in the options is set as a ol.Object property on the layer object; for example, setting title: 'My Title' in the options means that title is observable, and has get/set accessors. */ class Heatmap extends ol.layer.Vector { /** * @constructor * @param options Options */ constructor(options?: olx.layer.HeatmapOptions); /** * Return the blur size in pixels. * @returns Blur size in pixels */ getBlur(): number; /** * Return the gradient colors as array of strings. * @returns Colors */ getGradient(): Array<string>; /** * Return the size of the radius in pixels. * @returns Radius size in pixel */ getRadius(): number; /** * Set the blur size in pixels. * @param blur Blur size in pixels */ setBlur(blur: number): void; /** * Set the gradient colors as array of strings. * @param colors Gradient */ setGradient(colors: Array<string>): void; /** * Set the size of the radius in pixels. * @param radius Radius size in pixels */ setRadius(radius: number): void; } /** * Server-rendered images that are available for arbitrary extents and resolutions. Note that any property set in the options is set as a ol.Object property on the layer object; for example, setting title: 'My Title' in the options means that title is observable, and has get/set accessors. */ class Image extends ol.layer.Layer { /** * @constructor * @param options Layer options */ constructor(options?: olx.layer.ImageOptions); /** * Return the associated source of the image layer. * @returns Source. */ getSource(): ol.source.Image; } /** * Abstract base class; normally only used for creating subclasses and not instantiated in apps. A visual representation of raster or vector map data. Layers group together those properties that pertain to how the data is to be displayed, irrespective of the source of that data. */ class Layer extends ol.layer.Base { /** * @constructor * @param options Layer options */ constructor(options?: olx.layer.LayerOptions); /** * Get the layer source. * @returns The layer source (or null if not yet set) */ getSource(): ol.source.Source; /** * Set the layer source. * @param source The layer source. */ setSource(source: ol.source.Source): void; } /** * For layer sources that provide pre-rendered, tiled images in grids that are organized by zoom levels for specific resolutions. Note that any property set in the options is set as a ol.Object property on the layer object; for example, setting title: 'My Title' in the options means that title is observable, and has get/set accessors. */ class Tile extends ol.layer.Layer { /** * @constructor * @param options Tile layer options. */ constructor(options?: olx.layer.TileOptions); /** * Return the level as number to which we will preload tiles up to. * @retruns The level to preload tiled up to. */ getPreload(): number; /** * Return the associated tilesource of the layer. * @returns Source */ getSource(): ol.source.Tile; /** * Whether we use interim tiles on error. * @returns Use interim tiles on error. */ getUseInterimTilesOnError(): boolean; /** * Set the level as number to which we will preload tiles up to. * @param preload The level to preload tiled up to */ setPreload(preload: number): void; /** * Set whether we use interim tiles on error. * @param useInterimTilesOnError Use interim tiles on error. */ setUseInterimTilesOnError(useInterimTilesOnError: boolean): void; } /** * Vector data that is rendered client-side. Note that any property set in the options is set as a ol.Object property on the layer object; for example, setting title: 'My Title' in the options means that title is observable, and has get/set accessors. */ class Vector extends ol.layer.Layer { /** * @constructor * @param options Options */ constructor(options?: olx.layer.VectorOptions); /** * Return the associated vectorsource of the layer. * @returns Source. */ getSource(): ol.source.Vector; /** * Get the style for features. This returns whatever was passed to the style option at construction or to the setStyle method. */ getStyle(): ol.style.Style | Array<ol.style.Style> | ol.style.StyleFunction; /** * Get the style function. * @returns Layer style function */ getStyleFunction(): ol.style.StyleFunction; /** * Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. If it is undefined the default style is used. If it is null the layer has no style (a null style), so only features that have their own styles will be rendered in the layer. See ol.style for information on the default style. */ setStyle(): void; /** * Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. If it is undefined the default style is used. If it is null the layer has no style (a null style), so only features that have their own styles will be rendered in the layer. See ol.style for information on the default style. * @param layer Layer style */ setStyle(style: ol.style.Style): void; /** * Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. If it is undefined the default style is used. If it is null the layer has no style (a null style), so only features that have their own styles will be rendered in the layer. See ol.style for information on the default style. * @param layer Layer style */ setStyle(style: Array<ol.style.Style>): void; /** * Set the style for features. This can be a single style object, an array of styles, or a function that takes a feature and resolution and returns an array of styles. If it is undefined the default style is used. If it is null the layer has no style (a null style), so only features that have their own styles will be rendered in the layer. See ol.style for information on the default style. * @param Layer style */ setStyle(style: ol.style.StyleFunction): void; /** * Sets the layer to be rendered on top of other layers on a map. The map will not manage this layer * in its layers collection, and the callback in ol.Map#forEachLayerAtPixel will receive null as * layer. This is useful for temporary layers. To remove an unmanaged layer from the map, use #setMap(null). * To add the layer to a map and have it managed by the map, use ol.Map#addLayer instead. * @argument map. */ setMap(map: ol.Map): void; } } namespace loadingstrategy { /** * Strategy function for loading all features with a single request. * @param extent Extent * @param resolution Resolution * @returns Extents */ function all(extent: ol.Extent, resolution: number): Array<ol.Extent>; /** * Strategy function for loading features based on the view's extent and resolution. * @param extent Extent * @param resolution Resolution * @returns Extents */ function bbox(extent: ol.Extent, resolution: number): Array<ol.Extent>; /** * Creates a strategy function for loading features based on a tile grid. * @param tilegrid Tile grid * @returns Loading strategy */ function tile(tileGrid: ol.tilegrid.TileGrid): ol.LoadingStrategy; } namespace proj { // Type definitions interface ProjectionLike extends String { } interface Units extends String { } // Methods /** * Meters per unit lookup table. */ //TODO: validate! var METERS_PER_UNIT: Object; /** * Registers coordinate transform functions to convert coordinates between the source projection and the destination projection. The forward and inverse functions convert coordinate pairs; this function converts these into the functions used internally which also handle extents and coordinate arrays. * @param source Source projection * @param destination Destination projection * @param forward The forward transform function (that is, from the source projection to the destination projection) that takes a ol.Coordinate as argument and returns the transformed ol.Coordinate. * @param inverse The inverse transform function (that is, from the destination projection to the source projection) that takes a ol.Coordinate as argument and returns the transformed ol.Coordinate. */ function addCoordinateTransforms(source: ProjectionLike, destination: ProjectionLike, forward: (coordinate: Coordinate) => Coordinate, inverse: (coordinate: Coordinate) => Coordinate): void; /** * Registers transformation functions that don't alter coordinates. Those allow to transform between projections with equal meaning. * @param projections Projections. */ function addEquivalentProjections(projections: Array<Projection>): void; /** * Add a Projection object to the list of supported projections that can be looked up by their code. * @param projection Projection instance. */ function addProjection(projection: Projection): void; /** * Transforms a coordinate from longitude/latitude to a different projection. * @param coordinate Coordinate as longitude and latitude, i.e. an array with longitude as 1st and latitude as 2nd element. * @param projection Target projection. The default is Web Mercator, i.e. 'EPSG:3857'. */ function fromLonLat(coordinate: Coordinate, opt_projection: ProjectionLike): Coordinate; /** * Fetches a Projection object for the code specified. * @param projectionLike Either a code string which is a combination of authority and identifier such as "EPSG:4326", or an existing projection object, or undefined. * @returns Projection object, or null if not in list. */ function get(projectionLike: ProjectionLike): Projection; /** * Given the projection-like objects, searches for a transformation function to convert a coordinates array from the source projection to the destination projection. * @param source Source. * @param destination Destination. * @returns Transform function. */ function getTransform(source: ProjectionLike, destination: ProjectionLike): ol.TransformFunction; /** * Transforms a coordinate to longitude/latitude. * @param coordinate Projected coordinate. * @param projection Projection of the coordinate. The default is Web Mercator, i.e. 'EPSG:3857'. * @returns Coordinate as longitude and latitude, i.e. an array with longitude as 1st and latitude as 2nd element. */ function toLonLat(coordinate: Coordinate, projection: ProjectionLike): Coordinate; /** * Transforms a coordinate from source projection to destination projection. This returns a new coordinate (and does not modify the original). * @param coordinate Coordinate. * @param source Source projection-like. * @param destination Destination projection-like. * @returns Coordinate. */ function transform(coordinate: Coordinate, source: ProjectionLike, destination: ProjectionLike): Coordinate; /** * Transforms an extent from source projection to destination projection. This returns a new extent (and does not modify the original). * @param extent The extent to transform. * @param source Source projection-like. * @param destination Destination projection-like. * @returns The transformed extent. */ function transformExtent(extent: Extent, source: ProjectionLike, destination: ProjectionLike): Extent; class Projection { constructor(options: olx.Projection); getExtent(): Extent; /** * Set the validity extent for this projection. * @param extent The new extent of the projection. */ setExtent(extent: Extent): void; } } namespace render { class Event { } class VectorContext { } class Feature { get(key: string): any; getExtent(): ol.Extent; getGeometry(): ol.geom.Geometry; getProperties: Object[]; getType(): ol.geom.GeometryType; } namespace canvas { class Immediate { } } } namespace source { class BingMaps { } class Cluster { } class Image { } class ImageCanvas { } class ImageEvent { } class ImageMapGuide { } class ImageStatic { } class ImageVector { } class ImageWMS { constructor(options: olx.ImageWMSOptions); } class MapQuest { constructor(options: any); } class OSM { } class Source { } class Stamen { } class Tile { } class TileArcGISRest { } class TileDebug { } class TileEvent { } class TileImage { } class TileJSON { } class TileUTFGrid { } class TileVector { } class TileWMS { constructor(options: olx.TileWMSOptions); } class Vector { constructor(opts?: olx.source.VectorOptions) /** * Add a single feature to the source. If you want to add a batch of features at once, * call source.addFeatures() instead. */ addFeature(feature: ol.Feature): void; /** * Add a batch of features to the source. */ addFeatures(features: ol.Feature[]): void; /** * Remove all features from the source. * @param Skip dispatching of removefeature events. */ clear(fast?: boolean): void; /** * Get the extent of the features currently in the source. */ getExtent(): ol.Extent; /** * Get all features in the provided extent. Note that this returns all features whose bounding boxes * intersect the given extent (so it may include features whose geometries do not intersect the extent). * This method is not available when the source is configured with useSpatialIndex set to false. */ getFeaturesInExtent(extent: ol.Extent): ol.Feature[]; /** * Get all features on the source */ getFeatures(): ol.Feature[]; /** * Get all features whose geometry intersects the provided coordinate. */ getFeaturesAtCoordinate(coordinate: ol.Coordinate): ol.Feature[]; } class VectorEvent { } class WMTS { constructor(options: olx.source.WMTSOptions); } class XYZ { } class Zoomify { } // Namespaces namespace wms { interface ServerType extends String { } } // Type definitions interface State extends String { } interface WMTSRequestEncoding extends String { } } namespace style { class AtlasManager { } class Circle extends Image { constructor(opt_options?: olx.style.CircleOptions); } /** * Set fill style for vector features. */ class Fill { constructor(opt_options?: olx.style.FillOptions); getColor(): ol.Color | string; /** * Set the color. */ setColor(color: ol.Color | string): void; getChecksum(): string; } class Icon extends Image { constructor(option: olx.style.IconOptions) } class Image { getOpacity(): number; getRotateWithView(): boolean; getRotation(): number; getScale(): number; getSnapToPiexl(): boolean; setOpacity(opacity: number): void; setRotation(rotation: number): void; setScale(scale: number): void; } interface GeometryFunction { (feature: Feature): ol.geom.Geometry } class RegularShape { } class Stroke { constructor(opts?: olx.style.StrokeOptions); getColor(): ol.Color | string; getLineCap(): string; getLineDash(): number[]; getLineJoin(): string; getMitterLimit(): number; getWidth(): number; setColor(color: ol.Color | string): void; setLineCap(lineCap: string): void; setLineDash(lineDash: number[]): void; setLineJoin(lineJoin: string): void; setMiterLimit(miterLimit: number): void; setWidth(width: number): void; } /** * Container for vector feature rendering styles. Any changes made to the style * or its children through `set*()` methods will not take effect until the * feature, layer or FeatureOverlay that uses the style is re-rendered. */ class Style { constructor(opts: olx.style.StyleOptions); getFill(): ol.style.Fill; /*** * Get the geometry to be rendered. * @return Feature property or geometry or function that returns the geometry that will * be rendered with this style. */ getGeometry(): string | ol.geom.Geometry | ol.style.GeometryFunction; getGeometryFunction(): ol.style.GeometryFunction; getImage(): ol.style.Image; getStroke(): ol.style.Stroke; getText(): ol.style.Text; getZIndex(): number; setGeometry(geometry: string | ol.geom.Geometry | ol.style.GeometryFunction): void; setZIndex(zIndex: number): void; } /** * Set text style for vector features. */ class Text { constructor(opt?: olx.style.TextOptions); getFont(): string; getOffsetX(): number; getOffsetY(): number; getFill(): Fill; getRotation(): number; getScale(): number; getStroke(): Stroke; getText(): string; getTextAlign(): string; getTextBaseline(): string; /** * Set the font. */ setFont(font: string): void; /** * Set the x offset. */ setOffsetX(offsetX: number): void; /** * Set the y offset. */ setOffsetY(offsetY: number): void; /** * Set the fill. */ setFill(fill: Fill): void; /** * Set the rotation. */ setRotation(rotation: number): void; /** * Set the scale. */ setScale(scale: number): void; /** * Set the stroke. * */ setStroke(stroke: Stroke): void; /** * Set the text. */ setText(text: string): void; /** * Set the text alignment. */ setTextAlign(textAlign: string): void; /** * Set the text baseline. */ setTextBaseline(textBaseline: string): void; } /** * A function that takes an ol.Feature and a {number} representing the view's resolution. The function should return an array of ol.style.Style. This way e.g. a vector layer can be styled. */ interface StyleFunction { (feature: ol.Feature, resolution: number): ol.style.Style } } namespace tilegrid { /** * Base class for setting the grid pattern for sources accessing tiled-image servers. */ class TileGrid { /** * @constructor * @param options Tile grid options */ constructor(options: olx.tilegrid.TileGridOptions); /** * Creates a TileCoord transform function for use with this tile grid. Transforms the internal tile coordinates with bottom-left origin to the tile coordinates used by the ol.TileUrlFunction. The returned function expects an ol.TileCoord as first and an ol.proj.Projection as second argument and returns a transformed ol.TileCoord. */ createTileCoordTransform(): { (tilecoord: ol.TileCoord, projection: ol.proj.Projection): ol.TileCoord }; /** * Get the maximum zoom level for the grid. * @returns Max zoom */ getMaxZoom(): number; /** * Get the minimum zoom level for the grid. * @returns Min zoom */ getMinZoom(): number; /** * Get the origin for the grid at the given zoom level. * @param z Z * @returns Origin */ getOrigin(z: number): ol.Coordinate; /** * Get the list of resolutions for the tile grid. * @param z Z * @returns Resolution */ getResolution(z: number): number; /** * Get the list of resolutions for the tile grid. * @returns Resolutions */ getResolutions(): Array<number>; /** * Get the tile coordinate for the given map coordinate and resolution. This method considers that coordinates that intersect tile boundaries should be assigned the higher tile coordinate. * @param coordinate Coordinate * @param resolution Resolution * @param tileCoord Destination ol.TileCoord object. * @returns Tile coordinate */ getTileCoordForCoordAndResolution(coordinate: ol.Coordinate, resolution: number, tileCoord?: ol.TileCoord): ol.TileCoord; /** * Get a tile coordinate given a map coordinate and zoom level. * @param coordinate Coordinate * @param z Zoom level * @param tileCoord Destination ol.TileCoord object * @returns Tile coordinate */ getTileCoordForCoordAndZ(coordinate: ol.Coordinate, z: number, tileCoord?: ol.TileCoord): ol.TileCoord; /** * Get the tile size for a zoom level. The type of the return value matches the tileSize or tileSizes that the tile grid was configured with. To always get an ol.Size, run the result through ol.size.toSize(). * @param z Z * @returns Tile size */ getTileSize(z: number): number | ol.Size; } /** * Set the grid pattern for sources accessing WMTS tiled-image servers. */ class WMTS extends TileGrid { /** * @constructor * @param options WMTS options */ constructor(options: olx.tilegrid.WMTSOptions); /** * Create a tile grid from a WMTS capabilities matrix set. * @param matrixSet An object representing a matrixSet in the capabilities document. * @param extent An optional extent to restrict the tile ranges the server provides. * @returns WMTS tilegrid instance */ createFromCapabilitiesMatrixSet(matrixSet: any, extent: ol.Extent): ol.tilegrid.WMTS; /** * Get the list of matrix identifiers. * @returns MatrixIds */ getMatrixIds(): Array<string>; } /** * Set the grid pattern for sources accessing Zoomify tiled-image servers. */ class Zoomify extends TileGrid { /** * @constructor * @param options Options */ constructor(options?: olx.tilegrid.ZoomifyOptions); } /** * Creates a tile grid with a standard XYZ tiling scheme. * @param options Tile grid options. * @returns The grid instance */ function createXYZ(options?: olx.tilegrid.XYZOptions): ol.tilegrid.TileGrid; } namespace webgl { class Context { /** * @constructor * @param canvas HTML Canvas Element * @param gl WebGL Rendering context */ constructor(canvas: HTMLCanvasElement, gl: WebGLRenderingContext); /** Get the WebGL rendering context @returns The rendering context. */ getGL(): WebGLRenderingContext; /** * Get the frame buffer for hit detection. * @returns The hit detection frame buffer. */ getHitDetectionFramebuffer(): WebGLFramebuffer; /** * Use a program. If the program is already in use, this will return false. * @param program Program. * @returns Changed. */ useProgram(program: WebGLProgram): boolean; } } // Type definitions /** * A function returning the canvas element ({HTMLCanvasElement}) used by the source as an image. The arguments passed to the function are: ol.Extent the image extent, {number} the image resolution, {number} the device pixel ratio, ol.Size the image size, and ol.proj.Projection the image projection. The canvas returned by this function is cached by the source. The this keyword inside the function references the ol.source.ImageCanvas. */ function CanvasFunctionType(extent: Extent, resolution: number, pixelRatio: number, size: Size, projection: proj.Projection): HTMLCanvasElement; /** * A color represented as a short array [red, green, blue, alpha]. red, green, and blue should be integers in the range 0..255 inclusive. alpha should be a float in the range 0..1 inclusive. */ interface Color extends Array<number> { } /** * An array of numbers representing an xy coordinate. Example: [16, 48]. */ interface Coordinate extends Array<number> { } /** * An array of numbers representing an extent: [minx, miny, maxx, maxy]. */ interface Extent extends Array<number> { } /** * Overlay position: 'bottom-left', 'bottom-center', 'bottom-right', 'center-left', 'center-center', 'center-right', 'top-left', 'top-center', 'top-right' */ interface OverlayPositioning extends String { } /** * An array with two elements, representing a pixel. The first element is the x-coordinate, the second the y-coordinate of the pixel. */ interface Pixel extends Array<number> { } /** * Available renderers: 'canvas', 'dom' or 'webgl'. */ interface RendererType extends String { } /** * An array of numbers representing a size: [width, height]. */ interface Size extends Array<number> { } /** * An array of three numbers representing the location of a tile in a tile grid. The order is z, x, and y. z is the zoom level. */ interface TileCoord extends Array<number> { } // Functions /** * A function that takes a ol.Coordinate and transforms it into a {string}. */ interface CoordinateFormatType { (coordinate?: Coordinate): string; } /** * Implementation based on the code of OpenLayers, no documentation available (yet). If it is incorrect, please create an issue and I will change it. */ interface FeatureLoader { (extent: ol.Extent, number: number, projection: ol.proj.Projection): string } /** * A function that returns a style given a resolution. The this keyword inside the function references the ol.Feature to be styled. */ interface FeatureStyleFunction { (resolution: number): ol.style.Style } /** * Loading strategy */ interface LoadingStrategy { (extent: ol.Extent, resolution: number): Array<ol.Extent> } /** * Function to perform manipulations before rendering. This function is called with the ol.Map as first and an optional olx.FrameState as second argument. Return true to keep this function for the next frame, false to remove it. */ interface PreRenderFunction { (map: ol.Map, frameState?: olx.FrameState): boolean } /** * A transform function accepts an array of input coordinate values, an optional output array, and an optional dimension (default should be 2). The function transforms the input coordinate values, populates the output array, and returns the output array. */ interface TransformFunction { (input: Array<number>, output?: Array<number>, dimension?: number): Array<number> } } declare module "openlayers" { export = ol; }
tan9/DefinitelyTyped
openlayers/openlayers.d.ts
TypeScript
mit
165,029
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // File System.Net.Configuration.RequestCachingSection.cs // Automatically generated contract file. using System.Collections.Generic; using System.IO; using System.Text; using System.Diagnostics.Contracts; using System; // Disable the "this variable is not used" warning as every field would imply it. #pragma warning disable 0414 // Disable the "this variable is never assigned to". #pragma warning disable 0067 // Disable the "this event is never assigned to". #pragma warning disable 0649 // Disable the "this variable is never used". #pragma warning disable 0169 // Disable the "new keyword not required" warning. #pragma warning disable 0109 // Disable the "extern without DllImport" warning. #pragma warning disable 0626 // Disable the "could hide other member" warning, can happen on certain properties. #pragma warning disable 0108 namespace System.Net.Configuration { sealed public partial class RequestCachingSection : System.Configuration.ConfigurationSection { #region Methods and constructors protected override void DeserializeElement(System.Xml.XmlReader reader, bool serializeCollectionKey) { } protected override void PostDeserialize() { } public RequestCachingSection() { } #endregion #region Properties and indexers public FtpCachePolicyElement DefaultFtpCachePolicy { get { return default(FtpCachePolicyElement); } } public HttpCachePolicyElement DefaultHttpCachePolicy { get { return default(HttpCachePolicyElement); } } public System.Net.Cache.RequestCacheLevel DefaultPolicyLevel { get { return default(System.Net.Cache.RequestCacheLevel); } set { } } public bool DisableAllCaching { get { return default(bool); } set { } } public bool IsPrivateCache { get { return default(bool); } set { } } protected override System.Configuration.ConfigurationPropertyCollection Properties { get { return default(System.Configuration.ConfigurationPropertyCollection); } } public TimeSpan UnspecifiedMaximumAge { get { return default(TimeSpan); } set { } } #endregion } }
sharwell/CodeContracts
Microsoft.Research/Contracts/System/Sources/System.Net.Configuration.RequestCachingSection.cs
C#
mit
3,539
<!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>Epoch Documentation</title> <script src='../javascript/application.js'></script> <script src='../javascript/search.js'></script> <link rel='stylesheet' href='../stylesheets/application.css' type='text/css'> </head> <body> <div id='base' data-path='../'></div> <div id='header'> <div id='menu'> <a href='../extra/README.md.html' title='Codo'> Codo </a> &raquo; <a href='../alphabetical_index.html' title='Index'> Index </a> &raquo; <span class='title'>QueryCSS</span> </div> </div> <div id='content'> <h1> Class: QueryCSS </h1> <table class='box'> <tr> <td>Defined in:</td> <td>coffee&#47;epoch.coffee</td> </tr> </table> <h2>Overview</h2> <div class='docstring'> <p>Singelton class used to query CSS styles by way of reference elements. This allows canvas based visualizations to use the same styles as their SVG counterparts.</p> </div> <div class='tags'> </div> <h2>Variables Summary</h2> <dl class='constants'> <dt id='cache-variable'> cache = </dt> <dd> <pre><code class='coffeescript'>{}</code></pre> </dd> <dt id='styleList-variable'> styleList = </dt> <dd> <pre><code class='coffeescript'>[&#39;fill&#39;, &#39;stroke&#39;, &#39;stroke-width&#39;]</code></pre> </dd> <dt id='container-variable'> container = </dt> <dd> <pre><code class='coffeescript'>null</code></pre> </dd> </dl> <h2>Class Method Summary</h2> <ul class='summary'> <li> <span class='signature'> <a href='#purge-static'> . (void) <b>purge</b><span>()</span> </a> </span> <span class='desc'> Purges the selector to style cache </span> </li> <li> <span class='signature'> <a href='#load-static'> . (void) <b>load</b><span>()</span> </a> </span> <span class='desc'> Called on load to insert the css reference element container. </span> </li> <li> <span class='signature'> <a href='#containerId-static'> . (String) <b>containerId</b><span>(container)</span> </a> </span> <span class='desc'> @param container The containing element for a chart. </span> </li> <li> <span class='signature'> <a href='#getStyles-static'> . (?) <b>getStyles</b><span>(selector, container)</span> </a> </span> <span class='desc'> @param container HTML containing element in which to place the reference SVG. </span> </li> </ul> <h2>Class Method Details</h2> <div class='methods'> <div class='method_details'> <p class='signature' id='purge-static'> . (void) <b>purge</b><span>()</span> <br> </p> <div class='docstring'> <p>Purges the selector to style cache</p> </div> <div class='tags'> </div> </div> <div class='method_details'> <p class='signature' id='load-static'> . (void) <b>load</b><span>()</span> <br> </p> <div class='docstring'> <p>Called on load to insert the css reference element container.</p> </div> <div class='tags'> </div> </div> <div class='method_details'> <p class='signature' id='containerId-static'> . (String) <b>containerId</b><span>(container)</span> <br> </p> <div class='docstring'> <p>@param container The containing element for a chart.</p> </div> <div class='tags'> <h3>Returns:</h3> <ul class='return'> <li> <span class='type'></span> ( <tt>String</tt> ) &mdash; <span class='desc'>A unique identifier for the given container. </span> </li> </ul> </div> </div> <div class='method_details'> <p class='signature' id='getStyles-static'> . (?) <b>getStyles</b><span>(selector, container)</span> <br> </p> <div class='docstring'> <p>@param container HTML containing element in which to place the reference SVG.</p> </div> <div class='tags'> <h3>Parameters:</h3> <ul class='param'> <li> <span class='name'>selector</span> <span class='type'> ( <tt>String</tt> ) </span> &mdash; <span class='desc'>Selector from which to derive the styles. </span> </li> </ul> <h3>Returns:</h3> <ul class='return'> <li> <span class='type'></span> ( <tt>?</tt> ) &mdash; <span class='desc'>The computed styles for the given selector in the given container element. </span> </li> </ul> </div> </div> </div> </div> <div id='footer'> April 26, 14 22:38:58 by <a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'> Codo </a> 2.0.8 &#10034; Press H to see the keyboard shortcuts &#10034; <a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a> &#10034; <a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a> </div> <iframe id='search_frame'></iframe> <div id='fuzzySearch'> <input type='text'> <ol></ol> </div> <div id='help'> <p> Quickly fuzzy find classes, mixins, methods, file: </p> <ul> <li> <span>T</span> Open fuzzy finder dialog </li> </ul> <p> Control the navigation frame: </p> <ul> <li> <span>L</span> Toggle list view </li> <li> <span>C</span> Show class list </li> <li> <span>I</span> Show mixin list </li> <li> <span>F</span> Show file list </li> <li> <span>M</span> Show method list </li> <li> <span>E</span> Show extras list </li> </ul> <p> You can focus and blur the search input: </p> <ul> <li> <span>S</span> Focus search input </li> <li> <span>Esc</span> Blur search input </li> </ul> </div> </body> </html>
nvdnkpr/epoch
doc/class/QueryCSS.html
HTML
mit
6,017
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; using System.Diagnostics.Contracts; namespace System.Security.Policy { public class CodeGroup { public string PermissionSetName { get; } public PolicyStatement PolicyStatement { get; set; } public string AttributeString { get; } public string Description { get; set; } public IMembershipCondition MembershipCondition { get; set{ Contract.Requires(value != null); } } public System.Collections.IList Children { get; set { Contract.Requires(value != null); } } public string Name { get; set; } public string MergeLogic { get; } public bool Equals (CodeGroup cg, bool compareChildren) { return default(bool); } public void FromXml (System.Security.SecurityElement e, PolicyLevel level) { Contract.Requires(e != null); } public System.Security.SecurityElement ToXml (PolicyLevel level) { return default(System.Security.SecurityElement); } public void FromXml (System.Security.SecurityElement e) { } public System.Security.SecurityElement ToXml () { return default(System.Security.SecurityElement); } public CodeGroup Copy () { return default(CodeGroup); } public CodeGroup ResolveMatchingCodeGroups (Evidence arg0) { return default(CodeGroup); } public PolicyStatement Resolve (Evidence arg0) { return default(PolicyStatement); } public void RemoveChild (CodeGroup group) { } public void AddChild (CodeGroup group) { Contract.Requires(group != null); } public CodeGroup (IMembershipCondition membershipCondition, PolicyStatement policy) { Contract.Requires(membershipCondition != null); return default(CodeGroup); } } }
hubuk/CodeContracts
Microsoft.Research/Contracts/MsCorlib/System.Security.Policy.CodeGroup.cs
C#
mit
3,383
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\CoreBundle\Form\Type\Rule; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\DataTransformerInterface; use Symfony\Component\Form\FormBuilderInterface; /** * @author Saša Stamenković <umpirsky@gmail.com> */ class TaxonConfigurationType extends AbstractType { /** * @var DataTransformerInterface */ private $taxonsToCodesTransformer; /** * @param DataTransformerInterface $taxonsToCodesTransformer */ public function __construct(DataTransformerInterface $taxonsToCodesTransformer) { $this->taxonsToCodesTransformer = $taxonsToCodesTransformer; } /** * {@inheritdoc} */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('taxons', 'sylius_taxon_choice', [ 'label' => 'sylius.form.promotion_rule.taxon.taxons', 'multiple' => true, ]) ->addModelTransformer($this->taxonsToCodesTransformer) ; } /** * {@inheritdoc} */ public function getName() { return 'sylius_promotion_rule_taxon_configuration'; } }
coudenysj/Sylius
src/Sylius/Bundle/CoreBundle/Form/Type/Rule/TaxonConfigurationType.php
PHP
mit
1,403
/** * (c) 2010-2017 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import H from '../parts/Globals.js'; import '../parts/Utilities.js'; import '../parts/Options.js'; var seriesType = H.seriesType, seriesTypes = H.seriesTypes; /** * A mapline series is a special case of the map series where the value colors * are applied to the strokes rather than the fills. It can also be used for * freeform drawing, like dividers, in the map. * * @sample maps/demo/mapline-mappoint/ Mapline and map-point chart * @extends plotOptions.map * @product highmaps * @optionparent plotOptions.mapline */ seriesType('mapline', 'map', { }, { type: 'mapline', colorProp: 'stroke', drawLegendSymbol: seriesTypes.line.prototype.drawLegendSymbol }); /** * A `mapline` series. If the [type](#series.mapline.type) option is * not specified, it is inherited from [chart.type](#chart.type). * * @type {Object} * @extends series,plotOptions.mapline * @excluding dataParser,dataURL,marker * @product highmaps * @apioption series.mapline */ /** * An array of data points for the series. For the `mapline` series type, * points can be given in the following ways: * * 1. An array of numerical values. In this case, the numerical values * will be interpreted as `value` options. Example: * * ```js * data: [0, 5, 3, 5] * ``` * * 2. An array of arrays with 2 values. In this case, the values correspond * to `[hc-key, value]`. Example: * * ```js * data: [ * ['us-ny', 0], * ['us-mi', 5], * ['us-tx', 3], * ['us-ak', 5] * ] * ``` * * 3. An array of objects with named values. The objects are point * configuration objects as seen below. If the total number of data * points exceeds the series' [turboThreshold](#series.map.turboThreshold), * this option is not available. * * ```js * data: [{ * value: 6, * name: "Point2", * color: "#00FF00" * }, { * value: 6, * name: "Point1", * color: "#FF00FF" * }] * ``` * * @type {Array<Object>} * @product highmaps * @apioption series.mapline.data */
cdnjs/cdnjs
ajax/libs/highcharts/6.1.3/js/es-modules/parts-map/MapLineSeries.js
JavaScript
mit
2,184
var Nanobar=function(){var c,d,e,f,g,h,k={width:"100%",height:"4px",zIndex:9999,top:"0"},l={width:0,height:"100%",clear:"both",transition:"height .3s"};c=function(a,b){for(var c in b)a.style[c]=b[c];a.style["float"]="left"};f=function(){var a=this,b=this.width-this.here;0.1>b&&-0.1<b?(g.call(this,this.here),this.moving=!1,100==this.width&&(this.el.style.height=0,setTimeout(function(){a.cont.el.removeChild(a.el)},300))):(g.call(this,this.width-b/4),setTimeout(function(){a.go()},16))};g=function(a){this.width= a;this.el.style.width=this.width+"%"};h=function(){var a=new d(this);this.bars.unshift(a)};d=function(a){this.el=document.createElement("div");this.el.style.backgroundColor=a.opts.bg;this.here=this.width=0;this.moving=!1;this.cont=a;c(this.el,l);a.el.appendChild(this.el)};d.prototype.go=function(a){a?(this.here=a,this.moving||(this.moving=!0,f.call(this))):this.moving&&f.call(this)};e=function(a){a=this.opts=a||{};var b;a.bg=a.bg||"#000";this.bars=[];b=this.el=document.createElement("div");c(this.el, k);a.id&&(b.id=a.id);b.style.position=a.target?"relative":"fixed";a.target?a.target.insertBefore(b,a.target.firstChild):document.getElementsByTagName("body")[0].appendChild(b);h.call(this)};e.prototype.go=function(a){this.bars[0].go(a);100==a&&h.call(this)};return e}();
urish/cdnjs
ajax/libs/nanobar/0.2.0/nanobar.min.js
JavaScript
mit
1,291
.oo-ui-icon-bigger{background-image:url(themes/mediawiki/images/icons/bigger-ltr.png)}.oo-ui-icon-bigger-invert{background-image:url(themes/mediawiki/images/icons/bigger-ltr-invert.png)}.oo-ui-icon-smaller{background-image:url(themes/mediawiki/images/icons/smaller-ltr.png)}.oo-ui-icon-smaller-invert{background-image:url(themes/mediawiki/images/icons/smaller-ltr-invert.png)}.oo-ui-icon-subscript{background-image:url(themes/mediawiki/images/icons/subscript-ltr.png)}.oo-ui-icon-subscript-invert{background-image:url(themes/mediawiki/images/icons/subscript-ltr-invert.png)}.oo-ui-icon-superscript{background-image:url(themes/mediawiki/images/icons/superscript-ltr.png)}.oo-ui-icon-superscript-invert{background-image:url(themes/mediawiki/images/icons/superscript-ltr-invert.png)}.oo-ui-icon-bold{background-image:url(themes/mediawiki/images/icons/bold-a.png)}.oo-ui-icon-bold:lang(ar){background-image:url(themes/mediawiki/images/icons/bold-arab-ain.png)}.oo-ui-icon-bold:lang(be){background-image:url(themes/mediawiki/images/icons/bold-cyrl-te.png)}.oo-ui-icon-bold:lang(cs),.oo-ui-icon-bold:lang(en),.oo-ui-icon-bold:lang(he),.oo-ui-icon-bold:lang(ml),.oo-ui-icon-bold:lang(pl),.oo-ui-icon-bold:lang(sco){background-image:url(themes/mediawiki/images/icons/bold-b.png)}.oo-ui-icon-bold:lang(da),.oo-ui-icon-bold:lang(de),.oo-ui-icon-bold:lang(hu),.oo-ui-icon-bold:lang(ksh),.oo-ui-icon-bold:lang(nn),.oo-ui-icon-bold:lang(no),.oo-ui-icon-bold:lang(sv){background-image:url(themes/mediawiki/images/icons/bold-f.png)}.oo-ui-icon-bold:lang(es),.oo-ui-icon-bold:lang(gl),.oo-ui-icon-bold:lang(pt){background-image:url(themes/mediawiki/images/icons/bold-n.png)}.oo-ui-icon-bold:lang(eu),.oo-ui-icon-bold:lang(fi){background-image:url(themes/mediawiki/images/icons/bold-l.png)}.oo-ui-icon-bold:lang(fa){background-image:url(themes/mediawiki/images/icons/bold-arab-dad.png)}.oo-ui-icon-bold:lang(fr),.oo-ui-icon-bold:lang(it){background-image:url(themes/mediawiki/images/icons/bold-g.png)}.oo-ui-icon-bold:lang(hy){background-image:url(themes/mediawiki/images/icons/bold-armn-to.png)}.oo-ui-icon-bold:lang(ka){background-image:url(themes/mediawiki/images/icons/bold-geor-man.png)}.oo-ui-icon-bold:lang(ky),.oo-ui-icon-bold:lang(ru){background-image:url(themes/mediawiki/images/icons/bold-cyrl-zhe.png)}.oo-ui-icon-bold:lang(nl){background-image:url(themes/mediawiki/images/icons/bold-v.png)}.oo-ui-icon-bold:lang(os){background-image:url(themes/mediawiki/images/icons/bold-cyrl-be.png)}.oo-ui-icon-bold-invert{background-image:url(themes/mediawiki/images/icons/bold-a-invert.png)}.oo-ui-icon-bold-invert:lang(ar){background-image:url(themes/mediawiki/images/icons/bold-arab-ain-invert.png)}.oo-ui-icon-bold-invert:lang(be){background-image:url(themes/mediawiki/images/icons/bold-cyrl-te-invert.png)}.oo-ui-icon-bold-invert:lang(cs),.oo-ui-icon-bold-invert:lang(en),.oo-ui-icon-bold-invert:lang(he),.oo-ui-icon-bold-invert:lang(ml),.oo-ui-icon-bold-invert:lang(pl),.oo-ui-icon-bold-invert:lang(sco){background-image:url(themes/mediawiki/images/icons/bold-b-invert.png)}.oo-ui-icon-bold-invert:lang(da),.oo-ui-icon-bold-invert:lang(de),.oo-ui-icon-bold-invert:lang(hu),.oo-ui-icon-bold-invert:lang(ksh),.oo-ui-icon-bold-invert:lang(nn),.oo-ui-icon-bold-invert:lang(no),.oo-ui-icon-bold-invert:lang(sv){background-image:url(themes/mediawiki/images/icons/bold-f-invert.png)}.oo-ui-icon-bold-invert:lang(es),.oo-ui-icon-bold-invert:lang(gl),.oo-ui-icon-bold-invert:lang(pt){background-image:url(themes/mediawiki/images/icons/bold-n-invert.png)}.oo-ui-icon-bold-invert:lang(eu),.oo-ui-icon-bold-invert:lang(fi){background-image:url(themes/mediawiki/images/icons/bold-l-invert.png)}.oo-ui-icon-bold-invert:lang(fa){background-image:url(themes/mediawiki/images/icons/bold-arab-dad-invert.png)}.oo-ui-icon-bold-invert:lang(fr),.oo-ui-icon-bold-invert:lang(it){background-image:url(themes/mediawiki/images/icons/bold-g-invert.png)}.oo-ui-icon-bold-invert:lang(hy){background-image:url(themes/mediawiki/images/icons/bold-armn-to-invert.png)}.oo-ui-icon-bold-invert:lang(ka){background-image:url(themes/mediawiki/images/icons/bold-geor-man-invert.png)}.oo-ui-icon-bold-invert:lang(ky),.oo-ui-icon-bold-invert:lang(ru){background-image:url(themes/mediawiki/images/icons/bold-cyrl-zhe-invert.png)}.oo-ui-icon-bold-invert:lang(nl){background-image:url(themes/mediawiki/images/icons/bold-v-invert.png)}.oo-ui-icon-bold-invert:lang(os){background-image:url(themes/mediawiki/images/icons/bold-cyrl-be-invert.png)}.oo-ui-icon-italic{background-image:url(themes/mediawiki/images/icons/italic-a.png)}.oo-ui-icon-italic:lang(ar){background-image:url(themes/mediawiki/images/icons/italic-arab-meem.png)}.oo-ui-icon-italic:lang(cs),.oo-ui-icon-italic:lang(en),.oo-ui-icon-italic:lang(fr),.oo-ui-icon-italic:lang(he),.oo-ui-icon-italic:lang(ml),.oo-ui-icon-italic:lang(pl),.oo-ui-icon-italic:lang(pt),.oo-ui-icon-italic:lang(sco){background-image:url(themes/mediawiki/images/icons/italic-i.png)}.oo-ui-icon-italic:lang(be),.oo-ui-icon-italic:lang(da),.oo-ui-icon-italic:lang(de),.oo-ui-icon-italic:lang(fi),.oo-ui-icon-italic:lang(ky),.oo-ui-icon-italic:lang(nn),.oo-ui-icon-italic:lang(no),.oo-ui-icon-italic:lang(os),.oo-ui-icon-italic:lang(ru),.oo-ui-icon-italic:lang(sv){background-image:url(themes/mediawiki/images/icons/italic-k.png)}.oo-ui-icon-italic:lang(es),.oo-ui-icon-italic:lang(gl),.oo-ui-icon-italic:lang(it),.oo-ui-icon-italic:lang(nl){background-image:url(themes/mediawiki/images/icons/italic-c.png)}.oo-ui-icon-italic:lang(eu){background-image:url(themes/mediawiki/images/icons/italic-e.png)}.oo-ui-icon-italic:lang(fa){background-image:url(themes/mediawiki/images/icons/italic-arab-keheh-jeem.png)}.oo-ui-icon-italic:lang(hu){background-image:url(themes/mediawiki/images/icons/italic-d.png)}.oo-ui-icon-italic:lang(hy){background-image:url(themes/mediawiki/images/icons/italic-armn-sha.png)}.oo-ui-icon-italic:lang(ksh){background-image:url(themes/mediawiki/images/icons/italic-s.png)}.oo-ui-icon-italic:lang(ka){background-image:url(themes/mediawiki/images/icons/italic-geor-kan.png)}.oo-ui-icon-italic-invert{background-image:url(themes/mediawiki/images/icons/italic-a-invert.png)}.oo-ui-icon-italic-invert:lang(ar){background-image:url(themes/mediawiki/images/icons/italic-arab-meem-invert.png)}.oo-ui-icon-italic-invert:lang(cs),.oo-ui-icon-italic-invert:lang(en),.oo-ui-icon-italic-invert:lang(fr),.oo-ui-icon-italic-invert:lang(he),.oo-ui-icon-italic-invert:lang(ml),.oo-ui-icon-italic-invert:lang(pl),.oo-ui-icon-italic-invert:lang(pt),.oo-ui-icon-italic-invert:lang(sco){background-image:url(themes/mediawiki/images/icons/italic-i-invert.png)}.oo-ui-icon-italic-invert:lang(be),.oo-ui-icon-italic-invert:lang(da),.oo-ui-icon-italic-invert:lang(de),.oo-ui-icon-italic-invert:lang(fi),.oo-ui-icon-italic-invert:lang(ky),.oo-ui-icon-italic-invert:lang(nn),.oo-ui-icon-italic-invert:lang(no),.oo-ui-icon-italic-invert:lang(os),.oo-ui-icon-italic-invert:lang(ru),.oo-ui-icon-italic-invert:lang(sv){background-image:url(themes/mediawiki/images/icons/italic-k-invert.png)}.oo-ui-icon-italic-invert:lang(es),.oo-ui-icon-italic-invert:lang(gl),.oo-ui-icon-italic-invert:lang(it),.oo-ui-icon-italic-invert:lang(nl){background-image:url(themes/mediawiki/images/icons/italic-c-invert.png)}.oo-ui-icon-italic-invert:lang(eu){background-image:url(themes/mediawiki/images/icons/italic-e-invert.png)}.oo-ui-icon-italic-invert:lang(fa){background-image:url(themes/mediawiki/images/icons/italic-arab-keheh-jeem-invert.png)}.oo-ui-icon-italic-invert:lang(hu){background-image:url(themes/mediawiki/images/icons/italic-d-invert.png)}.oo-ui-icon-italic-invert:lang(hy){background-image:url(themes/mediawiki/images/icons/italic-armn-sha-invert.png)}.oo-ui-icon-italic-invert:lang(ksh){background-image:url(themes/mediawiki/images/icons/italic-s-invert.png)}.oo-ui-icon-italic-invert:lang(ka){background-image:url(themes/mediawiki/images/icons/italic-geor-kan-invert.png)}.oo-ui-icon-strikethrough{background-image:url(themes/mediawiki/images/icons/strikethrough-a.png)}.oo-ui-icon-strikethrough:lang(en){background-image:url(themes/mediawiki/images/icons/strikethrough-s.png)}.oo-ui-icon-strikethrough:lang(fi){background-image:url(themes/mediawiki/images/icons/strikethrough-y.png)}.oo-ui-icon-strikethrough-invert{background-image:url(themes/mediawiki/images/icons/strikethrough-a-invert.png)}.oo-ui-icon-strikethrough-invert:lang(en){background-image:url(themes/mediawiki/images/icons/strikethrough-s-invert.png)}.oo-ui-icon-strikethrough-invert:lang(fi){background-image:url(themes/mediawiki/images/icons/strikethrough-y-invert.png)}.oo-ui-icon-underline{background-image:url(themes/mediawiki/images/icons/underline-a.png)}.oo-ui-icon-underline:lang(en){background-image:url(themes/mediawiki/images/icons/underline-u.png)}.oo-ui-icon-underline-invert{background-image:url(themes/mediawiki/images/icons/underline-a-invert.png)}.oo-ui-icon-underline-invert:lang(en){background-image:url(themes/mediawiki/images/icons/underline-u-invert.png)}.oo-ui-icon-textLanguage{background-image:url(themes/mediawiki/images/icons/language.png)}.oo-ui-icon-textLanguage-invert{background-image:url(themes/mediawiki/images/icons/language-invert.png)}.oo-ui-icon-textDirLTR{background-image:url(themes/mediawiki/images/icons/text-dir-lefttoright.png)}.oo-ui-icon-textDirLTR-invert{background-image:url(themes/mediawiki/images/icons/text-dir-lefttoright-invert.png)}.oo-ui-icon-textDirRTL{background-image:url(themes/mediawiki/images/icons/text-dir-righttoleft.png)}.oo-ui-icon-textDirRTL-invert{background-image:url(themes/mediawiki/images/icons/text-dir-righttoleft-invert.png)}.oo-ui-icon-textStyle{background-image:url(themes/mediawiki/images/icons/text-style.png)}.oo-ui-icon-textStyle-invert{background-image:url(themes/mediawiki/images/icons/text-style-invert.png)}
tholu/cdnjs
ajax/libs/oojs-ui/0.12.2/oojs-ui-mediawiki-icons-editing-styling.raster.min.css
CSS
mit
9,831
.oo-ui-icon-image{background-image:url(themes/mediawiki/images/icons/image-rtl.svg)}.oo-ui-icon-image-invert{background-image:url(themes/mediawiki/images/icons/image-rtl-invert.svg)}.oo-ui-icon-imageAdd{background-image:url(themes/mediawiki/images/icons/imageAdd-rtl.svg)}.oo-ui-icon-imageAdd-invert{background-image:url(themes/mediawiki/images/icons/imageAdd-rtl-invert.svg)}.oo-ui-icon-imageLock{background-image:url(themes/mediawiki/images/icons/imageLock-rtl.svg)}.oo-ui-icon-imageLock-invert{background-image:url(themes/mediawiki/images/icons/imageLock-rtl-invert.svg)}.oo-ui-icon-photoGallery{background-image:url(themes/mediawiki/images/icons/photoGallery-rtl.svg)}.oo-ui-icon-photoGallery-invert{background-image:url(themes/mediawiki/images/icons/photoGallery-rtl-invert.svg)}.oo-ui-icon-play{background-image:url(themes/mediawiki/images/icons/play-rtl.svg)}.oo-ui-icon-play-invert{background-image:url(themes/mediawiki/images/icons/play-rtl-invert.svg)}.oo-ui-icon-stop{background-image:url(themes/mediawiki/images/icons/stop.svg)}.oo-ui-icon-stop-invert{background-image:url(themes/mediawiki/images/icons/stop-invert.svg)}
sreym/cdnjs
ajax/libs/oojs-ui/0.12.3/oojs-ui-mediawiki-icons-media.vector.rtl.min.css
CSS
mit
1,132
/** * @license * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ // @version 0.5.3 window.WebComponents=window.WebComponents||{},function(e){var t=e.flags||{},n="webcomponents.js",o=document.querySelector('script[src*="'+n+'"]');if(!t.noOpts){if(location.search.slice(1).split("&").forEach(function(e){e=e.split("="),e[0]&&(t[e[0]]=e[1]||!0)}),o)for(var r,i=0;r=o.attributes[i];i++)"src"!==r.name&&(t[r.name]=r.value||!0);if(t.log){var a=t.log.split(",");t.log={},a.forEach(function(e){t.log[e]=!0})}else t.log={}}t.shadow=t.shadow||t.shadowdom||t.polyfill,t.shadow="native"===t.shadow?!1:t.shadow||!HTMLElement.prototype.createShadowRoot,t.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=t.register),e.flags=t}(WebComponents),"undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var o=t[this.name];return o&&o[0]===t?o[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=n}(),function(e){function t(e){_.push(e),w||(w=!0,h(o))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function o(){w=!1;var e=_;_=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();r(e),n.length&&(e.callback_(n,e),t=!0)}),t&&o()}function r(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var o=v.get(n);if(o)for(var r=0;r<o.length;r++){var i=o[r],a=i.options;if(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function a(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++E}function s(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function d(e){var t=new s(e.type,e.target);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function c(e,t){return y=new s(e,t)}function u(e){return L?L:(L=d(y),L.oldValue=e,L)}function l(){y=L=void 0}function m(e){return e===L||e===y}function f(e,t){return e===t?e:L&&m(e)?L:null}function p(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}var h,v=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))h=setTimeout;else if(window.setImmediate)h=window.setImmediate;else{var g=[],b=String(Math.random());window.addEventListener("message",function(e){if(e.data===b){var t=g;g=[],t.forEach(function(e){e()})}}),h=function(e){g.push(e),window.postMessage(b,"*")}}var w=!1,_=[],E=0;a.prototype={observe:function(e,t){if(e=n(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var o=v.get(e);o||v.set(e,o=[]);for(var r,i=0;i<o.length;i++)if(o[i].observer===this){r=o[i],r.removeListeners(),r.options=t;break}r||(r=new p(this,e,t),o.push(r),this.nodes_.push(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=v.get(e),n=0;n<t.length;n++){var o=t[n];if(o.observer===this){o.removeListeners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}};var y,L;p.prototype={enqueue:function(e){var n=this.observer.records_,o=n.length;if(n.length>0){var r=n[o-1],i=f(r,e);if(i)return void(n[o-1]=i)}else t(this.observer);n[o]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,o=e.target,r=new c("attributes",o);r.attributeName=t,r.attributeNamespace=n;var a=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;i(o,function(e){return!e.attributes||e.attributeFilter&&e.attributeFilter.length&&-1===e.attributeFilter.indexOf(t)&&-1===e.attributeFilter.indexOf(n)?void 0:e.attributeOldValue?u(a):r});break;case"DOMCharacterDataModified":var o=e.target,r=c("characterData",o),a=e.prevValue;i(o,function(e){return e.characterData?e.characterDataOldValue?u(a):r:void 0});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var s,d,o=e.relatedNode,m=e.target;"DOMNodeInserted"===e.type?(s=[m],d=[]):(s=[],d=[m]);var f=m.previousSibling,p=m.nextSibling,r=c("childList",o);r.addedNodes=s,r.removedNodes=d,r.previousSibling=f,r.nextSibling=p,i(o,function(e){return e.childList?r:void 0})}l()}},e.JsMutationObserver=a,e.MutationObserver||(e.MutationObserver=a)}(this),window.HTMLImports=window.HTMLImports||{flags:{}},function(e){function t(e,t){t=t||p,o(function(){i(e,t)},t)}function n(e){return"complete"===e.readyState||e.readyState===g}function o(e,t){if(n(t))e&&e();else{var r=function(){("complete"===t.readyState||t.readyState===g)&&(t.removeEventListener(b,r),o(e,t))};t.addEventListener(b,r)}}function r(e){e.target.__loaded=!0}function i(e,t){function n(){s==d&&e&&e()}function o(e){r(e),s++,n()}var i=t.querySelectorAll("link[rel=import]"),s=0,d=i.length;if(d)for(var c,u=0;d>u&&(c=i[u]);u++)a(c)?o.call(c,{target:c}):(c.addEventListener("load",o),c.addEventListener("error",o));else n()}function a(e){return l?e.__loaded||e["import"]&&"loading"!==e["import"].readyState:e.__importParsed}function s(e){for(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)d(t)&&c(t)}function d(e){return"link"===e.localName&&"import"===e.rel}function c(e){var t=e["import"];t?r({target:e}):(e.addEventListener("load",r),e.addEventListener("error",r))}var u="import",l=Boolean(u in document.createElement("link")),m=Boolean(window.ShadowDOMPolyfill),f=function(e){return m?ShadowDOMPolyfill.wrapIfNeeded(e):e},p=f(document),h={get:function(){var e=HTMLImports.currentScript||document.currentScript||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null);return f(e)},configurable:!0};Object.defineProperty(document,"_currentScript",h),Object.defineProperty(p,"_currentScript",h);var v=/Trident|Edge/.test(navigator.userAgent),g=v?"complete":"interactive",b="readystatechange";l&&(new MutationObserver(function(e){for(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)t.addedNodes&&s(t.addedNodes)}).observe(document.head,{childList:!0}),function(){if("loading"===document.readyState)for(var e,t=document.querySelectorAll("link[rel=import]"),n=0,o=t.length;o>n&&(e=t[n]);n++)c(e)}()),t(function(){HTMLImports.ready=!0,HTMLImports.readyTime=(new Date).getTime();var e=p.createEvent("CustomEvent");e.initCustomEvent("HTMLImportsLoaded",!0,!0,{}),p.dispatchEvent(e)}),e.IMPORT_LINK_TYPE=u,e.useNative=l,e.rootDocument=p,e.whenReady=t,e.isIE=v}(HTMLImports),function(e){var t=[],n=function(e){t.push(e)},o=function(){t.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=o}(HTMLImports),HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,n=/(@import[\s]+(?!url\())([^;]*)(;)/g,o={resolveUrlsInStyle:function(e){var t=e.ownerDocument,n=t.createElement("a");return e.textContent=this.resolveUrlsInCssText(e.textContent,n),e},resolveUrlsInCssText:function(e,o){var r=this.replaceUrls(e,o,t);return r=this.replaceUrls(r,o,n)},replaceUrls:function(e,t,n){return e.replace(n,function(e,n,o,r){var i=o.replace(/["']/g,"");return t.href=i,i=t.href,n+"'"+i+"'"+r})}};e.path=o}),HTMLImports.addModule(function(e){var t={async:!0,ok:function(e){return e.status>=200&&e.status<300||304===e.status||0===e.status},load:function(n,o,r){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(){if(4===i.readyState){var e=i.getResponseHeader("Location"),n=null;if(e)var n="/"===e.substr(0,1)?location.origin+e:e;o.call(r,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),HTMLImports.addModule(function(e){var t=e.xhr,n=e.flags,o=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};o.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)this.require(t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.checkDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedupe:function(e,t){if(this.pending[e])return this.pending[e].push(t),!0;return this.cache[e]?(this.onload(e,t,this.cache[e]),this.tail(),!0):(this.pending[e]=[t],!1)},fetch:function(e,o){if(n.load&&console.log("fetch",e,o),e)if(e.match(/^data:/)){var r=e.split(","),i=r[0],a=r[1];a=i.indexOf(";base64")>-1?atob(a):decodeURIComponent(a),setTimeout(function(){this.receive(e,o,null,a)}.bind(this),0)}else{var s=function(t,n,r){this.receive(e,o,t,n,r)}.bind(this);t.load(e,s)}else setTimeout(function(){this.receive(e,o,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,o,r){this.cache[e]=o;for(var i,a=this.pending[e],s=0,d=a.length;d>s&&(i=a[s]);s++)this.onload(e,i,o,n,r),this.tail();this.pending[e]=null},tail:function(){--this.inflight,this.checkDone()},checkDone:function(){this.inflight||this.oncomplete()}},e.Loader=o}),HTMLImports.addModule(function(e){var t=function(e){this.addCallback=e,this.mo=new MutationObserver(this.handler.bind(this))};t.prototype={handler:function(e){for(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)"childList"===t.type&&t.addedNodes.length&&this.addedNodes(t.addedNodes)},addedNodes:function(e){this.addCallback&&this.addCallback(e);for(var t,n=0,o=e.length;o>n&&(t=e[n]);n++)t.children&&t.children.length&&this.addedNodes(t.children)},observe:function(e){this.mo.observe(e,{childList:!0,subtree:!0})}},e.Observer=t}),HTMLImports.addModule(function(e){function t(e){return"link"===e.localName&&e.rel===u}function n(e){var t=o(e);return"data:text/javascript;charset=utf-8,"+encodeURIComponent(t)}function o(e){return e.textContent+r(e)}function r(e){var t=e.ownerDocument;t.__importedScripts=t.__importedScripts||0;var n=e.ownerDocument.baseURI,o=t.__importedScripts?"-"+t.__importedScripts:"";return t.__importedScripts++,"\n//# sourceURL="+n+o+".js\n"}function i(e){var t=e.ownerDocument.createElement("style");return t.textContent=e.textContent,a.resolveUrlsInStyle(t),t}var a=e.path,s=e.rootDocument,d=e.flags,c=e.isIE,u=e.IMPORT_LINK_TYPE,l="link[rel="+u+"]",m={documentSelectors:l,importsSelectors:[l,"link[rel=stylesheet]","style","script:not([type])",'script[type="text/javascript"]'].join(","),map:{link:"parseLink",script:"parseScript",style:"parseStyle"},dynamicElements:[],parseNext:function(){var e=this.nextToParse();e&&this.parse(e)},parse:function(e){if(this.isParsed(e))return void(d.parse&&console.log("[%s] is already parsed",e.localName));var t=this[this.map[e.localName]];t&&(this.markParsing(e),t.call(this,e))},parseDynamic:function(e,t){this.dynamicElements.push(e),t||this.parseNext()},markParsing:function(e){d.parse&&console.log("parsing",e),this.parsingElement=e},markParsingComplete:function(e){e.__importParsed=!0,this.markDynamicParsingComplete(e),e.__importElement&&(e.__importElement.__importParsed=!0,this.markDynamicParsingComplete(e.__importElement)),this.parsingElement=null,d.parse&&console.log("completed",e)},markDynamicParsingComplete:function(e){var t=this.dynamicElements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1)},parseImport:function(e){if(HTMLImports.__importsParsingHook&&HTMLImports.__importsParsingHook(e),e["import"]&&(e["import"].__importParsed=!0),this.markParsingComplete(e),e.dispatchEvent(e.__resource&&!e.__error?new CustomEvent("load",{bubbles:!1}):new CustomEvent("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)t=e.__pending.shift(),t&&t({target:e});this.parseNext()},parseLink:function(e){t(e)?this.parseImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var t=e;e=i(e),e.__importElement=t,this.parseGeneric(e)},parseGeneric:function(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,o=function(o){t&&t(o),n.markParsingComplete(e),n.parseNext()};if(e.addEventListener("load",o),e.addEventListener("error",o),c&&"style"===e.localName){var r=!1;if(-1==e.textContent.indexOf("@import"))r=!0;else if(e.sheet){r=!0;for(var i,a=e.sheet.cssRules,s=a?a.length:0,d=0;s>d&&(i=a[d]);d++)i.type===CSSRule.IMPORT_RULE&&(r=r&&Boolean(i.styleSheet))}r&&e.dispatchEvent(new CustomEvent("load",{bubbles:!1}))}},parseScript:function(t){var o=document.createElement("script");o.__importElement=t,o.src=t.src?t.src:n(t),e.currentScript=t,this.trackElement(o,function(){o.parentNode.removeChild(o),e.currentScript=null}),this.addElementToDocument(o)},nextToParse:function(){return this._mayParse=[],!this.parsingElement&&(this.nextToParseInDoc(s)||this.nextToParseDynamic())},nextToParseInDoc:function(e,n){if(e&&this._mayParse.indexOf(e)<0){this._mayParse.push(e);for(var o,r=e.querySelectorAll(this.parseSelectorsForNode(e)),i=0,a=r.length;a>i&&(o=r[i]);i++)if(!this.isParsed(o))return this.hasResource(o)?t(o)?this.nextToParseInDoc(o["import"],o):o:void 0}return n},nextToParseDynamic:function(){return this.dynamicElements[0]},parseSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===s?this.documentSelectors:this.importsSelectors},isParsed:function(e){return e.__importParsed},needsDynamicParsing:function(e){return this.dynamicElements.indexOf(e)>=0},hasResource:function(e){return t(e)&&void 0===e["import"]?!1:!0}};e.parser=m,e.IMPORT_SELECTOR=l}),HTMLImports.addModule(function(e){function t(e){return n(e,i)}function n(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}function o(e,t){var n=document.implementation.createHTMLDocument(i);n._URL=t;var o=n.createElement("base");o.setAttribute("href",t),n.baseURI||Object.defineProperty(n,"baseURI",{value:t});var r=n.createElement("meta");return r.setAttribute("charset","utf-8"),n.head.appendChild(r),n.head.appendChild(o),n.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(n),n}var r=e.flags,i=e.IMPORT_LINK_TYPE,a=e.IMPORT_SELECTOR,s=e.rootDocument,d=e.Loader,c=e.Observer,u=e.parser,l={documents:{},documentPreloadSelectors:a,importsPreloadSelectors:[a].join(","),loadNode:function(e){m.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);m.addNodes(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNode(e))},loadSelectorsForNode:function(e){var t=e.ownerDocument||e;return t===s?this.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,n,i,a,s){if(r.load&&console.log("loaded",e,n),n.__resource=i,n.__error=a,t(n)){var d=this.documents[e];void 0===d&&(d=a?null:o(i,s||e),d&&(d.__importLink=n,this.bootDocument(d)),this.documents[e]=d),n["import"]=d}u.parseNext()},bootDocument:function(e){this.loadSubtree(e),this.observer.observe(e),u.parseNext()},loadedAll:function(){u.parseNext()}},m=new d(l.loaded.bind(l),l.loadedAll.bind(l));if(l.observer=new c,!document.baseURI){var f={get:function(){var e=document.querySelector("base");return e?e.href:window.location.href},configurable:!0};Object.defineProperty(document,"baseURI",f),Object.defineProperty(s,"baseURI",f)}e.importer=l,e.importLoader=m}),HTMLImports.addModule(function(e){var t=e.parser,n=e.importer,o={added:function(e){for(var o,r,i,a,s=0,d=e.length;d>s&&(a=e[s]);s++)o||(o=a.ownerDocument,r=t.isParsed(o)),i=this.shouldLoadNode(a),i&&n.loadNode(a),this.shouldParseNode(a)&&r&&t.parseDynamic(a,i)},shouldLoadNode:function(e){return 1===e.nodeType&&r.call(e,n.loadSelectorsForNode(e))},shouldParseNode:function(e){return 1===e.nodeType&&r.call(e,t.parseSelectorsForNode(e))}};n.observer.addCallback=o.added.bind(o);var r=HTMLElement.prototype.matches||HTMLElement.prototype.matchesSelector||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector}),function(e){function t(){HTMLImports.importer.bootDocument(r)}var n=e.initializeModules,o=e.isIE;if(!e.useNative){o&&"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),n();var r=e.rootDocument;"complete"===document.readyState||"interactive"===document.readyState&&!window.attachEvent?t():document.addEventListener("DOMContentLoaded",t)}}(HTMLImports),window.CustomElements=window.CustomElements||{flags:{}},function(e){var t=e.flags,n=[],o=function(e){n.push(e)},r=function(){n.forEach(function(t){t(e)})};e.addModule=o,e.initializeModules=r,e.hasNative=Boolean(document.registerElement),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||HTMLImports.useNative)}(CustomElements),CustomElements.addModule(function(e){function t(e,t){n(e,function(e){return t(e)?!0:void o(e,t)}),o(e,t)}function n(e,t,o){var r=e.firstElementChild;if(!r)for(r=e.firstChild;r&&r.nodeType!==Node.ELEMENT_NODE;)r=r.nextSibling;for(;r;)t(r,o)!==!0&&n(r,t,o),r=r.nextElementSibling;return null}function o(e,n){for(var o=e.shadowRoot;o;)t(o,n),o=o.olderShadowRoot}function r(e,t){a=[],i(e,t),a=null}function i(e,t){if(e=wrap(e),!(a.indexOf(e)>=0)){a.push(e);for(var n,o=e.querySelectorAll("link[rel="+s+"]"),r=0,d=o.length;d>r&&(n=o[r]);r++)n["import"]&&i(n["import"],t);t(e)}}var a,s=window.HTMLImports?HTMLImports.IMPORT_LINK_TYPE:"none";e.forDocumentTree=r,e.forSubtree=t}),CustomElements.addModule(function(e){function t(e){return n(e)||o(e)}function n(t){return e.upgrade(t)?!0:void s(t)}function o(e){_(e,function(e){return n(e)?!0:void 0})}function r(e){s(e),m(e)&&_(e,function(e){s(e)})}function i(e){M.push(e),L||(L=!0,setTimeout(a))}function a(){L=!1;for(var e,t=M,n=0,o=t.length;o>n&&(e=t[n]);n++)e();M=[]}function s(e){y?i(function(){d(e)}):d(e)}function d(e){e.__upgraded__&&(e.attachedCallback||e.detachedCallback)&&!e.__attached&&m(e)&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback())}function c(e){u(e),_(e,function(e){u(e)})}function u(e){y?i(function(){l(e)}):l(e)}function l(e){e.__upgraded__&&(e.attachedCallback||e.detachedCallback)&&e.__attached&&!m(e)&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function m(e){for(var t=e,n=wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.host}}function f(e){if(e.shadowRoot&&!e.shadowRoot.__watched){w.dom&&console.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)v(t),t=t.olderShadowRoot}}function p(e){if(w.dom){var n=e[0];if(n&&"childList"===n.type&&n.addedNodes&&n.addedNodes){for(var o=n.addedNodes[0];o&&o!==document&&!o.host;)o=o.parentNode;var r=o&&(o.URL||o._URL||o.host&&o.host.localName)||"";r=r.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",e.length,r||"")}e.forEach(function(e){"childList"===e.type&&(T(e.addedNodes,function(e){e.localName&&t(e)}),T(e.removedNodes,function(e){e.localName&&c(e)}))}),w.dom&&console.groupEnd()}function h(e){for(e=wrap(e),e||(e=wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(p(t.takeRecords()),a())}function v(e){if(!e.__observer){var t=new MutationObserver(p);t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function g(e){e=wrap(e),w.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop()),t(e),v(e),w.dom&&console.groupEnd()}function b(e){E(e,g)}var w=e.flags,_=e.forSubtree,E=e.forDocumentTree,y=!window.MutationObserver||window.MutationObserver===window.JsMutationObserver;e.hasPolyfillMutations=y;var L=!1,M=[],T=Array.prototype.forEach.call.bind(Array.prototype.forEach),N=Element.prototype.createShadowRoot;Element.prototype.createShadowRoot=function(){var e=N.call(this);return CustomElements.watchShadow(this),e},e.watchShadow=f,e.upgradeDocumentTree=b,e.upgradeSubtree=o,e.upgradeAll=t,e.attachedNode=r,e.takeRecords=h}),CustomElements.addModule(function(e){function t(t){if(!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var o=t.getAttribute("is"),r=e.getRegisteredDefinition(o||t.localName);if(r){if(o&&r.tag==t.localName)return n(t,r);if(!o&&!r["extends"])return n(t,r)}}}function n(t,n){return a.upgrade&&console.group("upgrade:",t.localName),n.is&&t.setAttribute("is",n.is),o(t,n),t.__upgraded__=!0,i(t),e.attachedNode(t),e.upgradeSubtree(t),a.upgrade&&console.groupEnd(),t}function o(e,t){Object.__proto__?e.__proto__=t.prototype:(r(e,t.prototype,t["native"]),e.__proto__=t.prototype)}function r(e,t,n){for(var o={},r=t;r!==n&&r!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(r),s=0;i=a[s];s++)o[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i)),o[i]=1);r=Object.getPrototypeOf(r)}}function i(e){e.createdCallback&&e.createdCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDefinition=n,e.implementPrototype=o}),CustomElements.addModule(function(e){function t(t,o){var d=o||{};if(!t)throw new Error("document.registerElement: first argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(t)+"'.");if(r(t))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(t)+"'. The type name is invalid.");if(c(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+"' is already registered");return d.prototype||(d.prototype=Object.create(HTMLElement.prototype)),d.__name=t.toLowerCase(),d.lifecycle=d.lifecycle||{},d.ancestry=i(d["extends"]),a(d),s(d),n(d.prototype),u(d.__name,d),d.ctor=l(d),d.ctor.prototype=d.prototype,d.prototype.constructor=d.ctor,e.ready&&v(document),d.ctor}function n(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,n){o.call(this,e,n,t)};var n=e.removeAttribute;e.removeAttribute=function(e){o.call(this,e,null,n)},e.setAttribute._polyfilled=!0}}function o(e,t,n){e=e.toLowerCase();var o=this.getAttribute(e);n.apply(this,arguments);var r=this.getAttribute(e);this.attributeChangedCallback&&r!==o&&this.attributeChangedCallback(e,o,r)}function r(e){for(var t=0;t<E.length;t++)if(e===E[t])return!0}function i(e){var t=c(e);return t?i(t["extends"]).concat([t]):[]}function a(e){for(var t,n=e["extends"],o=0;t=e.ancestry[o];o++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}function s(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.tag),o=Object.getPrototypeOf(n);o===e.prototype&&(t=o)}for(var r,i=e.prototype;i&&i!==t;)r=Object.getPrototypeOf(i),i.__proto__=r,i=r;e["native"]=t}}function d(e){return b(M(e.tag),e)}function c(e){return e?y[e.toLowerCase()]:void 0}function u(e,t){y[e]=t}function l(e){return function(){return d(e)}}function m(e,t,n){return e===L?f(t,n):T(e,t)}function f(e,t){var n=c(t||e);if(n){if(e==n.tag&&t==n.is)return new n.ctor;if(!t&&!n.is)return new n.ctor}var o;return t?(o=f(e),o.setAttribute("is",t),o):(o=M(e),e.indexOf("-")>=0&&w(o,HTMLElement),o)}function p(e){var t=N.call(this,e);return g(t),t}var h,v=e.upgradeDocumentTree,g=e.upgrade,b=e.upgradeWithDefinition,w=e.implementPrototype,_=e.useNative,E=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],y={},L="http://www.w3.org/1999/xhtml",M=document.createElement.bind(document),T=document.createElementNS.bind(document),N=Node.prototype.cloneNode;h=Object.__proto__||_?function(e,t){return e instanceof t}:function(e,t){for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},document.registerElement=t,document.createElement=f,document.createElementNS=m,Node.prototype.cloneNode=p,e.registry=y,e["instanceof"]=h,e.reservedTagList=E,e.getRegisteredDefinition=c,document.register=document.registerElement}),function(e){function t(){a(wrap(document)),window.HTMLImports&&(HTMLImports.__importsParsingHook=function(e){a(wrap(e["import"]))}),CustomElements.ready=!0,setTimeout(function(){CustomElements.readyTime=Date.now(),window.HTMLImports&&(CustomElements.elapsed=CustomElements.readyTime-HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})}var n=e.useNative,o=e.initializeModules,r=/Trident/.test(navigator.userAgent);if(n){var i=function(){};e.watchShadow=i,e.upgrade=i,e.upgradeAll=i,e.upgradeDocumentTree=i,e.upgradeSubtree=i,e.takeRecords=i,e["instanceof"]=function(e,t){return e instanceof t}}else o();var a=e.upgradeDocumentTree;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),r&&"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var s=window.HTMLImports&&!HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements),"undefined"==typeof HTMLTemplateElement&&!function(){var e="template";HTMLTemplateElement=function(){},HTMLTemplateElement.prototype=Object.create(HTMLElement.prototype),HTMLTemplateElement.decorate=function(e){if(!e.content){e.content=e.ownerDocument.createDocumentFragment();for(var t;t=e.firstChild;)e.content.appendChild(t)}},HTMLTemplateElement.bootstrap=function(t){for(var n,o=t.querySelectorAll(e),r=0,i=o.length;i>r&&(n=o[r]);r++)HTMLTemplateElement.decorate(n)},addEventListener("DOMContentLoaded",function(){HTMLTemplateElement.bootstrap(document)})}(),function(){var e=document.createElement("style");e.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var t=document.querySelector("head");t.insertBefore(e,t.firstChild)}(window.WebComponents);
Sneezry/jsdelivr
files/webcomponentsjs/0.5.4/webcomponents-lite.min.js
JavaScript
mit
28,347
ace.define("ace/mode/sjs",["require","exports","module","ace/lib/oop","ace/mode/javascript","ace/tokenizer","ace/mode/sjs_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(e,t,n){var r=e("../lib/oop"),i=e("./javascript").Mode,s=e("../tokenizer").Tokenizer,o=e("./sjs_highlight_rules").SJSHighlightRules,u=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./behaviour/cstyle").CstyleBehaviour,f=e("./folding/cstyle").FoldMode,l=function(){var e=new o;this.$tokenizer=new s(e.getRules()),this.$outdent=new u,this.$behaviour=new a,this.$keywordList=e.$keywordList,this.foldingRules=new f};r.inherits(l,i),function(){this.createWorker=function(e){return null},this.$id="ace/mode/sjs"}.call(l.prototype),t.Mode=l}),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("../tokenizer").Tokenizer,o=e("./javascript_highlight_rules").JavaScriptHighlightRules,u=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("../range").Range,f=e("../worker/worker_client").WorkerClient,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,h=function(){this.HighlightRules=o,this.$outdent=new u,this.$behaviour=new l,this.foldingRules=new c};r.inherits(h,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),s=i.tokens,o=i.state;if(s.length&&s[s.length-1].type=="comment")return r;if(e=="start"||e=="no_regex"){var u=t.match(/^.*(?:\bcase\b.*\:|[\{\(\[])\s*$/);u&&(r+=n)}else if(e=="doc-start"){if(o=="start"||o=="no_regex")return"";var u=t.match(/^\s*(\/?)\*/);u&&(u[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new f(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("jslint",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/javascript"}.call(h.prototype),t.Mode=h}),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,s=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),t="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",n="[a-zA-Z\\$_\xa1-\uffff][a-zA-Z\\d\\$_\xa1-\uffff]*\\b",r="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[{token:"comment",regex:"\\/\\/",next:"line_comment"},i.getStartRule("doc-start"),{token:"comment",regex:/\/\*/,next:"comment"},{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0[xX][0-9a-fA-F]+\b/},{token:"constant.numeric",regex:/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+n+")(\\.)(prototype)(\\.)("+n+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+n+")(\\.)("+n+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+n+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+n+")(\\.)("+n+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+n+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+n+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"(?:"+t+")\\b",next:"start"},{token:["punctuation.operator","support.function"],regex:/(\.)(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:["punctuation.operator","support.function.dom"],regex:/(\.)(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:["punctuation.operator","support.constant"],regex:/(\.)(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|timeEnd|assert)\b/},{token:e,regex:n},{token:"keyword.operator",regex:/--|\+\+|[!$%&*+\-~]|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|%=|\+=|\-=|&=|\^=/,next:"start"},{token:"punctuation.operator",regex:/\?|\:|\,|\;|\./,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"keyword.operator",regex:/\/=?/,next:"start"},{token:"comment",regex:/^#!.*$/}],start:[i.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment_regex_allowed"},{token:"comment",regex:"\\/\\/",next:"line_comment_regex_allowed"},{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:n},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],comment_regex_allowed:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],comment:[{token:"comment",regex:"\\*\\/",next:"no_regex"},{defaultToken:"comment"}],line_comment_regex_allowed:[{token:"comment",regex:"$|^",next:"start"},{defaultToken:"comment"}],line_comment:[{token:"comment",regex:"$|^",next:"no_regex"},{defaultToken:"comment"}],qqstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},this.embedRules(i,"doc-",[i.getEndRule("no_regex")])};r.inherits(o,s),t.JavaScriptHighlightRules=o}),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},{token:"comment.doc.tag",regex:"\\bTODO\\b"},{defaultToken:"comment.doc"}]}};r.inherits(s,i),s.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},s.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=s}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){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=function(e){var t=-1;e.multiSelect&&(t=e.selection.id,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:""}},h=function(){this.add("braces","insertion",function(e,t,n,r,i){var s=n.getCursorPosition(),u=r.doc.getLine(s.row);if(i=="{"){c(n);var a=n.getSelectionRange(),l=r.doc.getTextRange(a);if(l!==""&&l!=="{"&&n.getWrapBehavioursEnabled())return{text:"{"+l+"}",selection:!1};if(h.isSaneInsertion(n,r))return/[\]\}\)]/.test(u[s.column])||n.inMultiSelectMode?(h.recordAutoInsert(n,r,"}"),{text:"{}",selection:[1,1]}):(h.recordMaybeInsert(n,r,"{"),{text:"{",selection:[1,1]})}else if(i=="}"){c(n);var p=u.substring(s.column,s.column+1);if(p=="}"){var d=r.$findOpeningBracket("}",{column:s.column+1,row:s.row});if(d!==null&&h.isAutoInsertedClosing(s,u,i))return h.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else{if(i=="\n"||i=="\r\n"){c(n);var v="";h.isMaybeInsertedClosing(s,u)&&(v=o.stringRepeat("}",f.maybeInsertedBrackets),h.clearMaybeInsertedClosing());var p=u.substring(s.column,s.column+1);if(p==="}"){var m=r.findMatchingBracket({row:s.row,column:s.column+1},"}");if(!m)return null;var g=this.$getIndent(r.getLine(m.row))}else{if(!v){h.clearMaybeInsertedClosing();return}var g=this.$getIndent(u)}var y=g+r.getTabString();return{text:"\n"+y+"\n"+g+v,selection:[1,y.length,1,y.length]}}h.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&s=="{"){c(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=="("){c(n);var s=n.getSelectionRange(),o=r.doc.getTextRange(s);if(o!==""&&n.getWrapBehavioursEnabled())return{text:"("+o+")",selection:!1};if(h.isSaneInsertion(n,r))return h.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(i==")"){c(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&&h.isAutoInsertedClosing(u,a,i))return h.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=="("){c(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=="["){c(n);var s=n.getSelectionRange(),o=r.doc.getTextRange(s);if(o!==""&&n.getWrapBehavioursEnabled())return{text:"["+o+"]",selection:!1};if(h.isSaneInsertion(n,r))return h.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if(i=="]"){c(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&&h.isAutoInsertedClosing(u,a,i))return h.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=="["){c(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){if(i=='"'||i=="'"){c(n);var s=i,o=n.getSelectionRange(),u=r.doc.getTextRange(o);if(u!==""&&u!=="'"&&u!='"'&&n.getWrapBehavioursEnabled())return{text:s+u+s,selection:!1};var a=n.getCursorPosition(),f=r.doc.getLine(a.row),l=f.substring(a.column-1,a.column);if(l=="\\")return null;var p=r.getTokens(o.start.row),d=0,v,m=-1;for(var g=0;g<p.length;g++){v=p[g],v.type=="string"?m=-1:m<0&&(m=v.value.indexOf(s));if(v.value.length+d>o.start.column)break;d+=p[g].value.length}if(!v||m<0&&v.type!=="comment"&&(v.type!=="string"||o.start.column!==v.value.length+d-1&&v.value.lastIndexOf(s)===v.value.length-1)){if(!h.isSaneInsertion(n,r))return;return{text:s+s,selection:[1,1]}}if(v&&v.type==="string"){var y=f.substring(a.column,a.column+1);if(y==s)return{text:"",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=="'")){c(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}})};h.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)},h.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},h.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++},h.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++},h.isAutoInsertedClosing=function(e,t,n){return f.autoInsertedBrackets>0&&e.row===f.autoInsertedRow&&n===f.autoInsertedLineEnd[0]&&t.substr(e.column)===f.autoInsertedLineEnd},h.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},h.popAutoInsertedClosing=function(){f.autoInsertedLineEnd=f.autoInsertedLineEnd.substr(1),f.autoInsertedBrackets--},h.clearMaybeInsertedClosing=function(){f&&(f.maybeInsertedBrackets=0,f.maybeInsertedRow=-1)},r.inherits(h,i),t.CstyleBehaviour=h}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n),s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!="all"&&(u=null)),u}if(t==="markbegin")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)}}.call(o.prototype)}),ace.define("ace/mode/sjs_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/javascript_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./javascript_highlight_rules").JavaScriptHighlightRules,s=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=new i,t="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",n=function(e){return e.isContextAware=!0,e},r=function(e){return{token:e.token,regex:e.regex,next:n(function(t,n){return n.length===0&&n.unshift(t),n.unshift(e.next),e.next})}},s=function(e){return{token:e.token,regex:e.regex,next:n(function(e,t){return t.shift(),t[0]||"start"})}};this.$rules=e.$rules,this.$rules.no_regex=[{token:"keyword",regex:"(waitfor|or|and|collapse|spawn|retract)\\b"},{token:"keyword.operator",regex:"(->|=>|\\.\\.)"},{token:"variable.language",regex:"(hold|default)\\b"},r({token:"string",regex:"`",next:"bstring"}),r({token:"string",regex:'"',next:"qqstring"}),r({token:"string",regex:'"',next:"qqstring"}),{token:["paren.lparen","text","paren.rparen"],regex:"(\\{)(\\s*)(\\|)",next:"block_arguments"}].concat(this.$rules.no_regex),this.$rules.block_arguments=[{token:"paren.rparen",regex:"\\|",next:"no_regex"}].concat(this.$rules.function_arguments),this.$rules.bstring=[{token:"constant.language.escape",regex:t},{token:"string",regex:"\\\\$",next:"bstring"},r({token:"paren.lparen",regex:"\\$\\{",next:"string_interp"}),r({token:"paren.lparen",regex:"\\$",next:"bstring_interp_single"}),s({token:"string",regex:"`"}),{defaultToken:"string"}],this.$rules.qqstring=[{token:"constant.language.escape",regex:t},{token:"string",regex:"\\\\$",next:"qqstring"},r({token:"paren.lparen",regex:"#\\{",next:"string_interp"}),s({token:"string",regex:'"'}),{defaultToken:"string"}];var o=[];for(var u=0;u<this.$rules.no_regex.length;u++){var a=this.$rules.no_regex[u],f=String(a.token);f.indexOf("paren")==-1&&(!a.next||a.next.isContextAware)&&o.push(a)}this.$rules.string_interp=[s({token:"paren.rparen",regex:"\\}"}),r({token:"paren.lparen",regex:"{",next:"string_interp"})].concat(o),this.$rules.bstring_interp_single=[{token:["identifier","paren.lparen"],regex:"(\\w+)(\\()",next:"bstring_interp_single_call"},s({token:"identifier",regex:"\\w*"})],this.$rules.bstring_interp_single_call=[r({token:"paren.lparen",regex:"\\(",next:"bstring_interp_single_call"}),s({token:"paren.rparen",regex:"\\)"})].concat(o)};r.inherits(o,s),t.SJSHighlightRules=o})
jgravois/jsdelivr
files/ace/1.1.3/noconflict/mode-sjs.js
JavaScript
mit
24,479
var Organic=function(){var a={helpers:{},lib:{atoms:{},molecules:{}}},b=function(b){if("./helpers/extend"==b)return a.helpers.extend;if("/helpers/snippets"==b||"../../helpers/snippets"==b)return a.helpers.snippets;if("/lib/atoms/atoms"==b||"../../lib/atoms/atoms"==b||"../atoms/atoms.js"==b)return a.lib.atoms.atoms;if("../../helpers/units"==b)return a.helpers.units;if("../../helpers/args"==b)return a.helpers.args;if("path"==b)return{basename:function(a){return a.split("/").pop()}};var c=b.split("/");return function d(a){var b=c.shift().replace(".js","");return a[b]?0==c.length?a[b]:d(a[b]):void 0}(a)},c="",d=function(b,c,e){"undefined"==typeof b&&(b=[]),"undefined"==typeof c&&(c=a.lib),"undefined"==typeof e&&(e="lib/");for(var f in c)"function"==typeof c[f]?b.push(e+f+".js"):d(b,c[f],e+f+"/");return b};a.helpers.args=function(a){return a=a.toString().replace(/\/ /g,"/").split("/")},a.helpers.extend=function(){for(var a=function(a,b){for(var c in b)hasOwnProperty.call(b,c)&&(a[c]=b[c]);return a},b=arguments[0],c=1;c<arguments.length;c++)b=a(b,arguments[c]);return b},a.helpers.snippets=function(){return{pos:"position","pos:s":"position:static","pos:a":"position:absolute","pos:r":"position:relative","pos:f":"position:fixed","t:a":"top:auto",rig:"right","r:a":"right:auto",bot:"bottom",lef:"left","l:a":"left:auto",zin:"z-index","z:a":"z-index:auto",fl:"float","fl:n":"float:none","fl:l":"float:left","fl:r":"float:right",cl:"clear","cl:n":"clear:none","cl:l":"clear:left","cl:r":"clear:right","cl:b":"clear:both",dis:"display","d:n":"display:none","d:b":"display:block","d:i":"display:inline","d:ib":"display:inline-block","d:li":"display:list-item","d:ri":"display:run-in","d:cp":"display:compact","d:tb":"display:table","d:itb":"display:inline-table","d:tbcp":"display:table-caption","d:tbcl":"display:table-column","d:tbclg":"display:table-column-group","d:tbhg":"display:table-header-group","d:tbfg":"display:table-footer-group","d:tbr":"display:table-row","d:tbrg":"display:table-row-group","d:tbc":"display:table-cell","d:rb":"display:ruby","d:rbb":"display:ruby-base","d:rbbg":"display:ruby-base-group","d:rbt":"display:ruby-text","d:rbtg":"display:ruby-text-group",vis:"visibility","v:v":"visibility:visible","v:h":"visibility:hidden","v:c":"visibility:collapse",ov:"overflow","ov:v":"overflow:visible","ov:h":"overflow:hidden","ov:s":"overflow:scroll","ov:a":"overflow:auto",ovx:"overflow-x","ovx:v":"overflow-x:visible","ovx:h":"overflow-x:hidden","ovx:s":"overflow-x:scroll","ovx:a":"overflow-x:auto",ovy:"overflow-y","ovy:v":"overflow-y:visible","ovy:h":"overflow-y:hidden","ovy:s":"overflow-y:scroll","ovy:a":"overflow-y:auto",ovs:"overflow-style","ovs:a":"overflow-style:auto","ovs:s":"overflow-style:scrollbar","ovs:p":"overflow-style:panner","ovs:m":"overflow-style:move","ovs:mq":"overflow-style:marquee",zoo:"zoom:1",cp:"clip","cp:a":"clip:auto","cp:r":"clip:rect()",rz:"resize","rz:n":"resize:none","rz:b":"resize:both","rz:h":"resize:horizontal","rz:v":"resize:vertical",cur:"cursor","cur:a":"cursor:auto","cur:d":"cursor:default","cur:c":"cursor:crosshair","cur:ha":"cursor:hand","cur:he":"cursor:help","cur:m":"cursor:move","cur:p":"cursor:pointer","cur:t":"cursor:text",mar:"margin","m:au":"margin:0 auto",mt:"margin-top","mt:a":"margin-top:auto",mr:"margin-right","mr:a":"margin-right:auto",mb:"margin-bottom","mb:a":"margin-bottom:auto",ml:"margin-left","ml:a":"margin-left:auto",pad:"padding",pt:"padding-top",pr:"padding-right",pb:"padding-bottom",pl:"padding-left",bxz:"box-sizing","bxz:cb":"box-sizing:content-box","bxz:bb":"box-sizing:border-box",bxsh:"box-shadow","bxsh:n":"box-shadow:none","bxsh+":"box-shadow:0 0 0 #000",wid:"width","w:a":"width:auto",hei:"height","h:a":"height:auto",maw:"max-width","maw:n":"max-width:none",mah:"max-height","mah:n":"max-height:none",miw:"min-width",mih:"min-height",fon:"font","fon+":"font:1em Arial, sans-serif",fw:"font-weight","fw:n":"font-weight:normal","fw:b":"font-weight:bold","fw:br":"font-weight:bolder","fw:lr":"font-weight:lighter",fs:"font-style","fs:n":"font-style:normal","fs:i":"font-style:italic","fs:o":"font-style:oblique",fv:"font-variant","fv:n":"font-variant:normal","fv:sc":"font-variant:small-caps",fz:"font-size",fza:"font-size-adjust","fza:n":"font-size-adjust:none",ff:"font-family","ff:s":"font-family:serif","ff:ss":"font-family:sans-serif","ff:c":"font-family:cursive","ff:f":"font-family:fantasy","ff:m":"font-family:monospace",fef:"font-effect","fef:n":"font-effect:none","fef:eg":"font-effect:engrave","fef:eb":"font-effect:emboss","fef:o":"font-effect:outline",fem:"font-emphasize",femp:"font-emphasize-position","femp:b":"font-emphasize-position:before","femp:a":"font-emphasize-position:after",fems:"font-emphasize-style","fems:n":"font-emphasize-style:none","fems:ac":"font-emphasize-style:accent","fems:dt":"font-emphasize-style:dot","fems:c":"font-emphasize-style:circle","fems:ds":"font-emphasize-style:disc",fsm:"font-smooth","fsm:au":"font-smooth:auto","fsm:n":"font-smooth:never","fsm:al":"font-smooth:always",fst:"font-stretch","fst:n":"font-stretch:normal","fst:uc":"font-stretch:ultra-condensed","fst:ec":"font-stretch:extra-condensed","fst:c":"font-stretch:condensed","fst:sc":"font-stretch:semi-condensed","fst:se":"font-stretch:semi-expanded","fst:e":"font-stretch:expanded","fst:ee":"font-stretch:extra-expanded","fst:ue":"font-stretch:ultra-expanded",va:"vertical-align","va:sup":"vertical-align:super","va:t":"vertical-align:top","va:tt":"vertical-align:text-top","va:m":"vertical-align:middle","va:bl":"vertical-align:baseline","va:b":"vertical-align:bottom","va:tb":"vertical-align:text-bottom","va:sub":"vertical-align:sub",ta:"text-align","ta:le":"text-align:left","ta:c":"text-align:center","ta:r":"text-align:right","ta:j":"text-align:justify",tal:"text-align-last","tal:a":"text-align-last:auto","tal:l":"text-align-last:left","tal:c":"text-align-last:center","tal:r":"text-align-last:right",ted:"text-decoration","ted:n":"text-decoration:none","ted:u":"text-decoration:underline","ted:o":"text-decoration:overline","ted:l":"text-decoration:line-through",te:"text-emphasis","te:n":"text-emphasis:none","te:ac":"text-emphasis:accent","te:dt":"text-emphasis:dot","te:c":"text-emphasis:circle","te:ds":"text-emphasis:disc","te:b":"text-emphasis:before","te:a":"text-emphasis:after",teh:"text-height","teh:a":"text-height:auto","teh:f":"text-height:font-size","teh:t":"text-height:text-size","teh:m":"text-height:max-size",ti:"text-indent","ti:-":"text-indent:-9999px",tj:"text-justify","tj:a":"text-justify:auto","tj:iw":"text-justify:inter-word","tj:ii":"text-justify:inter-ideograph","tj:ic":"text-justify:inter-cluster","tj:d":"text-justify:distribute","tj:k":"text-justify:kashida","tj:t":"text-justify:tibetan",to:"text-outline","to+":"text-outline:0 0 #000","to:n":"text-outline:none",tr:"text-replace","tr:n":"text-replace:none",tt:"text-transform","tt:n":"text-transform:none","tt:c":"text-transform:capitalize","tt:u":"text-transform:uppercase","tt:l":"text-transform:lowercase",tw:"text-wrap","tw:n":"text-wrap:normal","tw:no":"text-wrap:none","tw:u":"text-wrap:unrestricted","tw:s":"text-wrap:suppress",tsh:"text-shadow","tsh+":"text-shadow:0 0 0 #000","tsh:n":"text-shadow:none",lh:"line-height",lts:"letter-spacing",whs:"white-space","whs:n":"white-space:normal","whs:p":"white-space:pre","whs:nw":"white-space:nowrap","whs:pw":"white-space:pre-wrap","whs:pl":"white-space:pre-line",whsc:"white-space-collapse","whsc:n":"white-space-collapse:normal","whsc:k":"white-space-collapse:keep-all","whsc:l":"white-space-collapse:loose","whsc:bs":"white-space-collapse:break-strict","whsc:ba":"white-space-collapse:break-all",wob:"word-break","wob:n":"word-break:normal","wob:k":"word-break:keep-all","wob:l":"word-break:loose","wob:bs":"word-break:break-strict","wob:ba":"word-break:break-all",wos:"word-spacing",wow:"word-wrap","wow:nm":"word-wrap:normal","wow:n":"word-wrap:none","wow:u":"word-wrap:unrestricted","wow:s":"word-wrap:suppress",bg:"background","bg+":"background:#fff url() 0 0 no-repeat","bg:n":"background:none",bgc:"background-color:#fff","bgc:t":"background-color:transparent",bgi:"background-image:url()","bgi:n":"background-image:none",bgr:"background-repeat","bgr:r":"background-repeat:repeat","bgr:n":"background-repeat:no-repeat","bgr:x":"background-repeat:repeat-x","bgr:y":"background-repeat:repeat-y",bga:"background-attachment","bga:f":"background-attachment:fixed","bga:s":"background-attachment:scroll",bgp:"background-position:0 0",bgpx:"background-position-x",bgpy:"background-position-y",bgbk:"background-break","bgbk:bb":"background-break:bounding-box","bgbk:eb":"background-break:each-box","bgbk:c":"background-break:continuous",bgcp:"background-clip","bgcp:bb":"background-clip:border-box","bgcp:pb":"background-clip:padding-box","bgcp:cb":"background-clip:content-box","bgcp:nc":"background-clip:no-clip",bgo:"background-origin","bgo:pb":"background-origin:padding-box","bgo:bb":"background-origin:border-box","bgo:cb":"background-origin:content-box",bgz:"background-size","bgz:a":"background-size:auto","bgz:ct":"background-size:contain","bgz:cv":"background-size:cover",col:"color:#000",op:"opacity",hsl:"hsl(359,100%,100%)",hsla:"hsla(359,100%,100%,0.5)",rgb:"rgb(255,255,255)",rgba:"rgba(255,255,255,0.5)",ct:"content","ct:n":"content:normal","ct:oq":"content:open-quote","ct:noq":"content:no-open-quote","ct:cq":"content:close-quote","ct:ncq":"content:no-close-quote","ct:a":"content:attr()","ct:c":"content:counter()","ct:cs":"content:counters()",quo:"quotes","q:n":"quotes:none","q:ru":"quotes:'\x00AB' '\x00BB' 'E' 'C'","q:en":"quotes:'C' 'D' '8' '9'",coi:"counter-increment",cor:"counter-reset",out:"outline","o:n":"outline:none",oo:"outline-offset",ow:"outline-width",os:"outline-style",oc:"outline-color:#000","oc:i":"outline-color:invert",tbl:"table-layout","tbl:a":"table-layout:auto","tbl:f":"table-layout:fixed",cps:"caption-side","cps:t":"caption-side:top","cps:b":"caption-side:bottom",ec:"empty-cells","ec:s":"empty-cells:show","ec:h":"empty-cells:hide",bd:"border","bd+":"border:1px solid #000","bd:n":"border:none",bdbk:"border-break","bdbk:c":"border-break:close",bdcl:"border-collapse","bdcl:c":"border-collapse:collapse","bdcl:s":"border-collapse:separate",bdc:"border-color:#000",bdi:"border-image:url()","bdi:n":"border-image:none",bdti:"border-top-image:url()","bdti:n":"border-top-image:none",bdri:"border-right-image:url()","bdri:n":"border-right-image:none",bdbi:"border-bottom-image:url()","bdbi:n":"border-bottom-image:none",bdli:"border-left-image:url()","bdli:n":"border-left-image:none",bdci:"border-corner-image:url()","bdci:n":"border-corner-image:none","bdci:c":"border-corner-image:continue",bdtli:"border-top-left-image:url()","bdtli:n":"border-top-left-image:none","bdtli:c":"border-top-left-image:continue",bdtri:"border-top-right-image:url()","bdtri:n":"border-top-right-image:none","bdtri:c":"border-top-right-image:continue",bdbri:"border-bottom-right-image:url()","bdbri:n":"border-bottom-right-image:none","bdbri:c":"border-bottom-right-image:continue",bdbli:"border-bottom-left-image:url()","bdbli:n":"border-bottom-left-image:none","bdbli:c":"border-bottom-left-image:continue",bdf:"border-fit","bdf:c":"border-fit:clip","bdf:r":"border-fit:repeat","bdf:sc":"border-fit:scale","bdf:st":"border-fit:stretch","bdf:ow":"border-fit:overwrite","bdf:of":"border-fit:overflow","bdf:sp":"border-fit:space",bdlt:"border-length","bdlt:a":"border-length:auto",bdsp:"border-spacing",bds:"border-style","bds:n":"border-style:none","bds:h":"border-style:hidden","bds:dt":"border-style:dotted","bds:ds":"border-style:dashed","bds:s":"border-style:solid","bds:db":"border-style:double","bds:dd":"border-style:dot-dash","bds:ddd":"border-style:dot-dot-dash","bds:w":"border-style:wave","bds:g":"border-style:groove","bds:r":"border-style:ridge","bds:i":"border-style:inset","bds:o":"border-style:outset",bdw:"border-width",bdt:"border-top","bdt+":"border-top:1px solid #000","bdt:n":"border-top:none",bdtw:"border-top-width",bdts:"border-top-style","bdts:n":"border-top-style:none",bdtc:"border-top-color:#000",bdr:"border-right","bdr+":"border-right:1px solid #000","bdr:n":"border-right:none",bdrw:"border-right-width",bdrs:"border-right-style","bdrs:n":"border-right-style:none",bdrc:"border-right-color:#000",bdb:"border-bottom","bdb+":"border-bottom:1px solid #000","bdb:n":"border-bottom:none",bdbw:"border-bottom-width",bdbs:"border-bottom-style","bdbs:n":"border-bottom-style:none",bdbc:"border-bottom-color:#000",bdl:"border-left","bdl+":"border-left:1px solid #000","bdl:n":"border-left:none",bdlw:"border-left-width",bdls:"border-left-style","bdls:n":"border-left-style:none",bdlc:"border-left-color:#000",bdrsa:"border-radius",bdtrrs:"border-top-right-radius",bdtlrs:"border-top-left-radius",bdbrrs:"border-bottom-right-radius",bdblrs:"border-bottom-left-radius",lis:"list-style","lis:n":"list-style:none",lisp:"list-style-position","lisp:i":"list-style-position:inside","lisp:o":"list-style-position:outside",list:"list-style-type","list:n":"list-style-type:none","list:d":"list-style-type:disc","list:c":"list-style-type:circle","list:s":"list-style-type:square","list:dc":"list-style-type:decimal","list:dclz":"list-style-type:decimal-leading-zero","list:lr":"list-style-type:lower-roman","list:ur":"list-style-type:upper-roman",lisi:"list-style-image","lisi:n":"list-style-image:none",pgbb:"page-break-before","pgbb:au":"page-break-before:auto","pgbb:al":"page-break-before:always","pgbb:l":"page-break-before:left","pgbb:r":"page-break-before:right",pgbi:"page-break-inside","pgbi:au":"page-break-inside:auto","pgbi:av":"page-break-inside:avoid",pgba:"page-break-after","pgba:au":"page-break-after:auto","pgba:al":"page-break-after:always","pgba:l":"page-break-after:left","pgba:r":"page-break-after:right",orp:"orphans",widows:"widows",ipt:"!important",ffa:"@font-family {<br>&nbsp;&nbsp;font-family:;<br>&nbsp;&nbsp;src:url();<br>}","ffa+":"@font-family {<br>&nbsp;&nbsp;font-family: 'FontName';<br>&nbsp;&nbsp;src: url('FileName.eot');<br>&nbsp;&nbsp;src: url('FileName.eot?#iefix') format('embedded-opentype'),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url('FileName.woff') format('woff'),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url('FileName.ttf') format('truetype'),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url('FileName.svg#FontName') format('svg');<br>&nbsp;&nbsp;font-style: normal;<br>&nbsp;&nbsp;font-weight: normal;<br>}",imp:"@import url()",mp:"@media print {}","bg:ie":"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='x.png',sizingMethod='crop')","op:ie":"filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)","op:ms":"-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)'",trf:"transform","trf:r":"transform:rotate(90deg)","trf:sc":"transform:scale(x,y)","trf:scx":"transform:scaleX(x)","trf:scy":"transform:scaleY(y)","trf:skx":"transform:skewX(90deg)","trf:sky":"transform:skewY(90deg)","trf:t":"transform:translate(x,y)","trf:tx":"transform:translateX(x)","trf:ty":"transform:translateY(y)",trs:"transition",trsde:"transition-delay",trsdu:"transition-duration",trsp:"transition-property",trstf:"transition-timing-function",ani:"animation",ann:"animation-name",adu:"animation-duration",atf:"animation-timing-function",ade:"animation-delay",aic:"animation-iteration-count",adi:"animation-direction",aps:"animation-play-state",key:"@keyframes {}",ms:"@media screen and () {}","in":"inherit",tra:"transparent",beh:"behavior:url()",cha:"@charset''",ac:" :active{}","ac:a":"&:active{}",af:" :after{}","af:a":"&:after{}",be:" :before{}","be:a":"&:before{}",ch:" :checked{}","ch:a":"&:checked{}",dsa:" :disabled{}<i>[da]</i>","dsa:a":"&:disabled{}<i>[da:a]</i>",en:" :enabled{}","en:a":"&:enabled{}",fc:" :first-child{}","fc:a":"&:first-child{}",fle:" :first-letter{}","fle:a":"&:first-letter{}",fli:" :first-line{}","fli:a":"&:first-line{}",foc:" :focus{}","foc:a":"&:focus{}",ho:" :hover{}","ho:a":"&:hover{}",ln:" :lang(){}","ln:a":"&:lang(){}",lc:" :last-child{}","lc:a":"&:last-child{}",nc:" :nth-child(){}","nc:a":"&:nth-child(){}",vit:" :visited{}","vit:a":"&:visited{}",tgt:" :target{}","tgt:a":"&:target{}",fot:" :first-of-type{}","fot:a":"&:first-of-type{}",lot:" :last-of-type{}","lot:a":"&:last-of-type{}",not:" :nth-of-type(){}","not:a":"&:nth-of-type(){}",ext:"@extend",inc:"@include",mix:"@mixin",ieh:"ie-hex-str()"}},a.helpers.units=function(a,b){return a.toString().match(/[%|in|cm|mm|em|ex|pt|pc|px|deg|ms|s]/)?a:a+(b||"%")};var e=(b("./helpers/extend"),b("fs"),b("path")),f=function(a){return d()};return a.index={absurd:null,init:function(a){"undefined"!=typeof a&&(this.absurd=a);for(var d=f(c+"/lib/"),g=this,h=0;h<d.length;h++){var i=e.basename(d[h]);!function(a){var c=b(a);g.absurd.plugin(i.replace(".js",""),function(a,b){return c(b)})}(d[h])}var j=b(c+"/helpers/snippets")();for(var k in j)k=k.split(":"),function(a){g.absurd.plugin(a,function(b,c,d){d===!1&&(d="");var e,f={};return(e=j[a+":"+c])?(e=e.split(":"),f[d+e[0]]=e[1]||""):(e=j[a])&&(f[d+e]=c),f})}(k.shift());return this}},a.lib.atoms.atoms=function(a){var b=function(a,b){return a=a.replace(/( )?:( )?/,":").split(":"),b=b||{},b[a[0]]=a[1]||"",b},c=function(a){for(var c={},d=0;d<a.length;d++)b(a[d],c);return c};return"string"==typeof a?c(a.replace(/( )?\/( )?/g,"/").split("/")):"object"==typeof a?a instanceof Array?c(a):a:void 0},a.lib.molecules.animate=function(a){var b={};switch(b["-w-animation-duration"]="1s",b["-w-animation-fill-mode"]="both",a){case"bounce":b.keyframes={name:"bounce",frames:{"0%, 20%, 50%, 80%, 100%":{"-w-transform":"translateY(0)"},"40%":{"-w-transform":"translateY(-30px)"},"60%":{"-w-transform":"translateY(-15px)"}}},b["-w-animation-name"]="bounce";break;case"flash":b.keyframes={name:"flash",frames:{"0%, 50%, 100%":{opacity:"1"},"25%, 75%":{opacity:"0"}}},b["-w-animation-name"]="flash";break;case"pulse":b.keyframes={name:"pulse",frames:{"0%":{"-w-transform":"scale(1)"},"50%":{"-w-transform":"scale(1.1)"},"100%":{"-w-transform":"scale(1)"}}},b["-w-animation-name"]="pulse";break;case"shake":b.keyframes={name:"shake",frames:{"0%, 100%":{"-w-transform":"translateX(0)"},"10%, 30%, 50%, 70%, 90%":{"-w-transform":"translateX(-10px)"},"20%, 40%, 60%, 80%":{"-w-transform":"translateX(10px)"}}},b["-w-animation-name"]="shake";break;case"swing":b.keyframes={name:"swing",frames:{"20%":{"-w-transform":"rotate(15deg)"},"40%":{"-w-transform":"rotate(-10deg)"},"60%":{"-w-transform":"rotate(5deg)"},"80%":{"-w-transform":"rotate(-5deg)"},"100%":{"-w-transform":"rotate(0deg)"}}},b["-w-animation-name"]="swing";break;case"tada":b.keyframes={name:"tada",frames:{"0%":{"-w-transform":"scale(1)"},"10%, 20%":{"-w-transform":"scale(0.9) rotate(-3deg)"},"30%, 50%, 70%, 90%":{"-w-transform":"scale(1.1) rotate(3deg)"},"40%, 60%, 80%":{"-w-transform":"scale(1.1) rotate(-3deg)"},"100%":{"-w-transform":"scale(1) rotate(0)"}}},b["-w-animation-name"]="tada";break;case"wobble":b.keyframes={name:"wobble",frames:{"0%":{"-w-transform":"translateX(0%)"},"15%":{"-w-transform":"translateX(-25%) rotate(-5deg)"},"30%":{"-w-transform":"translateX(20%) rotate(3deg)"},"45%":{"-w-transform":"translateX(-15%) rotate(-3deg)"},"60%":{"-w-transform":"translateX(10%) rotate(2deg)"},"75%":{"-w-transform":"translateX(-5%) rotate(-1deg)"},"100%":{"-w-transform":"translateX(0%)"}}},b["-w-animation-name"]="wobble";break;case"bounceIn":b.keyframes={name:"bounceIn",frames:{"0%":{opacity:"0","-w-transform":"scale(.3)"},"50%":{opacity:"1","-w-transform":"scale(1.05)"},"70%":{"-w-transform":"scale(.9)"},"100%":{"-w-transform":"scale(1)"}}},b["-w-animation-name"]="bounceIn";break;case"bounceInDown":b.keyframes={name:"bounceInDown",frames:{"0%":{opacity:"0","-w-transform":"translateY(-2000px)"},"60%":{opacity:"1","-w-transform":"translateY(30px)"},"80%":{"-w-transform":"translateY(-10px)"},"100%":{"-w-transform":"translateY(0)"}}},b["-w-animation-name"]="bounceInDown";break;case"bounceInLeft":b.keyframes={name:"bounceInLeft",frames:{"0%":{opacity:"0","-w-transform":"translateX(-2000px)"},"60%":{opacity:"1","-w-transform":"translateX(30px)"},"80%":{"-w-transform":"translateX(-10px)"},"100%":{"-w-transform":"translateX(0)"}}},b["-w-animation-name"]="bounceInLeft";break;case"bounceInRight":b.keyframes={name:"bounceInRight",frames:{"0%":{opacity:"0","-w-transform":"translateX(2000px)"},"60%":{opacity:"1","-w-transform":"translateX(-30px)"},"80%":{"-w-transform":"translateX(10px)"},"100%":{"-w-transform":"translateX(0)"}}},b["-w-animation-name"]="bounceInRight";break;case"bounceInUp":b.keyframes={name:"bounceInUp",frames:{"0%":{opacity:"0","-w-transform":"translateY(2000px)"},"60%":{opacity:"1","-w-transform":"translateY(-30px)"},"80%":{"-w-transform":"translateY(10px)"},"100%":{"-w-transform":"translateY(0)"}}},b["-w-animation-name"]="bounceInUp";break;case"bounceOut":b.keyframes={name:"bounceOut",frames:{"0%":{"-w-transform":"scale(1)"},"25%":{"-w-transform":"scale(.95)"},"50%":{opacity:"1","-w-transform":"scale(1.1)"},"100%":{opacity:"0","-w-transform":"scale(.3)"}}},b["-w-animation-name"]="bounceOut";break;case"bounceOutDown":b.keyframes={name:"bounceOutDown",frames:{"0%":{"-w-transform":"translateY(0)"},"20%":{opacity:"1","-w-transform":"translateY(-20px)"},"100%":{opacity:"0","-w-transform":"translateY(2000px)"}}},b["-w-animation-name"]="bounceOutDown";break;case"bounceOutLeft":b.keyframes={name:"bounceOutLeft",frames:{"0%":{"-w-transform":"translateX(0)"},"20%":{opacity:"1","-w-transform":"translateX(20px)"},"100%":{opacity:"0","-w-transform":"translateX(-2000px)"}}},b["-w-animation-name"]="bounceOutLeft";break;case"bounceOutRight":b.keyframes={name:"bounceOutRight",frames:{"0%":{"-w-transform":"translateX(0)"},"20%":{opacity:"1","-w-transform":"translateX(-20px)"},"100%":{opacity:"0","-w-transform":"translateX(2000px)"}}},b["-w-animation-name"]="bounceOutRight";break;case"bounceOutUp":b.keyframes={name:"bounceOutUp",frames:{"0%":{"-w-transform":"translateY(0)"},"20%":{opacity:"1","-w-transform":"translateY(20px)"},"100%":{opacity:"0","-w-transform":"translateY(-2000px)"}}},b["-w-animation-name"]="bounceOutUp";break;case"fadeIn":b.keyframes={name:"fadeIn",frames:{"0%":{opacity:"0"},"100%":{opacity:"1"}}},b["-w-animation-name"]="fadeIn";break;case"fadeInDown":b.keyframes={name:"fadeInDown",frames:{"0%":{opacity:"0","-w-transform":"translateY(-20px)"},"100%":{opacity:"1","-w-transform":"translateY(0)"}}},b["-w-animation-name"]="fadeInDown";break;case"fadeInDownBig":b.keyframes={name:"fadeInDownBig",frames:{"0%":{opacity:"0","-w-transform":"translateY(-2000px)"},"100%":{opacity:"1","-w-transform":"translateY(0)"}}},b["-w-animation-name"]="fadeInDownBig";break;case"fadeInLeft":b.keyframes={name:"fadeInLeft",frames:{"0%":{opacity:"0","-w-transform":"translateX(-20px)"},"100%":{opacity:"1","-w-transform":"translateX(0)"}}},b["-w-animation-name"]="fadeInLeft";break;case"fadeInLeftBig":b.keyframes={name:"fadeInLeftBig",frames:{"0%":{opacity:"0","-w-transform":"translateX(-2000px)"},"100%":{opacity:"1","-w-transform":"translateX(0)"}}},b["-w-animation-name"]="fadeInLeftBig";break;case"fadeInRight":b.keyframes={name:"fadeInRight",frames:{"0%":{opacity:"0","-w-transform":"translateX(20px)"},"100%":{opacity:"1","-w-transform":"translateX(0)"}}},b["-w-animation-name"]="fadeInRight";break;case"fadeInRightBig":b.keyframes={name:"fadeInRightBig",frames:{"0%":{opacity:"0","-w-transform":"translateX(2000px)"},"100%":{opacity:"1","-w-transform":"translateX(0)"}}},b["-w-animation-name"]="fadeInRightBig";break;case"fadeInUp":b.keyframes={name:"fadeInUp",frames:{"0%":{opacity:"0","-w-transform":"translateY(20px)"},"100%":{opacity:"1","-w-transform":"translateY(0)"}}},b["-w-animation-name"]="fadeInUp";break;case"fadeInUpBig":b.keyframes={name:"fadeInUpBig",frames:{"0%":{opacity:"0","-w-transform":"translateY(2000px)"},"100%":{opacity:"1","-w-transform":"translateY(0)"}}},b["-w-animation-name"]="fadeInUpBig";break;case"fadeOut":b.keyframes={name:"fadeOut",frames:{"0%":{opacity:"1"},"100%":{opacity:"0"}}},b["-w-animation-name"]="fadeOut";break;case"fadeOutDown":b.keyframes={name:"fadeOutDown",frames:{"0%":{opacity:"1","-w-transform":"translateY(0)"},"100%":{opacity:"0","-w-transform":"translateY(20px)"}}},b["-w-animation-name"]="fadeOutDown";break;case"fadeOutDownBig":b.keyframes={name:"fadeOutDownBig",frames:{"0%":{opacity:"1","-w-transform":"translateY(0)"},"100%":{opacity:"0","-w-transform":"translateY(2000px)"}}},b["-w-animation-name"]="fadeOutDownBig";break;case"fadeOutLeft":b.keyframes={name:"fadeOutLeft",frames:{"0%":{opacity:"1","-w-transform":"translateX(0)"},"100%":{opacity:"0","-w-transform":"translateX(-20px)"}}},b["-w-animation-name"]="fadeOutLeft";break;case"fadeOutLeftBig":b.keyframes={name:"fadeOutLeftBig",frames:{"0%":{opacity:"1","-w-transform":"translateX(0)"},"100%":{opacity:"0","-w-transform":"translateX(-2000px)"}}},b["-w-animation-name"]="fadeOutLeftBig";break;case"fadeOutRight":b.keyframes={name:"fadeOutRight",frames:{"0%":{opacity:"1","-w-transform":"translateX(0)"},"100%":{opacity:"0","-w-transform":"translateX(20px)"}}},b["-w-animation-name"]="fadeOutRight";break;case"fadeOutRightBig":b.keyframes={name:"fadeOutRightBig",frames:{"0%":{opacity:"1","-w-transform":"translateX(0)"},"100%":{opacity:"0","-w-transform":"translateX(2000px)"}}},b["-w-animation-name"]="fadeOutRightBig";break;case"fadeOutUp":b.keyframes={name:"fadeOutUp",frames:{"0%":{opacity:"1","-w-transform":"translateY(0)"},"100%":{opacity:"0","-w-transform":"translateY(-20px)"}}},b["-w-animation-name"]="fadeOutUp";break;case"fadeOutUpBig":b.keyframes={name:"fadeOutUpBig",frames:{"0%":{opacity:"1","-w-transform":"translateY(0)"},"100%":{opacity:"0","-w-transform":"translateY(-2000px)"}}},b["-w-animation-name"]="fadeOutUpBig";break;case"flip":b.keyframes={name:"flip",frames:{"0%":{"-w-transform":"perspective(400px) translateZ(0) rotateY(0) scale(1)","animation-timing-function":"ease-out"},"40%":{"-w-transform":"perspective(400px) translateZ(150px) rotateY(170deg) scale(1)","animation-timing-function":"ease-out"},"50%":{"-w-transform":"perspective(400px) translateZ(150px) rotateY(190deg) scale(1)","animation-timing-function":"ease-in"},"80%":{"-w-transform":"perspective(400px) translateZ(0) rotateY(360deg) scale(.95)","animation-timing-function":"ease-in"},"100%":{"-w-transform":"perspective(400px) translateZ(0) rotateY(360deg) scale(1)","animation-timing-function":"ease-in"}}},b["-w-animation-name"]="flip";break;case"flipInX":b.keyframes={name:"flipInX",frames:{"0%":{"-w-transform":"perspective(400px) rotateX(90deg)",opacity:"0"},"40%":{"-w-transform":"perspective(400px) rotateX(-10deg)"},"70%":{"-w-transform":"perspective(400px) rotateX(10deg)"},"100%":{"-w-transform":"perspective(400px) rotateX(0deg)",opacity:"1"}}},b["-w-animation-name"]="flipInX";break;case"flipInY":b.keyframes={name:"flipInY",frames:{"0%":{"-w-transform":"perspective(400px) rotateY(90deg)",opacity:"0"},"40%":{"-w-transform":"perspective(400px) rotateY(-10deg)"},"70%":{"-w-transform":"perspective(400px) rotateY(10deg)"},"100%":{"-w-transform":"perspective(400px) rotateY(0deg)",opacity:"1"}}},b["-w-animation-name"]="flipInY";break;case"flipOutX":b.keyframes={name:"flipOutX",frames:{"0%":{"-w-transform":"perspective(400px) rotateX(0deg)",opacity:"1"},"100%":{"-w-transform":"perspective(400px) rotateX(90deg)",opacity:"0"}}},b["-w-animation-name"]="flipOutX";break;case"flipOutY":b.keyframes={name:"flipOutY",frames:{"0%":{"-w-transform":"perspective(400px) rotateY(0deg)",opacity:"1"},"100%":{"-w-transform":"perspective(400px) rotateY(90deg)",opacity:"0"}}},b["-w-animation-name"]="flipOutY";break;case"lightSpeedIn":b.keyframes={name:"lightSpeedIn",frames:{"0%":{"-w-transform":"translateX(100%) skewX(-30deg)",opacity:"0"},"60%":{"-w-transform":"translateX(-20%) skewX(30deg)",opacity:"1"},"80%":{"-w-transform":"translateX(0%) skewX(-15deg)",opacity:"1"},"100%":{"-w-transform":"translateX(0%) skewX(0deg)",opacity:"1"}}},b["-w-animation-name"]="lightSpeedIn";break;case"lightSpeedOut":b.keyframes={name:"lightSpeedOut",frames:{"0%":{"-w-transform":"translateX(0%) skewX(0deg)",opacity:"1"},"100%":{"-w-transform":"translateX(100%) skewX(-30deg)",opacity:"0"}}},b["-w-animation-name"]="lightSpeedOut";break;case"rotateIn":b.keyframes={name:"rotateIn",frames:{"0%":{"transform-origin":"center center","-w-transform":"rotate(-200deg)",opacity:"0"},"100%":{"transform-origin":"center center","-w-transform":"rotate(0)",opacity:"1"}}},b["-w-animation-name"]="rotateIn";break;case"rotateInDownLeft":b.keyframes={name:"rotateInDownLeft",frames:{"0%":{"transform-origin":"left bottom","-w-transform":"rotate(-90deg)",opacity:"0"},"100%":{"transform-origin":"left bottom","-w-transform":"rotate(0)",opacity:"1"}}},b["-w-animation-name"]="rotateInDownLeft";break;case"rotateInDownRight":b.keyframes={name:"rotateInDownRight",frames:{"0%":{"transform-origin":"right bottom","-w-transform":"rotate(90deg)",opacity:"0"},"100%":{"transform-origin":"right bottom","-w-transform":"rotate(0)",opacity:"1"}}},b["-w-animation-name"]="rotateInDownRight";break;case"rotateInUpLeft":b.keyframes={name:"rotateInUpLeft",frames:{"0%":{"transform-origin":"left bottom","-w-transform":"rotate(90deg)",opacity:"0"},"100%":{"transform-origin":"left bottom","-w-transform":"rotate(0)",opacity:"1"}}},b["-w-animation-name"]="rotateInUpLeft";break;case"rotateInUpRight":b.keyframes={name:"rotateInUpRight",frames:{"0%":{"transform-origin":"right bottom","-w-transform":"rotate(-90deg)",opacity:"0"},"100%":{"transform-origin":"right bottom","-w-transform":"rotate(0)",opacity:"1"}}},b["-w-animation-name"]="rotateInUpRight";break;case"rotateOut":b.keyframes={name:"rotateOut",frames:{"0%":{"transform-origin":"center center","-w-transform":"rotate(0)",opacity:"1"},"100%":{"transform-origin":"center center","-w-transform":"rotate(200deg)",opacity:"0"}}},b["-w-animation-name"]="rotateOut";break;case"rotateOutDownLeft":b.keyframes={name:"rotateOutDownLeft",frames:{"0%":{"transform-origin":"left bottom","-w-transform":"rotate(0)",opacity:"1"},"100%":{"transform-origin":"left bottom","-w-transform":"rotate(90deg)",opacity:"0"}}},b["-w-animation-name"]="rotateOutDownLeft";break;case"rotateOutDownRight":b.keyframes={name:"rotateOutDownRight",frames:{"0%":{"transform-origin":"right bottom","-w-transform":"rotate(0)",opacity:"1"},"100%":{"transform-origin":"right bottom","-w-transform":"rotate(-90deg)",opacity:"0"}}},b["-w-animation-name"]="rotateOutDownRight";break;case"rotateOutUpLeft":b.keyframes={name:"rotateOutUpLeft",frames:{"0%":{"transform-origin":"left bottom","-w-transform":"rotate(0)",opacity:"1"},"100%":{"transform-origin":"left bottom","-w-transform":"rotate(-90deg)",opacity:"0"}}},b["-w-animation-name"]="rotateOutUpLeft";break;case"rotateOutUpRight":b.keyframes={name:"rotateOutUpRight",frames:{"0%":{"transform-origin":"right bottom","-w-transform":"rotate(0)",opacity:"1"},"100%":{"transform-origin":"right bottom","-w-transform":"rotate(90deg)",opacity:"0"}}},b["-w-animation-name"]="rotateOutUpRight";break;case"slideInDown":b.keyframes={name:"slideInDown",frames:{"0%":{opacity:"0","-w-transform":"translateY(-2000px)"},"100%":{"-w-transform":"translateY(0)"}}},b["-w-animation-name"]="slideInDown";break;case"slideInLeft":b.keyframes={name:"slideInLeft",frames:{"0%":{opacity:"0","-w-transform":"translateX(-2000px)"},"100%":{"-w-transform":"translateX(0)"}}},b["-w-animation-name"]="slideInLeft";break;case"slideInRight":b.keyframes={name:"slideInRight",frames:{"0%":{opacity:"0","-w-transform":"translateX(2000px)"},"100%":{"-w-transform":"translateX(0)"}}},b["-w-animation-name"]="slideInRight";break;case"slideOutLeft":b.keyframes={name:"slideOutLeft",frames:{"0%":{"-w-transform":"translateX(0)"},"100%":{opacity:"0","-w-transform":"translateX(-2000px)"}}},b["-w-animation-name"]="slideOutLeft";break;case"slideOutRight":b.keyframes={name:"slideOutRight",frames:{"0%":{"-w-transform":"translateX(0)"},"100%":{opacity:"0","-w-transform":"translateX(2000px)"}}},b["-w-animation-name"]="slideOutRight"; break;case"slideOutUp":b.keyframes={name:"slideOutUp",frames:{"0%":{"-w-transform":"translateY(0)"},"100%":{opacity:"0","-w-transform":"translateY(-2000px)"}}},b["-w-animation-name"]="slideOutUp";break;case"hinge":b.keyframes={name:"hinge",frames:{"0%":{"-w-transform":"rotate(0)","transform-origin":"top left","animation-timing-function":"ease-in-out"},"20%, 60%":{"-w-transform":"rotate(80deg)","transform-origin":"top left","animation-timing-function":"ease-in-out"},"40%":{"-w-transform":"rotate(60deg)","transform-origin":"top left","animation-timing-function":"ease-in-out"},"80%":{"-w-transform":"rotate(60deg) translateY(0)",opacity:"1","transform-origin":"top left","animation-timing-function":"ease-in-out"},"100%":{"-w-transform":"translateY(700px)",opacity:"0"}}},b["-w-animation-name"]="hinge";break;case"rollIn":b.keyframes={name:"rollIn",frames:{"0%":{opacity:"0","-w-transform":"translateX(-100%) rotate(-120deg)"},"100%":{opacity:"1","-w-transform":"translateX(0px) rotate(0deg)"}}},b["-w-animation-name"]="rollIn";break;case"rollOut":b.keyframes={name:"rollOut",frames:{"0%":{opacity:"1","-w-transform":"translateX(0px) rotate(0deg)"},"100%":{opacity:"0","-w-transform":"translateX(100%) rotate(120deg)"}}},b["-w-animation-name"]="rollOut";break;default:b={"-wmo-animation":a}}return b},a.lib.molecules.cf=function(a){var b={},c={content:'" "',display:"table",clear:"both"};switch(a){case"before":b["&:before"]=c;break;case"after":b["&:after"]=c;break;default:b["&:before"]=c,b["&:after"]=c}return b},a.lib.molecules.grid=function(a){var c=b("../../helpers/args")(a);if(2==c.length){var d={cf:"both"};return d[c[1]]={fl:"l","-mw-bxz":"bb",wid:(100/parseInt(c[0])).toFixed(2)+"%"},d}return{}},a.lib.molecules.moveto=function(a){var c=b("../../helpers/units"),d=b("../../helpers/args")(a),e=c(d[0]&&""!=d[0]?d[0]:0,"px"),f=c(d[1]&&""!=d[1]?d[1]:0,"px"),g=c(d[2]&&""!=d[2]?d[2]:0,"px");return 2==d.length?{"-ws-trf":">translate("+e+","+f+")"}:3==d.length?{"-ws-trf":">translate3d("+e+","+f+","+g+")"}:void 0},a.lib.molecules.rotateto=function(a){var c=b("../../helpers/units"),d=b("../../helpers/args")(a);return 1==d.length?{"-ws-trf":">rotate("+c(d[0],"deg")+")"}:void 0},a.lib.molecules.scaleto=function(a){var c=b("../../helpers/args")(a),d=c[0]&&""!=c[0]?c[0]:0,e=c[1]&&""!=c[1]?c[1]:0;return 2==c.length?{"-ws-trf":">scale("+d+","+e+")"}:void 0},a.lib.molecules.size=function(a){var c=b("../../helpers/units"),d=b("../../helpers/args")(a),e={};return 2==d.length?(""!=d[0]&&(e.width=c(d[0])),""!=d[1]&&(e.height=c(d[1])),e):{width:c(d[0]),height:c(d[0])}},a.index}(window);
emmy41124/cdnjs
ajax/libs/absurd/0.2.81/absurd.organic.min.js
JavaScript
mit
34,683
!function($){$.formUtils.addValidator({name:"spamcheck",validatorFunction:function(val,$el,config){var attr=$el.valAttr("captcha");return attr===val},errorMessage:"",errorMessageKey:"badSecurityAnswer"});$.formUtils.addValidator({name:"confirmation",validatorFunction:function(value,$el,config,language,$form){var conf="",confInputName=$el.attr("name")+"_confirmation",confInput=$form.find('input[name="'+confInputName+'"]').eq(0);if(confInput){conf=confInput.val()}else{console.warn('Could not find an input with name "'+confInputName+'"')}return value===conf},errorMessage:"",errorMessageKey:"notConfirmed"});$.formUtils.addValidator({name:"strength",validatorFunction:function(val,$el,conf){var requiredStrength=$el.valAttr("strength");if(requiredStrength&&requiredStrength>3)requiredStrength=3;return $.formUtils.validators.validate_strength.calculatePasswordStrength(val)>=requiredStrength},errorMessage:"",errorMessageKey:"badStrength",calculatePasswordStrength:function(password){if(password.length<4){return 0}var score=0;var checkRepetition=function(pLen,str){var res="";for(var i=0;i<str.length;i++){var repeated=true;for(var j=0;j<pLen&&j+i+pLen<str.length;j++){repeated=repeated&&str.charAt(j+i)==str.charAt(j+i+pLen)}if(j<pLen){repeated=false}if(repeated){i+=pLen-1;repeated=false}else{res+=str.charAt(i)}}return res};score+=password.length*4;score+=(checkRepetition(1,password).length-password.length)*1;score+=(checkRepetition(2,password).length-password.length)*1;score+=(checkRepetition(3,password).length-password.length)*1;score+=(checkRepetition(4,password).length-password.length)*1;if(password.match(/(.*[0-9].*[0-9].*[0-9])/)){score+=5}if(password.match(/(.*[!,@,#,$,%,^,&,*,?,_,~].*[!,@,#,$,%,^,&,*,?,_,~])/)){score+=5}if(password.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)){score+=10}if(password.match(/([a-zA-Z])/)&&password.match(/([0-9])/)){score+=15}if(password.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&password.match(/([0-9])/)){score+=15}if(password.match(/([!,@,#,$,%,^,&,*,?,_,~])/)&&password.match(/([a-zA-Z])/)){score+=15}if(password.match(/^\w+$/)||password.match(/^\d+$/)){score-=10}if(score<0){score=0}if(score>100){score=100}if(score<20){return 0}else if(score<40){return 1}else if(score<=60){return 2}else{return 3}},strengthDisplay:function($el,options){var config={fontSize:"12pt",padding:"4px",bad:"Very bad",weak:"Weak",good:"Good",strong:"Strong"};if(options){$.extend(config,options)}$el.bind("keyup",function(){var val=$(this).val();var $parent=typeof config.parent=="undefined"?$(this).parent():$(config.parent);var $displayContainer=$parent.find(".strength-meter");if($displayContainer.length==0){$displayContainer=$("<span></span>");$displayContainer.addClass("strength-meter").appendTo($parent)}if(!val){$displayContainer.hide()}else{$displayContainer.show()}var strength=$.formUtils.validators.validate_strength.calculatePasswordStrength(val);var css={background:"pink",color:"#FF0000",fontWeight:"bold",border:"red solid 1px",borderWidth:"0px 0px 4px",display:"inline-block",fontSize:config.fontSize,padding:config.padding};var text=config.bad;if(strength==1){text=config.weak}else if(strength==2){css.background="lightyellow";css.borderColor="yellow";css.color="goldenrod";text=config.good}else if(strength>=3){css.background="lightgreen";css.borderColor="darkgreen";css.color="darkgreen";text=config.strong}$displayContainer.css(css).text(text)})}});var requestServer=function(serverURL,$element,val,conf,callback){$.ajax({url:serverURL,type:"POST",cache:false,data:$element.attr("name")+"="+val,dataType:"json",success:function(response){if(response.valid){$element.valAttr("backend-valid","true")}else{$element.valAttr("backend-invalid","true");if(response.message)$element.attr(conf.validationErrorMsgAttribute,response.message);else $element.removeAttr(conf.validationErrorMsgAttribute)}if(!$element.valAttr("has-keyup-event")){$element.valAttr("has-keyup-event","1").bind("keyup",function(){$(this).valAttr("backend-valid",false).valAttr("backend-invalid",false).removeAttr(conf.validationErrorMsgAttribute)})}callback()}})},disableFormSubmit=function(){return false};$.formUtils.addValidator({name:"server",validatorFunction:function(val,$el,conf,lang,$form){var backendValid=$el.valAttr("backend-valid"),backendInvalid=$el.valAttr("backend-invalid"),serverURL=document.location.href;if($el.valAttr("url")){serverURL=$el.valAttr("url")}else if("serverURL"in conf){serverURL=conf.backendUrl}if(backendValid)return true;else if(backendInvalid)return false;if($.formUtils.isValidatingEntireForm){$form.bind("submit",disableFormSubmit).addClass("validating-server-side").addClass("on-blur");requestServer(serverURL,$el,val,conf,function(){$form.removeClass("validating-server-side").removeClass("on-blur").get(0).onsubmit=function(){};$form.unbind("submit",disableFormSubmit);$form.trigger("submit")});$.formUtils.haltValidation=true;return false}else{$form.addClass("validating-server-side");requestServer(serverURL,$el,val,conf,function(){$form.removeClass("validating-server-side");$el.trigger("blur")});return true}},errorMessage:"",errorMessageKey:"badBackend"});$.fn.displayPasswordStrength=function(conf){new $.formUtils.validators.validate_strength.strengthDisplay(this,conf);return this}}(jQuery);
dada0423/cdnjs
ajax/libs/jquery-form-validator/2.1.8/security.js
JavaScript
mit
5,254
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * This software consists of voluntary contributions made by many individuals * and is licensed under the MIT license. For more information, see * <http://www.doctrine-project.org>. */ namespace Doctrine\DBAL\Schema; use Doctrine\DBAL\Platforms\MySqlPlatform; use Doctrine\DBAL\Types\Type; /** * Schema manager for the MySql RDBMS. * * @author Konsta Vesterinen <kvesteri@cc.hut.fi> * @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library) * @author Roman Borschel <roman@code-factory.org> * @author Benjamin Eberlei <kontakt@beberlei.de> * @since 2.0 */ class MySqlSchemaManager extends AbstractSchemaManager { /** * {@inheritdoc} */ protected function _getPortableViewDefinition($view) { return new View($view['TABLE_NAME'], $view['VIEW_DEFINITION']); } /** * {@inheritdoc} */ protected function _getPortableTableDefinition($table) { return array_shift($table); } /** * {@inheritdoc} */ protected function _getPortableUserDefinition($user) { return array( 'user' => $user['User'], 'password' => $user['Password'], ); } /** * {@inheritdoc} */ protected function _getPortableTableIndexesList($tableIndexes, $tableName=null) { foreach ($tableIndexes as $k => $v) { $v = array_change_key_case($v, CASE_LOWER); if ($v['key_name'] == 'PRIMARY') { $v['primary'] = true; } else { $v['primary'] = false; } if (strpos($v['index_type'], 'FULLTEXT') !== false) { $v['flags'] = array('FULLTEXT'); } elseif (strpos($v['index_type'], 'SPATIAL') !== false) { $v['flags'] = array('SPATIAL'); } $tableIndexes[$k] = $v; } return parent::_getPortableTableIndexesList($tableIndexes, $tableName); } /** * {@inheritdoc} */ protected function _getPortableSequenceDefinition($sequence) { return end($sequence); } /** * {@inheritdoc} */ protected function _getPortableDatabaseDefinition($database) { return $database['Database']; } /** * {@inheritdoc} */ protected function _getPortableTableColumnDefinition($tableColumn) { $tableColumn = array_change_key_case($tableColumn, CASE_LOWER); $dbType = strtolower($tableColumn['type']); $dbType = strtok($dbType, '(), '); if (isset($tableColumn['length'])) { $length = $tableColumn['length']; } else { $length = strtok('(), '); } $fixed = null; if ( ! isset($tableColumn['name'])) { $tableColumn['name'] = ''; } $scale = null; $precision = null; $type = $this->_platform->getDoctrineTypeMapping($dbType); // In cases where not connected to a database DESCRIBE $table does not return 'Comment' if (isset($tableColumn['comment'])) { $type = $this->extractDoctrineTypeFromComment($tableColumn['comment'], $type); $tableColumn['comment'] = $this->removeDoctrineTypeFromComment($tableColumn['comment'], $type); } switch ($dbType) { case 'char': case 'binary': $fixed = true; break; case 'float': case 'double': case 'real': case 'numeric': case 'decimal': if (preg_match('([A-Za-z]+\(([0-9]+)\,([0-9]+)\))', $tableColumn['type'], $match)) { $precision = $match[1]; $scale = $match[2]; $length = null; } break; case 'tinytext': $length = MySqlPlatform::LENGTH_LIMIT_TINYTEXT; break; case 'text': $length = MySqlPlatform::LENGTH_LIMIT_TEXT; break; case 'mediumtext': $length = MySqlPlatform::LENGTH_LIMIT_MEDIUMTEXT; break; case 'tinyblob': $length = MySqlPlatform::LENGTH_LIMIT_TINYBLOB; break; case 'blob': $length = MySqlPlatform::LENGTH_LIMIT_BLOB; break; case 'mediumblob': $length = MySqlPlatform::LENGTH_LIMIT_MEDIUMBLOB; break; case 'tinyint': case 'smallint': case 'mediumint': case 'int': case 'integer': case 'bigint': case 'year': $length = null; break; } $length = ((int) $length == 0) ? null : (int) $length; $options = array( 'length' => $length, 'unsigned' => (bool) (strpos($tableColumn['type'], 'unsigned') !== false), 'fixed' => (bool) $fixed, 'default' => isset($tableColumn['default']) ? $tableColumn['default'] : null, 'notnull' => (bool) ($tableColumn['null'] != 'YES'), 'scale' => null, 'precision' => null, 'autoincrement' => (bool) (strpos($tableColumn['extra'], 'auto_increment') !== false), 'comment' => isset($tableColumn['comment']) && $tableColumn['comment'] !== '' ? $tableColumn['comment'] : null, ); if ($scale !== null && $precision !== null) { $options['scale'] = $scale; $options['precision'] = $precision; } $column = new Column($tableColumn['field'], Type::getType($type), $options); if (isset($tableColumn['collation'])) { $column->setPlatformOption('collation', $tableColumn['collation']); } return $column; } /** * {@inheritdoc} */ protected function _getPortableTableForeignKeysList($tableForeignKeys) { $list = array(); foreach ($tableForeignKeys as $value) { $value = array_change_key_case($value, CASE_LOWER); if (!isset($list[$value['constraint_name']])) { if (!isset($value['delete_rule']) || $value['delete_rule'] == "RESTRICT") { $value['delete_rule'] = null; } if (!isset($value['update_rule']) || $value['update_rule'] == "RESTRICT") { $value['update_rule'] = null; } $list[$value['constraint_name']] = array( 'name' => $value['constraint_name'], 'local' => array(), 'foreign' => array(), 'foreignTable' => $value['referenced_table_name'], 'onDelete' => $value['delete_rule'], 'onUpdate' => $value['update_rule'], ); } $list[$value['constraint_name']]['local'][] = $value['column_name']; $list[$value['constraint_name']]['foreign'][] = $value['referenced_column_name']; } $result = array(); foreach ($list as $constraint) { $result[] = new ForeignKeyConstraint( array_values($constraint['local']), $constraint['foreignTable'], array_values($constraint['foreign']), $constraint['name'], array( 'onDelete' => $constraint['onDelete'], 'onUpdate' => $constraint['onUpdate'], ) ); } return $result; } }
MoisesSan/linkedxpert
vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
PHP
mit
8,473
/*! SWFMini - a SWFObject 2.2 cut down version for webshims * * based on SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfmini=function(){function a(){if(!s){s=!0;for(var a=r.length,b=0;a>b;b++)r[b]()}}function b(a){s?a():r[r.length]=a}function c(){q&&d()}function d(){var a=o.getElementsByTagName("body")[0],b=e(i);b.setAttribute("type",m);var c=a.appendChild(b);if(c){var d=0;!function(){if(typeof c.GetVariable!=h){var e=c.GetVariable("$version");e&&(e=e.split(" ")[1].split(","),u.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)])}else if(10>d)return d++,void setTimeout(arguments.callee,10);a.removeChild(b),c=null}()}}function e(a){return o.createElement(a)}function f(a){var b=u.pv,c=a.split(".");return c[0]=parseInt(c[0],10),c[1]=parseInt(c[1],10)||0,c[2]=parseInt(c[2],10)||0,b[0]>c[0]||b[0]==c[0]&&b[1]>c[1]||b[0]==c[0]&&b[1]==c[1]&&b[2]>=c[2]?!0:!1}var g=function(){j.error("This method was removed from swfmini")},h="undefined",i="object",j=window.webshims,k="Shockwave Flash",l="ShockwaveFlash.ShockwaveFlash",m="application/x-shockwave-flash",n=window,o=document,p=navigator,q=!1,r=[c],s=!1,t=!0,u=function(){var a=typeof o.getElementById!=h&&typeof o.getElementsByTagName!=h&&typeof o.createElement!=h,b=p.userAgent.toLowerCase(),c=p.platform.toLowerCase(),d=/win/.test(c?c:b),e=/mac/.test(c?c:b),f=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!1,j=[0,0,0],r=null;if(typeof p.plugins!=h&&typeof p.plugins[k]==i)r=p.plugins[k].description,!r||typeof p.mimeTypes!=h&&p.mimeTypes[m]&&!p.mimeTypes[m].enabledPlugin||(q=!0,g=!1,r=r.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),j[0]=parseInt(r.replace(/^(.*)\..*$/,"$1"),10),j[1]=parseInt(r.replace(/^.*\.(.*)\s.*$/,"$1"),10),j[2]=/[a-zA-Z]/.test(r)?parseInt(r.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof n.ActiveXObject!=h)try{var s=new ActiveXObject(l);s&&(r=s.GetVariable("$version"),r&&(g=!0,r=r.split(" ")[1].split(","),j=[parseInt(r[0],10),parseInt(r[1],10),parseInt(r[2],10)]))}catch(t){}return{w3:a,pv:j,wk:f,ie:g,win:d,mac:e}}();j.ready("DOM",a),j.loader.addModule("swfmini-embed",{d:["swfmini"]});var v=f("9.0.0")?function(){return j.loader.loadList(["swfmini-embed"]),!0}:j.$.noop;return j.support.mediaelement?j.ready("WINDOWLOAD",v):v(),{registerObject:g,getObjectById:g,embedSWF:function(a,b,c,d,e,f,g,h,i,k){var l=arguments;v()?j.ready("swfmini-embed",function(){swfmini.embedSWF.apply(swfmini,l)}):k&&k({success:!1,id:b})},switchOffAutoHideShow:function(){t=!1},ua:u,getFlashPlayerVersion:function(){return{major:u.pv[0],minor:u.pv[1],release:u.pv[2]}},hasFlashPlayerVersion:f,createSWF:function(a,b,c){return u.w3?createSWF(a,b,c):void 0},showExpressInstall:g,removeSWF:g,createCSS:g,addDomLoadEvent:b,addLoadEvent:g,expressInstallCallback:g}}();webshims.isReady("swfmini",!0),function(a){"use strict";var b=a.support,c=b.mediaelement,d=!1,e=a.bugs,f="mediaelement-jaris",g=function(){a.ready(f,function(){a.mediaelement.createSWF||(a.mediaelement.loadSwf=!0,a.reTest([f],c))})},h=a.cfg,i=h.mediaelement,j=-1!=navigator.userAgent.indexOf("MSIE");if(!i)return void a.error("mediaelement wasn't implemented but loaded");if(c){var k=document.createElement("video");b.videoBuffered="buffered"in k,b.mediaDefaultMuted="defaultMuted"in k,d="loop"in k,b.mediaLoop=d,a.capturingEvents(["play","playing","waiting","paused","ended","durationchange","loadedmetadata","canplay","volumechange"]),(!b.videoBuffered||!d||!b.mediaDefaultMuted&&j&&"ActiveXObject"in window)&&(a.addPolyfill("mediaelement-native-fix",{d:["dom-support"]}),a.loader.loadList(["mediaelement-native-fix"]))}b.track&&!e.track&&!function(){if(!e.track){window.VTTCue&&!window.TextTrackCue?window.TextTrackCue=window.VTTCue:window.VTTCue||(window.VTTCue=window.TextTrackCue);try{new VTTCue(2,3,"")}catch(a){e.track=!0}}}(),a.register("mediaelement-core",function(a,e,h,i,j,k){var l=swfmini.hasFlashPlayerVersion("11.3"),m=e.mediaelement,n=!1;m.parseRtmp=function(a){var b,c,d,f=a.src.split("://"),g=f[1].split("/");for(a.server=f[0]+"://"+g[0]+"/",a.streamId=[],b=1,c=g.length;c>b;b++)d||-1===g[b].indexOf(":")||(g[b]=g[b].split(":")[1],d=!0),d?a.streamId.push(g[b]):a.server+=g[b]+"/";a.streamId.length||e.error("Could not parse rtmp url"),a.streamId=a.streamId.join("/")};var o=function(b,c){b=a(b);var d,e={src:b.attr("src")||"",elem:b,srcProp:b.prop("src")};return e.src?(d=b.attr("data-server"),null!=d&&(e.server=d),d=b.attr("type")||b.attr("data-type"),d?(e.type=d,e.container=a.trim(d.split(";")[0])):(c||(c=b[0].nodeName.toLowerCase(),"source"==c&&(c=(b.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),e.server?(e.type=c+"/rtmp",e.container=c+"/rtmp"):(d=m.getTypeForSrc(e.src,c,e),d&&(e.type=d,e.container=d))),d=b.attr("media"),d&&(e.media=d),("audio/rtmp"==e.type||"video/rtmp"==e.type)&&(e.server?e.streamId=e.src:m.parseRtmp(e)),e):e},p=!l&&"postMessage"in h&&c,q=function(){q.loaded||(q.loaded=!0,k.noAutoTrack||e.ready("WINDOWLOAD",function(){s(),e.loader.loadList(["track-ui"])}))},r=function(){var b;return function(){!b&&p&&(b=!0,n&&e.loader.loadScript("https://www.youtube.com/player_api"),a(function(){e._polyfill(["mediaelement-yt"])}))}}(),s=function(){l?g():r()};e.addPolyfill("mediaelement-yt",{test:!p,d:["dom-support"]}),m.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":["mp4","mpg4","m4r","m4a","m4p","m4b","aac"],"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}},m.mimeTypes.source=a.extend({},m.mimeTypes.audio,m.mimeTypes.video),m.getTypeForSrc=function(b,c){if(-1!=b.indexOf("youtube.com/watch?")||-1!=b.indexOf("youtube.com/v/"))return"video/youtube";if(!b.indexOf("mediastream:")||!b.indexOf("blob:http"))return"usermedia";if(!b.indexOf("webshimstream"))return"jarisplayer/stream";if(!b.indexOf("rtmp"))return c+"/rtmp";b=b.split("?")[0].split("#")[0].split("."),b=b[b.length-1];var d;return a.each(m.mimeTypes[c],function(a,c){return-1!==c.indexOf(b)?(d=a,!1):void 0}),d},m.srces=function(b){var c=[];b=a(b);var d=b[0].nodeName.toLowerCase(),e=o(b,d);return e.src?c.push(e):a("source",b).each(function(){e=o(this,d),e.src&&c.push(e)}),c},m.swfMimeTypes=["video/3gpp","video/x-msvideo","video/quicktime","video/x-m4v","video/mp4","video/m4p","video/x-flv","video/flv","audio/mpeg","audio/aac","audio/mp4","audio/x-m4a","audio/m4a","audio/mp3","audio/x-fla","audio/fla","youtube/flv","video/jarisplayer","jarisplayer/jarisplayer","jarisplayer/stream","video/youtube","video/rtmp","audio/rtmp"],m.canThirdPlaySrces=function(b,c){var d="";return(l||p)&&(b=a(b),c=c||m.srces(b),a.each(c,function(a,b){return b.container&&b.src&&(l&&-1!=m.swfMimeTypes.indexOf(b.container)||p&&"video/youtube"==b.container)?(d=b,!1):void 0})),d};var t={};m.canNativePlaySrces=function(b,d){var e="";if(c){b=a(b);var f=(b[0].nodeName||"").toLowerCase(),g=(t[f]||{prop:{_supvalue:!1}}).prop._supvalue||b[0].canPlayType;if(!g)return e;d=d||m.srces(b),a.each(d,function(a,c){return"usermedia"==c.type||c.type&&g.call(b[0],c.type)?(e=c,!1):void 0})}return e};var u=/^\s*application\/octet\-stream\s*$/i,v=function(){var b=u.test(a.attr(this,"type")||"");return b&&a(this).removeAttr("type"),b};m.setError=function(b,c){if(a("source",b).filter(v).length){e.error('"application/octet-stream" is a useless mimetype for audio/video. Please change this attribute.');try{a(b).mediaLoad()}catch(d){}}else c||(c="can't play sources"),a(b).pause().data("mediaerror",c),e.error("mediaelementError: "+c+". Run the following line in your console to get more info: webshim.mediaelement.loadDebugger();"),setTimeout(function(){a(b).data("mediaerror")&&a(b).addClass("media-error").trigger("mediaerror")},1)};var w=function(){var b,c=l?f:"mediaelement-yt";return function(d,f,g){e.ready(c,function(){m.createSWF&&a(d).parent()[0]?m.createSWF(d,f,g):b||(b=!0,s(),w(d,f,g))}),b||!p||m.createSWF||(n=!0,r())}}(),x={"native":function(a,b,c){c&&"third"==c.isActive&&m.setActive(a,"html5",c)},third:w},y=function(a,b,c){var d,e,f=[{test:"canNativePlaySrces",activate:"native"},{test:"canThirdPlaySrces",activate:"third"}];for((k.preferFlash||b&&"third"==b.isActive)&&f.reverse(),d=0;2>d;d++)if(e=m[f[d].test](a,c)){x[f[d].activate](a,e,b);break}e||(m.setError(a,!1),b&&"third"==b.isActive&&m.setActive(a,"html5",b))},z=/^(?:embed|object|datalist|picture)$/i,A=function(b,c){var d=e.data(b,"mediaelementBase")||e.data(b,"mediaelementBase",{}),f=m.srces(b),g=b.parentNode;clearTimeout(d.loadTimer),a(b).removeClass("media-error"),a.data(b,"mediaerror",!1),f.length&&g&&1==g.nodeType&&!z.test(g.nodeName||"")&&(c=c||e.data(b,"mediaelement"),m.sortMedia&&f.sort(m.sortMedia),y(b,c,f))};m.selectSource=A,a(i).on("ended",function(b){var c=e.data(b.target,"mediaelement");(!d||c&&"html5"!=c.isActive||a.prop(b.target,"loop"))&&setTimeout(function(){!a.prop(b.target,"paused")&&a.prop(b.target,"loop")&&a(b.target).prop("currentTime",0).play()})});var B=!1,C=function(){var f=function(){e.implement(this,"mediaelement")&&(A(this),b.mediaDefaultMuted||null==a.attr(this,"muted")||a.prop(this,"muted",!0))};e.ready("dom-support",function(){B=!0,d||e.defineNodeNamesBooleanProperty(["audio","video"],"loop"),["audio","video"].forEach(function(b){var d;d=e.defineNodeNameProperty(b,"load",{prop:{value:function(){var b=e.data(this,"mediaelement");A(this,b),!c||b&&"html5"!=b.isActive||!d.prop._supvalue||d.prop._supvalue.apply(this,arguments),!q.loaded&&this.querySelector("track")&&q(),a(this).triggerHandler("wsmediareload")}}}),t[b]=e.defineNodeNameProperty(b,"canPlayType",{prop:{value:function(d){var e="";return c&&t[b].prop._supvalue&&(e=t[b].prop._supvalue.call(this,d),"no"==e&&(e="")),!e&&l&&(d=a.trim((d||"").split(";")[0]),-1!=m.swfMimeTypes.indexOf(d)&&(e="maybe")),!e&&p&&"video/youtube"==d&&(e="maybe"),e}}})}),e.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var a=this,b=e.data(a,"mediaelementBase")||e.data(a,"mediaelementBase",{});clearTimeout(b.loadTimer),b.loadTimer=setTimeout(function(){A(a),a=null},9)}}),e.addReady(function(b,c){var d=a("video, audio",b).add(c.filter("video, audio")).each(f);!q.loaded&&a("track",d).length&&q(),d=null})}),c&&!B&&e.addReady(function(b,c){B||a("video, audio",b).add(c.filter("video, audio")).each(function(){return m.canNativePlaySrces(this)?void 0:(n=!0,s(),B=!0,!1)})})};m.loadDebugger=function(){e.ready("dom-support",function(){e.loader.loadScript("mediaelement-debug")})},{noCombo:1,media:1}[e.cfg.debug]&&a(i).on("mediaerror",function(){m.loadDebugger()}),c?(e.isReady("mediaelement-core",!0),C(),e.ready("WINDOWLOAD mediaelement",s)):e.ready(f,C),e.ready("track",q),"complete"==i.readyState&&e.isReady("WINDOWLOAD",!0)})}(webshims);
fatso83/cdnjs
ajax/libs/webshim/1.15.0/minified/shims/combos/23.js
JavaScript
mit
11,228
/* This is a compiled file, you should be editing the file in the templates directory */ .pace { width: 140px; height: 300px; position: fixed; top: -90px; right: -20px; z-index: 2000; -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0); opacity: 0; -webkit-transition: all 2s linear 0s; -moz-transition: all 2s linear 0s; transition: all 2s linear 0s; } .pace.pace-active { -webkit-transform: scale(.25); -moz-transform: scale(.25); -ms-transform: scale(.25); -o-transform: scale(.25); transform: scale(.25); opacity: 1; } .pace .pace-activity { width: 140px; height: 140px; border-radius: 70px; background: #2299dd; position: absolute; top: 0; z-index: 1911; -webkit-animation: pace-bounce 1s infinite; -moz-animation: pace-bounce 1s infinite; -o-animation: pace-bounce 1s infinite; -ms-animation: pace-bounce 1s infinite; animation: pace-bounce 1s infinite; } .pace .pace-progress { position: absolute; display: block; left: 50%; bottom: 0; z-index: 1910; margin-left: -30px; width: 60px; height: 75px; background: rgba(20, 20, 20, .1); box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1); border-radius: 30px / 40px; -webkit-transform: scaleY(.3) !important; -moz-transform: scaleY(.3) !important; -ms-transform: scaleY(.3) !important; -o-transform: scaleY(.3) !important; transform: scaleY(.3) !important; -webkit-animation: pace-compress .5s infinite alternate; -moz-animation: pace-compress .5s infinite alternate; -o-animation: pace-compress .5s infinite alternate; -ms-animation: pace-compress .5s infinite alternate; animation: pace-compress .5s infinite alternate; } @-webkit-keyframes pace-bounce { 0% { top: 0; -webkit-animation-timing-function: ease-in; } 40% {} 50% { top: 140px; height: 140px; -webkit-animation-timing-function: ease-out; } 55% { top: 160px; height: 120px; border-radius: 70px / 60px; -webkit-animation-timing-function: ease-in; } 65% { top: 120px; height: 140px; border-radius: 70px; -webkit-animation-timing-function: ease-out; } 95% { top: 0; -webkit-animation-timing-function: ease-in; } 100% { top: 0; -webkit-animation-timing-function: ease-in; } } @-moz-keyframes pace-bounce { 0% { top: 0; -moz-animation-timing-function: ease-in; } 40% {} 50% { top: 140px; height: 140px; -moz-animation-timing-function: ease-out; } 55% { top: 160px; height: 120px; border-radius: 70px / 60px; -moz-animation-timing-function: ease-in; } 65% { top: 120px; height: 140px; border-radius: 70px; -moz-animation-timing-function: ease-out;} 95% { top: 0; -moz-animation-timing-function: ease-in; } 100% {top: 0; -moz-animation-timing-function: ease-in; } } @keyframes pace-bounce { 0% { top: 0; animation-timing-function: ease-in; } 50% { top: 140px; height: 140px; animation-timing-function: ease-out; } 55% { top: 160px; height: 120px; border-radius: 70px / 60px; animation-timing-function: ease-in; } 65% { top: 120px; height: 140px; border-radius: 70px; animation-timing-function: ease-out; } 95% { top: 0; animation-timing-function: ease-in; } 100% { top: 0; animation-timing-function: ease-in; } } @-webkit-keyframes pace-compress { 0% { bottom: 0; margin-left: -30px; width: 60px; height: 75px; background: rgba(20, 20, 20, .1); box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1); border-radius: 30px / 40px; -webkit-animation-timing-function: ease-in; } 100% { bottom: 30px; margin-left: -10px; width: 20px; height: 5px; background: rgba(20, 20, 20, .3); box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3); border-radius: 20px / 20px; -webkit-animation-timing-function: ease-out; } } @-moz-keyframes pace-compress { 0% { bottom: 0; margin-left: -30px; width: 60px; height: 75px; background: rgba(20, 20, 20, .1); box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1); border-radius: 30px / 40px; -moz-animation-timing-function: ease-in; } 100% { bottom: 30px; margin-left: -10px; width: 20px; height: 5px; background: rgba(20, 20, 20, .3); box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3); border-radius: 20px / 20px; -moz-animation-timing-function: ease-out; } } @keyframes pace-compress { 0% { bottom: 0; margin-left: -30px; width: 60px; height: 75px; background: rgba(20, 20, 20, .1); box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1); border-radius: 30px / 40px; animation-timing-function: ease-in; } 100% { bottom: 30px; margin-left: -10px; width: 20px; height: 5px; background: rgba(20, 20, 20, .3); box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3); border-radius: 20px / 20px; animation-timing-function: ease-out; } }
davidbau/cdnjs
ajax/libs/pace/1.0.1/themes/blue/pace-theme-bounce.css
CSS
mit
5,101
define("dojo/hash", ["./_base/kernel", "require", "./_base/config", "./_base/connect", "./_base/lang", "./ready", "./sniff"], function(dojo, require, config, connect, lang, ready, has){ // module: // dojo/hash dojo.hash = function(/* String? */ hash, /* Boolean? */ replace){ // summary: // Gets or sets the hash string in the browser URL. // description: // Handles getting and setting of location.hash. // // - If no arguments are passed, acts as a getter. // - If a string is passed, acts as a setter. // hash: // the hash is set - #string. // replace: // If true, updates the hash value in the current history // state instead of creating a new history state. // returns: // when used as a getter, returns the current hash string. // when used as a setter, returns the new hash string. // example: // | topic.subscribe("/dojo/hashchange", context, callback); // | // | function callback (hashValue){ // | // do something based on the hash value. // | } // getter if(!arguments.length){ return _getHash(); } // setter if(hash.charAt(0) == "#"){ hash = hash.substring(1); } if(replace){ _replace(hash); }else{ location.href = "#" + hash; } return hash; // String }; // Global vars var _recentHash, _ieUriMonitor, _connect, _pollFrequency = config.hashPollFrequency || 100; //Internal functions function _getSegment(str, delimiter){ var i = str.indexOf(delimiter); return (i >= 0) ? str.substring(i+1) : ""; } function _getHash(){ return _getSegment(location.href, "#"); } function _dispatchEvent(){ connect.publish("/dojo/hashchange", [_getHash()]); } function _pollLocation(){ if(_getHash() === _recentHash){ return; } _recentHash = _getHash(); _dispatchEvent(); } function _replace(hash){ if(_ieUriMonitor){ if(_ieUriMonitor.isTransitioning()){ setTimeout(lang.hitch(null,_replace,hash), _pollFrequency); return; } var href = _ieUriMonitor.iframe.location.href; var index = href.indexOf('?'); // main frame will detect and update itself _ieUriMonitor.iframe.location.replace(href.substring(0, index) + "?" + hash); return; } location.replace("#"+hash); !_connect && _pollLocation(); } function IEUriMonitor(){ // summary: // Determine if the browser's URI has changed or if the user has pressed the // back or forward button. If so, call _dispatchEvent. // // description: // IE doesn't add changes to the URI's hash into the history unless the hash // value corresponds to an actual named anchor in the document. To get around // this IE difference, we use a background IFrame to maintain a back-forward // history, by updating the IFrame's query string to correspond to the // value of the main browser location's hash value. // // E.g. if the value of the browser window's location changes to // // #action=someAction // // ... then we'd update the IFrame's source to: // // ?action=someAction // // This design leads to a somewhat complex state machine, which is // described below: // // ####s1 // // Stable state - neither the window's location has changed nor // has the IFrame's location. Note that this is the 99.9% case, so // we optimize for it. // // Transitions: s1, s2, s3 // // ####s2 // // Window's location changed - when a user clicks a hyperlink or // code programmatically changes the window's URI. // // Transitions: s4 // // ####s3 // // Iframe's location changed as a result of user pressing back or // forward - when the user presses back or forward, the location of // the background's iframe changes to the previous or next value in // its history. // // Transitions: s1 // // ####s4 // // IEUriMonitor has programmatically changed the location of the // background iframe, but it's location hasn't yet changed. In this // case we do nothing because we need to wait for the iframe's // location to reflect its actual state. // // Transitions: s4, s5 // // ####s5 // // IEUriMonitor has programmatically changed the location of the // background iframe, and the iframe's location has caught up with // reality. In this case we need to transition to s1. // // Transitions: s1 // // The hashchange event is always dispatched on the transition back to s1. // create and append iframe var ifr = document.createElement("iframe"), IFRAME_ID = "dojo-hash-iframe", ifrSrc = config.dojoBlankHtmlUrl || require.toUrl("./resources/blank.html"); if(config.useXDomain && !config.dojoBlankHtmlUrl){ console.warn("dojo.hash: When using cross-domain Dojo builds," + " please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl" + " to the path on your domain to blank.html"); } ifr.id = IFRAME_ID; ifr.src = ifrSrc + "?" + _getHash(); ifr.style.display = "none"; document.body.appendChild(ifr); this.iframe = dojo.global[IFRAME_ID]; var recentIframeQuery, transitioning, expectedIFrameQuery, docTitle, ifrOffline, iframeLoc = this.iframe.location; function resetState(){ _recentHash = _getHash(); recentIframeQuery = ifrOffline ? _recentHash : _getSegment(iframeLoc.href, "?"); transitioning = false; expectedIFrameQuery = null; } this.isTransitioning = function(){ return transitioning; }; this.pollLocation = function(){ if(!ifrOffline){ try{ //see if we can access the iframe's location without a permission denied error var iframeSearch = _getSegment(iframeLoc.href, "?"); //good, the iframe is same origin (no thrown exception) if(document.title != docTitle){ //sync title of main window with title of iframe. docTitle = this.iframe.document.title = document.title; } }catch(e){ //permission denied - server cannot be reached. ifrOffline = true; console.error("dojo.hash: Error adding history entry. Server unreachable."); } } var hash = _getHash(); if(transitioning && _recentHash === hash){ // we're in an iframe transition (s4 or s5) if(ifrOffline || iframeSearch === expectedIFrameQuery){ // s5 (iframe caught up to main window or iframe offline), transition back to s1 resetState(); _dispatchEvent(); }else{ // s4 (waiting for iframe to catch up to main window) setTimeout(lang.hitch(this,this.pollLocation),0); return; } }else if(_recentHash === hash && (ifrOffline || recentIframeQuery === iframeSearch)){ // we're in stable state (s1, iframe query == main window hash), do nothing }else{ // the user has initiated a URL change somehow. // sync iframe query <-> main window hash if(_recentHash !== hash){ // s2 (main window location changed), set iframe url and transition to s4 _recentHash = hash; transitioning = true; expectedIFrameQuery = hash; ifr.src = ifrSrc + "?" + expectedIFrameQuery; ifrOffline = false; //we're updating the iframe src - set offline to false so we can check again on next poll. setTimeout(lang.hitch(this,this.pollLocation),0); //yielded transition to s4 while iframe reloads. return; }else if(!ifrOffline){ // s3 (iframe location changed via back/forward button), set main window url and transition to s1. location.href = "#" + iframeLoc.search.substring(1); resetState(); _dispatchEvent(); } } setTimeout(lang.hitch(this,this.pollLocation), _pollFrequency); }; resetState(); // initialize state (transition to s1) setTimeout(lang.hitch(this,this.pollLocation), _pollFrequency); } ready(function(){ if("onhashchange" in dojo.global && (!has("ie") || (has("ie") >= 8 && document.compatMode != "BackCompat"))){ //need this IE browser test because "onhashchange" exists in IE8 in IE7 mode _connect = connect.connect(dojo.global,"onhashchange",_dispatchEvent); }else{ if(document.addEventListener){ // Non-IE _recentHash = _getHash(); setInterval(_pollLocation, _pollFrequency); //Poll the window location for changes }else if(document.attachEvent){ // IE7- //Use hidden iframe in versions of IE that don't have onhashchange event _ieUriMonitor = new IEUriMonitor(); } // else non-supported browser, do nothing. } }); return dojo.hash; });
Rich-Harris/cdnjs
ajax/libs/dojo/1.8.6/hash.js.uncompressed.js
JavaScript
mit
8,394
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/tabview-base/tabview-base.js']) { __coverage__['build/tabview-base/tabview-base.js'] = {"path":"build/tabview-base/tabview-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":43}}},"2":{"name":"(anonymous_2)","line":11,"loc":{"start":{"line":11,"column":18},"end":{"line":11,"column":29}}},"3":{"name":"(anonymous_3)","line":38,"loc":{"start":{"line":38,"column":10},"end":{"line":38,"column":27}}},"4":{"name":"(anonymous_4)","line":45,"loc":{"start":{"line":45,"column":20},"end":{"line":45,"column":36}}},"5":{"name":"(anonymous_5)","line":48,"loc":{"start":{"line":48,"column":46},"end":{"line":48,"column":68}}},"6":{"name":"(anonymous_6)","line":66,"loc":{"start":{"line":66,"column":13},"end":{"line":66,"column":29}}},"7":{"name":"(anonymous_7)","line":92,"loc":{"start":{"line":92,"column":15},"end":{"line":92,"column":26}}},"8":{"name":"(anonymous_8)","line":103,"loc":{"start":{"line":103,"column":21},"end":{"line":103,"column":32}}},"9":{"name":"(anonymous_9)","line":104,"loc":{"start":{"line":104,"column":82},"end":{"line":104,"column":97}}},"10":{"name":"(anonymous_10)","line":112,"loc":{"start":{"line":112,"column":13},"end":{"line":112,"column":24}}},"11":{"name":"(anonymous_11)","line":121,"loc":{"start":{"line":121,"column":16},"end":{"line":121,"column":27}}},"12":{"name":"(anonymous_12)","line":131,"loc":{"start":{"line":131,"column":16},"end":{"line":131,"column":28}}},"13":{"name":"(anonymous_13)","line":136,"loc":{"start":{"line":136,"column":13},"end":{"line":136,"column":24}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":144,"column":75}},"2":{"start":{"line":3,"column":0},"end":{"line":13,"column":6}},"3":{"start":{"line":12,"column":8},"end":{"line":12,"column":41}},"4":{"start":{"line":15,"column":0},"end":{"line":15,"column":33}},"5":{"start":{"line":16,"column":0},"end":{"line":25,"column":2}},"6":{"start":{"line":26,"column":0},"end":{"line":35,"column":2}},"7":{"start":{"line":37,"column":0},"end":{"line":139,"column":3}},"8":{"start":{"line":39,"column":8},"end":{"line":39,"column":37}},"9":{"start":{"line":40,"column":8},"end":{"line":40,"column":55}},"10":{"start":{"line":42,"column":8},"end":{"line":42,"column":23}},"11":{"start":{"line":46,"column":8},"end":{"line":46,"column":52}},"12":{"start":{"line":48,"column":8},"end":{"line":61,"column":23}},"13":{"start":{"line":50,"column":12},"end":{"line":60,"column":13}},"14":{"start":{"line":51,"column":16},"end":{"line":51,"column":45}},"15":{"start":{"line":53,"column":16},"end":{"line":55,"column":17}},"16":{"start":{"line":54,"column":20},"end":{"line":54,"column":48}},"17":{"start":{"line":57,"column":16},"end":{"line":59,"column":17}},"18":{"start":{"line":58,"column":20},"end":{"line":58,"column":55}},"19":{"start":{"line":63,"column":8},"end":{"line":63,"column":49}},"20":{"start":{"line":67,"column":8},"end":{"line":73,"column":65}},"21":{"start":{"line":75,"column":8},"end":{"line":77,"column":9}},"22":{"start":{"line":76,"column":12},"end":{"line":76,"column":57}},"23":{"start":{"line":79,"column":8},"end":{"line":81,"column":9}},"24":{"start":{"line":80,"column":12},"end":{"line":80,"column":62}},"25":{"start":{"line":83,"column":8},"end":{"line":85,"column":9}},"26":{"start":{"line":84,"column":12},"end":{"line":84,"column":54}},"27":{"start":{"line":87,"column":8},"end":{"line":89,"column":9}},"28":{"start":{"line":88,"column":12},"end":{"line":88,"column":59}},"29":{"start":{"line":93,"column":8},"end":{"line":97,"column":67}},"30":{"start":{"line":99,"column":8},"end":{"line":99,"column":34}},"31":{"start":{"line":104,"column":8},"end":{"line":108,"column":11}},"32":{"start":{"line":105,"column":12},"end":{"line":107,"column":13}},"33":{"start":{"line":106,"column":16},"end":{"line":106,"column":30}},"34":{"start":{"line":113,"column":8},"end":{"line":113,"column":31}},"35":{"start":{"line":114,"column":8},"end":{"line":114,"column":30}},"36":{"start":{"line":115,"column":8},"end":{"line":115,"column":25}},"37":{"start":{"line":116,"column":8},"end":{"line":116,"column":26}},"38":{"start":{"line":124,"column":8},"end":{"line":128,"column":10}},"39":{"start":{"line":132,"column":8},"end":{"line":132,"column":27}},"40":{"start":{"line":133,"column":8},"end":{"line":133,"column":90}},"41":{"start":{"line":137,"column":8},"end":{"line":137,"column":45}},"42":{"start":{"line":141,"column":0},"end":{"line":141,"column":28}}},"branchMap":{"1":{"line":39,"type":"binary-expr","locations":[{"start":{"line":39,"column":17},"end":{"line":39,"column":23}},{"start":{"line":39,"column":27},"end":{"line":39,"column":36}}]},"2":{"line":40,"type":"binary-expr","locations":[{"start":{"line":40,"column":21},"end":{"line":40,"column":32}},{"start":{"line":40,"column":36},"end":{"line":40,"column":54}}]},"3":{"line":50,"type":"if","locations":[{"start":{"line":50,"column":12},"end":{"line":50,"column":12}},{"start":{"line":50,"column":12},"end":{"line":50,"column":12}}]},"4":{"line":53,"type":"if","locations":[{"start":{"line":53,"column":16},"end":{"line":53,"column":16}},{"start":{"line":53,"column":16},"end":{"line":53,"column":16}}]},"5":{"line":57,"type":"if","locations":[{"start":{"line":57,"column":16},"end":{"line":57,"column":16}},{"start":{"line":57,"column":16},"end":{"line":57,"column":16}}]},"6":{"line":75,"type":"if","locations":[{"start":{"line":75,"column":8},"end":{"line":75,"column":8}},{"start":{"line":75,"column":8},"end":{"line":75,"column":8}}]},"7":{"line":79,"type":"if","locations":[{"start":{"line":79,"column":8},"end":{"line":79,"column":8}},{"start":{"line":79,"column":8},"end":{"line":79,"column":8}}]},"8":{"line":83,"type":"if","locations":[{"start":{"line":83,"column":8},"end":{"line":83,"column":8}},{"start":{"line":83,"column":8},"end":{"line":83,"column":8}}]},"9":{"line":87,"type":"if","locations":[{"start":{"line":87,"column":8},"end":{"line":87,"column":8}},{"start":{"line":87,"column":8},"end":{"line":87,"column":8}}]},"10":{"line":96,"type":"cond-expr","locations":[{"start":{"line":97,"column":20},"end":{"line":97,"column":62}},{"start":{"line":97,"column":65},"end":{"line":97,"column":66}}]},"11":{"line":105,"type":"if","locations":[{"start":{"line":105,"column":12},"end":{"line":105,"column":12}},{"start":{"line":105,"column":12},"end":{"line":105,"column":12}}]}},"code":["(function () { YUI.add('tabview-base', function (Y, NAME) {","","var getClassName = Y.ClassNameManager.getClassName,"," TABVIEW = 'tabview',"," TAB = 'tab',"," PANEL = 'panel',"," SELECTED = 'selected',"," EMPTY_OBJ = {},"," DOT = '.',",""," TabviewBase = function() {"," this.init.apply(this, arguments);"," };","","TabviewBase.NAME = 'tabviewBase';","TabviewBase._classNames = {"," tabview: getClassName(TABVIEW),"," tabviewPanel: getClassName(TABVIEW, PANEL),"," tabviewList: getClassName(TABVIEW, 'list'),"," tab: getClassName(TAB),"," tabLabel: getClassName(TAB, 'label'),"," tabPanel: getClassName(TAB, PANEL),"," selectedTab: getClassName(TAB, SELECTED),"," selectedPanel: getClassName(TAB, PANEL, SELECTED)","};","TabviewBase._queries = {"," tabview: DOT + TabviewBase._classNames.tabview,"," tabviewList: '> ul',"," tab: '> ul > li',"," tabLabel: '> ul > li > a',"," tabviewPanel: '> div',"," tabPanel: '> div > div',"," selectedTab: '> ul > ' + DOT + TabviewBase._classNames.selectedTab,"," selectedPanel: '> div ' + DOT + TabviewBase._classNames.selectedPanel","};","","Y.mix(TabviewBase.prototype, {"," init: function(config) {"," config = config || EMPTY_OBJ;"," this._node = config.host || Y.one(config.node);",""," this.refresh();"," },",""," initClassNames: function(index) {"," var _classNames = Y.TabviewBase._classNames;",""," Y.Object.each(Y.TabviewBase._queries, function(query, name) {"," // this === tabview._node"," if (_classNames[name]) {"," var result = this.all(query);",""," if (index !== undefined) {"," result = result.item(index);"," }",""," if (result) {"," result.addClass(_classNames[name]);"," }"," }"," }, this._node);",""," this._node.addClass(_classNames.tabview);"," },",""," _select: function(index) {"," var _classNames = Y.TabviewBase._classNames,"," _queries = Y.TabviewBase._queries,"," node = this._node,"," oldItem = node.one(_queries.selectedTab),"," oldContent = node.one(_queries.selectedPanel),"," newItem = node.all(_queries.tab).item(index),"," newContent = node.all(_queries.tabPanel).item(index);",""," if (oldItem) {"," oldItem.removeClass(_classNames.selectedTab);"," }",""," if (oldContent) {"," oldContent.removeClass(_classNames.selectedPanel);"," }",""," if (newItem) {"," newItem.addClass(_classNames.selectedTab);"," }",""," if (newContent) {"," newContent.addClass(_classNames.selectedPanel);"," }"," },",""," initState: function() {"," var _queries = Y.TabviewBase._queries,"," node = this._node,"," activeNode = node.one(_queries.selectedTab),"," activeIndex = activeNode ?"," node.all(_queries.tab).indexOf(activeNode) : 0;",""," this._select(activeIndex);"," },",""," // collapse extra space between list-items"," _scrubTextNodes: function() {"," this._node.one(Y.TabviewBase._queries.tabviewList).get('childNodes').each(function(node) {"," if (node.get('nodeType') === 3) { // text node"," node.remove();"," }"," });"," },",""," // base renderer only enlivens existing markup"," refresh: function() {"," this._scrubTextNodes();"," this.initClassNames();"," this.initState();"," this.initEvents();"," },",""," tabEventName: 'click',",""," initEvents: function() {"," // TODO: detach prefix for delegate?"," // this._node.delegate('tabview|' + this.tabEventName),"," this._node.delegate(this.tabEventName,"," this.onTabEvent,"," Y.TabviewBase._queries.tab,"," this"," );"," },",""," onTabEvent: function(e) {"," e.preventDefault();"," this._select(this._node.all(Y.TabviewBase._queries.tab).indexOf(e.currentTarget));"," },",""," destroy: function() {"," this._node.detach(this.tabEventName);"," }","});","","Y.TabviewBase = TabviewBase;","","","}, '@VERSION@', {\"requires\": [\"node-event-delegate\", \"classnamemanager\"]});","","}());"]}; } var __cov_dlpEYNgH$_x24F0fhVKX$A = __coverage__['build/tabview-base/tabview-base.js']; __cov_dlpEYNgH$_x24F0fhVKX$A.s['1']++;YUI.add('tabview-base',function(Y,NAME){__cov_dlpEYNgH$_x24F0fhVKX$A.f['1']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['2']++;var getClassName=Y.ClassNameManager.getClassName,TABVIEW='tabview',TAB='tab',PANEL='panel',SELECTED='selected',EMPTY_OBJ={},DOT='.',TabviewBase=function(){__cov_dlpEYNgH$_x24F0fhVKX$A.f['2']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['3']++;this.init.apply(this,arguments);};__cov_dlpEYNgH$_x24F0fhVKX$A.s['4']++;TabviewBase.NAME='tabviewBase';__cov_dlpEYNgH$_x24F0fhVKX$A.s['5']++;TabviewBase._classNames={tabview:getClassName(TABVIEW),tabviewPanel:getClassName(TABVIEW,PANEL),tabviewList:getClassName(TABVIEW,'list'),tab:getClassName(TAB),tabLabel:getClassName(TAB,'label'),tabPanel:getClassName(TAB,PANEL),selectedTab:getClassName(TAB,SELECTED),selectedPanel:getClassName(TAB,PANEL,SELECTED)};__cov_dlpEYNgH$_x24F0fhVKX$A.s['6']++;TabviewBase._queries={tabview:DOT+TabviewBase._classNames.tabview,tabviewList:'> ul',tab:'> ul > li',tabLabel:'> ul > li > a',tabviewPanel:'> div',tabPanel:'> div > div',selectedTab:'> ul > '+DOT+TabviewBase._classNames.selectedTab,selectedPanel:'> div '+DOT+TabviewBase._classNames.selectedPanel};__cov_dlpEYNgH$_x24F0fhVKX$A.s['7']++;Y.mix(TabviewBase.prototype,{init:function(config){__cov_dlpEYNgH$_x24F0fhVKX$A.f['3']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['8']++;config=(__cov_dlpEYNgH$_x24F0fhVKX$A.b['1'][0]++,config)||(__cov_dlpEYNgH$_x24F0fhVKX$A.b['1'][1]++,EMPTY_OBJ);__cov_dlpEYNgH$_x24F0fhVKX$A.s['9']++;this._node=(__cov_dlpEYNgH$_x24F0fhVKX$A.b['2'][0]++,config.host)||(__cov_dlpEYNgH$_x24F0fhVKX$A.b['2'][1]++,Y.one(config.node));__cov_dlpEYNgH$_x24F0fhVKX$A.s['10']++;this.refresh();},initClassNames:function(index){__cov_dlpEYNgH$_x24F0fhVKX$A.f['4']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['11']++;var _classNames=Y.TabviewBase._classNames;__cov_dlpEYNgH$_x24F0fhVKX$A.s['12']++;Y.Object.each(Y.TabviewBase._queries,function(query,name){__cov_dlpEYNgH$_x24F0fhVKX$A.f['5']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['13']++;if(_classNames[name]){__cov_dlpEYNgH$_x24F0fhVKX$A.b['3'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['14']++;var result=this.all(query);__cov_dlpEYNgH$_x24F0fhVKX$A.s['15']++;if(index!==undefined){__cov_dlpEYNgH$_x24F0fhVKX$A.b['4'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['16']++;result=result.item(index);}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['4'][1]++;}__cov_dlpEYNgH$_x24F0fhVKX$A.s['17']++;if(result){__cov_dlpEYNgH$_x24F0fhVKX$A.b['5'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['18']++;result.addClass(_classNames[name]);}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['5'][1]++;}}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['3'][1]++;}},this._node);__cov_dlpEYNgH$_x24F0fhVKX$A.s['19']++;this._node.addClass(_classNames.tabview);},_select:function(index){__cov_dlpEYNgH$_x24F0fhVKX$A.f['6']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['20']++;var _classNames=Y.TabviewBase._classNames,_queries=Y.TabviewBase._queries,node=this._node,oldItem=node.one(_queries.selectedTab),oldContent=node.one(_queries.selectedPanel),newItem=node.all(_queries.tab).item(index),newContent=node.all(_queries.tabPanel).item(index);__cov_dlpEYNgH$_x24F0fhVKX$A.s['21']++;if(oldItem){__cov_dlpEYNgH$_x24F0fhVKX$A.b['6'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['22']++;oldItem.removeClass(_classNames.selectedTab);}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['6'][1]++;}__cov_dlpEYNgH$_x24F0fhVKX$A.s['23']++;if(oldContent){__cov_dlpEYNgH$_x24F0fhVKX$A.b['7'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['24']++;oldContent.removeClass(_classNames.selectedPanel);}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['7'][1]++;}__cov_dlpEYNgH$_x24F0fhVKX$A.s['25']++;if(newItem){__cov_dlpEYNgH$_x24F0fhVKX$A.b['8'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['26']++;newItem.addClass(_classNames.selectedTab);}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['8'][1]++;}__cov_dlpEYNgH$_x24F0fhVKX$A.s['27']++;if(newContent){__cov_dlpEYNgH$_x24F0fhVKX$A.b['9'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['28']++;newContent.addClass(_classNames.selectedPanel);}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['9'][1]++;}},initState:function(){__cov_dlpEYNgH$_x24F0fhVKX$A.f['7']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['29']++;var _queries=Y.TabviewBase._queries,node=this._node,activeNode=node.one(_queries.selectedTab),activeIndex=activeNode?(__cov_dlpEYNgH$_x24F0fhVKX$A.b['10'][0]++,node.all(_queries.tab).indexOf(activeNode)):(__cov_dlpEYNgH$_x24F0fhVKX$A.b['10'][1]++,0);__cov_dlpEYNgH$_x24F0fhVKX$A.s['30']++;this._select(activeIndex);},_scrubTextNodes:function(){__cov_dlpEYNgH$_x24F0fhVKX$A.f['8']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['31']++;this._node.one(Y.TabviewBase._queries.tabviewList).get('childNodes').each(function(node){__cov_dlpEYNgH$_x24F0fhVKX$A.f['9']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['32']++;if(node.get('nodeType')===3){__cov_dlpEYNgH$_x24F0fhVKX$A.b['11'][0]++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['33']++;node.remove();}else{__cov_dlpEYNgH$_x24F0fhVKX$A.b['11'][1]++;}});},refresh:function(){__cov_dlpEYNgH$_x24F0fhVKX$A.f['10']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['34']++;this._scrubTextNodes();__cov_dlpEYNgH$_x24F0fhVKX$A.s['35']++;this.initClassNames();__cov_dlpEYNgH$_x24F0fhVKX$A.s['36']++;this.initState();__cov_dlpEYNgH$_x24F0fhVKX$A.s['37']++;this.initEvents();},tabEventName:'click',initEvents:function(){__cov_dlpEYNgH$_x24F0fhVKX$A.f['11']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['38']++;this._node.delegate(this.tabEventName,this.onTabEvent,Y.TabviewBase._queries.tab,this);},onTabEvent:function(e){__cov_dlpEYNgH$_x24F0fhVKX$A.f['12']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['39']++;e.preventDefault();__cov_dlpEYNgH$_x24F0fhVKX$A.s['40']++;this._select(this._node.all(Y.TabviewBase._queries.tab).indexOf(e.currentTarget));},destroy:function(){__cov_dlpEYNgH$_x24F0fhVKX$A.f['13']++;__cov_dlpEYNgH$_x24F0fhVKX$A.s['41']++;this._node.detach(this.tabEventName);}});__cov_dlpEYNgH$_x24F0fhVKX$A.s['42']++;Y.TabviewBase=TabviewBase;},'@VERSION@',{'requires':['node-event-delegate','classnamemanager']});
gabel/cdnjs
ajax/libs/yui/3.10.0/tabview-base/tabview-base-coverage.js
JavaScript
mit
17,371