How to use elements method in ng-mocks

Best JavaScript code snippet using ng-mocks

regress-311161.js

Source:regress-311161.js Github

copy

Full Screen

1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */2/* ***** BEGIN LICENSE BLOCK *****3 * Version: MPL 1.1/GPL 2.0/LGPL 2.14 *5 * The contents of this file are subject to the Mozilla Public License Version6 * 1.1 (the "License"); you may not use this file except in compliance with7 * the License. You may obtain a copy of the License at8 * http://www.mozilla.org/MPL/9 *10 * Software distributed under the License is distributed on an "AS IS" basis,11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License12 * for the specific language governing rights and limitations under the13 * License.14 *15 * The Original Code is JavaScript Engine testing utilities.16 *17 * The Initial Developer of the Original Code is18 * Mozilla Foundation.19 * Portions created by the Initial Developer are Copyright (C) 200520 * the Initial Developer. All Rights Reserved.21 *22 * Contributor(s): Jesse Ruderman23 *24 * Alternatively, the contents of this file may be used under the terms of25 * either the GNU General Public License Version 2 or later (the "GPL"), or26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),27 * in which case the provisions of the GPL or the LGPL are applicable instead28 * of those above. If you wish to allow use of your version of this file only29 * under the terms of either the GPL or the LGPL, and not to allow others to30 * use your version of this file under the terms of the MPL, indicate your31 * decision by deleting the provisions above and replace them with the notice32 * and other provisions required by the GPL or the LGPL. If you do not delete33 * the provisions above, a recipient may use your version of this file under34 * the terms of any one of the MPL, the GPL or the LGPL.35 *36 * ***** END LICENSE BLOCK ***** */37var gTestfile = 'regress-311161.js';38//-----------------------------------------------------------------------------39var BUGNUMBER = 311161;40var summary = 'toSource exposes random memory or crashes';41var actual = 'No Crash';42var expect = 'No Crash';43printBugNumber(BUGNUMBER);44printStatus (summary);45 46var commands =47 [{origCount:1, fun:(function anonymous() {allElements[2].style.background = "#fcd";})},48{origCount:2, fun:(function anonymous() {allElements[9].style.width = "20em";})},49{origCount:3, fun:(function anonymous() {allElements[4].style.width = "200%";})},50{origCount:4, fun:(function anonymous() {allElements[6].style.clear = "right";})},51{origCount:5, fun:(function anonymous() {allElements[8].style.visibility = "hidden";})},52{origCount:6, fun:(function anonymous() {allElements[1].style.overflow = "visible";})},53{origCount:7, fun:(function anonymous() {allElements[4].style.position = "fixed";})},54{origCount:8, fun:(function anonymous() {allElements[10].style.display = "-moz-inline-stack";})},55{origCount:9, fun:(function anonymous() {allElements[10].style.overflow = "auto";})},56{origCount:10, fun:(function anonymous() {allElements[11].style.color = "red";})},57{origCount:11, fun:(function anonymous() {allElements[4].style.height = "2em";})},58{origCount:12, fun:(function anonymous() {allElements[9].style.height = "100px";})},59{origCount:13, fun:(function anonymous() {allElements[5].style['float'] = "none";})},60{origCount:14, fun:(function anonymous() {allElements[9].style.color = "blue";})},61{origCount:15, fun:(function anonymous() {allElements[2].style.clear = "right";})},62{origCount:16, fun:(function anonymous() {allElements[1].style.height = "auto";})},63{origCount:17, fun:(function anonymous() {allElements[0].style.overflow = "hidden";})},64{origCount:18, fun:(function anonymous() {allElements[4].style.display = "table-row-group";})},65{origCount:19, fun:(function anonymous() {allElements[4].style.overflow = "auto";})},66{origCount:20, fun:(function anonymous() {allElements[7].style.height = "100px";})},67{origCount:21, fun:(function anonymous() {allElements[5].style.color = "green";})},68{origCount:22, fun:(function anonymous() {allElements[3].style.display = "-moz-grid-group";})},69{origCount:23, fun:(function anonymous() {allElements[7].style['float'] = "none";})},70{origCount:24, fun:(function anonymous() {allElements[10].style.position = "static";})},71{origCount:25, fun:(function anonymous() {allElements[3].style['float'] = "none";})},72{origCount:26, fun:(function anonymous() {allElements[4].style['float'] = "none";})},73{origCount:27, fun:(function anonymous() {allElements[8].style['float'] = "none";})},74{origCount:28, fun:(function anonymous() {allElements[5].style.visibility = "collapse";})},75{origCount:29, fun:(function anonymous() {allElements[1].style.position = "static";})},76{origCount:30, fun:(function anonymous() {allElements[2].style.color = "black";})},77{origCount:31, fun:(function anonymous() {allElements[0].style.position = "fixed";})},78{origCount:32, fun:(function anonymous() {allElements[0].style.display = "table-row-group";})},79{origCount:33, fun:(function anonymous() {allElements[9].style.position = "relative";})},80{origCount:34, fun:(function anonymous() {allElements[5].style.position = "static";})},81{origCount:35, fun:(function anonymous() {allElements[6].style.background = "transparent";})},82{origCount:36, fun:(function anonymous() {allElements[6].style.color = "blue";})},83{origCount:37, fun:(function anonymous() {allElements[9].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},84{origCount:38, fun:(function anonymous() {allElements[8].style.display = "-moz-grid";})},85{origCount:39, fun:(function anonymous() {allElements[9].style.color = "black";})},86{origCount:40, fun:(function anonymous() {allElements[4].style.position = "static";})},87{origCount:41, fun:(function anonymous() {allElements[10].style.height = "auto";})},88{origCount:42, fun:(function anonymous() {allElements[9].style.color = "green";})},89{origCount:43, fun:(function anonymous() {allElements[4].style.height = "auto";})},90{origCount:44, fun:(function anonymous() {allElements[2].style.clear = "both";})},91{origCount:45, fun:(function anonymous() {allElements[8].style.width = "1px";})},92{origCount:46, fun:(function anonymous() {allElements[2].style.visibility = "visible";})},93{origCount:47, fun:(function anonymous() {allElements[1].style.clear = "left";})},94{origCount:48, fun:(function anonymous() {allElements[11].style.overflow = "auto";})},95{origCount:49, fun:(function anonymous() {allElements[11].style['float'] = "left";})},96{origCount:50, fun:(function anonymous() {allElements[8].style['float'] = "left";})},97{origCount:51, fun:(function anonymous() {allElements[6].style.height = "10%";})},98{origCount:52, fun:(function anonymous() {allElements[11].style.display = "-moz-inline-stack";})},99{origCount:53, fun:(function anonymous() {allElements[3].style.clear = "left";})},100{origCount:54, fun:(function anonymous() {allElements[11].style.visibility = "hidden";})},101{origCount:55, fun:(function anonymous() {allElements[4].style['float'] = "right";})},102{origCount:56, fun:(function anonymous() {allElements[0].style.width = "1px";})},103{origCount:57, fun:(function anonymous() {allElements[3].style.height = "200%";})},104{origCount:58, fun:(function anonymous() {allElements[7].style.height = "10%";})},105{origCount:59, fun:(function anonymous() {allElements[4].style.clear = "none";})},106{origCount:60, fun:(function anonymous() {allElements[11].style['float'] = "none";})},107{origCount:61, fun:(function anonymous() {allElements[9].style['float'] = "left";})},108{origCount:62, fun:(function anonymous() {allElements[4].style.overflow = "scroll";})},109{origCount:63, fun:(function anonymous() {allElements[12].style.height = "200%";})},110{origCount:64, fun:(function anonymous() {allElements[2].style.color = "green";})},111{origCount:65, fun:(function anonymous() {allElements[3].style['float'] = "none";})},112{origCount:66, fun:(function anonymous() {allElements[10].style.background = "transparent";})},113{origCount:67, fun:(function anonymous() {allElements[0].style.height = "auto";})},114{origCount:68, fun:(function anonymous() {allElements[6].style.clear = "left";})},115{origCount:69, fun:(function anonymous() {allElements[7].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},116{origCount:70, fun:(function anonymous() {allElements[8].style.display = "-moz-popup";})},117{origCount:71, fun:(function anonymous() {allElements[2].style.height = "10%";})},118{origCount:72, fun:(function anonymous() {allElements[7].style.display = "table-cell";})},119{origCount:73, fun:(function anonymous() {allElements[3].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},120{origCount:74, fun:(function anonymous() {allElements[8].style.color = "red";})},121{origCount:75, fun:(function anonymous() {allElements[1].style.overflow = "auto";})},122{origCount:76, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},123{origCount:77, fun:(function anonymous() {allElements[0].style.color = "red";})},124{origCount:78, fun:(function anonymous() {allElements[4].style.background = "#fcd";})},125{origCount:79, fun:(function anonymous() {allElements[5].style.position = "static";})},126{origCount:80, fun:(function anonymous() {allElements[8].style.clear = "both";})},127{origCount:81, fun:(function anonymous() {allElements[7].style.clear = "both";})},128{origCount:82, fun:(function anonymous() {allElements[5].style.clear = "both";})},129{origCount:83, fun:(function anonymous() {allElements[10].style.display = "-moz-grid-group";})},130{origCount:84, fun:(function anonymous() {allElements[12].style.clear = "right";})},131{origCount:85, fun:(function anonymous() {allElements[5].style['float'] = "left";})},132{origCount:86, fun:(function anonymous() {allElements[8].style.position = "absolute";})},133{origCount:87, fun:(function anonymous() {allElements[11].style.background = "#fcd";})},134{origCount:88, fun:(function anonymous() {allElements[9].style.position = "relative";})},135{origCount:89, fun:(function anonymous() {allElements[5].style.width = "20em";})},136{origCount:90, fun:(function anonymous() {allElements[6].style.position = "absolute";})},137{origCount:91, fun:(function anonymous() {allElements[5].style.overflow = "scroll";})},138{origCount:92, fun:(function anonymous() {allElements[6].style.background = "#fcd";})},139{origCount:93, fun:(function anonymous() {allElements[2].style.visibility = "visible";})},140{origCount:94, fun:(function anonymous() {allElements[11].style.background = "#fcd";})},141{origCount:95, fun:(function anonymous() {allElements[0].style.visibility = "hidden";})},142{origCount:96, fun:(function anonymous() {allElements[0].style.color = "blue";})},143{origCount:97, fun:(function anonymous() {allElements[3].style['float'] = "left";})},144{origCount:98, fun:(function anonymous() {allElements[3].style.height = "200%";})},145{origCount:99, fun:(function anonymous() {allElements[4].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},146{origCount:100, fun:(function anonymous() {allElements[12].style.width = "10%";})},147{origCount:101, fun:(function anonymous() {allElements[6].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},148{origCount:102, fun:(function anonymous() {allElements[5].style.width = "auto";})},149{origCount:103, fun:(function anonymous() {allElements[1].style.position = "static";})},150{origCount:104, fun:(function anonymous() {allElements[12].style['float'] = "right";})},151{origCount:105, fun:(function anonymous() {allElements[5].style['float'] = "right";})},152{origCount:106, fun:(function anonymous() {allElements[12].style.height = "200%";})},153{origCount:107, fun:(function anonymous() {allElements[11].style['float'] = "none";})},154{origCount:108, fun:(function anonymous() {allElements[9].style.width = "20em";})},155{origCount:109, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},156{origCount:110, fun:(function anonymous() {allElements[7].style['float'] = "none";})},157{origCount:111, fun:(function anonymous() {allElements[6].style.visibility = "collapse";})},158{origCount:112, fun:(function anonymous() {allElements[11].style.height = "200%";})},159{origCount:113, fun:(function anonymous() {allElements[3].style.visibility = "visible";})},160{origCount:114, fun:(function anonymous() {allElements[12].style.width = "200%";})},161{origCount:115, fun:(function anonymous() {allElements[5].style.height = "10%";})},162{origCount:116, fun:(function anonymous() {allElements[1].style['float'] = "left";})},163{origCount:117, fun:(function anonymous() {allElements[5].style.overflow = "scroll";})},164{origCount:118, fun:(function anonymous() {allElements[9].style.width = "10%";})},165{origCount:119, fun:(function anonymous() {allElements[6].style.position = "static";})},166{origCount:120, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},167{origCount:121, fun:(function anonymous() {allElements[12].style['float'] = "right";})},168{origCount:122, fun:(function anonymous() {allElements[7].style.width = "1px";})},169{origCount:123, fun:(function anonymous() {allElements[3].style.color = "blue";})},170{origCount:124, fun:(function anonymous() {allElements[6].style.background = "#fcd";})},171{origCount:125, fun:(function anonymous() {allElements[8].style.overflow = "auto";})},172{origCount:126, fun:(function anonymous() {allElements[1].style.overflow = "auto";})},173{origCount:127, fun:(function anonymous() {allElements[5].style['float'] = "none";})},174{origCount:128, fun:(function anonymous() {allElements[12].style.color = "green";})},175{origCount:129, fun:(function anonymous() {allElements[0].style.color = "black";})},176{origCount:130, fun:(function anonymous() {allElements[1].style.position = "relative";})},177{origCount:131, fun:(function anonymous() {allElements[9].style.overflow = "auto";})},178{origCount:132, fun:(function anonymous() {allElements[1].style.display = "table-row";})},179{origCount:133, fun:(function anonymous() {allElements[10].style['float'] = "right";})},180{origCount:134, fun:(function anonymous() {allElements[2].style.visibility = "hidden";})},181{origCount:135, fun:(function anonymous() {allElements[9].style.overflow = "auto";})},182{origCount:136, fun:(function anonymous() {allElements[9].style.clear = "none";})},183{origCount:137, fun:(function anonymous() {allElements[9].style.position = "absolute";})},184{origCount:138, fun:(function anonymous() {allElements[0].style.width = "10%";})},185{origCount:139, fun:(function anonymous() {allElements[1].style.height = "10%";})},186{origCount:140, fun:(function anonymous() {allElements[5].style.height = "auto";})},187{origCount:141, fun:(function anonymous() {allElements[4].style.position = "fixed";})},188{origCount:142, fun:(function anonymous() {allElements[3].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},189{origCount:143, fun:(function anonymous() {allElements[7].style.display = "table-header-group";})},190{origCount:144, fun:(function anonymous() {allElements[10].style.position = "fixed";})},191{origCount:145, fun:(function anonymous() {allElements[4].style.background = "transparent";})},192{origCount:146, fun:(function anonymous() {allElements[6].style.position = "relative";})},193{origCount:147, fun:(function anonymous() {allElements[10].style.clear = "both";})},194{origCount:148, fun:(function anonymous() {allElements[8].style.display = "table-header-group";})},195{origCount:149, fun:(function anonymous() {allElements[5].style.height = "200%";})},196{origCount:150, fun:(function anonymous() {allElements[7].style.height = "2em";})},197{origCount:151, fun:(function anonymous() {allElements[6].style.position = "relative";})},198{origCount:152, fun:(function anonymous() {allElements[7].style.height = "2em";})},199{origCount:153, fun:(function anonymous() {allElements[3].style.width = "10%";})},200{origCount:154, fun:(function anonymous() {allElements[12].style.color = "blue";})},201{origCount:155, fun:(function anonymous() {allElements[2].style.color = "green";})},202{origCount:156, fun:(function anonymous() {allElements[2].style.visibility = "visible";})},203{origCount:157, fun:(function anonymous() {allElements[6].style['float'] = "right";})},204{origCount:158, fun:(function anonymous() {allElements[6].style.visibility = "collapse";})},205{origCount:159, fun:(function anonymous() {allElements[8].style.position = "absolute";})},206{origCount:160, fun:(function anonymous() {allElements[3].style.height = "2em";})},207{origCount:161, fun:(function anonymous() {allElements[10].style.display = "-moz-grid-line";})},208{origCount:162, fun:(function anonymous() {allElements[9].style.color = "red";})},209{origCount:163, fun:(function anonymous() {allElements[6].style.overflow = "hidden";})},210{origCount:164, fun:(function anonymous() {allElements[4].style.overflow = "scroll";})},211{origCount:165, fun:(function anonymous() {allElements[11].style.height = "100px";})},212{origCount:166, fun:(function anonymous() {allElements[5].style.display = "table-footer-group";})},213{origCount:167, fun:(function anonymous() {allElements[5].style.color = "red";})},214{origCount:168, fun:(function anonymous() {allElements[3].style.width = "20em";})},215{origCount:169, fun:(function anonymous() {allElements[4].style['float'] = "right";})},216{origCount:170, fun:(function anonymous() {allElements[2].style.background = "transparent";})},217{origCount:171, fun:(function anonymous() {allElements[0].style.position = "fixed";})},218{origCount:172, fun:(function anonymous() {allElements[6].style.visibility = "hidden";})},219{origCount:173, fun:(function anonymous() {allElements[11].style['float'] = "right";})},220{origCount:174, fun:(function anonymous() {allElements[8].style.height = "200%";})},221{origCount:175, fun:(function anonymous() {allElements[1].style.position = "relative";})},222{origCount:176, fun:(function anonymous() {allElements[11].style.width = "auto";})},223{origCount:177, fun:(function anonymous() {allElements[2].style.background = "#fcd";})},224{origCount:178, fun:(function anonymous() {allElements[6].style.position = "absolute";})},225{origCount:179, fun:(function anonymous() {allElements[3].style.position = "absolute";})},226{origCount:180, fun:(function anonymous() {allElements[12].style['float'] = "right";})},227{origCount:181, fun:(function anonymous() {allElements[11].style.background = "transparent";})},228{origCount:182, fun:(function anonymous() {allElements[6].style.height = "200%";})},229{origCount:183, fun:(function anonymous() {allElements[2].style['float'] = "none";})},230{origCount:184, fun:(function anonymous() {allElements[5].style.position = "absolute";})},231{origCount:185, fun:(function anonymous() {allElements[8].style.color = "blue";})},232{origCount:186, fun:(function anonymous() {allElements[2].style['float'] = "left";})},233{origCount:187, fun:(function anonymous() {allElements[6].style.height = "200%";})},234{origCount:188, fun:(function anonymous() {allElements[0].style.width = "20em";})},235{origCount:189, fun:(function anonymous() {allElements[1].style.display = "table-row-group";})},236{origCount:190, fun:(function anonymous() {allElements[3].style.visibility = "hidden";})},237{origCount:191, fun:(function anonymous() {allElements[11].style.width = "10%";})},238{origCount:192, fun:(function anonymous() {allElements[4].style.width = "200%";})},239{origCount:193, fun:(function anonymous() {allElements[0].style['float'] = "right";})},240{origCount:194, fun:(function anonymous() {allElements[5].style.background = "#fcd";})},241{origCount:195, fun:(function anonymous() {allElements[12].style.visibility = "hidden";})},242{origCount:196, fun:(function anonymous() {allElements[0].style.display = "table-column";})},243{origCount:197, fun:(function anonymous() {allElements[0].style.width = "auto";})},244{origCount:198, fun:(function anonymous() {allElements[4].style.color = "green";})},245{origCount:199, fun:(function anonymous() {allElements[6].style.clear = "none";})},246{origCount:200, fun:(function anonymous() {allElements[10].style.overflow = "hidden";})},247{origCount:201, fun:(function anonymous() {allElements[9].style.visibility = "collapse";})},248{origCount:202, fun:(function anonymous() {allElements[9].style.height = "100px";})},249{origCount:203, fun:(function anonymous() {allElements[1].style.width = "auto";})},250{origCount:204, fun:(function anonymous() {allElements[4].style.position = "fixed";})},251{origCount:205, fun:(function anonymous() {allElements[11].style['float'] = "none";})},252{origCount:206, fun:(function anonymous() {allElements[1].style.clear = "right";})},253{origCount:207, fun:(function anonymous() {allElements[5].style.display = "-moz-stack";})},254{origCount:208, fun:(function anonymous() {allElements[3].style.color = "black";})},255{origCount:209, fun:(function anonymous() {allElements[1].style.background = "transparent";})},256{origCount:210, fun:(function anonymous() {allElements[3].style['float'] = "left";})},257{origCount:211, fun:(function anonymous() {allElements[2].style.height = "2em";})},258{origCount:212, fun:(function anonymous() {allElements[4].style.width = "auto";})},259{origCount:213, fun:(function anonymous() {allElements[0].style['float'] = "none";})},260{origCount:214, fun:(function anonymous() {allElements[10].style.display = "table-caption";})},261{origCount:215, fun:(function anonymous() {allElements[0].style.overflow = "auto";})},262{origCount:216, fun:(function anonymous() {allElements[0].style.color = "green";})},263{origCount:217, fun:(function anonymous() {allElements[5].style.background = "#fcd";})},264{origCount:218, fun:(function anonymous() {allElements[5].style.visibility = "hidden";})},265{origCount:219, fun:(function anonymous() {allElements[7].style.width = "200%";})},266{origCount:220, fun:(function anonymous() {allElements[2].style.background = "transparent";})},267{origCount:221, fun:(function anonymous() {allElements[10].style.visibility = "hidden";})},268{origCount:222, fun:(function anonymous() {allElements[10].style['float'] = "right";})},269{origCount:223, fun:(function anonymous() {allElements[6].style.position = "absolute";})},270{origCount:224, fun:(function anonymous() {allElements[5].style.background = "transparent";})},271{origCount:225, fun:(function anonymous() {allElements[12].style.overflow = "hidden";})},272{origCount:226, fun:(function anonymous() {allElements[7].style.clear = "left";})},273{origCount:227, fun:(function anonymous() {allElements[7].style.height = "200%";})},274{origCount:228, fun:(function anonymous() {allElements[5].style.position = "absolute";})},275{origCount:229, fun:(function anonymous() {allElements[7].style['float'] = "none";})},276{origCount:230, fun:(function anonymous() {allElements[5].style.clear = "both";})},277{origCount:231, fun:(function anonymous() {allElements[4].style.clear = "left";})},278{origCount:232, fun:(function anonymous() {allElements[10].style.position = "fixed";})},279{origCount:233, fun:(function anonymous() {allElements[2].style.overflow = "scroll";})},280{origCount:234, fun:(function anonymous() {allElements[12].style.background = "#fcd";})},281{origCount:235, fun:(function anonymous() {allElements[6].style.color = "black";})},282{origCount:236, fun:(function anonymous() {allElements[3].style.position = "absolute";})},283{origCount:237, fun:(function anonymous() {allElements[8].style.color = "red";})},284{origCount:238, fun:(function anonymous() {allElements[12].style.background = "transparent";})},285{origCount:239, fun:(function anonymous() {allElements[10].style['float'] = "none";})},286{origCount:240, fun:(function anonymous() {allElements[6].style['float'] = "right";})},287{origCount:241, fun:(function anonymous() {allElements[5].style['float'] = "none";})},288{origCount:242, fun:(function anonymous() {allElements[0].style.color = "red";})},289{origCount:243, fun:(function anonymous() {allElements[10].style['float'] = "none";})},290{origCount:244, fun:(function anonymous() {allElements[1].style.width = "1px";})},291{origCount:245, fun:(function anonymous() {allElements[3].style.position = "fixed";})},292{origCount:246, fun:(function anonymous() {allElements[11].style.clear = "left";})},293{origCount:247, fun:(function anonymous() {allElements[2].style.position = "absolute";})},294{origCount:248, fun:(function anonymous() {allElements[9].style.background = "#fcd";})},295{origCount:249, fun:(function anonymous() {allElements[11].style.position = "relative";})},296{origCount:250, fun:(function anonymous() {allElements[1].style.height = "100px";})},297{origCount:251, fun:(function anonymous() {allElements[9].style.background = "transparent";})},298{origCount:252, fun:(function anonymous() {allElements[2].style.display = "block";})},299{origCount:253, fun:(function anonymous() {allElements[12].style.background = "#fcd";})},300{origCount:254, fun:(function anonymous() {allElements[4].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},301{origCount:255, fun:(function anonymous() {allElements[12].style.color = "black";})},302{origCount:256, fun:(function anonymous() {allElements[0].style.height = "auto";})},303{origCount:257, fun:(function anonymous() {allElements[0].style.height = "100px";})},304{origCount:258, fun:(function anonymous() {allElements[5].style.clear = "right";})},305{origCount:259, fun:(function anonymous() {allElements[7].style.height = "100px";})},306{origCount:260, fun:(function anonymous() {allElements[11].style.background = "transparent";})},307{origCount:261, fun:(function anonymous() {allElements[11].style.width = "20em";})},308{origCount:262, fun:(function anonymous() {allElements[10].style.width = "1px";})},309{origCount:263, fun:(function anonymous() {allElements[3].style.clear = "left";})},310{origCount:264, fun:(function anonymous() {allElements[7].style['float'] = "left";})},311{origCount:265, fun:(function anonymous() {allElements[1].style['float'] = "none";})},312{origCount:266, fun:(function anonymous() {allElements[4].style.overflow = "scroll";})},313{origCount:267, fun:(function anonymous() {allElements[9].style.height = "auto";})},314{origCount:268, fun:(function anonymous() {allElements[7].style.background = "transparent";})},315{origCount:269, fun:(function anonymous() {allElements[5].style.display = "table";})},316{origCount:270, fun:(function anonymous() {allElements[7].style.width = "200%";})},317{origCount:271, fun:(function anonymous() {allElements[7].style.clear = "left";})},318{origCount:272, fun:(function anonymous() {allElements[9].style.visibility = "hidden";})},319{origCount:273, fun:(function anonymous() {allElements[6].style.height = "10%";})},320{origCount:274, fun:(function anonymous() {allElements[3].style.position = "fixed";})},321{origCount:275, fun:(function anonymous() {allElements[6].style.display = "block";})},322{origCount:276, fun:(function anonymous() {allElements[7].style.overflow = "visible";})},323{origCount:277, fun:(function anonymous() {allElements[12].style['float'] = "none";})},324{origCount:278, fun:(function anonymous() {allElements[0].style['float'] = "none";})},325{origCount:279, fun:(function anonymous() {allElements[2].style.height = "10%";})},326{origCount:280, fun:(function anonymous() {allElements[11].style.clear = "right";})},327{origCount:281, fun:(function anonymous() {allElements[6].style.clear = "both";})},328{origCount:282, fun:(function anonymous() {allElements[6].style.display = "-moz-box";})},329{origCount:283, fun:(function anonymous() {allElements[3].style.height = "100px";})},330{origCount:284, fun:(function anonymous() {allElements[2].style.color = "blue";})},331{origCount:285, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},332{origCount:286, fun:(function anonymous() {allElements[4].style.background = "transparent";})},333{origCount:287, fun:(function anonymous() {allElements[5].style.height = "auto";})},334{origCount:288, fun:(function anonymous() {allElements[3].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},335{origCount:289, fun:(function anonymous() {allElements[5].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},336{origCount:290, fun:(function anonymous() {allElements[4].style.clear = "right";})},337{origCount:291, fun:(function anonymous() {allElements[3].style.overflow = "auto";})},338{origCount:292, fun:(function anonymous() {allElements[10].style.display = "-moz-stack";})},339{origCount:293, fun:(function anonymous() {allElements[2].style.color = "red";})},340{origCount:294, fun:(function anonymous() {allElements[0].style.display = "-moz-groupbox";})},341{origCount:295, fun:(function anonymous() {allElements[7].style.position = "fixed";})},342{origCount:296, fun:(function anonymous() {allElements[4].style.color = "green";})},343{origCount:297, fun:(function anonymous() {allElements[9].style.display = "-moz-box";})},344{origCount:298, fun:(function anonymous() {allElements[1].style.color = "green";})},345{origCount:299, fun:(function anonymous() {allElements[12].style.visibility = "hidden";})},346{origCount:300, fun:(function anonymous() {allElements[8].style.color = "red";})},347{origCount:301, fun:(function anonymous() {allElements[8].style['float'] = "left";})},348{origCount:302, fun:(function anonymous() {allElements[3].style.height = "2em";})},349{origCount:303, fun:(function anonymous() {allElements[1].style.width = "auto";})},350{origCount:304, fun:(function anonymous() {allElements[4].style.height = "10%";})},351{origCount:305, fun:(function anonymous() {allElements[8].style.width = "20em";})},352{origCount:306, fun:(function anonymous() {allElements[2].style.height = "2em";})},353{origCount:307, fun:(function anonymous() {allElements[7].style.color = "red";})},354{origCount:308, fun:(function anonymous() {allElements[2].style.display = "-moz-inline-box";})},355{origCount:309, fun:(function anonymous() {allElements[4].style.visibility = "visible";})},356{origCount:310, fun:(function anonymous() {allElements[7].style.display = "-moz-deck";})},357{origCount:311, fun:(function anonymous() {allElements[2].style.visibility = "hidden";})},358{origCount:312, fun:(function anonymous() {allElements[9].style.clear = "both";})},359{origCount:313, fun:(function anonymous() {allElements[6].style['float'] = "left";})},360{origCount:314, fun:(function anonymous() {allElements[12].style.position = "static";})},361{origCount:315, fun:(function anonymous() {allElements[6].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},362{origCount:316, fun:(function anonymous() {allElements[8].style.visibility = "visible";})},363{origCount:317, fun:(function anonymous() {allElements[8].style.background = "#fcd";})},364{origCount:318, fun:(function anonymous() {allElements[1].style.visibility = "collapse";})},365{origCount:319, fun:(function anonymous() {allElements[3].style.position = "static";})},366{origCount:320, fun:(function anonymous() {allElements[8].style.overflow = "hidden";})},367{origCount:321, fun:(function anonymous() {allElements[8].style.clear = "left";})},368{origCount:322, fun:(function anonymous() {allElements[8].style.position = "static";})},369{origCount:323, fun:(function anonymous() {allElements[1].style['float'] = "none";})},370{origCount:324, fun:(function anonymous() {allElements[5].style.visibility = "hidden";})},371{origCount:325, fun:(function anonymous() {allElements[12].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},372{origCount:326, fun:(function anonymous() {allElements[3].style.overflow = "visible";})},373{origCount:327, fun:(function anonymous() {allElements[8].style.visibility = "collapse";})},374{origCount:328, fun:(function anonymous() {allElements[7].style.position = "static";})},375{origCount:329, fun:(function anonymous() {allElements[5].style.visibility = "collapse";})},376{origCount:330, fun:(function anonymous() {allElements[8].style.visibility = "visible";})},377{origCount:331, fun:(function anonymous() {allElements[8].style.height = "auto";})},378{origCount:332, fun:(function anonymous() {allElements[10].style.overflow = "scroll";})},379{origCount:333, fun:(function anonymous() {allElements[7].style.overflow = "visible";})},380{origCount:334, fun:(function anonymous() {allElements[5].style.visibility = "visible";})},381{origCount:335, fun:(function anonymous() {allElements[8].style.position = "fixed";})},382{origCount:336, fun:(function anonymous() {allElements[10].style.display = "-moz-grid-line";})},383{origCount:337, fun:(function anonymous() {allElements[2].style['float'] = "left";})},384{origCount:338, fun:(function anonymous() {allElements[3].style.position = "absolute";})},385{origCount:339, fun:(function anonymous() {allElements[5].style.color = "green";})},386{origCount:340, fun:(function anonymous() {allElements[2].style.display = "-moz-groupbox";})},387{origCount:341, fun:(function anonymous() {allElements[10].style.overflow = "auto";})},388{origCount:342, fun:(function anonymous() {allElements[10].style['float'] = "left";})},389{origCount:343, fun:(function anonymous() {allElements[8].style.clear = "both";})},390{origCount:344, fun:(function anonymous() {allElements[8].style.clear = "right";})},391{origCount:345, fun:(function anonymous() {allElements[2].style.color = "blue";})},392{origCount:346, fun:(function anonymous() {allElements[10].style.height = "10%";})},393{origCount:347, fun:(function anonymous() {allElements[11].style.overflow = "hidden";})},394{origCount:348, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},395{origCount:349, fun:(function anonymous() {allElements[0].style['float'] = "left";})},396{origCount:350, fun:(function anonymous() {allElements[11].style.width = "10%";})},397{origCount:351, fun:(function anonymous() {allElements[11].style.overflow = "hidden";})},398{origCount:352, fun:(function anonymous() {allElements[5].style.color = "green";})},399{origCount:353, fun:(function anonymous() {allElements[11].style.position = "relative";})},400{origCount:354, fun:(function anonymous() {allElements[9].style.position = "static";})},401{origCount:355, fun:(function anonymous() {allElements[4].style.height = "10%";})},402{origCount:356, fun:(function anonymous() {allElements[1].style.position = "fixed";})},403{origCount:357, fun:(function anonymous() {allElements[6].style.position = "fixed";})},404{origCount:358, fun:(function anonymous() {allElements[12].style.display = "block";})},405{origCount:359, fun:(function anonymous() {allElements[10].style.display = "-moz-inline-block";})},406{origCount:360, fun:(function anonymous() {allElements[6].style.height = "100px";})},407{origCount:361, fun:(function anonymous() {allElements[6].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},408{origCount:362, fun:(function anonymous() {allElements[2].style['float'] = "right";})},409{origCount:363, fun:(function anonymous() {allElements[0].style.display = "-moz-grid-group";})},410{origCount:364, fun:(function anonymous() {allElements[4].style.background = "#fcd";})},411{origCount:365, fun:(function anonymous() {allElements[8].style['float'] = "none";})},412{origCount:366, fun:(function anonymous() {allElements[3].style.position = "relative";})},413{origCount:367, fun:(function anonymous() {allElements[8].style.position = "static";})},414{origCount:368, fun:(function anonymous() {allElements[3].style.position = "relative";})},415{origCount:369, fun:(function anonymous() {allElements[5].style.width = "auto";})},416{origCount:370, fun:(function anonymous() {allElements[8].style.clear = "none";})},417{origCount:371, fun:(function anonymous() {allElements[4].style.color = "red";})},418{origCount:372, fun:(function anonymous() {allElements[11].style.width = "auto";})},419{origCount:373, fun:(function anonymous() {allElements[9].style['float'] = "right";})},420{origCount:374, fun:(function anonymous() {allElements[2].style.width = "20em";})},421{origCount:375, fun:(function anonymous() {allElements[10].style.position = "relative";})},422{origCount:376, fun:(function anonymous() {allElements[12].style.position = "relative";})},423{origCount:377, fun:(function anonymous() {allElements[0].style.display = "-moz-grid";})},424{origCount:378, fun:(function anonymous() {allElements[5].style.clear = "left";})},425{origCount:379, fun:(function anonymous() {allElements[8].style.color = "green";})},426{origCount:380, fun:(function anonymous() {allElements[0].style.clear = "both";})},427{origCount:381, fun:(function anonymous() {allElements[0].style['float'] = "left";})},428{origCount:382, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},429{origCount:383, fun:(function anonymous() {allElements[7].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},430{origCount:384, fun:(function anonymous() {allElements[12].style.visibility = "hidden";})},431{origCount:385, fun:(function anonymous() {allElements[7].style['float'] = "right";})},432{origCount:386, fun:(function anonymous() {allElements[11].style.display = "table-row";})},433{origCount:387, fun:(function anonymous() {allElements[3].style.position = "absolute";})},434{origCount:388, fun:(function anonymous() {allElements[2].style.height = "200%";})},435{origCount:389, fun:(function anonymous() {allElements[1].style.clear = "none";})},436{origCount:390, fun:(function anonymous() {allElements[4].style.position = "static";})},437{origCount:391, fun:(function anonymous() {allElements[4].style.position = "relative";})},438{origCount:392, fun:(function anonymous() {allElements[7].style.position = "fixed";})},439{origCount:393, fun:(function anonymous() {allElements[4].style.background = "transparent";})},440{origCount:394, fun:(function anonymous() {allElements[2].style.height = "200%";})},441{origCount:395, fun:(function anonymous() {allElements[6].style.position = "relative";})},442{origCount:396, fun:(function anonymous() {allElements[8].style.overflow = "auto";})},443{origCount:397, fun:(function anonymous() {allElements[0].style.background = "transparent";})},444{origCount:398, fun:(function anonymous() {allElements[2].style.position = "static";})},445{origCount:399, fun:(function anonymous() {allElements[4].style['float'] = "none";})},446{origCount:400, fun:(function anonymous() {allElements[1].style.height = "200%";})},447{origCount:401, fun:(function anonymous() {allElements[10].style.color = "green";})},448{origCount:402, fun:(function anonymous() {allElements[11].style.overflow = "hidden";})},449{origCount:403, fun:(function anonymous() {allElements[8].style.height = "200%";})},450{origCount:404, fun:(function anonymous() {allElements[9].style.visibility = "hidden";})},451{origCount:405, fun:(function anonymous() {allElements[4].style.display = "block";})},452{origCount:406, fun:(function anonymous() {allElements[12].style.height = "200%";})},453{origCount:407, fun:(function anonymous() {allElements[0].style.width = "auto";})},454{origCount:408, fun:(function anonymous() {allElements[0].style.position = "static";})},455{origCount:409, fun:(function anonymous() {allElements[2].style['float'] = "right";})},456{origCount:410, fun:(function anonymous() {allElements[1].style.display = "-moz-grid-group";})},457{origCount:411, fun:(function anonymous() {allElements[2].style.visibility = "hidden";})},458{origCount:412, fun:(function anonymous() {allElements[9].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},459{origCount:413, fun:(function anonymous() {allElements[2].style.width = "auto";})},460{origCount:414, fun:(function anonymous() {allElements[0].style.display = "-moz-inline-box";})},461{origCount:415, fun:(function anonymous() {allElements[9].style.clear = "none";})},462{origCount:416, fun:(function anonymous() {allElements[6].style['float'] = "none";})},463{origCount:417, fun:(function anonymous() {allElements[12].style.visibility = "hidden";})},464{origCount:418, fun:(function anonymous() {allElements[5].style.position = "absolute";})},465{origCount:419, fun:(function anonymous() {allElements[3].style.width = "1px";})},466{origCount:420, fun:(function anonymous() {allElements[0].style.height = "2em";})},467{origCount:421, fun:(function anonymous() {allElements[0].style['float'] = "right";})},468{origCount:422, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},469{origCount:423, fun:(function anonymous() {allElements[8].style.display = "-moz-inline-box";})},470{origCount:424, fun:(function anonymous() {allElements[12].style.clear = "none";})},471{origCount:425, fun:(function anonymous() {allElements[3].style.background = "transparent";})},472{origCount:426, fun:(function anonymous() {allElements[12].style.overflow = "scroll";})},473{origCount:427, fun:(function anonymous() {allElements[4].style.height = "200%";})},474{origCount:428, fun:(function anonymous() {allElements[12].style.visibility = "collapse";})},475{origCount:429, fun:(function anonymous() {allElements[2].style.clear = "right";})},476{origCount:430, fun:(function anonymous() {allElements[6].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},477{origCount:431, fun:(function anonymous() {allElements[2].style.color = "blue";})},478{origCount:432, fun:(function anonymous() {allElements[9].style.clear = "right";})},479{origCount:433, fun:(function anonymous() {allElements[7].style.background = "transparent";})},480{origCount:434, fun:(function anonymous() {allElements[1].style.width = "10%";})},481{origCount:435, fun:(function anonymous() {allElements[9].style.width = "10%";})},482{origCount:436, fun:(function anonymous() {allElements[11].style.display = "table-column-group";})},483{origCount:437, fun:(function anonymous() {allElements[0].style.visibility = "visible";})},484{origCount:438, fun:(function anonymous() {allElements[6].style.color = "black";})},485{origCount:439, fun:(function anonymous() {allElements[9].style.position = "relative";})},486{origCount:440, fun:(function anonymous() {allElements[1].style.visibility = "hidden";})},487{origCount:441, fun:(function anonymous() {allElements[2].style.overflow = "hidden";})},488{origCount:442, fun:(function anonymous() {allElements[3].style.color = "black";})},489{origCount:443, fun:(function anonymous() {allElements[9].style.height = "200%";})},490{origCount:444, fun:(function anonymous() {allElements[1].style.height = "200%";})},491{origCount:445, fun:(function anonymous() {allElements[9].style['float'] = "right";})},492{origCount:446, fun:(function anonymous() {allElements[1].style.color = "green";})},493{origCount:447, fun:(function anonymous() {allElements[6].style.clear = "left";})},494{origCount:448, fun:(function anonymous() {allElements[6].style.height = "2em";})},495{origCount:449, fun:(function anonymous() {allElements[5].style.overflow = "visible";})},496{origCount:450, fun:(function anonymous() {allElements[8].style.visibility = "collapse";})},497{origCount:451, fun:(function anonymous() {allElements[9].style.color = "blue";})},498{origCount:452, fun:(function anonymous() {allElements[12].style.height = "200%";})},499{origCount:453, fun:(function anonymous() {allElements[10].style.color = "red";})},500{origCount:454, fun:(function anonymous() {allElements[8].style.display = "table-cell";})},501{origCount:455, fun:(function anonymous() {allElements[12].style['float'] = "right";})},502{origCount:456, fun:(function anonymous() {allElements[2].style.overflow = "auto";})},503{origCount:457, fun:(function anonymous() {allElements[7].style['float'] = "none";})},504{origCount:458, fun:(function anonymous() {allElements[9].style.clear = "left";})},505{origCount:459, fun:(function anonymous() {allElements[12].style.clear = "right";})},506{origCount:460, fun:(function anonymous() {allElements[9].style.position = "absolute";})},507{origCount:461, fun:(function anonymous() {allElements[6].style.position = "fixed";})},508{origCount:462, fun:(function anonymous() {allElements[7].style.color = "blue";})},509{origCount:463, fun:(function anonymous() {allElements[5].style.position = "absolute";})},510{origCount:464, fun:(function anonymous() {allElements[5].style.display = "-moz-popup";})},511{origCount:465, fun:(function anonymous() {allElements[1].style.position = "static";})},512{origCount:466, fun:(function anonymous() {allElements[9].style.position = "absolute";})},513{origCount:467, fun:(function anonymous() {allElements[11].style.background = "transparent";})},514{origCount:468, fun:(function anonymous() {allElements[11].style.background = "#fcd";})},515{origCount:469, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},516{origCount:470, fun:(function anonymous() {allElements[0].style.display = "table-row";})},517{origCount:471, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},518{origCount:472, fun:(function anonymous() {allElements[8].style.position = "fixed";})},519{origCount:473, fun:(function anonymous() {allElements[2].style['float'] = "left";})},520{origCount:474, fun:(function anonymous() {allElements[1].style.color = "red";})},521{origCount:475, fun:(function anonymous() {allElements[9].style.height = "2em";})},522{origCount:476, fun:(function anonymous() {allElements[7].style.display = "-moz-grid";})},523{origCount:477, fun:(function anonymous() {allElements[0].style.height = "2em";})},524{origCount:478, fun:(function anonymous() {allElements[6].style.position = "absolute";})},525{origCount:479, fun:(function anonymous() {allElements[5].style.clear = "none";})},526{origCount:480, fun:(function anonymous() {allElements[3].style.overflow = "hidden";})},527{origCount:481, fun:(function anonymous() {allElements[3].style['float'] = "none";})},528{origCount:482, fun:(function anonymous() {allElements[0].style['float'] = "none";})},529{origCount:483, fun:(function anonymous() {allElements[11].style.height = "100px";})},530{origCount:484, fun:(function anonymous() {allElements[3].style.display = "-moz-inline-grid";})},531{origCount:485, fun:(function anonymous() {allElements[7].style.display = "block";})},532{origCount:486, fun:(function anonymous() {allElements[3].style.visibility = "visible";})},533{origCount:487, fun:(function anonymous() {allElements[9].style.clear = "left";})},534{origCount:488, fun:(function anonymous() {allElements[5].style.width = "200%";})},535{origCount:489, fun:(function anonymous() {allElements[8].style['float'] = "right";})},536{origCount:490, fun:(function anonymous() {allElements[12].style.height = "100px";})},537{origCount:491, fun:(function anonymous() {allElements[8].style.display = "-moz-deck";})},538{origCount:492, fun:(function anonymous() {allElements[3].style.clear = "right";})},539{origCount:493, fun:(function anonymous() {allElements[1].style['float'] = "none";})},540{origCount:494, fun:(function anonymous() {allElements[8].style.overflow = "visible";})},541{origCount:495, fun:(function anonymous() {allElements[4].style.height = "10%";})},542{origCount:496, fun:(function anonymous() {allElements[7].style.color = "red";})},543{origCount:497, fun:(function anonymous() {allElements[8].style.clear = "right";})},544{origCount:498, fun:(function anonymous() {allElements[2].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},545{origCount:499, fun:(function anonymous() {allElements[5].style.height = "100px";})},546{origCount:500, fun:(function anonymous() {allElements[11].style.clear = "none";})},547{origCount:501, fun:(function anonymous() {allElements[12].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},548{origCount:502, fun:(function anonymous() {allElements[0].style.display = "-moz-grid";})},549{origCount:503, fun:(function anonymous() {allElements[7].style.height = "100px";})},550{origCount:504, fun:(function anonymous() {allElements[12].style.visibility = "visible";})},551{origCount:505, fun:(function anonymous() {allElements[8].style.background = "#fcd";})},552{origCount:506, fun:(function anonymous() {allElements[0].style.color = "black";})},553{origCount:507, fun:(function anonymous() {allElements[6].style.overflow = "hidden";})},554{origCount:508, fun:(function anonymous() {allElements[6].style.background = "transparent";})},555{origCount:509, fun:(function anonymous() {allElements[5].style.color = "black";})},556{origCount:510, fun:(function anonymous() {allElements[9].style.background = "transparent";})},557{origCount:511, fun:(function anonymous() {allElements[10].style.position = "fixed";})},558{origCount:512, fun:(function anonymous() {allElements[0].style.clear = "right";})},559{origCount:513, fun:(function anonymous() {allElements[11].style.display = "table-caption";})},560{origCount:514, fun:(function anonymous() {allElements[10].style.clear = "right";})},561{origCount:515, fun:(function anonymous() {allElements[1].style.visibility = "hidden";})},562{origCount:516, fun:(function anonymous() {allElements[4].style.clear = "left";})},563{origCount:517, fun:(function anonymous() {allElements[10].style['float'] = "none";})},564{origCount:518, fun:(function anonymous() {allElements[12].style.overflow = "scroll";})},565{origCount:519, fun:(function anonymous() {allElements[3].style.width = "1px";})},566{origCount:520, fun:(function anonymous() {allElements[0].style.position = "fixed";})},567{origCount:521, fun:(function anonymous() {allElements[10].style.height = "200%";})},568{origCount:522, fun:(function anonymous() {allElements[11].style.position = "relative";})},569{origCount:523, fun:(function anonymous() {allElements[10].style.color = "black";})},570{origCount:524, fun:(function anonymous() {allElements[11].style.background = "transparent";})},571{origCount:525, fun:(function anonymous() {allElements[6].style.visibility = "collapse";})},572{origCount:526, fun:(function anonymous() {allElements[3].style.background = "transparent";})},573{origCount:527, fun:(function anonymous() {allElements[4].style.visibility = "visible";})},574{origCount:528, fun:(function anonymous() {allElements[5].style.background = "transparent";})},575{origCount:529, fun:(function anonymous() {allElements[8].style['float'] = "none";})},576{origCount:530, fun:(function anonymous() {allElements[8].style.height = "auto";})},577{origCount:531, fun:(function anonymous() {allElements[9].style.background = "#fcd";})},578{origCount:532, fun:(function anonymous() {allElements[4].style.height = "auto";})},579{origCount:533, fun:(function anonymous() {allElements[11].style.background = "#fcd";})},580{origCount:534, fun:(function anonymous() {allElements[10].style.width = "20em";})},581{origCount:535, fun:(function anonymous() {allElements[6].style.position = "fixed";})},582{origCount:536, fun:(function anonymous() {allElements[4].style['float'] = "left";})},583{origCount:537, fun:(function anonymous() {allElements[10].style.clear = "none";})},584{origCount:538, fun:(function anonymous() {allElements[4].style.height = "auto";})},585{origCount:539, fun:(function anonymous() {allElements[3].style.clear = "right";})},586{origCount:540, fun:(function anonymous() {allElements[1].style.width = "200%";})},587{origCount:541, fun:(function anonymous() {allElements[2].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},588{origCount:542, fun:(function anonymous() {allElements[12].style.clear = "left";})},589{origCount:543, fun:(function anonymous() {allElements[10].style.visibility = "hidden";})},590{origCount:544, fun:(function anonymous() {allElements[3].style.height = "auto";})},591{origCount:545, fun:(function anonymous() {allElements[7].style.visibility = "collapse";})},592{origCount:546, fun:(function anonymous() {allElements[4].style.width = "auto";})},593{origCount:547, fun:(function anonymous() {allElements[10].style.height = "auto";})},594{origCount:548, fun:(function anonymous() {allElements[6].style['float'] = "none";})},595{origCount:549, fun:(function anonymous() {allElements[10].style.overflow = "auto";})},596{origCount:550, fun:(function anonymous() {allElements[1].style.height = "auto";})},597{origCount:551, fun:(function anonymous() {allElements[11].style.overflow = "hidden";})},598{origCount:552, fun:(function anonymous() {allElements[6].style.background = "transparent";})},599{origCount:553, fun:(function anonymous() {allElements[4].style['float'] = "left";})},600{origCount:554, fun:(function anonymous() {allElements[12].style.height = "200%";})},601{origCount:555, fun:(function anonymous() {allElements[8].style.color = "green";})},602{origCount:556, fun:(function anonymous() {allElements[10].style.background = "#fcd";})},603{origCount:557, fun:(function anonymous() {allElements[0].style.overflow = "hidden";})},604{origCount:558, fun:(function anonymous() {allElements[6].style.overflow = "hidden";})},605{origCount:559, fun:(function anonymous() {allElements[10].style.clear = "right";})},606{origCount:560, fun:(function anonymous() {allElements[3].style.background = "transparent";})},607{origCount:561, fun:(function anonymous() {allElements[5].style.color = "green";})},608{origCount:562, fun:(function anonymous() {allElements[6].style.position = "static";})},609{origCount:563, fun:(function anonymous() {allElements[1].style.overflow = "hidden";})},610{origCount:564, fun:(function anonymous() {allElements[6].style.display = "inline";})},611{origCount:565, fun:(function anonymous() {allElements[2].style['float'] = "left";})},612{origCount:566, fun:(function anonymous() {allElements[7].style.visibility = "visible";})},613{origCount:567, fun:(function anonymous() {allElements[1].style.color = "blue";})},614{origCount:568, fun:(function anonymous() {allElements[1].style.clear = "both";})},615{origCount:569, fun:(function anonymous() {allElements[0].style.position = "relative";})},616{origCount:570, fun:(function anonymous() {allElements[5].style.height = "100px";})},617{origCount:571, fun:(function anonymous() {allElements[6].style.height = "auto";})},618{origCount:572, fun:(function anonymous() {allElements[10].style['float'] = "left";})},619{origCount:573, fun:(function anonymous() {allElements[8].style.position = "absolute";})},620{origCount:574, fun:(function anonymous() {allElements[7].style.background = "#fcd";})},621{origCount:575, fun:(function anonymous() {allElements[12].style.display = "-moz-popup";})},622{origCount:576, fun:(function anonymous() {allElements[2].style.position = "absolute";})},623{origCount:577, fun:(function anonymous() {allElements[9].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},624{origCount:578, fun:(function anonymous() {allElements[11].style.overflow = "visible";})},625{origCount:579, fun:(function anonymous() {allElements[2].style.display = "-moz-inline-grid";})},626{origCount:580, fun:(function anonymous() {allElements[0].style.display = "-moz-popup";})},627{origCount:581, fun:(function anonymous() {allElements[10].style['float'] = "right";})},628{origCount:582, fun:(function anonymous() {allElements[12].style.height = "10%";})},629{origCount:583, fun:(function anonymous() {allElements[10].style.position = "static";})},630{origCount:584, fun:(function anonymous() {allElements[12].style.height = "200%";})},631{origCount:585, fun:(function anonymous() {allElements[8].style.height = "auto";})},632{origCount:586, fun:(function anonymous() {allElements[4].style.color = "green";})},633{origCount:587, fun:(function anonymous() {allElements[7].style.color = "red";})},634{origCount:588, fun:(function anonymous() {allElements[7].style.visibility = "collapse";})},635{origCount:589, fun:(function anonymous() {allElements[11].style['float'] = "left";})},636{origCount:590, fun:(function anonymous() {allElements[11].style.visibility = "hidden";})},637{origCount:591, fun:(function anonymous() {allElements[12].style.overflow = "visible";})},638{origCount:592, fun:(function anonymous() {allElements[8].style['float'] = "none";})},639{origCount:593, fun:(function anonymous() {allElements[2].style.display = "table-cell";})},640{origCount:594, fun:(function anonymous() {allElements[1].style.color = "black";})},641{origCount:595, fun:(function anonymous() {allElements[11].style.color = "green";})},642{origCount:596, fun:(function anonymous() {allElements[9].style.color = "red";})},643{origCount:597, fun:(function anonymous() {allElements[3].style['float'] = "none";})},644{origCount:598, fun:(function anonymous() {allElements[10].style.display = "inline";})},645{origCount:599, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},646{origCount:600, fun:(function anonymous() {allElements[7].style.width = "10%";})},647{origCount:601, fun:(function anonymous() {allElements[9].style['float'] = "left";})},648{origCount:602, fun:(function anonymous() {allElements[6].style.width = "10%";})},649{origCount:603, fun:(function anonymous() {allElements[5].style.position = "absolute";})},650{origCount:604, fun:(function anonymous() {allElements[11].style.position = "static";})},651{origCount:605, fun:(function anonymous() {allElements[3].style.clear = "none";})},652{origCount:606, fun:(function anonymous() {allElements[0].style['float'] = "right";})},653{origCount:607, fun:(function anonymous() {allElements[6].style.position = "static";})},654{origCount:608, fun:(function anonymous() {allElements[3].style.height = "2em";})},655{origCount:609, fun:(function anonymous() {allElements[7].style.width = "20em";})},656{origCount:610, fun:(function anonymous() {allElements[11].style.overflow = "scroll";})},657{origCount:611, fun:(function anonymous() {allElements[8].style.position = "relative";})},658{origCount:612, fun:(function anonymous() {allElements[4].style['float'] = "left";})},659{origCount:613, fun:(function anonymous() {allElements[3].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},660{origCount:614, fun:(function anonymous() {allElements[11].style.height = "auto";})},661{origCount:615, fun:(function anonymous() {allElements[7].style['float'] = "right";})},662{origCount:616, fun:(function anonymous() {allElements[10].style.overflow = "scroll";})},663{origCount:617, fun:(function anonymous() {allElements[0].style.color = "green";})},664{origCount:618, fun:(function anonymous() {allElements[7].style['float'] = "none";})},665{origCount:619, fun:(function anonymous() {allElements[11].style.height = "10%";})},666{origCount:620, fun:(function anonymous() {allElements[4].style.height = "200%";})},667{origCount:621, fun:(function anonymous() {allElements[6].style.display = "-moz-popup";})},668{origCount:622, fun:(function anonymous() {allElements[8].style.position = "relative";})},669{origCount:623, fun:(function anonymous() {allElements[3].style.width = "1px";})},670{origCount:624, fun:(function anonymous() {allElements[8].style.height = "auto";})},671{origCount:625, fun:(function anonymous() {allElements[5].style['float'] = "right";})},672{origCount:626, fun:(function anonymous() {allElements[10].style.background = "transparent";})},673{origCount:627, fun:(function anonymous() {allElements[4].style.visibility = "visible";})},674{origCount:628, fun:(function anonymous() {allElements[5].style.display = "list-item";})},675{origCount:629, fun:(function anonymous() {allElements[5].style.height = "100px";})},676{origCount:630, fun:(function anonymous() {allElements[9].style.background = "transparent";})},677{origCount:631, fun:(function anonymous() {allElements[11].style.clear = "both";})},678{origCount:632, fun:(function anonymous() {allElements[2].style.overflow = "visible";})},679{origCount:633, fun:(function anonymous() {allElements[1].style.visibility = "hidden";})},680{origCount:634, fun:(function anonymous() {allElements[1].style['float'] = "none";})},681{origCount:635, fun:(function anonymous() {allElements[6].style.height = "2em";})},682{origCount:636, fun:(function anonymous() {allElements[9].style.position = "relative";})},683{origCount:637, fun:(function anonymous() {allElements[3].style.clear = "left";})},684{origCount:638, fun:(function anonymous() {allElements[6].style.display = "table-header-group";})},685{origCount:639, fun:(function anonymous() {allElements[10].style.display = "-moz-box";})},686{origCount:640, fun:(function anonymous() {allElements[8].style.color = "blue";})},687{origCount:641, fun:(function anonymous() {allElements[6].style.width = "200%";})},688{origCount:642, fun:(function anonymous() {allElements[8].style['float'] = "none";})},689{origCount:643, fun:(function anonymous() {allElements[7].style.height = "10%";})},690{origCount:644, fun:(function anonymous() {allElements[8].style.width = "1px";})},691{origCount:645, fun:(function anonymous() {allElements[5].style.clear = "right";})},692{origCount:646, fun:(function anonymous() {allElements[2].style.display = "table-row-group";})},693{origCount:647, fun:(function anonymous() {allElements[4].style.color = "blue";})},694{origCount:648, fun:(function anonymous() {allElements[5].style.color = "red";})},695{origCount:649, fun:(function anonymous() {allElements[10].style.background = "transparent";})},696{origCount:650, fun:(function anonymous() {allElements[10].style.visibility = "visible";})},697{origCount:651, fun:(function anonymous() {allElements[12].style.height = "auto";})},698{origCount:652, fun:(function anonymous() {allElements[7].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},699{origCount:653, fun:(function anonymous() {allElements[2].style.visibility = "visible";})},700{origCount:654, fun:(function anonymous() {allElements[2].style.clear = "none";})},701{origCount:655, fun:(function anonymous() {allElements[11].style.position = "relative";})},702{origCount:656, fun:(function anonymous() {allElements[10].style.width = "200%";})},703{origCount:657, fun:(function anonymous() {allElements[4].style.overflow = "scroll";})},704{origCount:658, fun:(function anonymous() {allElements[12].style.clear = "none";})},705{origCount:659, fun:(function anonymous() {allElements[12].style['float'] = "none";})},706{origCount:660, fun:(function anonymous() {allElements[10].style.overflow = "scroll";})},707{origCount:661, fun:(function anonymous() {allElements[12].style.clear = "left";})},708{origCount:662, fun:(function anonymous() {allElements[10].style.clear = "right";})},709{origCount:663, fun:(function anonymous() {allElements[9].style.clear = "none";})},710{origCount:664, fun:(function anonymous() {allElements[2].style.overflow = "hidden";})},711{origCount:665, fun:(function anonymous() {allElements[7].style.overflow = "visible";})},712{origCount:666, fun:(function anonymous() {allElements[4].style.width = "1px";})},713{origCount:667, fun:(function anonymous() {allElements[11].style.color = "blue";})},714{origCount:668, fun:(function anonymous() {allElements[8].style.position = "relative";})},715{origCount:669, fun:(function anonymous() {allElements[12].style.color = "black";})},716{origCount:670, fun:(function anonymous() {allElements[4].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},717{origCount:671, fun:(function anonymous() {allElements[2].style['float'] = "right";})},718{origCount:672, fun:(function anonymous() {allElements[10].style['float'] = "left";})},719{origCount:673, fun:(function anonymous() {allElements[10].style.clear = "right";})},720{origCount:674, fun:(function anonymous() {allElements[5].style.color = "black";})},721{origCount:675, fun:(function anonymous() {allElements[2].style.clear = "right";})},722{origCount:676, fun:(function anonymous() {allElements[5].style.height = "200%";})},723{origCount:677, fun:(function anonymous() {allElements[8].style.position = "absolute";})},724{origCount:678, fun:(function anonymous() {allElements[3].style.clear = "none";})},725{origCount:679, fun:(function anonymous() {allElements[7].style.position = "relative";})},726{origCount:680, fun:(function anonymous() {allElements[1].style.background = "transparent";})},727{origCount:681, fun:(function anonymous() {allElements[3].style.position = "static";})},728{origCount:682, fun:(function anonymous() {allElements[5].style['float'] = "left";})},729{origCount:683, fun:(function anonymous() {allElements[0].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},730{origCount:684, fun:(function anonymous() {allElements[7].style.display = "-moz-grid-line";})},731{origCount:685, fun:(function anonymous() {allElements[3].style.background = "transparent";})},732{origCount:686, fun:(function anonymous() {allElements[9].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},733{origCount:687, fun:(function anonymous() {allElements[3].style.background = "#fcd";})},734{origCount:688, fun:(function anonymous() {allElements[4].style['float'] = "left";})},735{origCount:689, fun:(function anonymous() {allElements[5].style['float'] = "none";})},736{origCount:690, fun:(function anonymous() {allElements[10].style.display = "table-cell";})},737{origCount:691, fun:(function anonymous() {allElements[12].style.height = "200%";})},738{origCount:692, fun:(function anonymous() {allElements[3].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},739{origCount:693, fun:(function anonymous() {allElements[3].style.height = "200%";})},740{origCount:694, fun:(function anonymous() {allElements[2].style.height = "2em";})},741{origCount:695, fun:(function anonymous() {allElements[8].style.clear = "both";})},742{origCount:696, fun:(function anonymous() {allElements[11].style.clear = "none";})},743{origCount:697, fun:(function anonymous() {allElements[6].style.clear = "right";})},744{origCount:698, fun:(function anonymous() {allElements[9].style.color = "red";})},745{origCount:699, fun:(function anonymous() {allElements[1].style['float'] = "left";})},746{origCount:700, fun:(function anonymous() {allElements[12].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},747{origCount:701, fun:(function anonymous() {allElements[10].style.display = "-moz-deck";})},748{origCount:702, fun:(function anonymous() {allElements[12].style.height = "auto";})},749{origCount:703, fun:(function anonymous() {allElements[12].style.clear = "none";})},750{origCount:704, fun:(function anonymous() {allElements[1].style.visibility = "hidden";})},751{origCount:705, fun:(function anonymous() {allElements[11].style['float'] = "right";})},752{origCount:706, fun:(function anonymous() {allElements[8].style.overflow = "hidden";})},753{origCount:707, fun:(function anonymous() {allElements[11].style.display = "-moz-grid-group";})},754{origCount:708, fun:(function anonymous() {allElements[12].style.color = "black";})},755{origCount:709, fun:(function anonymous() {allElements[4].style.clear = "right";})},756{origCount:710, fun:(function anonymous() {allElements[4].style['float'] = "right";})},757{origCount:711, fun:(function anonymous() {allElements[7].style.height = "auto";})},758{origCount:712, fun:(function anonymous() {allElements[2].style.clear = "left";})},759{origCount:713, fun:(function anonymous() {allElements[11].style.clear = "right";})},760{origCount:714, fun:(function anonymous() {allElements[11].style.display = "table-header-group";})},761{origCount:715, fun:(function anonymous() {allElements[8].style.height = "2em";})},762{origCount:716, fun:(function anonymous() {allElements[7].style.color = "green";})},763{origCount:717, fun:(function anonymous() {allElements[1].style.width = "auto";})},764{origCount:718, fun:(function anonymous() {allElements[9].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},765{origCount:719, fun:(function anonymous() {allElements[10].style.height = "2em";})},766{origCount:720, fun:(function anonymous() {allElements[8].style.width = "auto";})},767{origCount:721, fun:(function anonymous() {allElements[10].style.background = "#fcd";})},768{origCount:722, fun:(function anonymous() {allElements[9].style.display = "table-row-group";})},769{origCount:723, fun:(function anonymous() {allElements[8].style.overflow = "scroll";})},770{origCount:724, fun:(function anonymous() {allElements[2].style.display = "table-caption";})},771{origCount:725, fun:(function anonymous() {allElements[7].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},772{origCount:726, fun:(function anonymous() {allElements[5].style.visibility = "collapse";})},773{origCount:727, fun:(function anonymous() {allElements[12].style.position = "absolute";})},774{origCount:728, fun:(function anonymous() {allElements[9].style.color = "red";})},775{origCount:729, fun:(function anonymous() {allElements[1].style.display = "table-row";})},776{origCount:730, fun:(function anonymous() {allElements[6].style.color = "black";})},777{origCount:731, fun:(function anonymous() {allElements[4].style.visibility = "visible";})},778{origCount:732, fun:(function anonymous() {allElements[0].style.color = "black";})},779{origCount:733, fun:(function anonymous() {allElements[0].style.clear = "both";})},780{origCount:734, fun:(function anonymous() {allElements[8].style['float'] = "none";})},781{origCount:735, fun:(function anonymous() {allElements[5].style.width = "20em";})},782{origCount:736, fun:(function anonymous() {allElements[9].style['float'] = "left";})},783{origCount:737, fun:(function anonymous() {allElements[12].style.height = "10%";})},784{origCount:738, fun:(function anonymous() {allElements[7].style.height = "10%";})},785{origCount:739, fun:(function anonymous() {allElements[12].style.color = "black";})},786{origCount:740, fun:(function anonymous() {allElements[7].style.visibility = "hidden";})},787{origCount:741, fun:(function anonymous() {allElements[9].style.visibility = "collapse";})},788{origCount:742, fun:(function anonymous() {allElements[11].style.display = "-moz-inline-grid";})},789{origCount:743, fun:(function anonymous() {allElements[7].style.position = "static";})},790{origCount:744, fun:(function anonymous() {allElements[0].style.display = "-moz-box";})},791{origCount:745, fun:(function anonymous() {allElements[11].style.clear = "both";})},792{origCount:746, fun:(function anonymous() {allElements[4].style.position = "fixed";})},793{origCount:747, fun:(function anonymous() {allElements[11].style.background = "#fcd";})},794{origCount:748, fun:(function anonymous() {allElements[0].style.position = "fixed";})},795{origCount:749, fun:(function anonymous() {allElements[0].style.width = "1px";})},796{origCount:750, fun:(function anonymous() {allElements[6].style.visibility = "hidden";})},797{origCount:751, fun:(function anonymous() {allElements[8].style.position = "absolute";})},798{origCount:752, fun:(function anonymous() {allElements[0].style.color = "green";})},799{origCount:753, fun:(function anonymous() {allElements[0].style.clear = "both";})},800{origCount:754, fun:(function anonymous() {allElements[0].style.overflow = "auto";})},801{origCount:755, fun:(function anonymous() {allElements[6].style.clear = "left";})},802{origCount:756, fun:(function anonymous() {allElements[10].style.position = "static";})},803{origCount:757, fun:(function anonymous() {allElements[4].style.background = "#fcd";})},804{origCount:758, fun:(function anonymous() {allElements[8].style.color = "black";})},805{origCount:759, fun:(function anonymous() {allElements[0].style.position = "relative";})},806{origCount:760, fun:(function anonymous() {allElements[12].style.overflow = "auto";})},807{origCount:761, fun:(function anonymous() {allElements[10].style.visibility = "hidden";})},808{origCount:762, fun:(function anonymous() {allElements[0].style.visibility = "collapse";})},809{origCount:763, fun:(function anonymous() {allElements[12].style.height = "100px";})},810{origCount:764, fun:(function anonymous() {allElements[2].style.overflow = "visible";})},811{origCount:765, fun:(function anonymous() {allElements[12].style.overflow = "auto";})},812{origCount:766, fun:(function anonymous() {allElements[10].style.position = "fixed";})},813{origCount:767, fun:(function anonymous() {allElements[0].style.overflow = "hidden";})},814{origCount:768, fun:(function anonymous() {allElements[1].style.display = "table-cell";})},815{origCount:769, fun:(function anonymous() {allElements[7].style.clear = "both";})},816{origCount:770, fun:(function anonymous() {allElements[8].style.position = "relative";})},817{origCount:771, fun:(function anonymous() {allElements[10].style.color = "red";})},818{origCount:772, fun:(function anonymous() {allElements[6].style.display = "-moz-inline-box";})},819{origCount:773, fun:(function anonymous() {allElements[2].style.overflow = "hidden";})},820{origCount:774, fun:(function anonymous() {allElements[2].style['float'] = "none";})},821{origCount:775, fun:(function anonymous() {allElements[0].style.clear = "left";})},822{origCount:776, fun:(function anonymous() {allElements[12].style.display = "table-cell";})},823{origCount:777, fun:(function anonymous() {allElements[7].style.background = "transparent";})},824{origCount:778, fun:(function anonymous() {allElements[2].style['float'] = "right";})},825{origCount:779, fun:(function anonymous() {allElements[3].style.overflow = "scroll";})},826{origCount:780, fun:(function anonymous() {allElements[2].style.width = "1px";})},827{origCount:781, fun:(function anonymous() {allElements[4].style.clear = "both";})},828{origCount:782, fun:(function anonymous() {allElements[3].style.height = "auto";})},829{origCount:783, fun:(function anonymous() {allElements[3].style.color = "green";})},830{origCount:784, fun:(function anonymous() {allElements[10].style.color = "red";})},831{origCount:785, fun:(function anonymous() {allElements[3].style.position = "static";})},832{origCount:786, fun:(function anonymous() {allElements[1].style.position = "absolute";})},833{origCount:787, fun:(function anonymous() {allElements[8].style.height = "100px";})},834{origCount:788, fun:(function anonymous() {allElements[6].style.overflow = "scroll";})},835{origCount:789, fun:(function anonymous() {allElements[11].style.position = "relative";})},836{origCount:790, fun:(function anonymous() {allElements[3].style.display = "-moz-grid-line";})},837{origCount:791, fun:(function anonymous() {allElements[2].style.visibility = "collapse";})},838{origCount:792, fun:(function anonymous() {allElements[11].style['float'] = "none";})},839{origCount:793, fun:(function anonymous() {allElements[11].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},840{origCount:794, fun:(function anonymous() {allElements[7].style['float'] = "right";})},841{origCount:795, fun:(function anonymous() {allElements[5].style.display = "table-column";})},842{origCount:796, fun:(function anonymous() {allElements[9].style.background = "transparent";})},843{origCount:797, fun:(function anonymous() {allElements[12].style['float'] = "right";})},844{origCount:798, fun:(function anonymous() {allElements[8].style.position = "static";})},845{origCount:799, fun:(function anonymous() {allElements[0].style.position = "fixed";})},846{origCount:800, fun:(function anonymous() {allElements[8].style.overflow = "visible";})},847{origCount:801, fun:(function anonymous() {allElements[10].style.height = "100px";})},848{origCount:802, fun:(function anonymous() {allElements[0].style.clear = "right";})},849{origCount:803, fun:(function anonymous() {allElements[9].style.color = "black";})},850{origCount:804, fun:(function anonymous() {allElements[3].style.width = "1px";})},851{origCount:805, fun:(function anonymous() {allElements[0].style.clear = "none";})},852{origCount:806, fun:(function anonymous() {allElements[7].style.width = "200%";})},853{origCount:807, fun:(function anonymous() {allElements[2].style.overflow = "visible";})},854{origCount:808, fun:(function anonymous() {allElements[4].style.overflow = "visible";})},855{origCount:809, fun:(function anonymous() {allElements[5].style.display = "table-row";})},856{origCount:810, fun:(function anonymous() {allElements[10].style.clear = "none";})},857{origCount:811, fun:(function anonymous() {allElements[0].style.color = "red";})},858{origCount:812, fun:(function anonymous() {allElements[5].style.clear = "right";})},859{origCount:813, fun:(function anonymous() {allElements[5].style['float'] = "none";})},860{origCount:814, fun:(function anonymous() {allElements[6].style.background = "#fcd";})},861{origCount:815, fun:(function anonymous() {allElements[12].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},862{origCount:816, fun:(function anonymous() {allElements[3].style.visibility = "visible";})},863{origCount:817, fun:(function anonymous() {allElements[11].style.clear = "none";})},864{origCount:818, fun:(function anonymous() {allElements[2].style.visibility = "visible";})},865{origCount:819, fun:(function anonymous() {allElements[8].style.position = "relative";})},866{origCount:820, fun:(function anonymous() {allElements[7].style.height = "auto";})},867{origCount:821, fun:(function anonymous() {allElements[5].style.clear = "both";})},868{origCount:822, fun:(function anonymous() {allElements[9].style.overflow = "auto";})},869{origCount:823, fun:(function anonymous() {allElements[9].style.position = "static";})},870{origCount:824, fun:(function anonymous() {allElements[11].style.position = "absolute";})},871{origCount:825, fun:(function anonymous() {allElements[9].style.width = "200%";})},872{origCount:826, fun:(function anonymous() {allElements[7].style['float'] = "none";})},873{origCount:827, fun:(function anonymous() {allElements[11].style.position = "static";})},874{origCount:828, fun:(function anonymous() {allElements[0].style.overflow = "hidden";})},875{origCount:829, fun:(function anonymous() {allElements[5].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},876{origCount:830, fun:(function anonymous() {allElements[6].style.position = "fixed";})},877{origCount:831, fun:(function anonymous() {allElements[9].style['float'] = "right";})},878{origCount:832, fun:(function anonymous() {allElements[6].style['float'] = "none";})},879{origCount:833, fun:(function anonymous() {allElements[2].style.background = "transparent";})},880{origCount:834, fun:(function anonymous() {allElements[3].style.overflow = "scroll";})},881{origCount:835, fun:(function anonymous() {allElements[0].style.height = "auto";})},882{origCount:836, fun:(function anonymous() {allElements[0].style.position = "static";})},883{origCount:837, fun:(function anonymous() {allElements[8].style.display = "-moz-grid-line";})},884{origCount:838, fun:(function anonymous() {allElements[4].style.height = "10%";})},885{origCount:839, fun:(function anonymous() {allElements[5].style.width = "1px";})},886{origCount:840, fun:(function anonymous() {allElements[4].style.position = "fixed";})},887{origCount:841, fun:(function anonymous() {allElements[7].style.clear = "none";})},888{origCount:842, fun:(function anonymous() {allElements[6].style.display = "table-column";})},889{origCount:843, fun:(function anonymous() {allElements[7].style.visibility = "visible";})},890{origCount:844, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},891{origCount:845, fun:(function anonymous() {allElements[7].style.height = "2em";})},892{origCount:846, fun:(function anonymous() {allElements[5].style.display = "table-column";})},893{origCount:847, fun:(function anonymous() {allElements[0].style.clear = "both";})},894{origCount:848, fun:(function anonymous() {allElements[11].style['float'] = "right";})},895{origCount:849, fun:(function anonymous() {allElements[4].style.visibility = "visible";})},896{origCount:850, fun:(function anonymous() {allElements[9].style.overflow = "scroll";})},897{origCount:851, fun:(function anonymous() {allElements[8].style.height = "200%";})},898{origCount:852, fun:(function anonymous() {allElements[5].style.height = "200%";})},899{origCount:853, fun:(function anonymous() {allElements[5].style.clear = "none";})},900{origCount:854, fun:(function anonymous() {allElements[2].style.background = "#fcd";})},901{origCount:855, fun:(function anonymous() {allElements[12].style.visibility = "hidden";})},902{origCount:856, fun:(function anonymous() {allElements[4].style.clear = "both";})},903{origCount:857, fun:(function anonymous() {allElements[8].style.width = "10%";})},904{origCount:858, fun:(function anonymous() {allElements[4].style.color = "red";})},905{origCount:859, fun:(function anonymous() {allElements[9].style.height = "10%";})},906{origCount:860, fun:(function anonymous() {allElements[4].style.visibility = "hidden";})},907{origCount:861, fun:(function anonymous() {allElements[7].style.clear = "left";})},908{origCount:862, fun:(function anonymous() {allElements[11].style.background = "#fcd";})},909{origCount:863, fun:(function anonymous() {allElements[7].style.color = "green";})},910{origCount:864, fun:(function anonymous() {allElements[1].style.clear = "left";})},911{origCount:865, fun:(function anonymous() {allElements[12].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},912{origCount:866, fun:(function anonymous() {allElements[6].style.width = "auto";})},913{origCount:867, fun:(function anonymous() {allElements[1].style.height = "100px";})},914{origCount:868, fun:(function anonymous() {allElements[3].style.display = "-moz-inline-block";})},915{origCount:869, fun:(function anonymous() {allElements[5].style.visibility = "visible";})},916{origCount:870, fun:(function anonymous() {allElements[11].style.color = "blue";})},917{origCount:871, fun:(function anonymous() {allElements[1].style.position = "static";})},918{origCount:872, fun:(function anonymous() {allElements[6].style.visibility = "visible";})},919{origCount:873, fun:(function anonymous() {allElements[7].style.color = "red";})},920{origCount:874, fun:(function anonymous() {allElements[8].style.color = "blue";})},921{origCount:875, fun:(function anonymous() {allElements[1].style['float'] = "right";})},922{origCount:876, fun:(function anonymous() {allElements[6].style['float'] = "right";})},923{origCount:877, fun:(function anonymous() {allElements[1].style.clear = "left";})},924{origCount:878, fun:(function anonymous() {allElements[6].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},925{origCount:879, fun:(function anonymous() {allElements[11].style.display = "inline";})},926{origCount:880, fun:(function anonymous() {allElements[11].style['float'] = "none";})},927{origCount:881, fun:(function anonymous() {allElements[10].style.color = "black";})},928{origCount:882, fun:(function anonymous() {allElements[0].style.visibility = "hidden";})},929{origCount:883, fun:(function anonymous() {allElements[1].style.color = "green";})},930{origCount:884, fun:(function anonymous() {allElements[4].style.height = "10%";})},931{origCount:885, fun:(function anonymous() {allElements[2].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},932{origCount:886, fun:(function anonymous() {allElements[0].style.display = "list-item";})},933{origCount:887, fun:(function anonymous() {allElements[4].style['float'] = "left";})},934{origCount:888, fun:(function anonymous() {allElements[6].style.overflow = "hidden";})},935{origCount:889, fun:(function anonymous() {allElements[12].style.clear = "left";})},936{origCount:890, fun:(function anonymous() {allElements[1].style.clear = "none";})},937{origCount:891, fun:(function anonymous() {allElements[4].style.clear = "left";})},938{origCount:892, fun:(function anonymous() {allElements[1].style.position = "relative";})},939{origCount:893, fun:(function anonymous() {allElements[11].style.position = "absolute";})},940{origCount:894, fun:(function anonymous() {allElements[12].style.background = "#fcd";})},941{origCount:895, fun:(function anonymous() {allElements[10].style.position = "relative";})},942{origCount:896, fun:(function anonymous() {allElements[10].style.display = "-moz-box";})},943{origCount:897, fun:(function anonymous() {allElements[6].style.position = "fixed";})},944{origCount:898, fun:(function anonymous() {allElements[1].style.overflow = "scroll";})},945{origCount:899, fun:(function anonymous() {allElements[3].style.width = "10%";})},946{origCount:900, fun:(function anonymous() {allElements[3].style.background = "transparent";})},947{origCount:901, fun:(function anonymous() {allElements[6].style.background = "transparent";})},948{origCount:902, fun:(function anonymous() {allElements[5].style.visibility = "visible";})},949{origCount:903, fun:(function anonymous() {allElements[6].style.background = "#fcd";})},950{origCount:904, fun:(function anonymous() {allElements[0].style.overflow = "scroll";})},951{origCount:905, fun:(function anonymous() {allElements[7].style['float'] = "none";})},952{origCount:906, fun:(function anonymous() {allElements[6].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},953{origCount:907, fun:(function anonymous() {allElements[1].style.height = "200%";})},954{origCount:908, fun:(function anonymous() {allElements[12].style.display = "table-row";})},955{origCount:909, fun:(function anonymous() {allElements[5].style.height = "10%";})},956{origCount:910, fun:(function anonymous() {allElements[11].style.position = "relative";})},957{origCount:911, fun:(function anonymous() {allElements[10].style.display = "-moz-stack";})},958{origCount:912, fun:(function anonymous() {allElements[7].style.color = "green";})},959{origCount:913, fun:(function anonymous() {allElements[8].style.clear = "left";})},960{origCount:914, fun:(function anonymous() {allElements[5].style.clear = "right";})},961{origCount:915, fun:(function anonymous() {allElements[3].style['float'] = "left";})},962{origCount:916, fun:(function anonymous() {allElements[8].style.display = "table-header-group";})},963{origCount:917, fun:(function anonymous() {allElements[12].style.display = "-moz-grid-group";})},964{origCount:918, fun:(function anonymous() {allElements[8].style.position = "fixed";})},965{origCount:919, fun:(function anonymous() {allElements[1].style.clear = "none";})},966{origCount:920, fun:(function anonymous() {allElements[10].style.height = "10%";})},967{origCount:921, fun:(function anonymous() {allElements[0].style['float'] = "left";})},968{origCount:922, fun:(function anonymous() {allElements[4].style['float'] = "left";})},969{origCount:923, fun:(function anonymous() {allElements[0].style.display = "-moz-inline-grid";})},970{origCount:924, fun:(function anonymous() {allElements[8].style.clear = "left";})},971{origCount:925, fun:(function anonymous() {allElements[6].style.clear = "right";})},972{origCount:926, fun:(function anonymous() {allElements[0].style.overflow = "hidden";})},973{origCount:927, fun:(function anonymous() {allElements[9].style.height = "100px";})},974{origCount:928, fun:(function anonymous() {allElements[11].style.color = "blue";})},975{origCount:929, fun:(function anonymous() {allElements[0].style.clear = "left";})},976{origCount:930, fun:(function anonymous() {allElements[6].style.background = "#fcd";})},977{origCount:931, fun:(function anonymous() {allElements[10].style['float'] = "none";})},978{origCount:932, fun:(function anonymous() {allElements[3].style.display = "-moz-inline-box";})},979{origCount:933, fun:(function anonymous() {allElements[4].style.width = "1px";})},980{origCount:934, fun:(function anonymous() {allElements[5].style.display = "table-row";})},981{origCount:935, fun:(function anonymous() {allElements[12].style.height = "2em";})},982{origCount:936, fun:(function anonymous() {allElements[4].style.visibility = "collapse";})},983{origCount:937, fun:(function anonymous() {allElements[0].style.background = "transparent";})},984{origCount:938, fun:(function anonymous() {allElements[4].style.background = "#fcd";})},985{origCount:939, fun:(function anonymous() {allElements[11].style.overflow = "scroll";})},986{origCount:940, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},987{origCount:941, fun:(function anonymous() {allElements[10].style.background = "#fcd";})},988{origCount:942, fun:(function anonymous() {allElements[0].style.width = "20em";})},989{origCount:943, fun:(function anonymous() {allElements[1].style.overflow = "scroll";})},990{origCount:944, fun:(function anonymous() {allElements[5].style.clear = "left";})},991{origCount:945, fun:(function anonymous() {allElements[3].style.display = "table";})},992{origCount:946, fun:(function anonymous() {allElements[2].style.display = "table-footer-group";})},993{origCount:947, fun:(function anonymous() {allElements[6].style.visibility = "visible";})},994{origCount:948, fun:(function anonymous() {allElements[9].style.display = "-moz-inline-block";})},995{origCount:949, fun:(function anonymous() {allElements[2].style.clear = "right";})},996{origCount:950, fun:(function anonymous() {allElements[4].style.overflow = "visible";})},997{origCount:951, fun:(function anonymous() {allElements[8].style.width = "200%";})},998{origCount:952, fun:(function anonymous() {allElements[5].style.overflow = "hidden";})},999{origCount:953, fun:(function anonymous() {allElements[2].style.height = "auto";})},1000{origCount:954, fun:(function anonymous() {allElements[3].style.overflow = "visible";})},1001{origCount:955, fun:(function anonymous() {allElements[2].style.color = "blue";})},1002{origCount:956, fun:(function anonymous() {allElements[2].style.width = "10%";})},1003{origCount:957, fun:(function anonymous() {allElements[11].style.visibility = "collapse";})},1004{origCount:958, fun:(function anonymous() {allElements[7].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1005{origCount:959, fun:(function anonymous() {allElements[9].style.position = "fixed";})},1006{origCount:960, fun:(function anonymous() {allElements[9].style.background = "transparent";})},1007{origCount:961, fun:(function anonymous() {allElements[0].style.clear = "right";})},1008{origCount:962, fun:(function anonymous() {allElements[0].style['float'] = "left";})},1009{origCount:963, fun:(function anonymous() {allElements[1].style.width = "1px";})},1010{origCount:964, fun:(function anonymous() {allElements[9].style.height = "2em";})},1011{origCount:965, fun:(function anonymous() {allElements[3].style.width = "20em";})},1012{origCount:966, fun:(function anonymous() {allElements[1].style.width = "200%";})},1013{origCount:967, fun:(function anonymous() {allElements[10].style.overflow = "hidden";})},1014{origCount:968, fun:(function anonymous() {allElements[9].style.clear = "both";})},1015{origCount:969, fun:(function anonymous() {allElements[2].style.clear = "both";})},1016{origCount:970, fun:(function anonymous() {allElements[9].style['float'] = "left";})},1017{origCount:971, fun:(function anonymous() {allElements[8].style.clear = "left";})},1018{origCount:972, fun:(function anonymous() {allElements[6].style.height = "auto";})},1019{origCount:973, fun:(function anonymous() {allElements[7].style.background = "#fcd";})},1020{origCount:974, fun:(function anonymous() {allElements[4].style.clear = "none";})},1021{origCount:975, fun:(function anonymous() {allElements[2].style.position = "relative";})},1022{origCount:976, fun:(function anonymous() {allElements[8].style['float'] = "left";})},1023{origCount:977, fun:(function anonymous() {allElements[12].style.visibility = "hidden";})},1024{origCount:978, fun:(function anonymous() {allElements[8].style.height = "100px";})},1025{origCount:979, fun:(function anonymous() {allElements[2].style['float'] = "left";})},1026{origCount:980, fun:(function anonymous() {allElements[11].style.clear = "left";})},1027{origCount:981, fun:(function anonymous() {allElements[1].style.color = "blue";})},1028{origCount:982, fun:(function anonymous() {allElements[6].style.height = "100px";})},1029{origCount:983, fun:(function anonymous() {allElements[2].style.overflow = "scroll";})},1030{origCount:984, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1031{origCount:985, fun:(function anonymous() {allElements[9].style.clear = "both";})},1032{origCount:986, fun:(function anonymous() {allElements[4].style.height = "10%";})},1033{origCount:987, fun:(function anonymous() {allElements[0].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1034{origCount:988, fun:(function anonymous() {allElements[2].style.background = "transparent";})},1035{origCount:989, fun:(function anonymous() {allElements[4].style.color = "green";})},1036{origCount:990, fun:(function anonymous() {allElements[11].style.color = "green";})},1037{origCount:991, fun:(function anonymous() {allElements[2].style.clear = "left";})},1038{origCount:992, fun:(function anonymous() {allElements[8].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1039{origCount:993, fun:(function anonymous() {allElements[10].style.background = "transparent";})},1040{origCount:994, fun:(function anonymous() {allElements[11].style.overflow = "auto";})},1041{origCount:995, fun:(function anonymous() {allElements[5].style.overflow = "visible";})},1042{origCount:996, fun:(function anonymous() {allElements[11].style.visibility = "collapse";})},1043{origCount:997, fun:(function anonymous() {allElements[7].style.clear = "both";})},1044{origCount:998, fun:(function anonymous() {allElements[12].style.position = "fixed";})},1045{origCount:999, fun:(function anonymous() {allElements[5].style.color = "green";})},1046{origCount:1000, fun:(function anonymous() {allElements[6].style.display = "-moz-box";})},1047{origCount:1001, fun:(function anonymous() {allElements[5].style.overflow = "auto";})},1048{origCount:1002, fun:(function anonymous() {allElements[9].style.height = "2em";})},1049{origCount:1003, fun:(function anonymous() {allElements[11].style['float'] = "left";})},1050{origCount:1004, fun:(function anonymous() {allElements[2].style['float'] = "none";})},1051{origCount:1005, fun:(function anonymous() {allElements[0].style.overflow = "scroll";})},1052{origCount:1006, fun:(function anonymous() {allElements[12].style.background = "transparent";})},1053{origCount:1007, fun:(function anonymous() {allElements[4].style.visibility = "hidden";})},1054{origCount:1008, fun:(function anonymous() {allElements[7].style.overflow = "scroll";})},1055{origCount:1009, fun:(function anonymous() {allElements[1].style.width = "auto";})},1056{origCount:1010, fun:(function anonymous() {allElements[3].style.overflow = "hidden";})},1057{origCount:1011, fun:(function anonymous() {allElements[7].style.display = "table-header-group";})},1058{origCount:1012, fun:(function anonymous() {allElements[5].style.display = "-moz-box";})},1059{origCount:1013, fun:(function anonymous() {allElements[2].style['float'] = "left";})},1060{origCount:1014, fun:(function anonymous() {allElements[3].style.height = "auto";})},1061{origCount:1015, fun:(function anonymous() {allElements[2].style.overflow = "auto";})},1062{origCount:1016, fun:(function anonymous() {allElements[3].style['float'] = "right";})},1063{origCount:1017, fun:(function anonymous() {allElements[0].style.height = "2em";})},1064{origCount:1018, fun:(function anonymous() {allElements[9].style.background = "transparent";})},1065{origCount:1019, fun:(function anonymous() {allElements[11].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1066{origCount:1020, fun:(function anonymous() {allElements[12].style.visibility = "hidden";})},1067{origCount:1021, fun:(function anonymous() {allElements[3].style.clear = "both";})},1068{origCount:1022, fun:(function anonymous() {allElements[3].style.visibility = "visible";})},1069{origCount:1023, fun:(function anonymous() {allElements[4].style.overflow = "auto";})},1070{origCount:1024, fun:(function anonymous() {allElements[12].style['float'] = "right";})},1071{origCount:1025, fun:(function anonymous() {allElements[7].style.display = "table";})},1072{origCount:1026, fun:(function anonymous() {allElements[6].style.color = "blue";})},1073{origCount:1027, fun:(function anonymous() {allElements[2].style.color = "black";})},1074{origCount:1028, fun:(function anonymous() {allElements[1].style.color = "black";})},1075{origCount:1029, fun:(function anonymous() {allElements[8].style['float'] = "right";})},1076{origCount:1030, fun:(function anonymous() {allElements[2].style.display = "-moz-grid-group";})},1077{origCount:1031, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},1078{origCount:1032, fun:(function anonymous() {allElements[12].style.height = "auto";})},1079{origCount:1033, fun:(function anonymous() {allElements[1].style.clear = "both";})},1080{origCount:1034, fun:(function anonymous() {allElements[11].style.width = "auto";})},1081{origCount:1035, fun:(function anonymous() {allElements[10].style.position = "relative";})},1082{origCount:1036, fun:(function anonymous() {allElements[3].style.position = "fixed";})},1083{origCount:1037, fun:(function anonymous() {allElements[8].style.clear = "both";})},1084{origCount:1038, fun:(function anonymous() {allElements[4].style['float'] = "left";})},1085{origCount:1039, fun:(function anonymous() {allElements[11].style.overflow = "auto";})},1086{origCount:1040, fun:(function anonymous() {allElements[7].style.height = "200%";})},1087{origCount:1041, fun:(function anonymous() {allElements[11].style.width = "200%";})},1088{origCount:1042, fun:(function anonymous() {allElements[3].style.overflow = "visible";})},1089{origCount:1043, fun:(function anonymous() {allElements[0].style.position = "fixed";})},1090{origCount:1044, fun:(function anonymous() {allElements[8].style.clear = "none";})},1091{origCount:1045, fun:(function anonymous() {allElements[7].style.width = "10%";})},1092{origCount:1046, fun:(function anonymous() {allElements[2].style.height = "100px";})},1093{origCount:1047, fun:(function anonymous() {allElements[12].style.clear = "left";})},1094{origCount:1048, fun:(function anonymous() {allElements[2].style.overflow = "visible";})},1095{origCount:1049, fun:(function anonymous() {allElements[4].style.background = "transparent";})},1096{origCount:1050, fun:(function anonymous() {allElements[11].style['float'] = "none";})},1097{origCount:1051, fun:(function anonymous() {allElements[3].style['float'] = "right";})},1098{origCount:1052, fun:(function anonymous() {allElements[9].style.height = "auto";})},1099{origCount:1053, fun:(function anonymous() {allElements[11].style.display = "-moz-grid";})},1100{origCount:1054, fun:(function anonymous() {allElements[0].style.position = "fixed";})},1101{origCount:1055, fun:(function anonymous() {allElements[7].style.width = "20em";})},1102{origCount:1056, fun:(function anonymous() {allElements[0].style.height = "100px";})},1103{origCount:1057, fun:(function anonymous() {allElements[10].style.clear = "none";})},1104{origCount:1058, fun:(function anonymous() {allElements[2].style.width = "10%";})},1105{origCount:1059, fun:(function anonymous() {allElements[9].style.visibility = "collapse";})},1106{origCount:1060, fun:(function anonymous() {allElements[10].style.display = "-moz-inline-stack";})},1107{origCount:1061, fun:(function anonymous() {allElements[10].style.height = "200%";})},1108{origCount:1062, fun:(function anonymous() {allElements[1].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1109{origCount:1063, fun:(function anonymous() {allElements[3].style.clear = "right";})},1110{origCount:1064, fun:(function anonymous() {allElements[7].style.overflow = "auto";})},1111{origCount:1065, fun:(function anonymous() {allElements[6].style.visibility = "visible";})},1112{origCount:1066, fun:(function anonymous() {allElements[5].style['float'] = "right";})},1113{origCount:1067, fun:(function anonymous() {allElements[11].style.height = "200%";})},1114{origCount:1068, fun:(function anonymous() {allElements[1].style.position = "static";})},1115{origCount:1069, fun:(function anonymous() {allElements[8].style.clear = "none";})},1116{origCount:1070, fun:(function anonymous() {allElements[11].style.display = "-moz-groupbox";})},1117{origCount:1071, fun:(function anonymous() {allElements[2].style.visibility = "visible";})},1118{origCount:1072, fun:(function anonymous() {allElements[0].style.background = "transparent";})},1119{origCount:1073, fun:(function anonymous() {allElements[10].style.width = "auto";})},1120{origCount:1074, fun:(function anonymous() {allElements[12].style.clear = "right";})},1121{origCount:1075, fun:(function anonymous() {allElements[12].style['float'] = "right";})},1122{origCount:1076, fun:(function anonymous() {allElements[0].style.width = "200%";})},1123{origCount:1077, fun:(function anonymous() {allElements[10].style.clear = "left";})},1124{origCount:1078, fun:(function anonymous() {allElements[7].style.display = "-moz-deck";})},1125{origCount:1079, fun:(function anonymous() {allElements[9].style.color = "green";})},1126{origCount:1080, fun:(function anonymous() {allElements[10].style.color = "black";})},1127{origCount:1081, fun:(function anonymous() {allElements[1].style.width = "200%";})},1128{origCount:1082, fun:(function anonymous() {allElements[2].style.position = "fixed";})},1129{origCount:1083, fun:(function anonymous() {allElements[3].style.height = "100px";})},1130{origCount:1084, fun:(function anonymous() {allElements[12].style.background = "#fcd";})},1131{origCount:1085, fun:(function anonymous() {allElements[7].style.visibility = "collapse";})},1132{origCount:1086, fun:(function anonymous() {allElements[6].style.clear = "both";})},1133{origCount:1087, fun:(function anonymous() {allElements[3].style.overflow = "visible";})},1134{origCount:1088, fun:(function anonymous() {allElements[2].style.width = "10%";})},1135{origCount:1089, fun:(function anonymous() {allElements[9].style.color = "red";})},1136{origCount:1090, fun:(function anonymous() {allElements[3].style.display = "-moz-inline-stack";})},1137{origCount:1091, fun:(function anonymous() {allElements[4].style['float'] = "right";})},1138{origCount:1092, fun:(function anonymous() {allElements[2].style.overflow = "visible";})},1139{origCount:1093, fun:(function anonymous() {allElements[4].style.clear = "none";})},1140{origCount:1094, fun:(function anonymous() {allElements[1].style.display = "table-row";})},1141{origCount:1095, fun:(function anonymous() {allElements[1].style.display = "-moz-deck";})},1142{origCount:1096, fun:(function anonymous() {allElements[7].style.overflow = "visible";})},1143{origCount:1097, fun:(function anonymous() {allElements[12].style.color = "black";})},1144{origCount:1098, fun:(function anonymous() {allElements[9].style.width = "20em";})},1145{origCount:1099, fun:(function anonymous() {allElements[3].style.color = "green";})},1146{origCount:1100, fun:(function anonymous() {allElements[0].style.overflow = "auto";})},1147{origCount:1101, fun:(function anonymous() {allElements[4].style.background = "#fcd";})},1148{origCount:1102, fun:(function anonymous() {allElements[9].style.background = "#fcd";})},1149{origCount:1103, fun:(function anonymous() {allElements[7].style.clear = "none";})},1150{origCount:1104, fun:(function anonymous() {allElements[2].style['float'] = "none";})},1151{origCount:1105, fun:(function anonymous() {allElements[2].style.clear = "none";})},1152{origCount:1106, fun:(function anonymous() {allElements[10].style.color = "blue";})},1153{origCount:1107, fun:(function anonymous() {allElements[7].style.clear = "none";})},1154{origCount:1108, fun:(function anonymous() {allElements[10].style.height = "10%";})},1155{origCount:1109, fun:(function anonymous() {allElements[0].style.overflow = "scroll";})},1156{origCount:1110, fun:(function anonymous() {allElements[7].style.display = "-moz-grid-group";})},1157{origCount:1111, fun:(function anonymous() {allElements[12].style.overflow = "visible";})},1158{origCount:1112, fun:(function anonymous() {allElements[6].style.width = "20em";})},1159{origCount:1113, fun:(function anonymous() {allElements[8].style.overflow = "auto";})},1160{origCount:1114, fun:(function anonymous() {allElements[10].style['float'] = "none";})},1161{origCount:1115, fun:(function anonymous() {allElements[5].style.width = "auto";})},1162{origCount:1116, fun:(function anonymous() {allElements[11].style.display = "table-caption";})},1163{origCount:1117, fun:(function anonymous() {allElements[8].style.width = "200%";})},1164{origCount:1118, fun:(function anonymous() {allElements[1].style.width = "1px";})},1165{origCount:1119, fun:(function anonymous() {allElements[8].style.background = "transparent";})},1166{origCount:1120, fun:(function anonymous() {allElements[9].style['float'] = "none";})},1167{origCount:1121, fun:(function anonymous() {allElements[9].style['float'] = "none";})},1168{origCount:1122, fun:(function anonymous() {allElements[1].style.display = "list-item";})},1169{origCount:1123, fun:(function anonymous() {allElements[3].style['float'] = "none";})},1170{origCount:1124, fun:(function anonymous() {allElements[8].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1171{origCount:1125, fun:(function anonymous() {allElements[7].style.height = "auto";})},1172{origCount:1126, fun:(function anonymous() {allElements[7].style.height = "10%";})},1173{origCount:1127, fun:(function anonymous() {allElements[0].style.display = "-moz-inline-box";})},1174{origCount:1128, fun:(function anonymous() {allElements[3].style.clear = "right";})},1175{origCount:1129, fun:(function anonymous() {allElements[11].style.clear = "left";})},1176{origCount:1130, fun:(function anonymous() {allElements[1].style.color = "black";})},1177{origCount:1131, fun:(function anonymous() {allElements[5].style['float'] = "none";})},1178{origCount:1132, fun:(function anonymous() {allElements[4].style.width = "10%";})},1179{origCount:1133, fun:(function anonymous() {allElements[2].style.display = "-moz-grid";})},1180{origCount:1134, fun:(function anonymous() {allElements[4].style.height = "100px";})},1181{origCount:1135, fun:(function anonymous() {allElements[4].style.clear = "both";})},1182{origCount:1136, fun:(function anonymous() {allElements[6].style.position = "static";})},1183{origCount:1137, fun:(function anonymous() {allElements[2].style['float'] = "left";})},1184{origCount:1138, fun:(function anonymous() {allElements[0].style.overflow = "scroll";})},1185{origCount:1139, fun:(function anonymous() {allElements[3].style.display = "table-cell";})},1186{origCount:1140, fun:(function anonymous() {allElements[4].style.color = "blue";})},1187{origCount:1141, fun:(function anonymous() {allElements[9].style.clear = "left";})},1188{origCount:1142, fun:(function anonymous() {allElements[9].style.clear = "none";})},1189{origCount:1143, fun:(function anonymous() {allElements[11].style['float'] = "left";})},1190{origCount:1144, fun:(function anonymous() {allElements[7].style.display = "-moz-inline-block";})},1191{origCount:1145, fun:(function anonymous() {allElements[3].style.clear = "none";})},1192{origCount:1146, fun:(function anonymous() {allElements[2].style.visibility = "collapse";})},1193{origCount:1147, fun:(function anonymous() {allElements[12].style['float'] = "none";})},1194{origCount:1148, fun:(function anonymous() {allElements[12].style.background = "transparent";})},1195{origCount:1149, fun:(function anonymous() {allElements[6].style.width = "1px";})},1196{origCount:1150, fun:(function anonymous() {allElements[1].style.width = "10%";})},1197{origCount:1151, fun:(function anonymous() {allElements[1].style['float'] = "none";})},1198{origCount:1152, fun:(function anonymous() {allElements[0].style.width = "1px";})},1199{origCount:1153, fun:(function anonymous() {allElements[2].style.width = "20em";})},1200{origCount:1154, fun:(function anonymous() {allElements[0].style.display = "-moz-popup";})},1201{origCount:1155, fun:(function anonymous() {allElements[0].style.color = "red";})},1202{origCount:1156, fun:(function anonymous() {allElements[6].style.visibility = "visible";})},1203{origCount:1157, fun:(function anonymous() {allElements[12].style.background = "#fcd";})},1204{origCount:1158, fun:(function anonymous() {allElements[9].style.visibility = "hidden";})},1205{origCount:1159, fun:(function anonymous() {allElements[4].style.overflow = "scroll";})},1206{origCount:1160, fun:(function anonymous() {allElements[1].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1207{origCount:1161, fun:(function anonymous() {allElements[6].style.display = "block";})},1208{origCount:1162, fun:(function anonymous() {allElements[11].style.background = "#fcd";})},1209{origCount:1163, fun:(function anonymous() {allElements[9].style.visibility = "collapse";})},1210{origCount:1164, fun:(function anonymous() {allElements[5].style.background = "#fcd";})},1211{origCount:1165, fun:(function anonymous() {allElements[4].style.clear = "left";})},1212{origCount:1166, fun:(function anonymous() {allElements[0].style['float'] = "right";})},1213{origCount:1167, fun:(function anonymous() {allElements[10].style.width = "200%";})},1214{origCount:1168, fun:(function anonymous() {allElements[1].style['float'] = "left";})},1215{origCount:1169, fun:(function anonymous() {allElements[4].style.height = "auto";})},1216{origCount:1170, fun:(function anonymous() {allElements[12].style['float'] = "right";})},1217{origCount:1171, fun:(function anonymous() {allElements[4].style.color = "blue";})},1218{origCount:1172, fun:(function anonymous() {allElements[11].style.visibility = "visible";})},1219{origCount:1173, fun:(function anonymous() {allElements[1].style.position = "absolute";})},1220{origCount:1174, fun:(function anonymous() {allElements[3].style.visibility = "visible";})},1221{origCount:1175, fun:(function anonymous() {allElements[12].style.position = "fixed";})},1222{origCount:1176, fun:(function anonymous() {allElements[5].style.display = "table-column-group";})},1223{origCount:1177, fun:(function anonymous() {allElements[2].style.clear = "right";})},1224{origCount:1178, fun:(function anonymous() {allElements[9].style.overflow = "hidden";})},1225{origCount:1179, fun:(function anonymous() {allElements[3].style.width = "20em";})},1226{origCount:1180, fun:(function anonymous() {allElements[4].style.position = "relative";})},1227{origCount:1181, fun:(function anonymous() {allElements[5].style.width = "20em";})},1228{origCount:1182, fun:(function anonymous() {allElements[10].style.visibility = "visible";})},1229{origCount:1183, fun:(function anonymous() {allElements[0].style.overflow = "scroll";})},1230{origCount:1184, fun:(function anonymous() {allElements[5].style.color = "red";})},1231{origCount:1185, fun:(function anonymous() {allElements[4].style.clear = "right";})},1232{origCount:1186, fun:(function anonymous() {allElements[5].style.overflow = "hidden";})},1233{origCount:1187, fun:(function anonymous() {allElements[10].style.clear = "none";})},1234{origCount:1188, fun:(function anonymous() {allElements[1].style.position = "fixed";})},1235{origCount:1189, fun:(function anonymous() {allElements[9].style.width = "1px";})},1236{origCount:1190, fun:(function anonymous() {allElements[0].style.color = "blue";})},1237{origCount:1191, fun:(function anonymous() {allElements[5].style.position = "static";})},1238{origCount:1192, fun:(function anonymous() {allElements[4].style.overflow = "hidden";})},1239{origCount:1193, fun:(function anonymous() {allElements[2].style.position = "relative";})},1240{origCount:1194, fun:(function anonymous() {allElements[4].style.position = "absolute";})},1241{origCount:1195, fun:(function anonymous() {allElements[4].style['float'] = "none";})},1242{origCount:1196, fun:(function anonymous() {allElements[7].style.color = "black";})},1243{origCount:1197, fun:(function anonymous() {allElements[4].style.color = "blue";})},1244{origCount:1198, fun:(function anonymous() {allElements[1].style.position = "absolute";})},1245{origCount:1199, fun:(function anonymous() {allElements[5].style.overflow = "scroll";})},1246{origCount:1200, fun:(function anonymous() {allElements[6].style.visibility = "visible";})},1247{origCount:1201, fun:(function anonymous() {allElements[11].style.clear = "right";})},1248{origCount:1202, fun:(function anonymous() {allElements[12].style.position = "static";})},1249{origCount:1203, fun:(function anonymous() {allElements[2].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1250{origCount:1204, fun:(function anonymous() {allElements[11].style.visibility = "hidden";})},1251{origCount:1205, fun:(function anonymous() {allElements[7].style.color = "red";})},1252{origCount:1206, fun:(function anonymous() {allElements[7].style.clear = "right";})},1253{origCount:1207, fun:(function anonymous() {allElements[4].style.clear = "none";})},1254{origCount:1208, fun:(function anonymous() {allElements[4].style.display = "list-item";})},1255{origCount:1209, fun:(function anonymous() {allElements[12].style.background = "transparent";})},1256{origCount:1210, fun:(function anonymous() {allElements[7].style['float'] = "left";})},1257{origCount:1211, fun:(function anonymous() {allElements[8].style.color = "red";})},1258{origCount:1212, fun:(function anonymous() {allElements[7].style.width = "20em";})},1259{origCount:1213, fun:(function anonymous() {allElements[9].style.clear = "right";})},1260{origCount:1214, fun:(function anonymous() {allElements[8].style.height = "100px";})},1261{origCount:1215, fun:(function anonymous() {allElements[8].style.color = "red";})},1262{origCount:1216, fun:(function anonymous() {allElements[2].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1263{origCount:1217, fun:(function anonymous() {allElements[8].style.overflow = "auto";})},1264{origCount:1218, fun:(function anonymous() {allElements[5].style.position = "relative";})},1265{origCount:1219, fun:(function anonymous() {allElements[0].style['float'] = "left";})},1266{origCount:1220, fun:(function anonymous() {allElements[10].style.overflow = "visible";})},1267{origCount:1221, fun:(function anonymous() {allElements[3].style.overflow = "visible";})},1268{origCount:1222, fun:(function anonymous() {allElements[8].style.visibility = "hidden";})},1269{origCount:1223, fun:(function anonymous() {allElements[6].style.visibility = "hidden";})},1270{origCount:1224, fun:(function anonymous() {allElements[3].style['float'] = "right";})},1271{origCount:1225, fun:(function anonymous() {allElements[3].style.width = "1px";})},1272{origCount:1226, fun:(function anonymous() {allElements[12].style['float'] = "left";})},1273{origCount:1227, fun:(function anonymous() {allElements[9].style.display = "list-item";})},1274{origCount:1228, fun:(function anonymous() {allElements[1].style.width = "20em";})},1275{origCount:1229, fun:(function anonymous() {allElements[4].style['float'] = "left";})},1276{origCount:1230, fun:(function anonymous() {allElements[12].style.overflow = "auto";})},1277{origCount:1231, fun:(function anonymous() {allElements[5].style.overflow = "hidden";})},1278{origCount:1232, fun:(function anonymous() {allElements[12].style.overflow = "auto";})},1279{origCount:1233, fun:(function anonymous() {allElements[2].style.height = "2em";})},1280{origCount:1234, fun:(function anonymous() {allElements[5].style.display = "table-cell";})},1281{origCount:1235, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},1282{origCount:1236, fun:(function anonymous() {allElements[8].style.height = "200%";})},1283{origCount:1237, fun:(function anonymous() {allElements[5].style.clear = "both";})},1284{origCount:1238, fun:(function anonymous() {allElements[12].style.height = "auto";})},1285{origCount:1239, fun:(function anonymous() {allElements[7].style.overflow = "auto";})},1286{origCount:1240, fun:(function anonymous() {allElements[8].style.overflow = "auto";})},1287{origCount:1241, fun:(function anonymous() {allElements[9].style.visibility = "visible";})},1288{origCount:1242, fun:(function anonymous() {allElements[2].style.display = "-moz-deck";})},1289{origCount:1243, fun:(function anonymous() {allElements[5].style.color = "black";})},1290{origCount:1244, fun:(function anonymous() {allElements[10].style.clear = "none";})},1291{origCount:1245, fun:(function anonymous() {allElements[10].style['float'] = "right";})},1292{origCount:1246, fun:(function anonymous() {allElements[11].style.width = "20em";})},1293{origCount:1247, fun:(function anonymous() {allElements[4].style.background = "#fcd";})},1294{origCount:1248, fun:(function anonymous() {allElements[8].style.position = "fixed";})},1295{origCount:1249, fun:(function anonymous() {allElements[3].style.clear = "both";})},1296{origCount:1250, fun:(function anonymous() {allElements[7].style.visibility = "collapse";})},1297{origCount:1251, fun:(function anonymous() {allElements[0].style.overflow = "visible";})},1298{origCount:1252, fun:(function anonymous() {allElements[12].style.height = "100px";})},1299{origCount:1253, fun:(function anonymous() {allElements[10].style.clear = "right";})},1300{origCount:1254, fun:(function anonymous() {allElements[0].style.overflow = "hidden";})},1301{origCount:1255, fun:(function anonymous() {allElements[1].style.overflow = "hidden";})},1302{origCount:1256, fun:(function anonymous() {allElements[3].style.position = "static";})},1303{origCount:1257, fun:(function anonymous() {allElements[1].style.width = "10%";})},1304{origCount:1258, fun:(function anonymous() {allElements[12].style['float'] = "right";})},1305{origCount:1259, fun:(function anonymous() {allElements[3].style.overflow = "auto";})},1306{origCount:1260, fun:(function anonymous() {allElements[4].style.color = "green";})},1307{origCount:1261, fun:(function anonymous() {allElements[10].style.width = "auto";})},1308{origCount:1262, fun:(function anonymous() {allElements[11].style.overflow = "hidden";})},1309{origCount:1263, fun:(function anonymous() {allElements[1].style.clear = "none";})},1310{origCount:1264, fun:(function anonymous() {allElements[11].style['float'] = "right";})},1311{origCount:1265, fun:(function anonymous() {allElements[7].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1312{origCount:1266, fun:(function anonymous() {allElements[7].style.overflow = "visible";})},1313{origCount:1267, fun:(function anonymous() {allElements[5].style['float'] = "left";})},1314{origCount:1268, fun:(function anonymous() {allElements[5].style.position = "fixed";})},1315{origCount:1269, fun:(function anonymous() {allElements[0].style.visibility = "hidden";})},1316{origCount:1270, fun:(function anonymous() {allElements[9].style.height = "100px";})},1317{origCount:1271, fun:(function anonymous() {allElements[10].style.height = "200%";})},1318{origCount:1272, fun:(function anonymous() {allElements[9].style.position = "absolute";})},1319{origCount:1273, fun:(function anonymous() {allElements[12].style.clear = "both";})},1320{origCount:1274, fun:(function anonymous() {allElements[11].style.visibility = "visible";})},1321{origCount:1275, fun:(function anonymous() {allElements[11].style.position = "fixed";})},1322{origCount:1276, fun:(function anonymous() {allElements[6].style.width = "20em";})},1323{origCount:1277, fun:(function anonymous() {allElements[12].style.height = "200%";})},1324{origCount:1278, fun:(function anonymous() {allElements[10].style.display = "list-item";})},1325{origCount:1279, fun:(function anonymous() {allElements[5].style.clear = "left";})},1326{origCount:1280, fun:(function anonymous() {allElements[3].style.clear = "left";})},1327{origCount:1281, fun:(function anonymous() {allElements[8].style.position = "fixed";})},1328{origCount:1282, fun:(function anonymous() {allElements[1].style.overflow = "auto";})},1329{origCount:1283, fun:(function anonymous() {allElements[0].style.height = "10%";})},1330{origCount:1284, fun:(function anonymous() {allElements[10].style['float'] = "right";})},1331{origCount:1285, fun:(function anonymous() {allElements[10].style.clear = "both";})},1332{origCount:1286, fun:(function anonymous() {allElements[7].style.background = "transparent";})},1333{origCount:1287, fun:(function anonymous() {allElements[4].style.visibility = "visible";})},1334{origCount:1288, fun:(function anonymous() {allElements[9].style.display = "-moz-box";})},1335{origCount:1289, fun:(function anonymous() {allElements[0].style.width = "auto";})},1336{origCount:1290, fun:(function anonymous() {allElements[8].style.color = "black";})},1337{origCount:1291, fun:(function anonymous() {allElements[1].style['float'] = "right";})},1338{origCount:1292, fun:(function anonymous() {allElements[9].style.position = "relative";})},1339{origCount:1293, fun:(function anonymous() {allElements[12].style.clear = "none";})},1340{origCount:1294, fun:(function anonymous() {allElements[3].style.width = "1px";})},1341{origCount:1295, fun:(function anonymous() {allElements[12].style.color = "red";})},1342{origCount:1296, fun:(function anonymous() {allElements[6].style.display = "-moz-inline-block";})},1343{origCount:1297, fun:(function anonymous() {allElements[4].style.width = "10%";})},1344{origCount:1298, fun:(function anonymous() {allElements[11].style.height = "2em";})},1345{origCount:1299, fun:(function anonymous() {allElements[6].style.height = "2em";})},1346{origCount:1300, fun:(function anonymous() {allElements[8].style.visibility = "collapse";})},1347{origCount:1301, fun:(function anonymous() {allElements[9].style.position = "absolute";})},1348{origCount:1302, fun:(function anonymous() {allElements[2].style.color = "green";})},1349{origCount:1303, fun:(function anonymous() {allElements[5].style.overflow = "auto";})},1350{origCount:1304, fun:(function anonymous() {allElements[11].style.visibility = "collapse";})},1351{origCount:1305, fun:(function anonymous() {allElements[12].style.color = "black";})},1352{origCount:1306, fun:(function anonymous() {allElements[12].style.background = "transparent";})},1353{origCount:1307, fun:(function anonymous() {allElements[6].style['float'] = "left";})},1354{origCount:1308, fun:(function anonymous() {allElements[11].style['float'] = "right";})},1355{origCount:1309, fun:(function anonymous() {allElements[6].style.clear = "none";})},1356{origCount:1310, fun:(function anonymous() {allElements[10].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1357{origCount:1311, fun:(function anonymous() {allElements[3].style.display = "-moz-grid-group";})},1358{origCount:1312, fun:(function anonymous() {allElements[3].style['float'] = "right";})},1359{origCount:1313, fun:(function anonymous() {allElements[2].style.color = "blue";})},1360{origCount:1314, fun:(function anonymous() {allElements[5].style.visibility = "hidden";})},1361{origCount:1315, fun:(function anonymous() {allElements[6].style.background = "transparent";})},1362{origCount:1316, fun:(function anonymous() {allElements[9].style['float'] = "right";})},1363{origCount:1317, fun:(function anonymous() {allElements[7].style.background = "#fcd";})},1364{origCount:1318, fun:(function anonymous() {allElements[5].style.visibility = "collapse";})},1365{origCount:1319, fun:(function anonymous() {allElements[9].style.clear = "both";})},1366{origCount:1320, fun:(function anonymous() {allElements[11].style.color = "green";})},1367{origCount:1321, fun:(function anonymous() {allElements[4].style.clear = "none";})},1368{origCount:1322, fun:(function anonymous() {allElements[6].style.display = "-moz-deck";})},1369{origCount:1323, fun:(function anonymous() {allElements[9].style.clear = "none";})},1370{origCount:1324, fun:(function anonymous() {allElements[6].style.position = "static";})},1371{origCount:1325, fun:(function anonymous() {allElements[2].style.overflow = "scroll";})},1372{origCount:1326, fun:(function anonymous() {allElements[3].style.background = "transparent";})},1373{origCount:1327, fun:(function anonymous() {allElements[1].style.overflow = "auto";})},1374{origCount:1328, fun:(function anonymous() {allElements[2].style.visibility = "hidden";})},1375{origCount:1329, fun:(function anonymous() {allElements[10].style.overflow = "hidden";})},1376{origCount:1330, fun:(function anonymous() {allElements[6].style.overflow = "visible";})},1377{origCount:1331, fun:(function anonymous() {allElements[8].style.width = "auto";})},1378{origCount:1332, fun:(function anonymous() {allElements[7].style.width = "200%";})},1379{origCount:1333, fun:(function anonymous() {allElements[11].style.width = "200%";})},1380{origCount:1334, fun:(function anonymous() {allElements[10].style.visibility = "collapse";})},1381{origCount:1335, fun:(function anonymous() {allElements[11].style.background = "transparent";})},1382{origCount:1336, fun:(function anonymous() {allElements[5].style.overflow = "visible";})},1383{origCount:1337, fun:(function anonymous() {allElements[12].style['float'] = "right";})},1384{origCount:1338, fun:(function anonymous() {allElements[10].style.background = "#fcd";})},1385{origCount:1339, fun:(function anonymous() {allElements[6].style['float'] = "right";})},1386{origCount:1340, fun:(function anonymous() {allElements[4].style.visibility = "visible";})},1387{origCount:1341, fun:(function anonymous() {allElements[10].style.height = "auto";})},1388{origCount:1342, fun:(function anonymous() {allElements[3].style.position = "static";})},1389{origCount:1343, fun:(function anonymous() {allElements[2].style.display = "-moz-box";})},1390{origCount:1344, fun:(function anonymous() {allElements[12].style.color = "red";})},1391{origCount:1345, fun:(function anonymous() {allElements[0].style.clear = "none";})},1392{origCount:1346, fun:(function anonymous() {allElements[10].style.clear = "left";})},1393{origCount:1347, fun:(function anonymous() {allElements[8].style['float'] = "none";})},1394{origCount:1348, fun:(function anonymous() {allElements[0].style.visibility = "collapse";})},1395{origCount:1349, fun:(function anonymous() {allElements[4].style.visibility = "hidden";})},1396{origCount:1350, fun:(function anonymous() {allElements[0].style.position = "absolute";})},1397{origCount:1351, fun:(function anonymous() {allElements[6].style.display = "-moz-grid-group";})},1398{origCount:1352, fun:(function anonymous() {allElements[1].style.height = "100px";})},1399{origCount:1353, fun:(function anonymous() {allElements[5].style['float'] = "none";})},1400{origCount:1354, fun:(function anonymous() {allElements[9].style['float'] = "none";})},1401{origCount:1355, fun:(function anonymous() {allElements[5].style.display = "table-footer-group";})},1402{origCount:1356, fun:(function anonymous() {allElements[0].style.clear = "both";})},1403{origCount:1357, fun:(function anonymous() {allElements[11].style.clear = "none";})},1404{origCount:1358, fun:(function anonymous() {allElements[5].style.color = "green";})},1405{origCount:1359, fun:(function anonymous() {allElements[1].style['float'] = "left";})},1406{origCount:1360, fun:(function anonymous() {allElements[3].style.background = "#fcd";})},1407{origCount:1361, fun:(function anonymous() {allElements[5].style.display = "block";})},1408{origCount:1362, fun:(function anonymous() {allElements[11].style.width = "1px";})},1409{origCount:1363, fun:(function anonymous() {allElements[2].style['float'] = "right";})},1410{origCount:1364, fun:(function anonymous() {allElements[8].style.display = "table-column";})},1411{origCount:1365, fun:(function anonymous() {allElements[9].style.width = "20em";})},1412{origCount:1366, fun:(function anonymous() {allElements[10].style.visibility = "visible";})},1413{origCount:1367, fun:(function anonymous() {allElements[4].style['float'] = "none";})},1414{origCount:1368, fun:(function anonymous() {allElements[9].style.visibility = "hidden";})},1415{origCount:1369, fun:(function anonymous() {allElements[5].style.width = "200%";})},1416{origCount:1370, fun:(function anonymous() {allElements[9].style.background = "transparent";})},1417{origCount:1371, fun:(function anonymous() {allElements[2].style.color = "red";})},1418{origCount:1372, fun:(function anonymous() {allElements[2].style.width = "auto";})},1419{origCount:1373, fun:(function anonymous() {allElements[1].style.background = "#fcd";})},1420{origCount:1374, fun:(function anonymous() {allElements[5].style.width = "10%";})},1421{origCount:1375, fun:(function anonymous() {allElements[6].style.overflow = "visible";})},1422{origCount:1376, fun:(function anonymous() {allElements[10].style.display = "-moz-inline-block";})},1423{origCount:1377, fun:(function anonymous() {allElements[8].style.visibility = "collapse";})},1424{origCount:1378, fun:(function anonymous() {allElements[7].style.display = "inline";})},1425{origCount:1379, fun:(function anonymous() {allElements[11].style.position = "fixed";})},1426{origCount:1380, fun:(function anonymous() {allElements[1].style.display = "-moz-stack";})},1427{origCount:1381, fun:(function anonymous() {allElements[7].style.clear = "left";})},1428{origCount:1382, fun:(function anonymous() {allElements[9].style.overflow = "auto";})},1429{origCount:1383, fun:(function anonymous() {allElements[0].style.height = "10%";})},1430{origCount:1384, fun:(function anonymous() {allElements[10].style.overflow = "scroll";})},1431{origCount:1385, fun:(function anonymous() {allElements[7].style.height = "100px";})},1432{origCount:1386, fun:(function anonymous() {allElements[8].style.overflow = "auto";})},1433{origCount:1387, fun:(function anonymous() {allElements[6].style.background = "#fcd";})},1434{origCount:1388, fun:(function anonymous() {allElements[7].style.width = "auto";})},1435{origCount:1389, fun:(function anonymous() {allElements[3].style.position = "relative";})},1436{origCount:1390, fun:(function anonymous() {allElements[12].style.width = "10%";})},1437{origCount:1391, fun:(function anonymous() {allElements[1].style.position = "absolute";})},1438{origCount:1392, fun:(function anonymous() {allElements[1].style.background = "url(http://www.google.com/images/logo_sm.gif)";})},1439{origCount:1393, fun:(function anonymous() {allElements[5].style.clear = "left";})},1440{origCount:1394, fun:(function anonymous() {allElements[4].style['float'] = "left";})},1441{origCount:1395, fun:(function anonymous() {allElements[6].style.width = "20em";})},1442{origCount:1396, fun:(function anonymous() {allElements[0].style.height = "200%";})},1443{origCount:1397, fun:(function anonymous() {allElements[8].style.width = "200%";})},1444{origCount:1398, fun:(function anonymous() {allElements[6].style.height = "auto";})},1445{origCount:1399, fun:(function anonymous() {allElements[2].style.overflow = "scroll";})},1446{origCount:1400, fun:(function anonymous() {allElements[1].style.clear = "left";})},1447{origCount:1401, fun:(function anonymous() {allElements[7].style.display = "-moz-box";})},1448{origCount:1402, fun:(function anonymous() {allElements[0].style['float'] = "none";})},1449{origCount:1403, fun:(function anonymous() {allElements[0].style.clear = "none";})},1450{origCount:1404, fun:(function anonymous() {allElements[10].style.height = "100px";})},1451{origCount:1405, fun:(function anonymous() {allElements[11].style.width = "20em";})},1452{origCount:1406, fun:(function anonymous() {allElements[9].style.clear = "both";})},1453{origCount:1407, fun:(function anonymous() {allElements[7].style.position = "static";})},1454{origCount:1408, fun:(function anonymous() {allElements[12].style['float'] = "none";})},1455{origCount:1409, fun:(function anonymous() {allElements[4].style.position = "static";})},1456{origCount:1410, fun:(function anonymous() {allElements[0].style.height = "200%";})},1457{origCount:1411, fun:(function anonymous() {allElements[7].style['float'] = "none";})},1458{origCount:1412, fun:(function anonymous() {allElements[3].style.clear = "none";})},1459{origCount:1413, fun:(function anonymous() {allElements[6].style.color = "green";})},1460{origCount:1414, fun:(function anonymous() {allElements[10].style.height = "200%";})},1461{origCount:1415, fun:(function anonymous() {allElements[7].style.overflow = "visible";})}1462 ];1463var output = eval(commands.toSource().replace(/anonymous/g,"")).toSource().replace( /\)\},/g , ")},\n");...

Full Screen

Full Screen

fusion-previews.js

Source:fusion-previews.js Github

copy

Full Screen

1/*2* Previews of builder elements3*/4( function($) {56 var fusionPreview = {};7 window.fusionPreview = fusionPreview;8 /**9 * Caller for respective element10 *11 * @since 2.0.012 *13 * @param OBJECT Reference to current element14 *15 * @param OBJECT Data model of element16 *17 * @param OBJECT Sub elements data18 *19 * @return NULL20 **/21 fusionPreview.updatePreview = function ( thisRef, model, subElements ) {22 if(typeof model.get('css_class') != 'undefined' && model.get('css_class').indexOf('fusion_layout_column') > -1) {23 return;24 }2526 switch( model.get( 'php_class' ) ) { //switch case on name of element27 case 'TF_AlertBox':28 fusionPreview.updateAlertPreview( thisRef, model, subElements );29 break;3031 case 'TF_WpBlog':32 fusionPreview.updateBlogPreview( thisRef, model, subElements );33 break;3435 case 'TF_ButtonBlock':36 fusionPreview.updateButtonPreview( thisRef, model, subElements );37 break;3839 case 'TF_CheckList':40 fusionPreview.updateChecklistPreview( thisRef, model, subElements );41 break;4243 case 'TF_ClientSlider':44 fusionPreview.updateClientSliderPreview( thisRef, model, subElements );45 break;4647 case 'TF_ContentBoxes':48 fusionPreview.updateContentBoxesPreview( thisRef, model, subElements );49 break;5051 case 'TF_CountDown':52 fusionPreview.updateCountdownPreview( thisRef, model, subElements );53 break;5455 case 'TF_CounterBox':56 fusionPreview.updateCounterBoxPreview( thisRef, model, subElements );57 break;5859 case 'TF_FlipBoxes':60 fusionPreview.updateFlipBoxesPreview( thisRef, model, subElements );61 break;6263 case 'TF_FontAwesome':64 fusionPreview.updateFontAwesomePreview( thisRef, model, subElements );65 break;6667 case 'TF_FusionSlider':68 fusionPreview.updateFusionSliderPreview( thisRef, model, subElements );69 break;7071 case 'TF_GoogleMap':72 fusionPreview.updateGoogleMapPreview( thisRef, model, subElements );73 break;7475 case 'TF_ImageFrame':76 fusionPreview.updateImageFramePreview( thisRef, model, subElements );77 break;7879 case 'TF_ImageCarousel':80 fusionPreview.updateImageCarouselPreview( thisRef, model, subElements );81 break;8283 case 'TF_LayerSlider':84 fusionPreview.updateLayerSliderPreview( thisRef, model, subElements );85 break;8687 case 'TF_LightBox':88 fusionPreview.updateLightBoxPreview( thisRef, model, subElements );89 break;9091 case 'TF_Login':92 fusionPreview.updateLoginPreview( thisRef, model, subElements );93 break;9495 case 'TF_MenuAnchor':96 fusionPreview.updateMenuAnchorPreview( thisRef, model, subElements );97 break;9899 case 'TF_Modal':100 fusionPreview.updateModalPreview( thisRef, model, subElements );101 break;102103 case 'TF_Person':104 fusionPreview.updatePersonPreview( thisRef, model, subElements );105 break;106107 case 'TF_PostSlider':108 fusionPreview.updatePostSliderPreview( thisRef, model, subElements );109 break;110111 case 'TF_PricingTable':112 fusionPreview.updatePricingTablePreview( thisRef, model, subElements );113 break;114115 case 'TF_ProgressBar':116 fusionPreview.updateProgressBarPreview( thisRef, model, subElements );117 break;118119 case 'TF_RecentPosts':120 fusionPreview.updateRecentPostsPreview( thisRef, model, subElements );121 break;122123 case 'TF_RecentWorks':124 fusionPreview.updateRecentWorksPreview( thisRef, model, subElements );125 break;126127 case 'TF_RevolutionSlider':128 fusionPreview.updateRevSliderPreview( thisRef, model, subElements );129 break;130131 case 'TF_Separator':132 fusionPreview.updateSeparatorPreview( thisRef, model, subElements );133 break;134135 case 'TF_SharingBox':136 fusionPreview.updateSharingBoxPreview( thisRef, model, subElements );137 break;138139 case 'TF_Slider':140 fusionPreview.updateSliderPreview( thisRef, model, subElements );141 break;142143 case 'TF_SoundCloud':144 fusionPreview.updateSoundCloudPreview( thisRef, model, subElements );145 break;146147 case 'TF_Tabs':148 fusionPreview.updateTabsPreview( thisRef, model, subElements );149 break;150151 case 'TF_Table':152 fusionPreview.updateTablePreview( thisRef, model, subElements );153 break;154155 case 'TF_TaglineBox':156 fusionPreview.updateTaglineBoxPreview( thisRef, model, subElements );157 break;158159 case 'TF_Testimonial':160 fusionPreview.updateTestimonialPreview( thisRef, model, subElements );161 break;162163 case 'TF_FusionText':164 fusionPreview.updateTextBlockPreview( thisRef, model, subElements );165 break;166167 case 'TF_Title':168 fusionPreview.updateTitlePreview( thisRef, model, subElements );169 break;170171 case 'TF_Toggles':172 fusionPreview.updateTogglesPreview( thisRef, model, subElements );173 break;174175 case 'TF_Vimeo':176 fusionPreview.updateVimeoPreview( thisRef, model, subElements );177 break;178179 case 'TF_WidgetArea':180 fusionPreview.updateWidgetAreaPreview( thisRef, model, subElements );181 break;182183 case 'TF_WooShortcodes':184 fusionPreview.updateWooShortcodesPreview( thisRef, model, subElements );185 break;186187 case 'TF_Youtube':188 fusionPreview.updateYoutubePreview( thisRef, model, subElements );189 break;190191 default:192 $(thisRef.el).find('.innerElement').html( model.get('innerHtml') );193 }194 }195 /**196 * Update Preview of element197 *198 * @since 2.0.0199 *200 * @param OBJECT Reference to current element201 *202 * @param OBJECT Data model of element203 *204 * @param OBJECT Sub elements data205 *206 * @return NULL207 **/208 fusionPreview.updateAlertPreview = function( thisRef, model, subElements ) {209210 var innerHtml = model.get('innerHtml');211 var icon = '';212 //for icon213 switch(subElements[0].value ) {214 case 'general':215 icon = 'fa fa-lg fa-info-circle';216 break;217 case 'error':218 icon = 'fa fa-lg fa-exclamation-triangle';219 break;220 case 'success':221 icon = 'fa fa-lg fa-check-circle';222 break;223 case 'notice':224 icon = 'fa fa-lg fa-lg fa-cog';225 break;226 case 'custom':227 icon = 'fa '+subElements[4].value;228 break;229 }230 innerHtml = innerHtml.replace( $(innerHtml).find('sub.sub').html() , subElements[6].value );231 innerHtml = innerHtml.replace( $(innerHtml).find('i').attr('class') , icon );232233 $(thisRef.el).find('.innerElement').html( innerHtml );234 }235 /**236 * Update Preview of element237 *238 * @since 2.0.0239 *240 * @param OBJECT Reference to current element241 *242 * @param OBJECT Data model of element243 *244 * @param OBJECT Sub elements data245 *246 * @return NULL247 **/248 fusionPreview.updateBlogPreview = function( thisRef, model, subElements ) {249250 var innerHtml = model.get('innerHtml');251 innerHtml = innerHtml.replace( $(innerHtml).find('span.blog_layout').html() , subElements[0].value );252 if(subElements[0].value == 'grid') {253 innerHtml = innerHtml.replace( $(innerHtml).find('font.blog_columns').html() , '<br /> columns = ' + subElements[19].value );254 } else {255 innerHtml = innerHtml.replace( $(innerHtml).find('font.blog_columns').html(), '' );256 }257258 $(thisRef.el).find('.innerElement').html( innerHtml );259260 }261 /**262 * Update Preview of element263 *264 * @since 2.0.0265 *266 * @param OBJECT Reference to current element267 *268 * @param OBJECT Data model of element269 *270 * @param OBJECT Sub elements data271 *272 * @return NULL273 **/274 fusionPreview.updateButtonPreview = function( thisRef, model, subElements ) {275276 var innerHtml = model.get('innerHtml');277 var buttonStyle = '';278 //for button color279 switch( subElements[1].value ) {280 case 'custom':281 var topC = ( subElements[9].value == 'transparent' ) ? '#ebeaea' : subElements[9].value;282 var botC = subElements[10].value;283 var acnC = subElements[11].value;284 buttonStyle = "background: "+topC+";background: -moz-linear-gradient(top, "+topC+" 0%, "+botC+" 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,"+topC+"), color-stop(100%,"+botC+"));background: -webkit-linear-gradient(top, "+topC+" 0%,"+botC+" 100%);background: -o-linear-gradient(top, "+topC+" 0%,"+botC+" 100%);background: -ms-linear-gradient(top, "+topC+" 0%,"+botC+" 100%);background: linear-gradient(to bottom, "+topC+" 0%,"+botC+" 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='"+topC+"', endColorstr='"+botC+"',GradientType=0 );border: 1px solid #fff;color: #fff;border: 1px solid "+acnC+";color: "+acnC+";";285 innerHtml = innerHtml.replace( $(innerHtml).find('a.button').attr('style') , buttonStyle );286 innerHtml = innerHtml.replace( $(innerHtml).find('a.button').attr('class') , 'button custom' );287 break;288289 default:290 buttonStyle = "button "+subElements[1].value;291 innerHtml = innerHtml.replace( $(innerHtml).find('a.button').attr('class') , buttonStyle );292 break;293 }294295 if ( subElements[3].value == 'yes' ) {296 innerHtml = innerHtml.replace( 'selector:attrib' , 'width:100%;' );297 }298299 innerHtml = innerHtml.replace( $(innerHtml).find('span.fusion-button-text').html() , subElements[8].value );300301302 $(thisRef.el).find('.innerElement').html( innerHtml );303 }304 /**305 * Update Preview of element306 *307 * @since 2.0.0308 *309 * @param OBJECT Reference to current element310 *311 * @param OBJECT Data model of element312 *313 * @param OBJECT Sub elements data314 *315 * @return NULL316 **/317 fusionPreview.updateChecklistPreview = function( thisRef, model, subElements ) {318319 var innerHtml = model.get('innerHtml');320 var totalElements = subElements[7].elements.length;321 var previewData = '';322 var counter = 0;323 for ( i = 0; i < totalElements; i ++) {324 element = subElements[7].elements[i];325 value = '';326 //fot HTML327 if( /<[a-z][\s\S]*>/i.test( element[1].value ) ) {328 value = $(element[1].value).text();329 }else {330 value = element[1].value;331 }332333 if( element[1].value != '' ) {334 previewData+= '<li><i ';335 if( element[0].value != '' ) {336 previewData+= 'class="fa '+element[0].value+'"></i>';337 } else {338 previewData+= 'class="fa '+subElements[0].value+'"></i>';339 }340 previewData+= value;341 previewData+= '</li>';342 counter++;343 }344 if( counter == 3 ) { break; }345 }346347 innerHtml = innerHtml.replace( $(innerHtml).find('ul.checklist_elements').html() , previewData );348349 $(thisRef.el).find('.innerElement').html( innerHtml );350351 }352 /**353 * Update Preview of element354 *355 * @since 2.0.0356 *357 * @param OBJECT Reference to current element358 *359 * @param OBJECT Data model of element360 *361 * @param OBJECT Sub elements data362 *363 * @return NULL364 **/365 fusionPreview.updateClientSliderPreview = function( thisRef, model, subElements ) {366367 var innerHtml = model.get('innerHtml');368 var totalElements = subElements[3].elements.length;369 var previewData = '';370371 for ( i = 0; i < totalElements; i ++) {372 element = subElements[3].elements[i];373 previewData+= '<li>';374 previewData+= ' <img src="'+element[2].value+'">';375 previewData+= '</li>';376377 if( i == 4 ) break;378 }379380 innerHtml = innerHtml.replace( $(innerHtml).find('ul.client_slider_elements').html() , previewData );381382 $(thisRef.el).find('.innerElement').html( innerHtml );383384 }385 /**386 * Update Preview of element387 *388 * @since 2.0.0389 *390 * @param OBJECT Reference to current element391 *392 * @param OBJECT Data model of element393 *394 * @param OBJECT Sub elements data395 *396 * @return NULL397 **/398 fusionPreview.updateContentBoxesPreview = function( thisRef, model, subElements ) {399400 var innerHtml = model.get('innerHtml');401402 innerHtml = innerHtml.replace( $(innerHtml).find('span.content_boxes_layout').html() , subElements[1].value );403 innerHtml = innerHtml.replace( $(innerHtml).find('font.content_boxes_columns').html() , subElements[2].value );404405 $(thisRef.el).find('.innerElement').html( innerHtml );406 }407408 /**409 * Update Preview of element410 *411 * @since 2.0.0412 *413 * @param OBJECT Reference to current element414 *415 * @param OBJECT Data model of element416 *417 * @param OBJECT Sub elements data418 *419 * @return NULL420 **/421 fusionPreview.updateCountdownPreview = function( thisRef, model, subElements ) {422423 var $target_time = new Date(),424 $now_time = new Date();425426 if ( subElements[0].value == '' ) {427 $secs = 0;428 $mins = 0;429 $hours = 0;430 $days = 0;431 $weeks = 0;432 } else {433 var $timer = subElements[0].value.replace( ' ', '-' ).replace( new RegExp( ':', 'g' ), '-' ).split( '-' );434435 $target_time = new Date( $timer[1] + '/' + $timer[2] + '/' + $timer[0] + ' ' + $timer[3] + ':' + $timer[4] + ':' + $timer[5] );436437 $difference_in_secs = Math.floor( ( $target_time.valueOf() - $now_time.valueOf()) / 1000 );438439 $secs = $difference_in_secs % 60;440 $mins = Math.floor( $difference_in_secs/60 )%60;441 $hours = Math.floor( $difference_in_secs/60/60 )%24;442443 if ( subElements[1].value == 'no' ) {444 $days = Math.floor( $difference_in_secs/60/60/24 );445 $weeks = Math.floor( $difference_in_secs/60/60/24/7 );446 } else {447 $days = Math.floor( $difference_in_secs/60/60/24 )%7;448 $weeks = Math.floor( $difference_in_secs/60/60/24/7 );449 }450 }451 var innerHtml = model.get('innerHtml');452453 if ( subElements[1].value == 'no' ) {454 innerHtml = innerHtml.replace( $( innerHtml ).find( '.fusion_dash_weeks' ).html(), '' );455 innerHtml = innerHtml.replace( '<span class="fusion_dash_weeks"></span>', '' );456 } else {457 innerHtml = innerHtml.replace( $( innerHtml ).find( '.fusion_dash_weeks .dash' ).html(), $weeks );458 }459460 innerHtml = innerHtml.replace( $( innerHtml ).find( '.fusion_dash_days .dash' ).html(), $days );461 innerHtml = innerHtml.replace( $( innerHtml ).find( '.fusion_dash_hrs .dash' ).html(), $hours );462 innerHtml = innerHtml.replace( $( innerHtml ).find( '.fusion_dash_mins .dash' ).html(), $mins );463 innerHtml = innerHtml.replace( $( innerHtml ).find( '.fusion_dash_secs .dash' ).html(), $secs );464465 $(thisRef.el).find('.innerElement').html( innerHtml );466 }467468 /**469 * Update Preview of element470 *471 * @since 2.0.0472 *473 * @param OBJECT Reference to current element474 *475 * @param OBJECT Data model of element476 *477 * @param OBJECT Sub elements data478 *479 * @return NULL480 **/481 fusionPreview.updateCounterBoxPreview = function( thisRef, model, subElements ) {482483 var innerHtml = model.get('innerHtml');484485 innerHtml = innerHtml.replace( $(innerHtml).find('font.counter_box_columns').html() , subElements[0].value );486487 $(thisRef.el).find('.innerElement').html( innerHtml );488 }489 /**490 * Update Preview of element491 *492 * @since 2.0.0493 *494 * @param OBJECT Reference to current element495 *496 * @param OBJECT Data model of element497 *498 * @param OBJECT Sub elements data499 *500 * @return NULL501 **/502 fusionPreview.updateFlipBoxesPreview = function( thisRef, model, subElements ) {503504 var innerHtml = model.get('innerHtml');505506 innerHtml = innerHtml.replace( $(innerHtml).find('font.flip_boxes_columns').html() , subElements[0].value );507508 $(thisRef.el).find('.innerElement').html( innerHtml );509 }510 /**511 * Update Preview of element512 *513 * @since 2.0.0514 *515 * @param OBJECT Reference to current element516 *517 * @param OBJECT Data model of element518 *519 * @param OBJECT Sub elements data520 *521 * @return NULL522 **/523 fusionPreview.updateFontAwesomePreview = function( thisRef, model, subElements ) {524525 var innerHtml = model.get('innerHtml');526 var previewData = '';527 var iconElement = '';528 //for icon529 if( !subElements[0].value.trim() ) {530 iconElement = '<i class="fusiona-flag" style="color:'+subElements[3].value+'"></i>';531 } else {532 iconElement = '<i class="fa '+subElements[0].value+'" style="color:'+subElements[3].value+'"></i>';533 }534 //for circle535 if( subElements[1].value == 'yes' ) {536 previewData = '<h3 style="background:'+subElements[4].value+'">'+iconElement+'</h3>';537 } else {538 previewData = iconElement;539 }540541 innerHtml = innerHtml.replace( $(innerHtml).find('span.fusion_iconbox_icon').html() , previewData );542543 $(thisRef.el).find('.innerElement').html( innerHtml );544 }545 /**546 * Update Preview of element547 *548 * @since 2.0.0549 *550 * @param OBJECT Reference to current element551 *552 * @param OBJECT Data model of element553 *554 * @param OBJECT Sub elements data555 *556 * @return NULL557 **/558 fusionPreview.updateFusionSliderPreview = function( thisRef, model, subElements ) {559560 var innerHtml = model.get('innerHtml');561562 innerHtml = innerHtml.replace( $(innerHtml).find('span.fusion_slider_name').html() , subElements[0].value );563564 $(thisRef.el).find('.innerElement').html( innerHtml );565 }566 /**567 * Update Preview of element568 *569 * @since 2.0.0570 *571 * @param OBJECT Reference to current element572 *573 * @param OBJECT Data model of element574 *575 * @param OBJECT Sub elements data576 *577 * @return NULL578 **/579 fusionPreview.updateGoogleMapPreview = function( thisRef, model, subElements ) {580581 var innerHtml = model.get('innerHtml');582583 innerHtml = innerHtml.replace( $(innerHtml).find('p.google_map_address').html() , subElements[16].value );584585 $(thisRef.el).find('.innerElement').html( innerHtml );586 }587 /**588 * Update Preview of element589 *590 * @since 2.0.0591 *592 * @param OBJECT Reference to current element593 *594 * @param OBJECT Data model of element595 *596 * @param OBJECT Sub elements data597 *598 * @return NULL599 **/600 fusionPreview.updateImageFramePreview = function( thisRef, model, subElements ) {601602 var innerHtml = model.get('innerHtml');603604 innerHtml = innerHtml.replace( $(innerHtml).find('div.img_frame_section').html() , '<img src="'+subElements[9].value+'">' );605606 $(thisRef.el).find('.innerElement').html( innerHtml );607 }608 /**609 * Update Preview of element610 *611 * @since 2.0.0612 *613 * @param OBJECT Reference to current element614 *615 * @param OBJECT Data model of element616 *617 * @param OBJECT Sub elements data618 *619 * @return NULL620 **/621 fusionPreview.updateImageCarouselPreview = function( thisRef, model, subElements ) {622623 var innerHtml = model.get('innerHtml');624 var totalElements = subElements[12].elements.length;625 var previewData = '';626627 for ( i = 0; i < totalElements; i ++) {628 element = subElements[12].elements[i];629 previewData+= '<li>';630 previewData+= ' <img src="'+element[2].value+'">';631 previewData+= '</li>';632633 if( i == 4 ) break;634635 }636637 innerHtml = innerHtml.replace( $(innerHtml).find('ul.image_carousel_elements').html() , previewData );638639 $(thisRef.el).find('.innerElement').html( innerHtml );640641 }642 /**643 * Update Preview of element644 *645 * @since 2.0.0646 *647 * @param OBJECT Reference to current element648 *649 * @param OBJECT Data model of element650 *651 * @param OBJECT Sub elements data652 *653 * @return NULL654 **/655 fusionPreview.updateLayerSliderPreview = function( thisRef, model, subElements ) {656657 var innerHtml = model.get('innerHtml');658659 innerHtml = innerHtml.replace( $(innerHtml).find('span.layer_slider_id').html() , subElements[0].value );660661 $(thisRef.el).find('.innerElement').html( innerHtml );662 }663 /**664 * Update Preview of element665 *666 * @since 2.0.0667 *668 * @param OBJECT Reference to current element669 *670 * @param OBJECT Data model of element671 *672 * @param OBJECT Sub elements data673 *674 * @return NULL675 **/676 fusionPreview.updateLoginPreview = function( thisRef, model, subElements ) {677678 var innerHtml = model.get('innerHtml');679680 $(thisRef.el).find('.innerElement').html( innerHtml );681 $(thisRef.el).find('.innerElement').find( '.' + subElements[0].value ).show();682 }683 /**684 * Update Preview of element685 *686 * @since 2.0.0687 *688 * @param OBJECT Reference to current element689 *690 * @param OBJECT Data model of element691 *692 * @param OBJECT Sub elements data693 *694 * @return NULL695 **/696 fusionPreview.updateMenuAnchorPreview = function( thisRef, model, subElements ) {697698 var innerHtml = model.get('innerHtml');699700 innerHtml = innerHtml.replace( $(innerHtml).find('span.anchor_name').html() , subElements[0].value );701702 $(thisRef.el).find('.innerElement').html( innerHtml );703 }704 /**705 * Update Preview of element706 *707 * @since 2.0.0708 *709 * @param OBJECT Reference to current element710 *711 * @param OBJECT Data model of element712 *713 * @param OBJECT Sub elements data714 *715 * @return NULL716 **/717 fusionPreview.updateModalPreview = function( thisRef, model, subElements ) {718719 var innerHtml = model.get('innerHtml');720721 innerHtml = innerHtml.replace( $(innerHtml).find('span.modal_name').html() , subElements[0].value );722723 $(thisRef.el).find('.innerElement').html( innerHtml );724 }725 /**726 * Update Preview of element727 *728 * @since 2.0.0729 *730 * @param OBJECT Reference to current element731 *732 * @param OBJECT Data model of element733 *734 * @param OBJECT Sub elements data735 *736 * @return NULL737 **/738 fusionPreview.updatePersonPreview = function( thisRef, model, subElements ) {739740 var innerHtml = model.get('innerHtml');741742 innerHtml = innerHtml.replace( $(innerHtml).find('div.img_frame_section').html() , '<img src="'+subElements[3].value+'">' );743 innerHtml = innerHtml.replace( $(innerHtml).find('p.person_name').html() , subElements[0].value );744745 $(thisRef.el).find('.innerElement').html( innerHtml );746 }747 /**748 * Update Preview of element749 *750 * @since 2.0.0751 *752 * @param OBJECT Reference to current element753 *754 * @param OBJECT Data model of element755 *756 * @param OBJECT Sub elements data757 *758 * @return NULL759 **/760 fusionPreview.updatePostSliderPreview = function( thisRef, model, subElements ) {761762 var innerHtml = model.get('innerHtml');763 //for attachment layout764 if( subElements[0].value == 'attachments' ) {765 innerHtml = innerHtml.replace( $(innerHtml).find('span.cat_container').attr('style') , 'display:none' );766 } else {767 innerHtml = innerHtml.replace( $(innerHtml).find('span.cat_container').attr('style') , 'display:' );768 }769 innerHtml = innerHtml.replace( $(innerHtml).find('span.post_slider_layout').html() , subElements[0].value );770771 var cat = ( !subElements[2].value.trim() ) ? 'all' : subElements[2].value;772 innerHtml = innerHtml.replace( $(innerHtml).find('span.post_slider_cat').html() , cat );773774 $(thisRef.el).find('.innerElement').html( innerHtml );775 }776 /**777 * Update Preview of element778 *779 * @since 2.0.0780 *781 * @param OBJECT Reference to current element782 *783 * @param OBJECT Data model of element784 *785 * @param OBJECT Sub elements data786 *787 * @return NULL788 **/789 fusionPreview.updatePricingTablePreview = function( thisRef, model, subElements ) {790791 var innerHtml = model.get('innerHtml');792 var columns = subElements[4].value.match(/pricing_column/g);793794 innerHtml = innerHtml.replace( $(innerHtml).find('span.pricing_table_style').html() , subElements[0].value );795 innerHtml = innerHtml.replace( $(innerHtml).find('font.pricing_table_columns').html() , columns.length / 2 );796797 $(thisRef.el).find('.innerElement').html( innerHtml );798 }799 /**800 * Update Preview of element801 *802 * @since 2.0.0803 *804 * @param OBJECT Reference to current element805 *806 * @param OBJECT Data model of element807 *808 * @param OBJECT Sub elements data809 *810 * @return NULL811 **/812 fusionPreview.updateProgressBarPreview = function( thisRef, model, subElements ) {813814 var innerHtml = model.get('innerHtml');815816 innerHtml = innerHtml.replace( $(innerHtml).find('p.progress_bar_text').html() , subElements[9].value );817818 $(thisRef.el).find('.innerElement').html( innerHtml );819 }820 /**821 * Update Preview of element822 *823 * @since 2.0.0824 *825 * @param OBJECT Reference to current element826 *827 * @param OBJECT Data model of element828 *829 * @param OBJECT Sub elements data830 *831 * @return NULL832 **/833 fusionPreview.updateRecentPostsPreview = function( thisRef, model, subElements ) {834835 var innerHtml = model.get('innerHtml');836837 innerHtml = innerHtml.replace( $(innerHtml).find('span.recent_posts_layout').html() , subElements[0].value );838 innerHtml = innerHtml.replace( $(innerHtml).find('font.recent_posts_columns').html() , subElements[2].value );839840 var cats = fusionParser.getUniqueElements( subElements[5].value ).join();841 cats = ( cats == '' ? 'All' : cats);842 innerHtml = innerHtml.replace( $(innerHtml).find('font.recent_posts_cats').html() , cats );843844 $(thisRef.el).find('.innerElement').html( innerHtml );845 }846 /**847 * Update Preview of element848 *849 * @since 2.0.0850 *851 * @param OBJECT Reference to current element852 *853 * @param OBJECT Data model of element854 *855 * @param OBJECT Sub elements data856 *857 * @return NULL858 **/859 fusionPreview.updateRecentWorksPreview = function( thisRef, model, subElements ) {860861 var innerHtml = model.get('innerHtml');862 //for carousel layout863 if( subElements[0].value == 'carousel' ) {864 innerHtml = innerHtml.replace( $(innerHtml).find('span.columns_container').attr('style') , 'display:none' );865 } else {866 innerHtml = innerHtml.replace( $(innerHtml).find('span.columns_container').attr('style') , 'display:' );867 }868869 innerHtml = innerHtml.replace( $(innerHtml).find('span.recent_works_layout').html() , subElements[0].value );870 innerHtml = innerHtml.replace( $(innerHtml).find('font.recent_works_columns').html() , subElements[4].value );871872 var cats = fusionParser.getUniqueElements(subElements[6].value).join();873 cats = ( cats == '' ? 'All' : cats);874 innerHtml = innerHtml.replace( $(innerHtml).find('font.recent_works_cats').html() , cats );875876 $(thisRef.el).find('.innerElement').html( innerHtml );877 }878 /**879 * Update Preview of element880 *881 * @since 2.0.0882 *883 * @param OBJECT Reference to current element884 *885 * @param OBJECT Data model of element886 *887 * @param OBJECT Sub elements data888 *889 * @return NULL890 **/891 fusionPreview.updateRevSliderPreview = function( thisRef, model, subElements ) {892893 var innerHtml = model.get('innerHtml');894895 innerHtml = innerHtml.replace( $(innerHtml).find('span.rev_slider_name').html() , subElements[0].value );896897 $(thisRef.el).find('.innerElement').html( innerHtml );898 }899 /**900 * Update Preview of element901 *902 * @since 2.0.0903 *904 * @param OBJECT Reference to current element905 *906 * @param OBJECT Data model of element907 *908 * @param OBJECT Sub elements data909 *910 * @return NULL911 **/912 fusionPreview.updateSeparatorPreview = function( thisRef, model, subElements ) {913914 var innerHtml = model.get('innerHtml');915 var sep_css, icon_css = '';916 subElements[0].value = ( !subElements[0].value.trim() ) ? 'none' : subElements[0].value;917 innerHtml = innerHtml.replace( $(innerHtml).find('section').attr('class') , 'separator ' + subElements[0].value.replace("|", "_") );918919 switch( subElements[0].value ) {920921 case 'none':922 //do nothing923 break;924925 case 'double':926 sep_css = 'border-bottom: 1px solid '+subElements[3].value+';border-top: 1px solid '+subElements[3].value+';';927 break;928929 case 'double|dashed':930 sep_css = 'border-bottom: 1px dashed '+subElements[3].value+';border-top: 1px dashed '+subElements[3].value+';';931 break;932933 case 'double|dotted':934 sep_css = 'border-bottom: 1px dotted '+subElements[3].value+';border-top: 1px dotted '+subElements[3].value+';';935 break;936937 case 'shadow':938 sep_css = 'background:radial-gradient(ellipse at 50% -50% , '+subElements[3].value+' 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0)';939 break;940941 default:942 sep_css = 'background:'+subElements[3].value+';';943 break;944945 }946947 // width948 if( subElements[8].value != '' ) {949 sep_css += 'width:'+subElements[7].value+';';950951 // alignment952 if( subElements[9].value == 'left' ) {953 sep_css += 'margin-left:5%;margin-right:0;';954 } else if ( subElements[9].value == 'right' ) {955 sep_css += 'float:right;margin-right:5%;';956 }957 }958959 if( subElements[3].value != '' || subElements[8].value != '' ) {960 innerHtml = innerHtml.replace( $(innerHtml).find('section').attr('style') , sep_css );961 }962963 //for icon964 if( subElements[0].value != 'none' && subElements[0].value != '' && subElements[5].value != '' ) {965 innerHtml = innerHtml.replace( $(innerHtml).find('i:eq(1)').attr('class') , "icon fa "+subElements[5].value);966 } else {967 innerHtml = innerHtml.replace( $(innerHtml).find('i:eq(1)').attr('class') , "fake_class");968 }969 //color for circle border970 if ( subElements[6].value != 'no' ) {971 icon_css = "color:"+subElements[3].value+";border-color:"+subElements[3].value+';';972 } else {973 icon_css = "color:"+subElements[3].value+";border-color:transparent;";974 }975976 //color for circle bg977 if ( subElements[7].value != '' ) {978 icon_css += "background-color:"+subElements[7].value;979 }980981 innerHtml = innerHtml.replace( $(innerHtml).find('i:eq(1)').attr('style') , icon_css );982983 //for upper content984 if( subElements[0].value != 'none' ) {985 innerHtml = innerHtml.replace( $(innerHtml).find('span.upper_container').attr('style') , 'display:none' );986 } else {987 innerHtml = innerHtml.replace( $(innerHtml).find('span.upper_container').attr('style') , '' );988 }989 $(thisRef.el).find('.innerElement').html( innerHtml );990 }991 /**992 * Update Preview of element993 *994 * @since 2.0.0995 *996 * @param OBJECT Reference to current element997 *998 * @param OBJECT Data model of element999 *1000 * @param OBJECT Sub elements data1001 *1002 * @return NULL1003 **/1004 fusionPreview.updateSharingBoxPreview = function( thisRef, model, subElements ) {10051006 var innerHtml = model.get('innerHtml');10071008 innerHtml = innerHtml.replace( $(innerHtml).find('p.sharing_tagline').html() , subElements[0].value );10091010 $(thisRef.el).find('.innerElement').html( innerHtml );1011 }1012 /**1013 * Update Preview of element1014 *1015 * @since 2.0.01016 *1017 * @param OBJECT Reference to current element1018 *1019 * @param OBJECT Data model of element1020 *1021 * @param OBJECT Sub elements data1022 *1023 * @return NULL1024 **/1025 fusionPreview.updateSliderPreview = function( thisRef, model, subElements ) {10261027 var innerHtml = model.get('innerHtml');1028 var totalElements = subElements[5].elements.length;1029 var previewData = '';10301031 for ( i = 0; i < totalElements; i ++) {1032 element = subElements[5].elements[i];10331034 previewData+= '<li>';1035 if( element[0].value == 'video' ) {1036 previewData+= '<h1 class="video_type">Video</h1>';1037 } else if ( element[0].value == 'image' ) {1038 previewData+= ' <img src="'+element[1].value+'">';1039 }1040 previewData+= '</li>';10411042 if( i == 4 ) break;10431044 }10451046 innerHtml = innerHtml.replace( $(innerHtml).find('ul.slider_elements').html() , previewData );10471048 $(thisRef.el).find('.innerElement').html( innerHtml );10491050 }1051 /**1052 * Update Preview of element1053 *1054 * @since 2.0.01055 *1056 * @param OBJECT Reference to current element1057 *1058 * @param OBJECT Data model of element1059 *1060 * @param OBJECT Sub elements data1061 *1062 * @return NULL1063 **/1064 fusionPreview.updateSoundCloudPreview = function( thisRef, model, subElements ) {10651066 var innerHtml = model.get('innerHtml');10671068 innerHtml = innerHtml.replace( $(innerHtml).find('p.soundcloud_url').html() , subElements[0].value );10691070 $(thisRef.el).find('.innerElement').html( innerHtml );1071 }1072 /**1073 * Update Preview of element1074 *1075 * @since 2.0.01076 *1077 * @param OBJECT Reference to current element1078 *1079 * @param OBJECT Data model of element1080 *1081 * @param OBJECT Sub elements data1082 *1083 * @return NULL1084 **/1085 fusionPreview.updateTabsPreview = function( thisRef, model, subElements ) {10861087 var innerHtml = model.get('innerHtml');1088 var totalElements = subElements[8].elements.length;1089 var previewData = '';1090 var counter = 0;1091 for ( i = 0; i < totalElements; i ++) {1092 element = subElements[8].elements[i];1093 if( element[0].value != '' ) {1094 previewData+= '<li>'+element[0].value+'</li>';1095 counter++;1096 }10971098 if( counter == 3 ) break;10991100 }11011102 innerHtml = innerHtml.replace( $(innerHtml).find('ul.tabs_elements').html() , previewData );11031104 $(thisRef.el).find('.innerElement').html( innerHtml );11051106 }1107 /**1108 * Update Preview of element1109 *1110 * @since 2.0.01111 *1112 * @param OBJECT Reference to current element1113 *1114 * @param OBJECT Data model of element1115 *1116 * @param OBJECT Sub elements data1117 *1118 * @return NULL1119 **/1120 fusionPreview.updateTablePreview = function( thisRef, model, subElements ) {11211122 var innerHtml = model.get('innerHtml');11231124 innerHtml = innerHtml.replace( $(innerHtml).find('span.table_style').html() , subElements[0].value );1125 innerHtml = innerHtml.replace( $(innerHtml).find('font.table_columns').html() , subElements[1].value );11261127 $(thisRef.el).find('.innerElement').html( innerHtml );1128 }1129 /**1130 * Update Preview of element1131 *1132 * @since 2.0.01133 *1134 * @param OBJECT Reference to current element1135 *1136 * @param OBJECT Data model of element1137 *1138 * @param OBJECT Sub elements data1139 *1140 * @return NULL1141 **/1142 fusionPreview.updateTaglineBoxPreview = function( thisRef, model, subElements ) {11431144 var innerHtml = model.get('innerHtml');11451146 innerHtml = innerHtml.replace( $(innerHtml).find('p.tagline_title').html() , subElements[15].value );11471148 $(thisRef.el).find('.innerElement').html( innerHtml );1149 }1150 /**1151 * Update Preview of element1152 *1153 * @since 2.0.01154 *1155 * @param OBJECT Reference to current element1156 *1157 * @param OBJECT Data model of element1158 *1159 * @param OBJECT Sub elements data1160 *1161 * @return NULL1162 **/1163 fusionPreview.updateTestimonialPreview = function( thisRef, model, subElements ) {11641165 var innerHtml = model.get('innerHtml');1166 var totalElements = subElements[6].elements.length;1167 var previewData = '';11681169 for ( i = 0; i < totalElements; i ++) {1170 element = subElements[6].elements[i];11711172 //if name exists1173 if ( element[0].value != '' ) {1174 previewData+= element[0].value ;1175 }1176 //if company exists1177 if( element[4].value != '' ) {1178 previewData+= ', '+element[4].value+'<br>';1179 } else {1180 previewData+= ', <br>';1181 }1182 }11831184 innerHtml = innerHtml.replace( $(innerHtml).find('p.testimonial_content').html() , previewData );11851186 $(thisRef.el).find('.innerElement').html( innerHtml );11871188 }1189 /**1190 * Update Preview of element1191 *1192 * @since 2.0.01193 *1194 * @param OBJECT Reference to current element1195 *1196 * @param OBJECT Data model of element1197 *1198 * @param OBJECT Sub elements data1199 *1200 * @return NULL1201 **/1202 fusionPreview.updateTextBlockPreview = function( thisRef, model, subElements ) {12031204 var text_block = $.parseHTML( subElements[0].value );1205 var text_block_html = '';1206 var insert_icon = '';12071208 $(text_block).each(function() {1209 if($(this).get(0).tagName != 'IMG' && typeof $(this).get(0).tagName != 'undefined') {1210 var childrens = $($(this).get(0)).find('*');1211 var child_img = false;1212 if(childrens.length >= 1) {1213 $.each(childrens, function() {1214 if($(this).get(0).tagName == 'IMG') {1215 child_img = true;1216 }1217 });1218 }1219 if(child_img == true) {1220 text_block_html += $(this).outerHTML();1221 } else {1222 text_block_html += $(this).text();1223 }1224 } else {1225 text_block_html += $(this).outerHTML();1226 }1227 });12281229 if(text_block_html.indexOf('[/pricing_table]') > -1) {1230 insert_icon = '<span class="text-block-icon"><i class="fusiona-icon fusiona-dollar"></i>Pricing Table</span>';1231 }12321233 if(subElements[0].value.indexOf('<div class="table-1">') > -1 || subElements[0].value.indexOf('<div class="table-2">') > -1) {1234 insert_icon = '<span class="text-block-icon"><i class="fusiona-icon fusiona-table"></i>Table</span>';1235 }12361237 if(1238 typeof wp.shortcode.next('woocommerce_order_tracking', text_block_html) == 'object' ||1239 typeof wp.shortcode.next('add_to_cart', text_block_html) == 'object' ||1240 typeof wp.shortcode.next('product', text_block_html) == 'object' ||1241 typeof wp.shortcode.next('products', text_block_html) == 'object' ||1242 typeof wp.shortcode.next('product_categories', text_block_html) == 'object' ||1243 typeof wp.shortcode.next('product_category', text_block_html) == 'object' ||1244 typeof wp.shortcode.next('recent_products', text_block_html) == 'object' ||1245 typeof wp.shortcode.next('featured_products', text_block_html) == 'object' ||1246 typeof wp.shortcode.next('woocommerce_shop_messages', text_block_html) == 'object'1247 ) {1248 insert_icon = '<span class="text-block-icon"><i class="fusiona-icon fusiona-shopping-cart"></i>Woo Shortcodes</span>';1249 }12501251 innerHtml = $( '<div class="fake-wrapper">' + model.get('innerHtml') + '</div>' ).find( 'span' ).append( insert_icon + '<small>'+text_block_html+'</small>' ).parents('.fake-wrapper').html();12521253 $(thisRef.el).find('.innerElement').html( innerHtml );1254 }1255 /**1256 * Update Preview of element1257 *1258 * @since 2.0.01259 *1260 * @param OBJECT Reference to current element1261 *1262 * @param OBJECT Data model of element1263 *1264 * @param OBJECT Sub elements data1265 *1266 * @return NULL1267 **/1268 fusionPreview.updateTitlePreview = function( thisRef, model, subElements ) {12691270 var innerHtml = model.get('innerHtml');1271 var value = '';1272 //HTML check1273 if( /<[a-z][\s\S]*>/i.test( subElements[6].value ) ) {1274 value = $(subElements[6].value).text();1275 }else {1276 value = subElements[6].value;1277 }1278 //for text1279 if( value != '' ) {1280 innerHtml = innerHtml.replace( $(innerHtml).find('sub.title_text').html() , value );1281 }1282 //for color and style1283 if ( subElements[1].value == 'center' ) {1284 innerHtml = innerHtml.replace( $(innerHtml).find('section').attr('class') , 'title-sep-center' );1285 innerHtml = innerHtml.replace( $(innerHtml).find('section').attr('style') , '' );12861287 innerHtml = innerHtml.replace( $(innerHtml).find('section > div').attr('class') , subElements[2].value.replace(' ','_') );1288 innerHtml = innerHtml.replace( $(innerHtml).find('section > div').attr('style') , "border-color:"+subElements[3].value);1289 } else {1290 innerHtml = innerHtml.replace( $(innerHtml).find('section').attr('class') , ( subElements[2].value.replace( ' ','_' ) ) ? ( subElements[2].value.replace( ' ','_' ) ) : 'none' );1291 innerHtml = innerHtml.replace( $(innerHtml).find('section').attr('style') , "border-color:"+subElements[3].value);1292 }1293 //for alignment1294 if( subElements[1].value == 'right' ) {1295 innerHtml = innerHtml.replace( $(innerHtml).find('sub.title_text').attr('class') , 'title_text align_right' );1296 } else if( subElements[1].value == 'center' ) {1297 innerHtml = innerHtml.replace( $(innerHtml).find('sub.title_text').attr('class') , 'title_text align_center' );1298 } else {1299 innerHtml = innerHtml.replace( $(innerHtml).find('sub.title_text').attr('class') , 'title_text align_left' );1300 }1301 $(thisRef.el).find('.innerElement').html( innerHtml );1302 }1303 /**1304 * Update Preview of element1305 *1306 * @since 2.0.01307 *1308 * @param OBJECT Reference to current element1309 *1310 * @param OBJECT Data model of element1311 *1312 * @param OBJECT Sub elements data1313 *1314 * @return NULL1315 **/1316 fusionPreview.updateTogglesPreview = function( thisRef, model, subElements ) {13171318 var innerHtml = model.get('innerHtml');1319 var totalElements = subElements[3].elements.length;1320 var previewData = '';1321 var counter = 0;13221323 for ( i = 0; i < totalElements; i ++) {1324 element = subElements[3].elements[i];1325 if( element[0].value != '' ) {1326 previewData+= '<li>'+element[0].value+'</li>';1327 counter++;1328 }13291330 if( counter == 3 ) break;13311332 }13331334 innerHtml = innerHtml.replace( $(innerHtml).find('ul.toggles_content').html() , previewData );13351336 $(thisRef.el).find('.innerElement').html( innerHtml );13371338 }1339 /**1340 * Update Preview of element1341 *1342 * @since 2.0.01343 *1344 * @param OBJECT Reference to current element1345 *1346 * @param OBJECT Data model of element1347 *1348 * @param OBJECT Sub elements data1349 *1350 * @return NULL1351 **/1352 fusionPreview.updateVimeoPreview = function( thisRef, model, subElements ) {13531354 var innerHtml = model.get('innerHtml');13551356 innerHtml = innerHtml.replace( $(innerHtml).find('p.viemo_url').html() , "https://vimeo.com/"+subElements[0].value );13571358 $(thisRef.el).find('.innerElement').html( innerHtml );1359 }13601361 /**1362 * Update Preview of element1363 *1364 * @since 2.0.01365 *1366 * @param OBJECT Reference to current element1367 *1368 * @param OBJECT Data model of element1369 *1370 * @param OBJECT Sub elements data1371 *1372 * @return NULL1373 **/1374 fusionPreview.updateWidgetAreaPreview = function( thisRef, model, subElements ) {13751376 var innerHtml = model.get('innerHtml'),1377 $array_keys = $( innerHtml ).find( '.array_keys' ).html().split( ',' ),1378 $array_values = $( innerHtml ).find( '.array_values' ).html().split( ',' ),1379 $key = $.inArray( subElements[0].value, $array_keys )13801381 innerHtml = innerHtml.replace( $(innerHtml).find( '.fusion_name' ).html() , $array_values[$key] );13821383 $(thisRef.el).find('.innerElement').html( innerHtml );1384 }13851386 /**1387 * Update Preview of element1388 *1389 * @since 2.0.01390 *1391 * @param OBJECT Reference to current element1392 *1393 * @param OBJECT Data model of element1394 *1395 * @param OBJECT Sub elements data1396 *1397 * @return NULL1398 **/1399 fusionPreview.updateWooShortcodesPreview = function( thisRef, model, subElements ) {14001401 var innerHtml = model.get('innerHtml');14021403 innerHtml = innerHtml.replace( $(innerHtml).find('p.woo_shortcode').html() , subElements[1].value );14041405 $(thisRef.el).find('.innerElement').html( innerHtml );1406 }1407 /**1408 * Update Preview of element1409 *1410 * @since 2.0.01411 *1412 * @param OBJECT Reference to current element1413 *1414 * @param OBJECT Data model of element1415 *1416 * @param OBJECT Sub elements data1417 *1418 * @return NULL1419 **/1420 fusionPreview.updateYoutubePreview = function( thisRef, model, subElements ) {14211422 var innerHtml = model.get('innerHtml');14231424 innerHtml = innerHtml.replace( $(innerHtml).find('p.youtube_url').html() , "http://www.youtube.com/"+subElements[0].value );14251426 $(thisRef.el).find('.innerElement').html( innerHtml );1427 }1428 })(jQuery); ...

Full Screen

Full Screen

Matrix.js

Source:Matrix.js Github

copy

Full Screen

1/**2 * Utility class to calculate [affine transformation](http://en.wikipedia.org/wiki/Affine_transformation) matrix.3 *4 * This class is compatible with [SVGMatrix](http://www.w3.org/TR/SVG11/coords.html#InterfaceSVGMatrix) except:5 *6 * 1. Ext.draw.Matrix is not read only.7 * 2. Using Number as its components rather than floats.8 *9 * Using this class helps to reduce the severe numeric 10 * [problem with HTML Canvas and SVG transformation](http://stackoverflow.com/questions/8784405/large-numbers-in-html-canvas-translate-result-in-strange-behavior)11 * 12 * There's also no way to get current transformation matrix [in Canvas](http://stackoverflow.com/questions/7395813/html5-canvas-get-transform-matrix).13 */14Ext.define('Ext.draw.Matrix', {15 isMatrix: true,16 statics: {17 /**18 * @static19 * Return the affine matrix that transform two points (x0, y0) and (x1, y1) to (x0p, y0p) and (x1p, y1p)20 * @param {Number} x021 * @param {Number} y022 * @param {Number} x123 * @param {Number} y124 * @param {Number} x0p25 * @param {Number} y0p26 * @param {Number} x1p27 * @param {Number} y1p28 */29 createAffineMatrixFromTwoPair: function (x0, y0, x1, y1, x0p, y0p, x1p, y1p) {30 var dx = x1 - x0,31 dy = y1 - y0,32 dxp = x1p - x0p,33 dyp = y1p - y0p,34 r = 1 / (dx * dx + dy * dy),35 a = dx * dxp + dy * dyp,36 b = dxp * dy - dx * dyp,37 c = -a * x0 - b * y0,38 f = b * x0 - a * y0;39 return new this(a * r, -b * r, b * r, a * r, c * r + x0p, f * r + y0p);40 },41 /**42 * @static43 * Return the affine matrix that transform two points (x0, y0) and (x1, y1) to (x0p, y0p) and (x1p, y1p)44 * @param {Number} x045 * @param {Number} y046 * @param {Number} x147 * @param {Number} y148 * @param {Number} x0p49 * @param {Number} y0p50 * @param {Number} x1p51 * @param {Number} y1p52 */53 createPanZoomFromTwoPair: function (x0, y0, x1, y1, x0p, y0p, x1p, y1p) {54 if (arguments.length === 2) {55 return this.createPanZoomFromTwoPair.apply(this, x0.concat(y0));56 }57 var dx = x1 - x0,58 dy = y1 - y0,59 cx = (x0 + x1) * 0.5,60 cy = (y0 + y1) * 0.5,61 dxp = x1p - x0p,62 dyp = y1p - y0p,63 cxp = (x0p + x1p) * 0.5,64 cyp = (y0p + y1p) * 0.5,65 r = dx * dx + dy * dy,66 rp = dxp * dxp + dyp * dyp,67 scale = Math.sqrt(rp / r);68 return new this(scale, 0, 0, scale, cxp - scale * cx, cyp - scale * cy);69 },70 /**71 * @static72 * Create a flyweight to wrap the given array.73 * The flyweight will directly refer the object and the elements can be changed by other methods.74 *75 * Do not hold the instance of flyweight matrix.76 *77 * @param {Array} elements78 * @return {Ext.draw.Matrix}79 */80 fly: (function () {81 var flyMatrix = null,82 simplefly = function (elements) {83 flyMatrix.elements = elements;84 return flyMatrix;85 };86 return function (elements) {87 if (!flyMatrix) {88 flyMatrix = new Ext.draw.Matrix();89 }90 flyMatrix.elements = elements;91 Ext.draw.Matrix.fly = simplefly;92 return flyMatrix;93 };94 })(),95 /**96 * @static97 * Create a matrix from `mat`. If `mat` is already a matrix, returns it.98 * @param {Mixed} mat99 * @return {Ext.draw.Matrix}100 */101 create: function (mat) {102 if (mat instanceof this) {103 return mat;104 }105 return new this(mat);106 }107 },108 /**109 * Create an affine transform matrix.110 *111 * @param {Number} xx Coefficient from x to x112 * @param {Number} xy Coefficient from x to y113 * @param {Number} yx Coefficient from y to x114 * @param {Number} yy Coefficient from y to y115 * @param {Number} dx Offset of x116 * @param {Number} dy Offset of y117 */118 constructor: function (xx, xy, yx, yy, dx, dy) {119 if (xx && xx.length === 6) {120 this.elements = xx.slice();121 } else if (xx !== undefined) {122 this.elements = [xx, xy, yx, yy, dx, dy];123 } else {124 this.elements = [1, 0, 0, 1, 0, 0];125 }126 },127 /**128 * Prepend a matrix onto the current.129 *130 * __Note:__ The given transform will come after the current one.131 *132 * @param {Number} xx Coefficient from x to x.133 * @param {Number} xy Coefficient from x to y.134 * @param {Number} yx Coefficient from y to x.135 * @param {Number} yy Coefficient from y to y.136 * @param {Number} dx Offset of x.137 * @param {Number} dy Offset of y.138 * @return {Ext.draw.Matrix} this139 */140 prepend: function (xx, xy, yx, yy, dx, dy) {141 var elements = this.elements,142 xx0 = elements[0],143 xy0 = elements[1],144 yx0 = elements[2],145 yy0 = elements[3],146 dx0 = elements[4],147 dy0 = elements[5];148 elements[0] = xx * xx0 + yx * xy0;149 elements[1] = xy * xx0 + yy * xy0;150 elements[2] = xx * yx0 + yx * yy0;151 elements[3] = xy * yx0 + yy * yy0;152 elements[4] = xx * dx0 + yx * dy0 + dx;153 elements[5] = xy * dx0 + yy * dy0 + dy;154 return this;155 },156 /**157 * Prepend a matrix onto the current.158 *159 * __Note:__ The given transform will come after the current one.160 * @param {Ext.draw.Matrix} matrix161 * @return {Ext.draw.Matrix} this162 */163 prependMatrix: function (matrix) {164 return this.prepend.apply(this, matrix.elements);165 },166 /**167 * Postpend a matrix onto the current.168 *169 * __Note:__ The given transform will come before the current one.170 *171 * @param {Number} xx Coefficient from x to x.172 * @param {Number} xy Coefficient from x to y.173 * @param {Number} yx Coefficient from y to x.174 * @param {Number} yy Coefficient from y to y.175 * @param {Number} dx Offset of x.176 * @param {Number} dy Offset of y.177 * @return {Ext.draw.Matrix} this178 */179 append: function (xx, xy, yx, yy, dx, dy) {180 var elements = this.elements,181 xx0 = elements[0],182 xy0 = elements[1],183 yx0 = elements[2],184 yy0 = elements[3],185 dx0 = elements[4],186 dy0 = elements[5];187 elements[0] = xx * xx0 + xy * yx0;188 elements[1] = xx * xy0 + xy * yy0;189 elements[2] = yx * xx0 + yy * yx0;190 elements[3] = yx * xy0 + yy * yy0;191 elements[4] = dx * xx0 + dy * yx0 + dx0;192 elements[5] = dx * xy0 + dy * yy0 + dy0;193 return this;194 },195 /**196 * Postpend a matrix onto the current.197 *198 * __Note:__ The given transform will come before the current one.199 *200 * @param {Ext.draw.Matrix} matrix201 * @return {Ext.draw.Matrix} this202 */203 appendMatrix: function (matrix) {204 return this.append.apply(this, matrix.elements);205 },206 /**207 * Set the elements of a Matrix208 * @param {Number} xx209 * @param {Number} xy210 * @param {Number} yx211 * @param {Number} yy212 * @param {Number} dx213 * @param {Number} dy214 * @return {Ext.draw.Matrix} this215 */216 set: function (xx, xy, yx, yy, dx, dy) {217 var elements = this.elements;218 elements[0] = xx;219 elements[1] = xy;220 elements[2] = yx;221 elements[3] = yy;222 elements[4] = dx;223 elements[5] = dy;224 return this;225 },226 /**227 * Return a new matrix represents the opposite transformation of the current one.228 *229 * @param {Ext.draw.Matrix} [target] A target matrix. If present, it will receive230 * the result of inversion to avoid creating a new object.231 *232 * @return {Ext.draw.Matrix}233 */234 inverse: function (target) {235 var elements = this.elements,236 a = elements[0],237 b = elements[1],238 c = elements[2],239 d = elements[3],240 e = elements[4],241 f = elements[5],242 rDim = 1 / (a * d - b * c);243 a *= rDim;244 b *= rDim;245 c *= rDim;246 d *= rDim;247 if (target) {248 target.set(d, -b, -c, a, c * f - d * e, b * e - a * f);249 return target;250 } else {251 return new Ext.draw.Matrix(d, -b, -c, a, c * f - d * e, b * e - a * f);252 }253 },254 /**255 * Translate the matrix.256 *257 * @param {Number} x258 * @param {Number} y259 * @param {Boolean} [prepend] If `true`, this will transformation be prepended to the matrix.260 * @return {Ext.draw.Matrix} this261 */262 translate: function (x, y, prepend) {263 if (prepend) {264 return this.prepend(1, 0, 0, 1, x, y);265 } else {266 return this.append(1, 0, 0, 1, x, y);267 }268 },269 /**270 * Scale the matrix.271 *272 * @param {Number} sx273 * @param {Number} sy274 * @param {Number} scx275 * @param {Number} scy276 * @param {Boolean} [prepend] If `true`, this will transformation be prepended to the matrix.277 * @return {Ext.draw.Matrix} this278 */279 scale: function (sx, sy, scx, scy, prepend) {280 var me = this;281 // null or undefined282 if (sy == null) {283 sy = sx;284 }285 if (scx === undefined) {286 scx = 0;287 }288 if (scy === undefined) {289 scy = 0;290 }291 if (prepend) {292 return me.prepend(sx, 0, 0, sy, scx - scx * sx, scy - scy * sy);293 } else {294 return me.append(sx, 0, 0, sy, scx - scx * sx, scy - scy * sy);295 }296 },297 /**298 * Rotate the matrix.299 *300 * @param {Number} angle Radians to rotate301 * @param {Number|null} rcx Center of rotation.302 * @param {Number|null} rcy Center of rotation.303 * @param {Boolean} [prepend] If `true`, this will transformation be prepended to the matrix.304 * @return {Ext.draw.Matrix} this305 */306 rotate: function (angle, rcx, rcy, prepend) {307 var me = this,308 cos = Math.cos(angle),309 sin = Math.sin(angle);310 rcx = rcx || 0;311 rcy = rcy || 0;312 if (prepend) {313 return me.prepend(314 cos, sin,315 -sin, cos,316 rcx - cos * rcx + rcy * sin,317 rcy - cos * rcy - rcx * sin318 );319 } else {320 return me.append(321 cos, sin,322 -sin, cos,323 rcx - cos * rcx + rcy * sin,324 rcy - cos * rcy - rcx * sin325 );326 }327 },328 /**329 * Rotate the matrix by the angle of a vector.330 *331 * @param {Number} x332 * @param {Number} y333 * @param {Boolean} [prepend] If `true`, this will transformation be prepended to the matrix.334 * @return {Ext.draw.Matrix} this335 */336 rotateFromVector: function (x, y, prepend) {337 var me = this,338 d = Math.sqrt(x * x + y * y),339 cos = x / d,340 sin = y / d;341 if (prepend) {342 return me.prepend(cos, sin, -sin, cos, 0, 0);343 } else {344 return me.append(cos, sin, -sin, cos, 0, 0);345 }346 },347 /**348 * Clone this matrix.349 * @return {Ext.draw.Matrix}350 */351 clone: function () {352 return new Ext.draw.Matrix(this.elements);353 },354 /**355 * Horizontally flip the matrix356 * @return {Ext.draw.Matrix} this357 */358 flipX: function () {359 return this.append(-1, 0, 0, 1, 0, 0);360 },361 /**362 * Vertically flip the matrix363 * @return {Ext.draw.Matrix} this364 */365 flipY: function () {366 return this.append(1, 0, 0, -1, 0, 0);367 },368 /**369 * Skew the matrix370 * @param {Number} angle371 * @return {Ext.draw.Matrix} this372 */373 skewX: function (angle) {374 return this.append(1, Math.tan(angle), 0, -1, 0, 0);375 },376 /**377 * Skew the matrix378 * @param {Number} angle379 * @return {Ext.draw.Matrix} this380 */381 skewY: function (angle) {382 return this.append(1, 0, Math.tan(angle), -1, 0, 0);383 },384 /**385 * Reset the matrix to identical.386 * @return {Ext.draw.Matrix} this387 */388 reset: function () {389 return this.set(1, 0, 0, 1, 0, 0);390 },391 /**392 * @private393 * Split Matrix to `{{devicePixelRatio,c,0},{b,devicePixelRatio,0},{0,0,1}}.{{xx,0,dx},{0,yy,dy},{0,0,1}}`394 * @return {Object} Object with b,c,d=devicePixelRatio,xx,yy,dx,dy395 */396 precisionCompensate: function (devicePixelRatio, comp) {397 var elements = this.elements,398 x2x = elements[0],399 x2y = elements[1],400 y2x = elements[2],401 y2y = elements[3],402 newDx = elements[4],403 newDy = elements[5],404 r = x2y * y2x - x2x * y2y;405 comp.b = devicePixelRatio * x2y / x2x;406 comp.c = devicePixelRatio * y2x / y2y;407 comp.d = devicePixelRatio;408 comp.xx = x2x / devicePixelRatio;409 comp.yy = y2y / devicePixelRatio;410 comp.dx = (newDy * x2x * y2x - newDx * x2x * y2y) / r / devicePixelRatio;411 comp.dy = (newDx * x2y * y2y - newDy * x2x * y2y) / r / devicePixelRatio;412 },413 /**414 * @private415 * Split Matrix to `{{1,c,0},{b,d,0},{0,0,1}}.{{xx,0,dx},{0,xx,dy},{0,0,1}}`416 * @return {Object} Object with b,c,d,xx,yy=xx,dx,dy417 */418 precisionCompensateRect: function (devicePixelRatio, comp) {419 var elements = this.elements,420 x2x = elements[0],421 x2y = elements[1],422 y2x = elements[2],423 y2y = elements[3],424 newDx = elements[4],425 newDy = elements[5],426 yxOnXx = y2x / x2x;427 comp.b = devicePixelRatio * x2y / x2x;428 comp.c = devicePixelRatio * yxOnXx;429 comp.d = devicePixelRatio * y2y / x2x;430 comp.xx = x2x / devicePixelRatio;431 comp.yy = x2x / devicePixelRatio;432 comp.dx = (newDy * y2x - newDx * y2y) / (x2y * yxOnXx - y2y) / devicePixelRatio;433 comp.dy = -(newDy * x2x - newDx * x2y) / (x2y * yxOnXx - y2y) / devicePixelRatio;434 },435 /**436 * Transform point returning the x component of the result.437 * @param {Number} x438 * @param {Number} y439 * @return {Number} x component of the result.440 */441 x: function (x, y) {442 var elements = this.elements;443 return x * elements[0] + y * elements[2] + elements[4];444 },445 /**446 * Transform point returning the y component of the result.447 * @param {Number} x448 * @param {Number} y449 * @return {Number} y component of the result.450 */451 y: function (x, y) {452 var elements = this.elements;453 return x * elements[1] + y * elements[3] + elements[5];454 },455 /**456 * @private457 * @param {Number} i458 * @param {Number} j459 * @return {String}460 */461 get: function (i, j) {462 return +this.elements[i + j * 2].toFixed(4);463 },464 /**465 * Transform a point to a new array.466 * @param {Array} point467 * @return {Array}468 */469 transformPoint: function (point) {470 var elements = this.elements;471 return [472 point[0] * elements[0] + point[1] * elements[2] + elements[4],473 point[0] * elements[1] + point[1] * elements[3] + elements[5]474 ];475 },476 /**477 * @param {Object} bbox Given as `{x: Number, y: Number, width: Number, height: Number}`.478 * @param {Number} [radius]479 * @param {Object} [target] Optional target object to recieve the result.480 * Recommended to use it for better gc.481 *482 * @return {Object} Object with x, y, width and height.483 */484 transformBBox: function (bbox, radius, target) {485 var elements = this.elements,486 l = bbox.x,487 t = bbox.y,488 w0 = bbox.width * 0.5,489 h0 = bbox.height * 0.5,490 xx = elements[0],491 xy = elements[1],492 yx = elements[2],493 yy = elements[3],494 cx = l + w0,495 cy = t + h0,496 w, h, scales;497 if (radius) {498 w0 -= radius;499 h0 -= radius;500 scales = [501 Math.sqrt(elements[0] * elements[0] + elements[2] * elements[2]),502 Math.sqrt(elements[1] * elements[1] + elements[3] * elements[3])503 ];504 w = Math.abs(w0 * xx) + Math.abs(h0 * yx) + Math.abs(scales[0] * radius);505 h = Math.abs(w0 * xy) + Math.abs(h0 * yy) + Math.abs(scales[1] * radius);506 } else {507 w = Math.abs(w0 * xx) + Math.abs(h0 * yx);508 h = Math.abs(w0 * xy) + Math.abs(h0 * yy);509 }510 if (!target) {511 target = {};512 }513 target.x = cx * xx + cy * yx + elements[4] - w;514 target.y = cx * xy + cy * yy + elements[5] - h;515 target.width = w + w;516 target.height = h + h;517 return target;518 },519 /**520 * Transform a list for points.521 *522 * __Note:__ will change the original list but not points inside it.523 * @param {Array} list524 * @return {Array} list525 */526 transformList: function (list) {527 var elements = this.elements,528 xx = elements[0], yx = elements[2], dx = elements[4],529 xy = elements[1], yy = elements[3], dy = elements[5],530 ln = list.length,531 p, i;532 for (i = 0; i < ln; i++) {533 p = list[i];534 list[i] = [535 p[0] * xx + p[1] * yx + dx,536 p[0] * xy + p[1] * yy + dy537 ];538 }539 return list;540 },541 /**542 * Determines whether this matrix is an identity matrix (no transform).543 * @return {Boolean}544 */545 isIdentity: function () {546 var elements = this.elements;547 return elements[0] === 1 &&548 elements[1] === 0 &&549 elements[2] === 0 &&550 elements[3] === 1 &&551 elements[4] === 0 &&552 elements[5] === 0;553 },554 /**555 * Determines if this matrix has the same values as another matrix.556 * @param {Ext.draw.Matrix} matrix557 * @return {Boolean}558 */559 equals: function (matrix) {560 var elements = this.elements,561 elements2 = matrix.elements;562 return elements[0] === elements2[0] &&563 elements[1] === elements2[1] &&564 elements[2] === elements2[2] &&565 elements[3] === elements2[3] &&566 elements[4] === elements2[4] &&567 elements[5] === elements2[5];568 },569 /**570 * Create an array of elements by horizontal order (xx,yx,dx,yx,yy,dy).571 * @return {Array}572 */573 toArray: function () {574 var elements = this.elements;575 return [elements[0], elements[2], elements[4], elements[1], elements[3], elements[5]];576 },577 /**578 * Create an array of elements by vertical order (xx,xy,yx,yy,dx,dy).579 * @return {Array|String}580 */581 toVerticalArray: function () {582 return this.elements.slice();583 },584 /**585 * Get an array of elements.586 * The numbers are rounded to keep only 4 decimals.587 * @return {Array}588 */589 toString: function () {590 var me = this;591 return [me.get(0, 0), me.get(0, 1), me.get(1, 0), me.get(1, 1), me.get(2, 0), me.get(2, 1)].join(',');592 },593 /**594 * Apply the matrix to a drawing context.595 * @param {Object} ctx596 * @return {Ext.draw.Matrix} this597 */598 toContext: function (ctx) {599 ctx.transform.apply(ctx, this.elements);600 return this;601 },602 /**603 * Return a string that can be used as transform attribute in SVG.604 * @return {String}605 */606 toSvg: function () {607 var elements = this.elements;608 // The reason why we cannot use `.join` is the `1e5` form is not accepted in svg.609 return "matrix(" +610 elements[0].toFixed(9) + ',' +611 elements[1].toFixed(9) + ',' +612 elements[2].toFixed(9) + ',' +613 elements[3].toFixed(9) + ',' +614 elements[4].toFixed(9) + ',' +615 elements[5].toFixed(9) +616 ")";617 },618 /**619 * Get the x scale of the matrix.620 * @return {Number}621 */622 getScaleX: function () {623 var elements = this.elements;624 return Math.sqrt(elements[0] * elements[0] + elements[2] * elements[2]);625 },626 /**627 * Get the y scale of the matrix.628 * @return {Number}629 */630 getScaleY: function () {631 var elements = this.elements;632 return Math.sqrt(elements[1] * elements[1] + elements[3] * elements[3]);633 },634 /**635 * Get x-to-x component of the matrix636 * @return {Number}637 */638 getXX: function () {639 return this.elements[0];640 },641 /**642 * Get x-to-y component of the matrix.643 * @return {Number}644 */645 getXY: function () {646 return this.elements[1];647 },648 /**649 * Get y-to-x component of the matrix.650 * @return {Number}651 */652 getYX: function () {653 return this.elements[2];654 },655 /**656 * Get y-to-y component of the matrix.657 * @return {Number}658 */659 getYY: function () {660 return this.elements[3];661 },662 /**663 * Get offset x component of the matrix.664 * @return {Number}665 */666 getDX: function () {667 return this.elements[4];668 },669 /**670 * Get offset y component of the matrix.671 * @return {Number}672 */673 getDY: function () {674 return this.elements[5];675 },676 /**677 * Split a transformation matrix into Scale, Rotate, Translate components.678 * @return {Object}679 */680 split: function () {681 var el = this.elements,682 xx = el[0],683 xy = el[1],684 yx = el[2],685 yy = el[3],686 out = {687 translateX: el[4],688 translateY: el[5]689 };690 out.scaleX = Ext.Number.sign(xx) * Math.sqrt(xx * xx + yx * yx);691 out.scaleY = Ext.Number.sign(yy) * Math.sqrt(xy * xy + yy * yy);692 out.rotation = Math.atan2(xy, yy);693 return out;694 }695}, function () {696 function registerName(properties, name, i) {697 properties[name] = {698 get: function () {699 return this.elements[i];700 },701 set: function (val) {702 this.elements[i] = val;703 }704 };705 }706 // Compatibility with SVGMatrix.707 if (Object.defineProperties) {708 var properties = {};709 /**710 * @property {Number} a Get x-to-x component of the matrix. Avoid using it for performance consideration.711 * Use {@link #getXX} instead.712 */713 registerName(properties, 'a', 0);714 registerName(properties, 'b', 1);715 registerName(properties, 'c', 2);716 registerName(properties, 'd', 3);717 registerName(properties, 'e', 4);718 registerName(properties, 'f', 5);719 Object.defineProperties(this.prototype, properties);720 }721 /**722 * Performs matrix multiplication. This matrix is post-multiplied by another matrix.723 *724 * __Note:__ The given transform will come before the current one.725 *726 * @method727 * @param {Ext.draw.Matrix} matrix728 * @return {Ext.draw.Matrix} this729 */730 this.prototype.multiply = this.prototype.appendMatrix;...

Full Screen

Full Screen

gtfs_musliw.py

Source:gtfs_musliw.py Github

copy

Full Screen

1# coding: utf-82import codecs3import re4import os5import os.path6##CEREMA=group7##rep_source=folder8##rep_resultat=folder9##prefixe_reseau=optional string10##uic=boolean true11##split_formula=string [-8:]12def importGTFS(rep,sortie,prefixe,uic,formula):13 arrets={}14 stops=codecs.open(rep+"/stops.txt","r",encoding='utf_8_sig')15 iparent=-116 for i,ligne in enumerate(stops):17 try:18 test=ligne.startswith(codecs.BOM_UTF8)19 if test:20 ligne=ligne[3:]21 except:22 pass23 ligne=(ligne.replace("\n","")).replace("\r","")24 elements= re.split(",(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)",ligne)25 #elements=ligne.strip().split(',')26 for z,e in enumerate(elements):27 elements[z]=e.strip('"')28 if len(elements)>1:29 if i>0:30 if uic==True:31 elements[iid]=eval("prefixe+elements[iid]"+formula)32 else:33 elements[iid]=prefixe+elements[iid].strip("\"")34 35 elements[idx]=elements[idx].strip().strip("\"")36 37 if iparent>=0 and elements[iparent] not in ['',None]:38 elements[iparent]=prefixe+elements[iparent].strip("\"")39 arrets[elements[iid]]=elements40 else:41 for i1,i2 in enumerate(elements):42 elements[i1]=i2.strip("\"")43 idx=elements.index('stop_lon')44 idy=elements.index('stop_lat')45 iid=elements.index('stop_id')46 iname=elements.index('stop_name')47 if "parent_station" in elements:48 iparent=elements.index('parent_station')49 if "stop_desc" in elements:50 idesc=elements.index('stop_desc')51 hstops=ligne52 stops.close()53 54 55 lignes={}56 routes=codecs.open(rep+'/routes.txt','r',encoding='utf_8_sig')57 test_agency='ZZ'58 for i,ligne in enumerate(routes):59 try:60 test=ligne.startswith(codecs.BOM_UTF8)61 if test:62 ligne=ligne[3:]63 except:64 pass65 elements=ligne.strip().split(',')66 for z,e in enumerate(elements):67 elements[z]=e.strip('"')68 if len(elements)>1:69 if i>0:70 if test_agency<>'ZZ':71 elements=elements+[prefixe_reseau]72 l=[elements[iroute],elements[iagency]]73 l.extend(elements[2:])74 lignes[elements[iroute]]=l75 else:76 if ("agency_id") not in elements:77 test_agency=prefixe_reseau78 elements=elements+["agency_id"]79 iroute=elements.index("route_id")80 iagency=elements.index("agency_id")81 hroute=[elements[iroute],elements[iagency]]82 hroute.extend(elements[2:])83 hroute=','.join(hroute)+"\n"84 routes.close()85 86 services={} 87 trips=codecs.open(rep+'/trips.txt','r',encoding='utf_8_sig')88 for i,ligne in enumerate(trips):89 try:90 test=ligne.startswith(codecs.BOM_UTF8)91 if test:92 ligne=ligne[3:]93 except:94 pass95 elements=ligne.strip().split(',')96 for i1,i2 in enumerate(elements):97 elements[i1]=i2.strip('"')98 if len(elements)>1:99 if i>0:100 if elements[iroute] in lignes:101 if len(elements)>6:102 if elements[6] not in ['',None]:103 elements[6]=prefixe+elements[6]104 t=[elements[iroute],elements[iservice],elements[itrip]]105 t.extend(elements[3:])106 services[elements[itrip]]=t107 else:108 for z,e in enumerate(elements):109 elements[z]=e.strip('"')110 iroute=elements.index("route_id")111 itrip=elements.index("trip_id")112 iservice=elements.index("service_id")113 htrip=[elements[iroute],elements[iservice],elements[itrip]]114 htrip.extend(elements[3:])115 htrip=(','.join(htrip))116 htrip=htrip.encode('cp1252')+"\n"117 trips.close()118 119 horaires={}120 stop_times=codecs.open(rep+'/stop_times.txt','r',encoding='utf_8_sig')121 for i,ligne in enumerate(stop_times):122 #ligne=ligne.decode('utf-8')123 try:124 test=ligne.startswith(codecs.BOM_UTF8)125 if test:126 ligne=ligne[3:]127 except:128 pass129 elements=ligne.strip().split(',')130 for z,e in enumerate(elements):131 elements[z]=e.strip('"')132 if len(elements)>1:133 if i>0:134 if elements[itrip] in services:135 elements[iarr]=elements[iarr].strip('"').zfill(8)136 elements[idep]=elements[idep].strip('"').zfill(8)137 if uic==True:138 elements[istop]=eval("elements[istop]"+formula)139 o=[elements[itrip],elements[iarr],elements[idep],elements[istop],elements[iseq]]140 else:141 o=[elements[itrip],elements[iarr],elements[idep],elements[istop],elements[iseq]]142 o.extend(elements[5:])143 if elements[0] not in horaires:144 horaires[elements[0]]={}145 if len(elements)>5 and elements[itrip] in htrip:146 horaires[elements[itrip]][int(elements[iseq])]=[int(elements[iseq]),elements[istop],elements[iarr],elements[idep],elements[5]]147 else:148 horaires[elements[itrip]][int(elements[iseq])]=[int(elements[iseq]),elements[istop],elements[iarr],elements[idep]]149 else:150 iarr=elements.index("arrival_time")151 idep=elements.index("departure_time")152 itrip=elements.index("trip_id")153 istop=elements.index("stop_id")154 iseq=elements.index("stop_sequence")155 hstop_times=[elements[itrip],elements[iarr],elements[idep],elements[istop],elements[iseq]]156 hstop_times.extend(elements[5:])157 hstop_times=','.join(hstop_times)158 stop_times.close()159 160 161 162 formes={}163 if (os.path.isfile(rep+'/shapes.txt')==True):164 shapes=codecs.open(rep+'/shapes.txt','r',encoding='utf_8_sig')165 shapes2=codecs.open(sortie+'/shapes.txt','w',encoding='utf_8_sig')166 for i,ligne in enumerate(shapes):167 ligne=ligne.decode('utf-8')168 elements=ligne.strip().split(',')169 if len(elements)>1:170 if i>0:171 elements[0]=prefixe+elements[0]172 shapes2.write(",".join(elements)+"\n")173 shapes.close()174 shapes2.close()175 176 177 calsem={}178 if ("calendar.txt" in os.listdir(rep)):179 cal=codecs.open(rep+'/calendar.txt','r',encoding='utf_8_sig')180 for i,ligne in enumerate(cal):181 try:182 test=ligne.startswith(codecs.BOM_UTF8)183 if test:184 ligne=ligne[3:]185 except:186 pass187 elements=ligne.strip().split(',')188 for z,e in enumerate(elements):189 elements[z]=e.strip('"')190 if len(elements)>1:191 if i>0:192 elements[0]=prefixe+elements[0]193 calsem[elements[0]]=elements194 else:195 hcalsem=ligne196 cal.close()197 198 caldates={}199 if ("calendar_dates.txt" in os.listdir(rep)):200 cald=codecs.open(rep+'/calendar_dates.txt','r',encoding='utf_8_sig')201 for i,ligne in enumerate(cald):202 try:203 test=ligne.startswith(codecs.BOM_UTF8)204 if test:205 ligne=ligne[3:]206 except:207 pass208 if ligne not in ['\n',None,'',u'\r\n']:209 elements=ligne.strip().split(',')210 for z,e in enumerate(elements):211 elements[z]=e.strip('"')212 elements[1]=elements[1].zfill(8)213 if len(elements)>1:214 if i>0:215 elements[0]=prefixe+elements[0]216 caldates[(elements[0],elements[1])]=elements217 else:218 hcaldate=ligne219 cald.close()220 221 chainages={}222 for service in services:223 if service in horaires:224 horaires[service]=sorted(horaires[service].values(),key=lambda x:x[0])225 chaine=zip(*(horaires[service]))[1]226 if chaine not in chainages:227 chainages[chaine]=[]228 chainages[chaine].append(service)229 230 if not os.path.isdir(sortie+"/"+prefixe):231 os.mkdir(sortie+"/"+prefixe)232 233 routes2=codecs.open(sortie+"/"+prefixe+'/routes.txt','w',encoding='utf_8_sig')234 #if test_agency<>'ZZ':235 #hroute=",".join(hroute.split(",")[:-1])236 routes2.write(hroute)237 #trips2=open(sortie+'/trips.txt','w')238 trips2=codecs.open(sortie+"/"+prefixe+"/trips.txt","w",encoding='utf_8_sig')239 trips2.write(htrip)240 #stops2=open(sortie+'/stops.txt','w')241 stops2=codecs.open(sortie+"/"+prefixe+"/stops.txt","w",encoding='utf_8_sig')242 stops2.write(hstops+"\n")243 stop_times2=codecs.open(sortie+"/"+prefixe+'/stop_times.txt','w',encoding='utf_8_sig')244 stop_times2.write(hstop_times+"\n")245 if ("calendar.txt" in os.listdir(rep)):246 cal2=codecs.open(sortie+"/"+prefixe+'/calendar.txt','w',encoding='utf_8_sig')247 cal2.write(hcalsem)248 if ("calendar_dates.txt" in os.listdir(rep)):249 cald2=codecs.open(sortie+"/"+prefixe+'/calendar_dates.txt','w',encoding='utf_8_sig')250 cald2.write(hcaldate)251 252 253 for i,chaine in enumerate(chainages):254 s=chainages[chaine][0]255 trip=services[s]256 route=lignes[services[s][0]]257 if test_agency<>'ZZ':258 route=route[:-1]259 routes2.write((prefixe+str(i)+","+",".join(route[1:])+"\n"))260 for j,service in enumerate(chainages[chaine]):261 trip=services[service]262 trips2.write((prefixe+str(i)+","+prefixe+trip[1]+","+prefixe+trip[2]+','+",".join(trip[3:])+"\n"))263 hh=horaires[service]264 for h in hh:265 if len(h)>4:266 stop_times2.write((prefixe+trip[2]+","+h[2]+","+h[3]+","+prefixe+h[1]+","+str(h[0])+","+h[4]+"\n"))267 else:268 stop_times2.write((prefixe+trip[2]+","+h[2]+","+h[3]+","+prefixe+h[1]+","+str(h[0])+"\n"))269 routes2.close()270 trips2.close()271 stop_times2.close()272 273 274 for stop in arrets:275 arrets[stop][iname]='"'+arrets[stop][iname]+'"'276 if "stop_desc" in hstops:277 arrets[stop][idesc]='"'+arrets[stop][idesc]+'"'278 stops2.write((",".join(arrets[stop])+"\n"))279 stops2.close()280 281 282 for c in calsem:283 cal2.write((",".join(calsem[c])+"\n"))284 for c in caldates:285 cald2.write((",".join(caldates[c])+"\n"))286 if ("calendar.txt" in os.listdir(rep)):287 cal2.close()288 if ("calendar_dates.txt" in os.listdir(rep)):289 cald2.close()...

Full Screen

Full Screen

fichier_temps.py

Source:fichier_temps.py Github

copy

Full Screen

1from PyQt4.QtCore import *2from PyQt4.QtGui import *3from qgis.core import *4from qgis.utils import *5import codecs 6##CEREMA=group7##fichier_temps=file8##variable=string temps9##temps_attente_terminal=boolean10##fichier_resultat=output file11fichier=codecs.open(fichier_temps,"r",encoding="utf8")12res=codecs.open(fichier_resultat,"w",encoding='utf8')13cols={}14links={}15for i,ligne in enumerate(fichier):16 elements=ligne.strip().replace(',','.').split(';')17 if i==0:18 for j,e in enumerate(elements):19 cols[e]=j20 else:21 elements[cols[variable]]=elements[cols[variable]].replace(',','.')22 if temps_attente_terminal==True and 'tatt1' in cols:23 elements[cols[variable]]=float(elements[cols[variable]])-float(elements[cols['tatt1']])24 if elements[cols['ij']] not in links:25 pole=(elements[cols['pole']],1)26 27 links[elements[cols['ij']]]=[elements[cols['ij']],float(elements[cols[variable]]),1.0,float(elements[cols[variable]]),float(elements[cols[variable]]),elements[cols['pole']],elements[cols['pole']],[elements[cols['heureo']]],[elements[cols['heured']]],float(elements[cols[variable]])**2,elements[cols['o']],elements[cols['o']]]28 else:29 hd=elements[cols['heureo']]30 if hd not in links[elements[cols['ij']]][7]:31 links[elements[cols['ij']]][7].append(hd)32 hf=elements[cols['heured']]33 if hf not in links[elements[cols['ij']]][8]:34 links[elements[cols['ij']]][8].append(hf)35 links[elements[cols['ij']]][1]+=float(elements[cols[variable]])36 links[elements[cols['ij']]][9]+=float(elements[cols[variable]])**237 links[elements[cols['ij']]][2]+=138 if float(elements[cols[variable]])<float(links[elements[cols['ij']]][3]):39 links[elements[cols['ij']]][3]=float(elements[cols[variable]])40 links[elements[cols['ij']]][5]=elements[cols['pole']]41 links[elements[cols['ij']]][10]=elements[cols['o']]42 if float(elements[cols[variable]])>float(links[elements[cols['ij']]][4]):43 links[elements[cols['ij']]][4]=float(elements[cols[variable]])44 links[elements[cols['ij']]][6]=elements[cols['pole']]45 links[elements[cols['ij']]][11]=elements[cols['o']] 46res.write('ij;moy;nb;min;max;pole_min;pole_max;nb_dep;nb_arr;sd;o_min;o_max\n')47for i in links:48 try:49 res.write(links[i][0].decode('utf8')+";"+unicode(links[i][1]/links[i][2])+";"+unicode(links[i][2])+";"+unicode(links[i][3])+";"+unicode(links[i][4])+";"+links[i][5].decode('utf8')+";"+links[i][6].decode('utf8')+";"+unicode(len(links[i][7]))+";"+unicode(len(links[i][8]))+";"+unicode((abs(-((links[i][1]**2)/links[i][2])+links[i][9]))**0.5)+";"+links[i][10].decode('utf8')+";"+links[i][11].decode('utf8')+"\n")50 except:51 progress.setText('élément ignoré')52res.close()53 54 55 ...

Full Screen

Full Screen

fichier_od.py

Source:fichier_od.py Github

copy

Full Screen

1from PyQt4.QtCore import *2from PyQt4.QtGui import *3from qgis.core import *4from qgis.utils import *5import codecs6##CEREMA=group7##fichier_temps=file8##variable=string temps9##temps_attente_terminal=boolean10##tc_seul=boolean11##fichier_resultat=output file12fichier=codecs.open(fichier_temps,"r",encoding='utf_8_sig')13res=open(fichier_resultat,"w")14cols={}15links={}16for i,ligne in enumerate(fichier):17 elements=ligne.strip().replace(',','.').split(';')18 if i==0:19 for j,e in enumerate(elements):20 cols[e]=j21# cols['ij']=len(elements)22 cols['ij']=cols['id']23 else:24 if (tc_seul==True and float(elements[cols['tveh']])>0) or (tc_seul==False):25 #elements.append(elements[cols['o']]+"-"+elements[cols['d']])26 if temps_attente_terminal==True:27 elements[cols['temps']]=float(elements[cols['temps']])-float(elements[cols['tatt1']])28 if elements[cols['ij']] not in links:29 pole=(elements[cols['pole']],1)30 31 links[elements[cols['ij']]]=[elements[cols['ij']],float(elements[cols[variable]]),1.0,float(elements[cols[variable]]),float(elements[cols[variable]]),elements[cols['pole']],elements[cols['pole']],[elements[cols['heureo']]],[elements[cols['heured']]],float(elements[cols[variable]])**2]32 else:33 hd=elements[cols['heureo']]34 if hd not in links[elements[cols['ij']]][7]:35 links[elements[cols['ij']]][7].append(hd)36 hf=elements[cols['heured']]37 if hf not in links[elements[cols['ij']]][8]:38 links[elements[cols['ij']]][8].append(hf)39 links[elements[cols['ij']]][1]+=float(elements[cols[variable]])40 links[elements[cols['ij']]][9]+=float(elements[cols[variable]])**241 links[elements[cols['ij']]][2]+=142 if float(elements[cols[variable]])<float(links[elements[cols['ij']]][3]):43 links[elements[cols['ij']]][3]=float(elements[cols[variable]])44 links[elements[cols['ij']]][5]=elements[cols['pole']]45 if float(elements[cols[variable]])>float(links[elements[cols['ij']]][4]):46 links[elements[cols['ij']]][4]=float(elements[cols[variable]])47 links[elements[cols['ij']]][6]=elements[cols['pole']]48 49res.write('id;moy;nb;min;max;pole_min;pole_max;nb_dep;nb_arr;sd\n')50for i in links:51 res.write(str(links[i][0])+";"+str(links[i][1]/links[i][2])+";"+str(links[i][2])+";"+str(links[i][3])+";"+str(links[i][4])+";"+links[i][5]+";"+links[i][6]+";"+str(len(links[i][7]))+";"+str(len(links[i][8]))+";"+str((abs(-((links[i][1]**2)/links[i][2])+links[i][9]))**0.5)+"\n")52res.close()53 54 55 ...

Full Screen

Full Screen

script.js

Source:script.js Github

copy

Full Screen

1let arr = [];2let sub = document.getElementById("btn");3sub.addEventListener("click", () => {4 let elements = [];5 elements[0] = document.getElementById("name");6 elements[1] = document.getElementById("num");7 elements[2] = document.getElementById("options")8 elements[3] = document.getElementById("img");9 elements[4] = document.getElementById("tbody");10 if (elements[0].value == "" || elements[0].value == null) {11 elements[0].style.borderColor = 'red';12 alert("please enter the name");13 }14 if (elements[1].value == "" || elements[1].value == null) {15 elements[1].style.borderColor = 'red';16 alert("please enter the price");17 }18 else if (isNaN(elements[1].value) || elements[1].value == null) {19 elements[1].style.borderColor = 'red'20 alert("it has to be a number");21 }22 if (elements[3].value == "" || elements[3].value == null) {23 elements[3].style.borderColor = 'red';24 alert("you have to add a picture");25 }26 else {27 let el1 = document.createElement("label");28 let el2 = document.createElement("label");29 let el4 = document.createElement("img")30 el4.className = "str";31 let el5 = document.createElement("td");32 let el6 = document.createElement("td");33 let el8 = document.createElement("td");34 let el9 = document.createElement("tr")35 el1.textContent = elements[0].value;36 el2.textContent = elements[1].value;37 el4.src = elements[3].value;38 el5.appendChild(el1);39 el6.appendChild(el2);40 el8.appendChild(el4);41 el9.appendChild(el5);42 el9.appendChild(el6);43 el9.appendChild(el8);44 elements[4].appendChild(el9);45 elements[4].getElementsByTagName("tr");46 let x = {47 thename: elements[0].value,48 theprice: elements[1].value,49 option: elements[2].value50 };51 arr.push(x);52 elements[0].value = "";53 elements[1].value = "";54 elements[3].value = "";55 localStorage.setItem("data", JSON.stringify(arr));56 57 }...

Full Screen

Full Screen

TypeArrayVector3.js

Source:TypeArrayVector3.js Github

copy

Full Screen

1THREE.TypeArrayVector3 = function ( x, y, z ) {2 this.elements = new Float64Array( 3 );3 this.set( x, y, z );4};5THREE.TypeArrayVector3.prototype = {6 constructor: THREE.TypeArrayVector3,7 get x() {8 return this.elements[ 0 ];9 },10 set x( value ) {11 this.elements[ 0 ] = value;12 },13 get y() {14 return this.elements[ 1 ];15 },16 set y( value ) {17 this.elements[ 1 ] = value;18 },19 get z() {20 return this.elements[ 2 ];21 },22 set z( value ) {23 this.elements[ 2 ] = value;24 },25 set: function ( x, y, z ) {26 var elements = this.elements;27 elements[ 0 ] = x;28 elements[ 1 ] = y;29 elements[ 2 ] = z;30 return this;31 },32 copy: function ( v ) {33 var elements = this.elements;34 var velements = v.elements;35 elements[ 0 ] = velements[ 0 ];36 elements[ 1 ] = velements[ 1 ];37 elements[ 2 ] = velements[ 2 ];38 return this;39 },40 add: function ( v ) {41 var elements = this.elements;42 var velements = v.elements;43 elements[ 0 ] += velements[ 0 ];44 elements[ 1 ] += velements[ 1 ];45 elements[ 2 ] += velements[ 2 ];46 return this;47 },48 addVectors: function ( a, b ) {49 var elements = this.elements;50 var aelements = a.elements;51 var belements = b.elements;52 elements[ 0 ] = aelements[ 0 ] + belements[ 0 ];53 elements[ 1 ] = aelements[ 1 ] + belements[ 1 ];54 elements[ 2 ] = aelements[ 2 ] + belements[ 2 ];55 return this;56 },57 sub: function ( v, w ) {58 var elements = this.elements;59 var velements = v.elements;60 elements[ 0 ] -= velements[ 0 ];61 elements[ 1 ] -= velements[ 1 ];62 elements[ 2 ] -= velements[ 2 ];63 return this;64 },65 subVectors: function ( a, b ) {66 var elements = this.elements;67 var aelements = a.elements;68 var belements = b.elements;69 elements[ 0 ] = aelements[ 0 ] - belements[ 0 ];70 elements[ 1 ] = aelements[ 1 ] - belements[ 1 ];71 elements[ 2 ] = aelements[ 2 ] - belements[ 2 ];72 return this;73 }...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1import {elements} from 'ng-mocks';2import {MockBuilder} from 'ng-mocks';3import {MockRender} from 'ng-mocks';4import {MockInstance} from 'ng-mocks';5import {MockProvider} from 'ng-mocks';6import {MockRender} from 'ng-mocks';7describe('AppComponent', () => {8 beforeEach(() => MockBuilder(AppComponent, AppModule));9 beforeEach(() => MockRender(AppComponent));10 it('should create the app', () => {11 const fixture = TestBed.createComponent(AppComponent);12 const app = fixture.debugElement.componentInstance;13 expect(app).toBeTruthy();14 });15 it(`should have as title 'test'`, () => {16 const fixture = TestBed.createComponent(AppComponent);17 const app = fixture.debugElement.componentInstance;18 expect(app.title).toEqual('test');19 });20 it('should render title in a h1 tag', () => {21 const fixture = TestBed.createComponent(AppComponent);22 fixture.detectChanges();23 const compiled = fixture.debugElement.nativeElement;24 expect(compiled.querySelector('h1').textContent).toContain('Welcome to test!');25 });26});27MockProvider(MyService, { mock: () => ({ get(): Observable<any> { return of({}); } }) });28MockProvider(MyService, { get(): Observable<any> { return of({}); } });29import { MockBuilder, MockRender, MockInstance, MockProvider, MockRender } from 'ng-mocks';30import { AppComponent } from './app.component';31import { AppModule } from './app.module';32describe('AppComponent', () => {33 beforeEach(() => MockBuilder(AppComponent, AppModule));34 beforeEach(() => MockRender(AppComponent));35 it('should create the app', () => {

Full Screen

Using AI Code Generation

copy

Full Screen

1const elements = require('ng-mocks').elements;2const find = require('ng-mocks').find;3const findComponents = require('ng-mocks').findComponents;4const findDirectives = require('ng-mocks').findDirectives;5const findInstances = require('ng-mocks').findInstances;6const findInputs = require('ng-mocks').findInputs;7const findOutputs = require('ng-mocks').findOutputs;8const findProviders = require('ng-mocks').findProviders;9const findRenderedComponents = require('ng-mocks').findRenderedComponents;10const findRenderedDirectives = require('ng-mocks').findRenderedDirectives;11const findRenderedText = require('ng-mocks').findRenderedText;12const findRenderedVNodes = require('ng-mocks').findRenderedVNodes;13const findRenderedVNodesWithType = require('ng-mocks').findRenderedVNodesWithType;14const findRenderedWithFlags = require('ng-mocks').findRenderedWithFlags;15const findTemplateRef = require('ng-mocks').findTemplateRef;16const findViewContainerRef = require('ng-mocks').findViewContainerRef;17const findViewRef = require('ng-mocks').findViewRef;18const flush = require('ng-mocks').flush;

Full Screen

Using AI Code Generation

copy

Full Screen

1import { elements } from 'ng-mocks';2import { ngMocks } from 'ng-mocks';3import { ngMocks } from 'ng-mocks';4import { ngMocks } from 'ng-mocks';5import { ngMocks } from 'ng-mocks';6import { ngMocks } from 'ng-mocks';7import { ngMocks } from 'ng-mocks';8import { ngMocks } from 'ng-mocks';9import { ngMocks } from 'ng-mocks';10import { ngMocks } from 'ng-mocks';11import { ngMocks } from 'ng-mocks';12import { ngMocks } from 'ng-mocks';13import { ngMocks } from 'ng-mocks';14import { ngMocks } from 'ng-mocks';15import { ngMocks } from 'ng-mocks';16import { ngMocks } from 'ng-mocks';17import { ngMocks } from 'ng-mocks';18import { ngMocks } from 'ng-mocks';19import { ngMocks } from 'ng-mocks';20import { ngMocks } from 'ng-mocks';21import { ngMocks } from 'ng-mocks';22import { ngMocks } from 'ng-mocks';23import { ngMocks } from 'ng-mocks';24import { ngMocks } from 'ng-mocks';

Full Screen

Using AI Code Generation

copy

Full Screen

1import {elements} from 'ng-mocks';2import {MockBuilder, MockRender} from 'ng-mocks';3describe('TestComponent', () => {4 beforeEach(() => MockBuilder(TestComponent));5 it('should render the component', () => {6 const fixture = MockRender(TestComponent);7 const component = elements(fixture, 'test-component');8 expect(component).toBeDefined();9 });10});

Full Screen

Using AI Code Generation

copy

Full Screen

1import { elements } from 'ng-mocks';2const elements = elements('my-component');3import { find } from 'ng-mocks';4const element = find('my-component');5import { findInstance } from 'ng-mocks';6const element = findInstance('my-component');7import { findInstances } from 'ng-mocks';8const elements = findInstances('my-component');9import { findInput } from 'ng-mocks';10const element = findInput('my-component');11import { findInputs } from 'ng-mocks';12const elements = findInputs('my-component');13import { findOutput } from 'ng-mocks';14const element = findOutput('my-component');15import { findOutputs } from 'ng-mocks';16const elements = findOutputs('my-component');17import { findReadonly } from 'ng-mocks';18const element = findReadonly('my-component');19import { findReadonlys } from 'ng-mocks';20const elements = findReadonlys('my-component');21import { findRender } from 'ng-mocks';22const element = findRender('my-component');23import { findRenders } from 'ng-mocks';24const elements = findRenders('my-component');25import { findTemplate } from 'ng-mocks';26const element = findTemplate('my-component');

Full Screen

Using AI Code Generation

copy

Full Screen

1import { elements } from 'ng-mocks';2describe('test', () => {3 it('should be true', () => {4 const element = elements('test');5 expect(element.length).toBe(1);6 });7});8import { MockBuilder, MockRender } from 'ng-mocks';9import { TestComponent } from './test.component';10import { TestModule } from './test.module';11describe('test', () => {12 beforeEach(() => MockBuilder(TestComponent, TestModule));13 it('should be true', () => {14 const fixture = MockRender(TestComponent);15 expect(fixture.point.componentInstance).toBeDefined();16 });17});18import { MockBuilder, MockRender } from 'ng-mocks';19import { TestComponent } from './test.component';20import { TestModule } from './test.module';21describe('test', () => {22 beforeEach(() => MockBuilder(TestComponent, TestModule));23 it('should be true', () => {24 const fixture = MockRender(TestComponent);25 expect(fixture.point.componentInstance).toBeDefined();26 });27});

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('test', function(){2 var $scope;3 var $compile;4 beforeEach(module('test'));5 beforeEach(inject(function(_$rootScope_, _$compile_){6 $scope = _$rootScope_.$new();7 $compile = _$compile_;8 }));9 it('should have a button', function(){10 var element = $compile('<test></test>')($scope);11 $scope.$digest();12 expect(element.find('button').length).toBe(1);13 });14});

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run ng-mocks automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful