Changeset 1054


Ignore:
Timestamp:
Oct 12, 2016, 11:35:13 PM (8 years ago)
Author:
s10k
Message:

Vago 1.1

Location:
Vago/trunk/Vago
Files:
19 added
1 deleted
24 edited

Legend:

Unmodified
Added
Removed
  • Vago/trunk/Vago/Vago.pro

    r1052 r1054  
    1616INCLUDEPATH += ./packageWizard
    1717INCLUDEPATH += ./soundWizard
     18INCLUDEPATH += ./bgImageWizard
    1819
    1920# Used this great tutorial to build zlib and quazip:
     
    5960    soundWizard/soundpage3.cpp \
    6061    soundWizard/soundpage4.cpp \
     62    soundWizard/soundpage5.cpp \
    6163    soundWizard/soundpagefinal.cpp \
    6264    soundWizard/soundwizard.cpp \
     65    bgImageWizard/bgimagepage2.cpp \
    6366    xmlprocessor.cpp \
    6467    libs/pugixml/pugixml.cpp \
    65     utilvago.cpp
     68    utilvago.cpp \
     69    bgImageWizard/bgimagewizard.cpp \
     70    bgImageWizard/bgimagepage3.cpp \
     71    bgImageWizard/bgimagepagefinal.cpp \
    6672
    6773HEADERS  += \
     
    8288    soundWizard/soundpage3.h \
    8389    soundWizard/soundpage4.h \
     90    soundWizard/soundpage5.h \
    8491    soundWizard/soundpagefinal.h \
    8592    soundWizard/soundwizard.h \
     93    bgImageWizard/bgimagepage2.h \
    8694    xmlprocessor.h \
    8795    libs/pugixml/pugixml.hpp \
    88     utilvago.h
     96    utilvago.h \
     97    bgImageWizard/bgimagewizard.h \
     98    bgImageWizard/bgimagepage3.h \
     99    bgImageWizard/bgimagepagefinal.h
    89100
    90101FORMS    += \
     
    100111    soundWizard/soundpage3.ui \
    101112    soundWizard/soundpage4.ui \
    102     soundWizard/soundpagefinal.ui
     113    soundWizard/soundpage5.ui \
     114    soundWizard/soundpagefinal.ui \
     115    bgImageWizard/bgimagepage2.ui \
     116    bgImageWizard/bgimagepage3.ui \
     117    bgImageWizard/bgimagepagefinal.ui \
    103118
    104119RESOURCES += \
  • Vago/trunk/Vago/about.cpp

    r1047 r1054  
    3232                         "Arseny Kapoulkine (and contributors)for pugixml library<br />"
    3333                         "smashingmagazine for the folder icon :)<br />"
     34                         "Freepik and Flaticon by the background image wizard icon<br />"
    3435                         "<center>"
    3536                         "Visit us at:<br />"
  • Vago/trunk/Vago/converter.cpp

    r1052 r1054  
    2424    int numErrors=0;
    2525
    26     this->myLogger->writeString("Setting working dir to "+this->AppDir+".");
     26    this->myLogger->writeString("Setting OniSplit process working dir to "+this->AppDir+".");
    2727    myProcess->setWorkingDirectory(this->AppDir); // Set working directory (for work with AEI2/Mac OS)
    2828
  • Vago/trunk/Vago/help/XMLSNDD.html

    r771 r1054  
    11<!DOCTYPE html>
    2 <!-- saved from url=(0050)http://wiki.oni2.net/XML:SNDD#Source_file_creation -->
    3 <html lang="en" dir="ltr" class="client-js"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    4 <title>XML:SNDD - OniGalore</title>
    5 <meta charset="UTF-8">
    6 <meta name="generator" content="MediaWiki 1.19.2">
    7 <link rel="shortcut icon" href="http://wiki.oni2.net/favicon.ico">
    8 <link rel="search" type="application/opensearchdescription+xml" href="http://wiki.oni2.net/w/opensearch_desc.php" title="OniGalore (en)">
    9 <link rel="EditURI" type="application/rsd+xml" href="http://wiki.oni2.net/w/api.php?action=rsd">
    10 <link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html">
    11 <link rel="alternate" type="application/atom+xml" title="OniGalore Atom feed" href="http://wiki.oni2.net/w/index.php?title=Special:RecentChanges&feed=atom">
    12 <link rel="stylesheet" href="http://wiki.oni2.net/w/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector&only=styles&skin=vector&*">
    13 <style type="text/css" media="all">.js-messagebox{margin:1em 5%;padding:0.5em 2.5%;border:1px solid #ccc;background-color:#fcfcfc;font-size:0.8em}.js-messagebox .js-messagebox-group{margin:1px;padding:0.5em 2.5%;border-bottom:1px solid #ddd}.js-messagebox .js-messagebox-group:last-child{border-bottom:thin none transparent}
     2<!-- saved from url=(0029)http://wiki.oni2.net/XML:SNDD -->
     3<html lang="en" dir="ltr" class="client-js" style="-webkit-user-select: text;"><head style="-webkit-user-select: text;"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     4<title style="-webkit-user-select: text;">XML:SNDD - OniGalore</title>
     5
     6<meta name="generator" content="MediaWiki 1.19.2" style="-webkit-user-select: text;">
     7<link rel="alternate" type="application/x-wiki" title="Edit" href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit" style="-webkit-user-select: text;">
     8<link rel="edit" title="Edit" href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit" style="-webkit-user-select: text;">
     9<link rel="shortcut icon" href="http://wiki.oni2.net/favicon.ico" style="-webkit-user-select: text;">
     10<link rel="search" type="application/opensearchdescription+xml" href="http://wiki.oni2.net/w/opensearch_desc.php" title="OniGalore (en)" style="-webkit-user-select: text;">
     11<link rel="EditURI" type="application/rsd+xml" href="http://wiki.oni2.net/w/api.php?action=rsd" style="-webkit-user-select: text;">
     12<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" style="-webkit-user-select: text;">
     13<link rel="alternate" type="application/atom+xml" title="OniGalore Atom feed" href="http://wiki.oni2.net/w/index.php?title=Special:RecentChanges&amp;feed=atom" style="-webkit-user-select: text;">
     14<link rel="stylesheet" href="./XMLSNDD_files/load.php" style="-webkit-user-select: text;">
     15<style type="text/css" media="all" style="-webkit-user-select: text;">.js-messagebox{margin:1em 5%;padding:0.5em 2.5%;border:1px solid #ccc;background-color:#fcfcfc;font-size:0.8em}.js-messagebox .js-messagebox-group{margin:1px;padding:0.5em 2.5%;border-bottom:1px solid #ddd}.js-messagebox .js-messagebox-group:last-child{border-bottom:thin none transparent}
    1416
    1517/* cache key: oni_wiki:resourceloader:filter:minify-css:7:8b08bdc91c52a9ffba396dccfb5b473c */
     
    1921
    2022/* cache key: oni_wiki:resourceloader:filter:minify-css:7:4250852ed2349a0d4d0fc6509a3e7d4c */
    21 </style><meta name="ResourceLoaderDynamicStyles" content="">
    22 <link rel="stylesheet" href="http://wiki.oni2.net/w/load.php?debug=false&lang=en&modules=site&only=styles&skin=vector&*">
    23 <style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}a.new,#quickbar a.new{color:#ba0000}
     23</style><meta name="ResourceLoaderDynamicStyles" content="" style="-webkit-user-select: text;">
     24<link rel="stylesheet" href="./XMLSNDD_files/load(1).php" style="-webkit-user-select: text;">
     25<style style="-webkit-user-select: text;">a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}a.new,#quickbar a.new{color:#ba0000}
    2426
    2527/* cache key: oni_wiki:resourceloader:filter:minify-css:7:c88e2bcd56513749bec09a7e29cb3ffa */
    2628</style>
    2729
    28 <script src="./XMLSNDD_files/load.php"></script><script src="./XMLSNDD_files/load(1).php"></script>
    29 <script>if(window.mw){
    30 mw.config.set({"wgCanonicalNamespace":"XML","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":110,"wgPageName":"XML:SNDD","wgTitle":"SNDD","wgCurRevisionId":20983,"wgArticleId":4759,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Articles that need finishing","XML data docs"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgRelevantPageName":"XML:SNDD","wgRestrictionEdit":[],"wgRestrictionMove":[],"wgSearchNamespaces":[0,100,102,104,108,110],"wgCategoryTreePageCategoryOptions":"{\"mode\":20,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}"});
    31 }</script><script>if(window.mw){
    32 mw.loader.implement("user.options",function($){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"highlightbroken":1,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
    33 "watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"searchNs100":true,"searchNs101":false,"searchNs102":true,"searchNs103":false,"searchNs104":true,"searchNs105":false,"searchNs108":true,"searchNs109":false,"searchNs110":true,"searchNs111":false});;},{},{});mw.loader.implement("user.tokens",function($){mw.user.tokens.set({"editToken":"+\\","watchToken":false});;},{},{});
    34 
    35 /* cache key: oni_wiki:resourceloader:filter:minify-js:7:44206a5a8afa2f45ed1bbfd2f5a9bece */
     30<script src="./XMLSNDD_files/load(2).php" style="-webkit-user-select: text;"></script><script src="./XMLSNDD_files/load(3).php" style="-webkit-user-select: text;"></script>
     31<script style="-webkit-user-select: text;">if(window.mw){
     32mw.config.set({"wgCanonicalNamespace":"XML","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":110,"wgPageName":"XML:SNDD","wgTitle":"SNDD","wgCurRevisionId":25591,"wgArticleId":4759,"wgIsArticle":true,"wgAction":"view","wgUserName":"Script 10k","wgUserGroups":["*","user","autoconfirmed"],"wgCategories":["Articles that need finishing","XML data docs"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgRelevantPageName":"XML:SNDD","wgRestrictionEdit":[],"wgRestrictionMove":[],"wgSearchNamespaces":[0,100,102,104,108,110],"wgCategoryTreePageCategoryOptions":"{\"mode\":20,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}"});
     33}</script><script style="-webkit-user-select: text;">if(window.mw){
     34mw.loader.implement("user.options",function($){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"0","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"highlightbroken":1,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
     35"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"searchNs100":true,"searchNs101":false,"searchNs102":true,"searchNs103":false,"searchNs104":true,"searchNs105":false,"searchNs108":true,"searchNs109":false,"searchNs110":true,"searchNs111":false,"searchNs-1":"0","searchNs106":"1","searchNs107":"0","watchlisttoken":"792bb687f970780ab8efae83dbc62a988f4efce1"});;},{},{});mw.loader.implement("user.tokens",function($){mw.user.tokens.set({"editToken":"c08f1ac9c17fb24268eaa9fbc10859da+\\","watchToken":"eff14bb920245bf6e2b38662760b30a1+\\"});;},
     36{},{});
     37
     38/* cache key: oni_wiki:resourceloader:filter:minify-js:7:cf16a59788b2fd441cb03d0c9d20778f */
    3639}</script>
    37 <script>if(window.mw){
     40<script style="-webkit-user-select: text;">if(window.mw){
    3841mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
    39 }</script><script type="text/javascript" src="./XMLSNDD_files/load(2).php"></script>
     42}</script><script type="text/javascript" src="./XMLSNDD_files/load(4).php" style="-webkit-user-select: text;"></script>
    4043<!--[if lt IE 7]><style type="text/css">body{behavior:url("/w/skins/vector/csshover.min.htc")}</style><![endif]--></head>
    41 <body class="mediawiki ltr sitedir-ltr ns-110 ns-subject page-XML_SNDD skin-vector action-view">
    42                 <div id="mw-page-base" class="noprint"></div>
    43                 <div id="mw-head-base" class="noprint"></div>
     44<body class="mediawiki ltr sitedir-ltr ns-110 ns-subject page-XML_SNDD skin-vector action-view" style="-webkit-user-select: text;">
     45                <div id="mw-page-base" class="noprint" style="-webkit-user-select: text;"></div>
     46                <div id="mw-head-base" class="noprint" style="-webkit-user-select: text;"></div>
    4447                <!-- content -->
    45                 <div id="content" class="mw-body">
    46                         <a id="top"></a>
    47                         <div id="mw-js-message" style="display:none;" class="js-messagebox"></div>
     48                <div id="content" class="mw-body" style="-webkit-user-select: text;">
     49                        <a id="top" style="-webkit-user-select: text;"></a>
     50                        <div id="mw-js-message" style="display: none; -webkit-user-select: text;" class="js-messagebox"></div>
    4851                                                <!-- firstHeading -->
    49                         <h1 id="firstHeading" class="firstHeading">
    50                                 <span dir="auto">XML:SNDD</span>
     52                        <h1 id="firstHeading" class="firstHeading" style="-webkit-user-select: text;">
     53                                <span dir="auto" style="-webkit-user-select: text;">XML:SNDD</span>
    5154                        </h1>
    5255                        <!-- /firstHeading -->
    5356                        <!-- bodyContent -->
    54                         <div id="bodyContent">
     57                        <div id="bodyContent" style="-webkit-user-select: text;">
    5558                                                                <!-- tagline -->
    56                                 <div id="siteSub">From OniGalore</div>
     59                                <div id="siteSub" style="-webkit-user-select: text;">From OniGalore</div>
    5760                                <!-- /tagline -->
    5861                                                                <!-- subtitle -->
    59                                 <div id="contentSub"></div>
     62                                <div id="contentSub" style="-webkit-user-select: text;"></div>
    6063                                <!-- /subtitle -->
    6164                                                                                                                                <!-- jumpto -->
    62                                 <div id="jump-to-nav" class="mw-jump">
    63                                         Jump to: <a href="http://wiki.oni2.net/XML:SNDD#mw-head">navigation</a>,
    64                                         <a href="http://wiki.oni2.net/XML:SNDD#p-search">search</a>
     65                                <div id="jump-to-nav" class="mw-jump" style="-webkit-user-select: text;">
     66                                        Jump to: <a href="http://wiki.oni2.net/XML:SNDD#mw-head" style="-webkit-user-select: text;">navigation</a>,
     67                                        <a href="http://wiki.oni2.net/XML:SNDD#p-search" style="-webkit-user-select: text;">search</a>
    6568                                </div>
    6669                                <!-- /jumpto -->
    6770                                                                <!-- bodycontent -->
    68                                 <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><table class="wikitable" style="width: 100%; border-width:4px 1px; border-style:solid; border-collapse:collapse; border-spacing:0px; empty-cells:show; text-align:center">
    69 <tbody><tr>
    70 <th style="width: 256px;"> SNDD&nbsp;: Sound Data
     71                                <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr" style="-webkit-user-select: text;"><table class="wikitable" style="width: 100%; border-width: 4px 1px; border-style: solid; border-collapse: collapse; border-spacing: 0px; empty-cells: show; text-align: center; -webkit-user-select: text;">
     72<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     73<th style="width: 256px; -webkit-user-select: text;"> SNDD&nbsp;: Sound Data
    7174</th>
    72 <td rowspan="2">
    73 <dl><dd><b>modding hints</b>
    74 <ul><li> XML documentations sometimes feature <i>&lt;Oni Version"..."&gt;</i>.<br><a rel="nofollow" class="external text" href="http://mods.oni2.net/node/38">New onisplit</a> (v0.9.56.0 or above) uses &lt;Oni&gt; tag.
    75 </li><li> See <a href="http://wiki.oni2.net/XML_basic_tutorial" title="XML basic tutorial">HERE</a> if you don't know how to convert an oni file into XML and vice versa.
    76 </li><li> See <a href="http://wiki.oni2.net/OBD_talk:BINA/OBJC" title="OBD talk:BINA/OBJC">HERE</a> if you are searching for more general information such as how to handle object coordinates.
    77 </li><li> See <a href="http://wiki.oni2.net/Modding_errors" title="Modding errors">HERE</a> for some typical modding errors.
     75<td rowspan="2" style="-webkit-user-select: text;">
     76<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">XML modding tips</b>
     77<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> See <a href="http://wiki.oni2.net/XML" title="XML" class="mw-redirect" style="-webkit-user-select: text;">HERE</a> to start learning about XML modding.
     78</li><li style="-webkit-user-select: text;"> See <a href="http://wiki.oni2.net/OBD_talk:BINA/OBJC" title="OBD talk:BINA/OBJC" style="-webkit-user-select: text;">HERE</a> if you are searching for information on how to handle object coordinates.
     79</li><li style="-webkit-user-select: text;"> See <a href="http://wiki.oni2.net/Modding_errors" title="Modding errors" style="-webkit-user-select: text;">HERE</a> for some typical modding errors and their causes.
    7880</li></ul>
    7981</dd></dl>
    8082</td>
    81 <td rowspan="2" style="width:128px; background-color:#000000;"> <a href="http://wiki.oni2.net/File:XML.png" class="image"><img alt="XML.png" src="./XMLSNDD_files/XML.png" width="128" height="128"></a>
    82 </td></tr>
    83 <tr>
    84 <td> <b><a href="http://wiki.oni2.net/XML_basic_tutorial" title="XML basic tutorial">XML</a></b>
    85 <p><a href="http://wiki.oni2.net/w/index.php?title=XML:PSUI&action=edit&redlink=1" class="new" title="XML:PSUI (page does not exist)">PSUI</a> &lt;&lt; <a href="http://wiki.oni2.net/XML_basic_tutorial#Others" title="XML basic tutorial">Other file types</a> &gt;&gt; <a href="http://wiki.oni2.net/XML:TRAC" title="XML:TRAC">TRAC</a>
    86 </p><p><a href="http://wiki.oni2.net/OBD:SNDD" title="OBD:SNDD">switch to OBD page</a>
     83<td rowspan="2" style="width: 128px; background-color: rgb(0, 0, 0); -webkit-user-select: text;"> <a href="http://wiki.oni2.net/File:XML.png" class="image" style="-webkit-user-select: text;"><img alt="XML.png" src="./XMLSNDD_files/XML.png" width="128" height="128" style="-webkit-user-select: text;"></a>
     84</td></tr>
     85<tr style="-webkit-user-select: text;">
     86<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML" title="XML" class="mw-redirect" style="-webkit-user-select: text;">XML</a></b>
     87<p style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:PSUI&amp;action=edit&amp;redlink=1" class="new" title="XML:PSUI (page does not exist)" style="-webkit-user-select: text;">PSUI</a> &lt;&lt; <a href="http://wiki.oni2.net/XML:File_types" title="XML:File types" style="-webkit-user-select: text;">Other file types</a> &gt;&gt; <a href="http://wiki.oni2.net/XML:TRAC" title="XML:TRAC" style="-webkit-user-select: text;">TRAC</a>
     88</p><p style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OBD:SNDD" title="OBD:SNDD" style="-webkit-user-select: text;">switch to OBD page</a>
    8789</p>
    8890</td></tr></tbody></table>
    89 <table cellpadding="0" style="border:1px solid black; border-spacing:0px; padding:0px; empty-cells:show; margin-left:auto; margin-right:auto; text-align:center; width:700pt;">
    90 <tbody><tr>
    91 <td style="background-color:gray; width:1%;">
    92 </td>
    93 <td style="width:1%;"> <a href="http://wiki.oni2.net/File:Unfinished_building-60px.jpg" class="image"><img alt="Unfinished building-60px.jpg" src="./XMLSNDD_files/Unfinished_building-60px.jpg" width="60" height="60"></a>
    94 </td>
    95 <td style="width:98%;">
    96 <p><b>This page is unfinished. Can you fill in any missing information?</b><br>If it is not clear which part of the page is unfinished, ask on the talk page.
     91<table cellpadding="0" style="border: 1px solid black; border-spacing: 0px; padding: 0px; empty-cells: show; margin-left: auto; margin-right: auto; text-align: center; width: 700pt; -webkit-user-select: text;">
     92<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     93<td style="background-color: gray; width: 1%; -webkit-user-select: text;">
     94</td>
     95<td style="width: 1%; -webkit-user-select: text;"> <a href="http://wiki.oni2.net/File:Unfinished_building-60px.jpg" class="image" style="-webkit-user-select: text;"><img alt="Unfinished building-60px.jpg" src="./XMLSNDD_files/Unfinished_building-60px.jpg" width="60" height="60" style="-webkit-user-select: text;"></a>
     96</td>
     97<td style="width: 98%; -webkit-user-select: text;">
     98<p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">This page is unfinished. Can you fill in any missing information?</b><br style="-webkit-user-select: text;">If it is not clear which part of the page is unfinished, ask on the talk page.
    9799</p>
    98100</td></tr></tbody></table>
    99 <table border="0" cellspacing="20" cellpadding="0" style="margin-left:auto; margin-right:auto">
    100 <tbody><tr>
    101 <td> More OSBD .grp / .amb information could be useful and .imp is completely left out so far.
    102 <p>The xml code on this page is based on onisplit <b>v0.9.61.0</b>
     101<table border="0" cellspacing="20" cellpadding="0" style="margin-left: auto; margin-right: auto; -webkit-user-select: text;">
     102<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     103<td style="-webkit-user-select: text;"> More OSBD .grp / .amb information could be useful and .imp is completely left out so far.
     104<p style="-webkit-user-select: text;">The xml code on this page is based on onisplit <b style="-webkit-user-select: text;">v0.9.61.0</b>
    103105</p>
    104106</td></tr></tbody></table>
    105 <table id="toc" class="toc"><tbody><tr><td><div id="toctitle"><h2>Contents</h2><span class="toctoggle">&nbsp;[<a href="http://wiki.oni2.net/XML:SNDD#" class="internal" id="togglelink">hide</a>]&nbsp;</span></div>
    106 <ul>
    107 <li class="toclevel-1 tocsection-1"><a href="./XMLSNDD_files/XMLSNDD.html"><span class="tocnumber">1</span> <span class="toctext">Source file creation</span></a></li>
    108 <li class="toclevel-1 tocsection-2"><a href="http://wiki.oni2.net/XML:SNDD#Oni_file_creation"><span class="tocnumber">2</span> <span class="toctext">Oni file creation</span></a>
    109 <ul>
    110 <li class="toclevel-2 tocsection-3"><a href="http://wiki.oni2.net/XML:SNDD#via_Excel_macro"><span class="tocnumber">2.1</span> <span class="toctext">via Excel macro</span></a></li>
    111 <li class="toclevel-2 tocsection-4"><a href="http://wiki.oni2.net/XML:SNDD#via_batch_files"><span class="tocnumber">2.2</span> <span class="toctext">via batch files</span></a></li>
    112 <li class="toclevel-2 tocsection-5"><a href="http://wiki.oni2.net/XML:SNDD#via_command_lines"><span class="tocnumber">2.3</span> <span class="toctext">via command lines</span></a></li>
     107<table id="toc" class="toc" style="-webkit-user-select: text;"><tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;"><td style="-webkit-user-select: text;"><div id="toctitle" style="-webkit-user-select: text;"><h2 style="-webkit-user-select: text;">Contents</h2><span class="toctoggle" style="-webkit-user-select: text;">&nbsp;[<a href="http://wiki.oni2.net/XML:SNDD#" class="internal" id="togglelink" style="-webkit-user-select: text;">hide</a>]&nbsp;</span></div>
     108<ul style="-webkit-user-select: text;">
     109<li class="toclevel-1 tocsection-1" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#Source_file_creation" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">1</span> <span class="toctext" style="-webkit-user-select: text;">Source file creation</span></a></li>
     110<li class="toclevel-1 tocsection-2" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#Oni_file_creation" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2</span> <span class="toctext" style="-webkit-user-select: text;">Oni file creation</span></a>
     111<ul style="-webkit-user-select: text;">
     112<li class="toclevel-2 tocsection-3" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#via_Vago" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2.1</span> <span class="toctext" style="-webkit-user-select: text;">via Vago</span></a></li>
     113<li class="toclevel-2 tocsection-4" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#via_batch_file" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2.2</span> <span class="toctext" style="-webkit-user-select: text;">via batch file</span></a></li>
     114<li class="toclevel-2 tocsection-5" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#via_command_line" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2.3</span> <span class="toctext" style="-webkit-user-select: text;">via command line</span></a></li>
    113115</ul>
    114116</li>
    115 <li class="toclevel-1 tocsection-6"><a href="http://wiki.oni2.net/XML:SNDD#OSBD_information"><span class="tocnumber">3</span> <span class="toctext">OSBD information</span></a>
    116 <ul>
    117 <li class="toclevel-2 tocsection-7"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.amb.xml"><span class="tocnumber">3.1</span> <span class="toctext">OSBDfile.amb.xml</span></a></li>
    118 <li class="toclevel-2 tocsection-8"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.grp.xml"><span class="tocnumber">3.2</span> <span class="toctext">OSBDfile.grp.xml</span></a></li>
     117<li class="toclevel-1 tocsection-6" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBD_information" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3</span> <span class="toctext" style="-webkit-user-select: text;">OSBD information</span></a>
     118<ul style="-webkit-user-select: text;">
     119<li class="toclevel-2 tocsection-7" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.imp.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3.1</span> <span class="toctext" style="-webkit-user-select: text;">OSBDfile.imp.xml</span></a></li>
     120<li class="toclevel-2 tocsection-8" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.amb.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3.2</span> <span class="toctext" style="-webkit-user-select: text;">OSBDfile.amb.xml</span></a></li>
     121<li class="toclevel-2 tocsection-9" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.grp.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3.3</span> <span class="toctext" style="-webkit-user-select: text;">OSBDfile.grp.xml</span></a></li>
    119122</ul>
    120123</li>
    121 <li class="toclevel-1 tocsection-9"><a href="http://wiki.oni2.net/XML:SNDD#BINACJBOSound.xml"><span class="tocnumber">4</span> <span class="toctext">BINACJBOSound.xml</span></a></li>
    122 <li class="toclevel-1 tocsection-10"><a href="http://wiki.oni2.net/XML:SNDD#sound-related_BSL_commands"><span class="tocnumber">5</span> <span class="toctext">sound-related BSL commands</span></a></li>
    123 <li class="toclevel-1 tocsection-11"><a href="http://wiki.oni2.net/XML:SNDD#OCF_thread_about_new_music"><span class="tocnumber">6</span> <span class="toctext">OCF thread about new music</span></a></li>
    124 <li class="toclevel-1 tocsection-12"><a href="http://wiki.oni2.net/XML:SNDD#How_to_register_sounds_to_characters"><span class="tocnumber">7</span> <span class="toctext">How to register sounds to characters</span></a>
    125 <ul>
    126 <li class="toclevel-2 tocsection-13"><a href="http://wiki.oni2.net/XML:SNDD#step_1:_preparing_the_TRAM"><span class="tocnumber">7.1</span> <span class="toctext">step 1: preparing the TRAM</span></a></li>
    127 <li class="toclevel-2 tocsection-14"><a href="http://wiki.oni2.net/XML:SNDD#step_2:_preparing_the_ONCC"><span class="tocnumber">7.2</span> <span class="toctext">step 2: preparing the ONCC</span></a></li>
    128 <li class="toclevel-2 tocsection-15"><a href="http://wiki.oni2.net/XML:SNDD#step_3:_preparing_the_OSBD.amb"><span class="tocnumber">7.3</span> <span class="toctext">step 3: preparing the OSBD.amb</span></a></li>
    129 <li class="toclevel-2 tocsection-16"><a href="http://wiki.oni2.net/XML:SNDD#step_4:_preparing_the_OSBD.grp"><span class="tocnumber">7.4</span> <span class="toctext">step 4: preparing the OSBD.grp</span></a></li>
    130 <li class="toclevel-2 tocsection-17"><a href="http://wiki.oni2.net/XML:SNDD#step_5:_everything_else_what.27s_left"><span class="tocnumber">7.5</span> <span class="toctext">step 5: everything else what's left</span></a></li>
     124<li class="toclevel-1 tocsection-10" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#BINACJBOSound.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">4</span> <span class="toctext" style="-webkit-user-select: text;">BINACJBOSound.xml</span></a></li>
     125<li class="toclevel-1 tocsection-11" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#sound-related_BSL_commands" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">5</span> <span class="toctext" style="-webkit-user-select: text;">sound-related BSL commands</span></a></li>
     126<li class="toclevel-1 tocsection-12" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OCF_thread_about_new_music" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">6</span> <span class="toctext" style="-webkit-user-select: text;">OCF thread about new music</span></a></li>
     127<li class="toclevel-1 tocsection-13" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#How_to_register_sounds_to_characters" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7</span> <span class="toctext" style="-webkit-user-select: text;">How to register sounds to characters</span></a>
     128<ul style="-webkit-user-select: text;">
     129<li class="toclevel-2 tocsection-14" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_1:_preparing_the_TRAM" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.1</span> <span class="toctext" style="-webkit-user-select: text;">step 1: preparing the TRAM</span></a></li>
     130<li class="toclevel-2 tocsection-15" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_2:_preparing_the_ONCC" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.2</span> <span class="toctext" style="-webkit-user-select: text;">step 2: preparing the ONCC</span></a></li>
     131<li class="toclevel-2 tocsection-16" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_3:_preparing_the_OSBD.amb" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.3</span> <span class="toctext" style="-webkit-user-select: text;">step 3: preparing the OSBD.amb</span></a></li>
     132<li class="toclevel-2 tocsection-17" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_4:_preparing_the_OSBD.grp" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.4</span> <span class="toctext" style="-webkit-user-select: text;">step 4: preparing the OSBD.grp</span></a></li>
     133<li class="toclevel-2 tocsection-18" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_5:_everything_else_what.27s_left" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.5</span> <span class="toctext" style="-webkit-user-select: text;">step 5: everything else what's left</span></a></li>
    131134</ul>
    132135</li>
    133136</ul>
    134137</td></tr></tbody></table>
    135 <p><br>
    136 </p>
    137 <dl><dd> <i><b>How do I get sounds into Oni?</b></i>
     138<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     139</p>
     140<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">How do I get sounds into Oni?</b></i>
    138141</dd></dl>
    139 <p><b>In order to make your sounds available on both sides - pc and mac - you need to create them twice (one time from a wav source and another time from an aif/aifc/afc source).</b>
    140 </p><p><br>
    141 </p>
    142 <h2> <span class="mw-headline" id="Source_file_creation">Source file creation</span></h2>
    143 <p>These are the requirements of your source file(s).
    144 </p>
    145 <table class="wikitable" style="width: 100%;">
    146 <tbody><tr>
    147 <th> PC retail
     142<p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">In order to make your sounds available on both sides - pc and mac - you need to create them twice (one time from a wav source and another time from an aif/aifc/afc source).</b>
     143</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     144</p>
     145<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=1" title="Edit section: Source file creation" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="Source_file_creation" style="-webkit-user-select: text;">Source file creation</span></h2>
     146<p style="-webkit-user-select: text;">These are the properties of the source files you want to create.
     147</p>
     148<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     149<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     150<th style="-webkit-user-select: text;"> PC retail
    148151</th>
    149 <th> MAC
     152<th style="-webkit-user-select: text;"> MAC
    150153</th></tr>
    151 <tr>
    152 <td style="vertical-align: top; width: 50%;">
    153 <dl><dd> .wav
    154 </dd><dd> 22.05KHz (mono / stereo) or 44.1KHz (mono)
    155 </dd><dd> uncompressed (PCM) or compressed (MS-ADPCM)
     154<tr style="-webkit-user-select: text;">
     155<td style="vertical-align: top; width: 50%; -webkit-user-select: text;">
     156<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> .wav
     157</dd><dd style="-webkit-user-select: text;"> 22.05KHz (mono / stereo) or 44.1KHz (mono)
     158</dd><dd style="-webkit-user-select: text;"> 16-bit uncompressed (PCM) or compressed (MS-ADPCM)
    156159</dd></dl>
    157160</td>
    158 <td style="vertical-align: top;">
    159 <dl><dd> .aif / .aifc / .afc
    160 </dd><dd> 22.05KHz (mono / stereo)
    161 </dd><dd> compressed (ima4)
     161<td style="vertical-align: top; -webkit-user-select: text;">
     162<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> .aif / .aifc / .afc
     163</dd><dd style="-webkit-user-select: text;"> 22.05KHz (mono / stereo)
     164</dd><dd style="-webkit-user-select: text;"> compressed (ima4)
    162165</dd></dl>
    163166</td></tr></tbody></table>
    164 <p><br>
     167<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
    165168To create suitable files you could use audacity and its ffmpeg Export Library.
    166169</p>
    167 <table class="wikitable" style="width: 100%;">
    168 <tbody><tr>
    169 <th style="width: 33%;">
     170<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     171<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     172<th style="width: 33%; -webkit-user-select: text;">
    170173</th>
    171 <th style="text-align: right;">PC version
     174<th style="-webkit-user-select: text;">PC version
    172175</th>
    173 <th style="text-align: right;">Mac version
     176<th style="-webkit-user-select: text;">Mac version
    174177</th></tr>
    175 <tr>
    176 <td style="width: 33%;">audacity
    177 </td>
    178 <td><a rel="nofollow" class="external text" href="http://audacity.sourceforge.net/download/beta_windows#recdown">link</a>
    179 </td>
    180 <td><a rel="nofollow" class="external text" href="http://audacity.sourceforge.net/download/beta_mac#recdown">link</a>
    181 </td></tr>
    182 <tr>
    183 <td>ffmpeg Export Library
    184 </td>
    185 <td><a rel="nofollow" class="external text" href="http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg">link</a>
    186 </td>
    187 <td><a rel="nofollow" class="external text" href="http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg">link</a>
    188 </td></tr>
    189 <tr>
    190 <td>mirror links
    191 </td>
    192 <td><a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_PC.zip">audacity (1.3 beta) + library</a>
    193 </td>
    194 <td><a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_MAC.zip">audacity (1.3 beta) + library</a>
    195 </td></tr>
    196 <tr>
    197 <td style="vertical-align: top;">installation
    198 </td>
    199 <td colspan="2">After you installed Audacity and the library goto <b>Edit &gt; Preferences... &gt; Libraries</b> - click on Locate... button and find the installed library file.
    200 </td></tr>
    201 <tr>
    202 <td style="vertical-align: top;">source file creation
    203 </td>
    204 <td><b>wav</b> for PC oni file
    205 <p><br>
    206 Open your sound file then goto File &gt; Export... &gt; Save As: <i><b>yourfile.<font color="#CC0000">wav</font></b></i>; Format: Custom FFmpeg Export; Options... &gt; wav; <b>pcm_s16le</b>; Sample Rate: 22050; OK and save the file<br>(adpcm_ms doesn't work with Audacity 1.3 Beta)
    207 </p><p><a rel="nofollow" class="external text" href="http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav.png"><img src="./XMLSNDD_files/Audacity_wav_tn.png" alt="Audacity_wav_tn.png"></a>
    208 </p>
    209 </td>
    210 <td><b>aif</b> for Mac oni file
    211 <p><br>
    212 Open your sound file then goto File &gt; Export... &gt; Save As: <i><b>yourfile.<font color="#CC0000">aif</font></b></i>; Format: Custom FFmpeg Export; Options... &gt; aiff; adpcm_ima_qt; Sample Rate: 22050; OK and save the file
    213 </p><p><a rel="nofollow" class="external text" href="http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity.png"><img src="./XMLSNDD_files/Audacity_tn.png" alt="Audacity_tn.png"></a>
     178<tr style="-webkit-user-select: text;">
     179<td style="width: 33%; -webkit-user-select: text;">audacity
     180</td>
     181<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://audacity.sourceforge.net/download/beta_windows#recdown" style="-webkit-user-select: text;">link</a>
     182</td>
     183<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://audacity.sourceforge.net/download/beta_mac#recdown" style="-webkit-user-select: text;">link</a>
     184</td></tr>
     185<tr style="-webkit-user-select: text;">
     186<td style="-webkit-user-select: text;">ffmpeg Export Library
     187</td>
     188<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg" style="-webkit-user-select: text;">link</a>
     189</td>
     190<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg" style="-webkit-user-select: text;">link</a>
     191</td></tr>
     192<tr style="-webkit-user-select: text;">
     193<td style="-webkit-user-select: text;">mirror links
     194</td>
     195<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_PC.zip" style="-webkit-user-select: text;">audacity (1.3 beta) + library</a>
     196</td>
     197<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_MAC.zip" style="-webkit-user-select: text;">audacity (1.3 beta) + library</a>
     198</td></tr>
     199<tr style="-webkit-user-select: text;">
     200<td style="vertical-align: top; -webkit-user-select: text;">installation
     201</td>
     202<td colspan="2" style="-webkit-user-select: text;">After you installed Audacity and the library goto <b style="-webkit-user-select: text;">Edit &gt; Preferences... &gt; Libraries</b> - click on Locate... button and find the installed library file.
     203</td></tr>
     204<tr style="-webkit-user-select: text;">
     205<td style="vertical-align: top; -webkit-user-select: text;">source file creation
     206</td>
     207<td style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">wav</b> for PC oni file
     208<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     209Open your sound file then goto File &gt; Export... &gt; Save As: <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">yourfile.<font color="#CC0000" style="-webkit-user-select: text;">wav</font></b></i>; Format: Custom FFmpeg Export; Options... &gt; wav; <b style="-webkit-user-select: text;">pcm_s16le</b>; Sample Rate: 22050; OK and save the file<br style="-webkit-user-select: text;">(adpcm_ms doesn't work with Audacity 1.3 Beta)
     210</p><p style="-webkit-user-select: text;"><a rel="nofollow" class="external text hoverZoomLink" href="http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav.png" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/Audacity_wav_tn.png" alt="Audacity_wav_tn.png" style="-webkit-user-select: text;"></a>
     211</p>
     212</td>
     213<td style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">aif</b> for Mac oni file
     214<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     215Open your sound file then goto File &gt; Export... &gt; Save As: <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">yourfile.<font color="#CC0000" style="-webkit-user-select: text;">aif</font></b></i>; Format: Custom FFmpeg Export; Options... &gt; aiff; adpcm_ima_qt; Sample Rate: 22050; OK and save the file
     216</p><p style="-webkit-user-select: text;"><a rel="nofollow" class="external text hoverZoomLink" href="http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity.png" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/Audacity_tn.png" alt="Audacity_tn.png" style="-webkit-user-select: text;"></a>
    214217</p>
    215218</td></tr></tbody></table>
    216 <p><br>
    217 </p>
    218 <h2> <span class="mw-headline" id="Oni_file_creation">Oni file creation</span></h2>
    219 <h3> <span class="mw-headline" id="via_Excel_macro">via Excel macro</span></h3>
    220 <table border="0" cellspacing="20" cellpadding="0" style="text-align: right;">
    221 <tbody><tr>
    222 <td> macro GUI<br><a rel="nofollow" class="external text" href="http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/VBA/sound_setup_assistant.png"><img src="./XMLSNDD_files/sound_setup_assistant_tn.png" alt="sound_setup_assistant_tn.png"></a>
    223 </td></tr></tbody></table>
    224 <p>You can use this <a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/SNDD_OSBD_macro.zip">macro</a> to create single sounds with few clicks.
    225 </p><p>It lets you generate the OSBD (.amb + .grp) and SNDD file in one go.
    226 </p><p>No need to buy Windows version of Excel. The trail version will also do it.
    227 </p><p><br>
    228 </p>
    229 <h3> <span class="mw-headline" id="via_batch_files">via batch files</span></h3>
    230 <p>Get them <a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/sound_creation_via_batch_files.zip">HERE</a>, includes a short readme.
    231 </p><p><br>
    232 </p>
    233 <h3> <span class="mw-headline" id="via_command_lines">via command lines</span></h3>
    234 <p>For those who want to do it on their own.
    235 </p><p>onisplit
    236 </p>
    237 <dl><dd> -create output_directory_<b>MAC</b> input_directory/<b>*.aif</b>
    238 </dd><dd> -create output_directory_<b>PC</b> input_directory/<b>*.wav</b>
    239 </dd><dd> -create output_directory input_directory/*.xml
     219<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     220</p>
     221<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=2" title="Edit section: Oni file creation" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="Oni_file_creation" style="-webkit-user-select: text;">Oni file creation</span></h2>
     222<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=3" title="Edit section: via Vago" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="via_Vago" style="-webkit-user-select: text;">via Vago</span></h3>
     223<p style="-webkit-user-select: text;">Installation:
     224</p>
     225<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> Oni/AE/<a href="http://wiki.oni2.net/Anniversary_Edition/Installer#Tools" title="Anniversary Edition/Installer" style="-webkit-user-select: text;">AEInstaller2.exe &gt; Tools &gt; Manage Tools</a>
     226</li></ul>
     227<p style="-webkit-user-select: text;">Usage: Oni/AE/Tools/VagoGUI/<a href="http://wiki.oni2.net/Vago_(tool)" title="Vago (tool)" style="-webkit-user-select: text;">Vago.exe</a>
     228</p>
     229<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> Target Platform: choose the desired mode
     230</li><li style="-webkit-user-select: text;"> Tools &gt; Sound Wizard
     231</li></ul>
     232<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     233</p>
     234<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=4" title="Edit section: via batch file" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="via_batch_file" style="-webkit-user-select: text;">via batch file</span></h3>
     235<p style="-webkit-user-select: text;">Get them <a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/sound_creation_via_batch_files.zip" style="-webkit-user-select: text;">HERE</a>, includes a short readme.
     236</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     237</p>
     238<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=5" title="Edit section: via command line" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="via_command_line" style="-webkit-user-select: text;">via command line</span></h3>
     239<p style="-webkit-user-select: text;">For those who want to do it on their own.
     240</p><p style="-webkit-user-select: text;">onisplit
     241</p>
     242<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> -create output_directory_<b style="-webkit-user-select: text;">MAC</b> input_directory/<b style="-webkit-user-select: text;">*.aif</b>
     243</dd><dd style="-webkit-user-select: text;"> -create output_directory_<b style="-webkit-user-select: text;">PC</b> input_directory/<b style="-webkit-user-select: text;">*.wav</b>
     244</dd><dd style="-webkit-user-select: text;"> -create output_directory input_directory/*.xml
    240245</dd></dl>
    241 <p>For fast xml text changes and naming give them all <i>yourfile</i> as name if you have only one sound:
    242 </p>
    243 <dl><dd> <font color="#AAAAAA">SNDD</font>yourfile<font color="#AAAAAA">.oni</font>
    244 </dd><dd> <font color="#AAAAAA">OSBD</font>yourfile<font color="#AAAAAA"><b>.grp</b>.oni</font>
    245 </dd><dd> <font color="#AAAAAA">OSBD</font>yourfile<font color="#AAAAAA"><b>.amb</b>.oni</font>
     246<p style="-webkit-user-select: text;">For fast xml text changes and naming give them all <i style="-webkit-user-select: text;">yourfile</i> as name if you have only one sound:
     247</p>
     248<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>yourfile<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font>
     249</dd><dd style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>yourfile<font color="#AAAAAA" style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">.grp</b>.oni</font>
     250</dd><dd style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>yourfile<font color="#AAAAAA" style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">.amb</b>.oni</font>
    246251</dd></dl>
    247 <p><br>
    248 </p>
    249 <h2> <span class="mw-headline" id="OSBD_information">OSBD information</span></h2>
    250 <p><b>when use what</b>
    251 </p>
    252 <ul><li> OSBD*.<b>amb</b>
    253 <ul><li> music (call OSBD from BSL)
    254 </li><li> sound dialogs (call OSBD from BSL)
    255 </li><li> <a href="http://wiki.oni2.net/XML:BINA/PAR3" title="XML:BINA/PAR3">BINA3RAP</a> &lt;AmbientSound&gt; (action type)
    256 </li><li> <a href="http://wiki.oni2.net/XML:SNDD#BINACJBOSound">BINACJBOSound.xml</a> (area-fixed sounds)
    257 </li><li> <a href="http://wiki.oni2.net/XML:TRIG" title="XML:TRIG">TRIG</a> &lt;ActiveSound&gt;
    258 </li><li> <a href="http://wiki.oni2.net/XML:TURR" title="XML:TURR">TURR</a> &lt;ActiveSound&gt;
     252<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     253</p>
     254<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=6" title="Edit section: OSBD information" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBD_information" style="-webkit-user-select: text;">OSBD information</span></h2>
     255<p style="-webkit-user-select: text;">OSBD files are stored globally (in level0_Final).
     256</p><p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">when use what</b>
     257</p>
     258<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> OSBD*.<b style="-webkit-user-select: text;">amb</b>
     259<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> music (call OSBD from BSL)
     260</li><li style="-webkit-user-select: text;"> sound dialogs (call OSBD from BSL)
     261</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/PAR3" title="XML:BINA/PAR3" style="-webkit-user-select: text;">BINA3RAP</a> &lt;AmbientSound&gt; (action type)
     262</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:SNDD#BINACJBOSound.xml" style="-webkit-user-select: text;">BINACJBOSound.xml</a> (area-fixed sounds)
     263</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TRIG" title="XML:TRIG" style="-webkit-user-select: text;">TRIG</a> &lt;ActiveSound&gt;
     264</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TURR" title="XML:TURR" style="-webkit-user-select: text;">TURR</a> &lt;ActiveSound&gt;
    259265</li></ul>
    260266</li></ul>
    261 <ul><li> OSBD*.<b>imp</b>
    262 <ul><li> <a href="http://wiki.oni2.net/XML:BINA/PAR3" title="XML:BINA/PAR3">BINA3RAP</a> &lt;FlyBySoundName&gt; and &lt;ImpulseSound&gt; (action type)
    263 </li><li> <a href="http://wiki.oni2.net/XML:BINA/ONIE" title="XML:BINA/ONIE">BINA/ONIE</a> &lt;Sound&gt;&lt;Name&gt;
    264 </li><li> <a href="http://wiki.oni2.net/XML:BINA/SABD" title="XML:BINA/SABD">BINADBAS</a> &lt;Sound&gt;
    265 </li><li> <a href="http://wiki.oni2.net/XML:ONCC" title="XML:ONCC">ONCC</a> hurt sounds (also indirectly with chr_pain) and &lt;SoundConstants&gt;
    266 </li><li> <a href="http://wiki.oni2.net/XML:ONWC" title="XML:ONWC">ONWC</a> &lt;EmptyWeaponSound&gt;
    267 </li><li> <a href="http://wiki.oni2.net/XML:TRAM" title="XML:TRAM">TRAM</a> &lt;Sound&gt;&lt;Name&gt;
    268 </li><li> <a href="http://wiki.oni2.net/XML:TRIG" title="XML:TRIG">TRIG</a> &lt;TriggerSound&gt;
     267<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> OSBD*.<b style="-webkit-user-select: text;">imp</b>
     268<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/PAR3" title="XML:BINA/PAR3" style="-webkit-user-select: text;">BINA3RAP</a> &lt;FlyBySoundName&gt; and &lt;ImpulseSound&gt; (action type)
     269</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/ONIE" title="XML:BINA/ONIE" style="-webkit-user-select: text;">BINA/ONIE</a> &lt;Sound&gt;&lt;Name&gt;
     270</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/SABD" title="XML:BINA/SABD" style="-webkit-user-select: text;">BINADBAS</a> &lt;Sound&gt;
     271</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:ONCC" title="XML:ONCC" style="-webkit-user-select: text;">ONCC</a> hurt sounds (also indirectly with chr_pain) and &lt;SoundConstants&gt;
     272</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:ONWC" title="XML:ONWC" style="-webkit-user-select: text;">ONWC</a> &lt;EmptyWeaponSound&gt;
     273</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TRAM" title="XML:TRAM" style="-webkit-user-select: text;">TRAM</a> &lt;Sound&gt;&lt;Name&gt;
     274</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TRIG" title="XML:TRIG" style="-webkit-user-select: text;">TRIG</a> &lt;TriggerSound&gt;
    269275</li></ul>
    270276</li></ul>
    271 <p><br>
    272 <b>details on music</b>
    273 </p>
    274 <dl><dd> OSBD_newmusic.amb.oni (The main file, links to the group, intro and ending files)
    275 </dd><dd> OSBD_newmusic.grp.oni (Contain links to the music files)
    276 </dd><dd> OSBD_newmusic_in.grp.oni (Links to intro part of the music - Optional)
    277 </dd><dd> OSBD_newmusic_out.grp.oni (Links to the ending of the music - Optional)
    278 </dd><dd> SNDD_newmusic1.oni (The individual music files - Its best to break up the music into segments of perhaps 30 secs to a minute each - Oni may crash or become sluggish if you use a single file for the music -- EdT) (What are the limits? --<a href="http://wiki.oni2.net/User:Paradox-01" title="User:Paradox-01">Paradox-01</a>)
     277<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     278<b style="-webkit-user-select: text;">details on music</b>
     279</p>
     280<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> OSBD_newmusic.amb.oni (The main file, links to the group, intro and ending files)
     281</dd><dd style="-webkit-user-select: text;"> OSBD_newmusic.grp.oni (Contain links to the music files)
     282</dd><dd style="-webkit-user-select: text;"> OSBD_newmusic_in.grp.oni (Links to intro part of the music - Optional)
     283</dd><dd style="-webkit-user-select: text;"> OSBD_newmusic_out.grp.oni (Links to the ending of the music - Optional)
     284</dd><dd style="-webkit-user-select: text;"> SNDD_newmusic1.oni (The individual music files - Its best to break up the music into segments of perhaps 30 secs to a minute each - Oni may crash or become sluggish if you use a single file for the music -- EdT) (What are the limits? --<a href="http://wiki.oni2.net/User:Paradox-01" title="User:Paradox-01" style="-webkit-user-select: text;">Paradox-01</a>)
    279285</dd></dl>
    280 <p><br>
    281 </p>
    282 <h3> <span class="mw-headline" id="OSBDfile.amb.xml">OSBDfile.amb.xml</span></h3>
    283 <p>In case you want to create a simple sound file you can basically copy the code and change the red marked stuff.
    284 </p><p>(OSBDfile.grp.xml, OSBDfile.amb.xml, BINACJBOSound.xml are actully showing the code from the <a rel="nofollow" class="external text" href="http://mods.oni2.net/node/177"><b>nyan cat mod</b></a>.)
    285 </p><p><br>
    286 The .amb file can be called from BSL or from area-fixed sound object. (See level-specific file <a href="http://wiki.oni2.net/XML:SNDD#BINACJBOSound.xml">BINACJBOSound.xml</a>.)
    287 </p><p>The .amb file links to .grp file(s).
    288 </p>
    289 <ul><li> &lt;Priority&gt;
    290 </li></ul>
    291 <dl><dd> Low
    292 </dd><dd> Normal
    293 </dd><dd> High
    294 </dd><dd> Highest
     286<p style="-webkit-user-select: text;">Music parts between intro and outro are played in a random order.
     287</p><p style="-webkit-user-select: text;">Why would Bungie have wanted random parts? A fair guess can be made with the songs' purpose: giving fights more <i style="-webkit-user-select: text;">atmosphere</i>. But every player finishes the enemies in a different time: one wins in 2 minutes, the other in 6 minutes, etc. So 1) modular parts seem perfect to delay the outro part when it's necessary and 2) a random order adds more variety (making the loop less boring).
     288</p><p style="-webkit-user-select: text;">grp files have a &lt;Weight&gt; tag under &lt;Permutation&gt;. <a href="http://en.wikipedia.org/wiki/Permutation" class="extiw" title="wikipedia:Permutation" style="-webkit-user-select: text;">Permutation</a> should have something to do how music parts get repeated. However, it's not clear what influence &lt;Weight&gt; has on the repetitions. Is it like TRAC's &lt;Weight&gt; used for probability?
     289</p>
     290<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=7" title="Edit section: OSBDfile.imp.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBDfile.imp.xml" style="-webkit-user-select: text;">OSBDfile.imp.xml</span></h3>
     291<p style="-webkit-user-select: text;">What is an impulse? Looking at the XML it seems unique in its spacial features: &lt;Volume&gt;&lt;Angle&gt; / &lt;Volume&gt;&lt;MinAttenuation&gt; / &lt;ImpactVelocity&gt; / &lt;MinOcclusion&gt;
     292</p><p style="-webkit-user-select: text;">Hypothesis:
     293</p>
     294<ol style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> Impulses are preferably used by moving sources.
     295</li><li style="-webkit-user-select: text;"> They cannot be stopped by BSL once triggered to play.
     296</li><li style="-webkit-user-select: text;"> AI can hear them
     297</li><li style="-webkit-user-select: text;"> Minimum and maximum volume angle seems to be always 360 degrees. Maybe artifact properties since sound should propagate through space in all directions and area of effect is mostly made by their volume distance.
     298</li><li style="-webkit-user-select: text;"> File structure is always the same.
     299</li></ol>
     300<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     301</p>
     302<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     303<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     304<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
     305</td>
     306<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
     307</td>
     308<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
     309</td></tr>
     310<tr style="-webkit-user-select: text;">
     311<td style="-webkit-user-select: text;"> &lt;ImpulseSound&gt;
     312</td>
     313<td style="-webkit-user-select: text;"> -
     314</td>
     315<td style="-webkit-user-select: text;">
     316</td></tr>
     317<tr style="-webkit-user-select: text;">
     318<td style="-webkit-user-select: text;"> &lt;Group&gt;
     319</td>
     320<td style="-webkit-user-select: text;"> char[32]
     321</td>
     322<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
     323</td></tr>
     324<tr style="-webkit-user-select: text;">
     325<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Priority&gt;
     326</td>
     327<td style="vertical-align: top; -webkit-user-select: text;"> flag
     328</td>
     329<td style="-webkit-user-select: text;"> When are these different flags used?
     330<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> Low (default impact related? (ONIE concrete) + shell (ammunition)?)
     331</dd><dd style="-webkit-user-select: text;"> Normal (AI, animation and impact related?)
     332</dd><dd style="-webkit-user-select: text;"> High (OSBDtrigger_hit.imp.xml only?)
     333</dd><dd style="-webkit-user-select: text;"> Highest (OSBDkonoko_gruesome_death.imp.xml only?)
    295334</dd></dl>
    296 <ul><li> &lt;Flags&gt;
    297 </li></ul>
    298 <dl><dd> InterruptTracksOnStop - this flag must be set if you want to use BSL command <i>sound_music_stop</i>
    299 </dd><dd> PlayOnce
    300 </dd><dd> CanPan
     335</td></tr>
     336<tr style="-webkit-user-select: text;">
     337<td style="-webkit-user-select: text;"> &lt;Volume&gt;
     338</td>
     339<td style="-webkit-user-select: text;"> -
     340</td>
     341<td style="-webkit-user-select: text;">
     342</td></tr>
     343<tr style="-webkit-user-select: text;">
     344<td style="-webkit-user-select: text;"> &lt;Distance&gt;
     345</td>
     346<td style="-webkit-user-select: text;"> -
     347</td>
     348<td style="-webkit-user-select: text;">
     349</td></tr>
     350<tr style="-webkit-user-select: text;">
     351<td style="-webkit-user-select: text;"> &lt;Min&gt;
     352</td>
     353<td style="-webkit-user-select: text;"> float
     354</td>
     355<td style="-webkit-user-select: text;"> between min radius (distance) and sound origin the sound volume is equally strong
     356</td></tr>
     357<tr style="-webkit-user-select: text;">
     358<td style="-webkit-user-select: text;"> &lt;Max&gt;
     359</td>
     360<td style="-webkit-user-select: text;"> float
     361</td>
     362<td style="-webkit-user-select: text;"> between max and min radius (distance) there's a transition of the sound volume, greater distance than max makes the sound unhearable
     363</td></tr>
     364<tr style="-webkit-user-select: text;">
     365<td style="-webkit-user-select: text;"> &lt;Angle&gt;
     366</td>
     367<td style="-webkit-user-select: text;"> -
     368</td>
     369<td style="-webkit-user-select: text;"> Space angle? Does this work like the &lt;Distance&gt; tag?
     370</td></tr>
     371<tr style="-webkit-user-select: text;">
     372<td style="-webkit-user-select: text;"> &lt;Min&gt;
     373</td>
     374<td style="-webkit-user-select: text;"> -
     375</td>
     376<td style="-webkit-user-select: text;">
     377</td></tr>
     378<tr style="-webkit-user-select: text;">
     379<td style="-webkit-user-select: text;"> &lt;Max&gt;
     380</td>
     381<td style="-webkit-user-select: text;"> -
     382</td>
     383<td style="-webkit-user-select: text;">
     384</td></tr>
     385<tr style="-webkit-user-select: text;">
     386<td style="-webkit-user-select: text;"> &lt;AlternateImpulse&gt;
     387</td>
     388<td style="-webkit-user-select: text;"> -
     389</td>
     390<td style="-webkit-user-select: text;">
     391</td></tr>
     392<tr style="-webkit-user-select: text;">
     393<td style="-webkit-user-select: text;"> &lt;Treshold&gt;
     394</td>
     395<td style="-webkit-user-select: text;"> int32
     396</td>
     397<td style="-webkit-user-select: text;">
     398</td></tr>
     399<tr style="-webkit-user-select: text;">
     400<td style="-webkit-user-select: text;"> &lt;Impulse&gt;
     401</td>
     402<td style="-webkit-user-select: text;"> char[32]
     403</td>
     404<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.imp.oni</font>, file prefix and suffix aren't used
     405</td></tr>
     406<tr style="-webkit-user-select: text;">
     407<td style="-webkit-user-select: text;"> &lt;ImpactVelocity&gt;
     408</td>
     409<td style="-webkit-user-select: text;"> float
     410</td>
     411<td style="-webkit-user-select: text;">
     412</td></tr>
     413<tr style="-webkit-user-select: text;">
     414<td style="-webkit-user-select: text;"> &lt;MinOcclusion&gt;
     415</td>
     416<td style="-webkit-user-select: text;"> float
     417</td>
     418<td style="-webkit-user-select: text;">
     419</td></tr></tbody></table>
     420<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     421</p>
     422<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=8" title="Edit section: OSBDfile.amb.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBDfile.amb.xml" style="-webkit-user-select: text;">OSBDfile.amb.xml</span></h3>
     423<p style="-webkit-user-select: text;">In case you want to create a simple sound file you can basically copy the code and change the red marked stuff in the examples.
     424</p>
     425<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> OSBDfile.grp.xml, OSBDfile.amb.xml, BINACJBOSound.xml are showing the code from the <a rel="nofollow" class="external text" href="http://mods.oni2.net/node/177" style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">nyan cat mod</b></a>.
    301426</dd></dl>
    302 <ul><li> &lt;BaseTrack1&gt; - this links to the .grp file (for example: <font color="#AAAAAA">OSBD</font>nyan<font color="#AAAAAA">.grp.oni</font>), file prefix and suffix aren't used
    303 </li></ul>
    304 <pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
     427<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     428</p>
     429<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     430<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     431<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
     432</td>
     433<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
     434</td>
     435<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
     436</td></tr>
     437<tr style="-webkit-user-select: text;">
     438<td style="-webkit-user-select: text;"> &lt;AmbientSound&gt;
     439</td>
     440<td style="-webkit-user-select: text;"> -
     441</td>
     442<td style="-webkit-user-select: text;">
     443</td></tr>
     444<tr style="-webkit-user-select: text;">
     445<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Priority&gt;
     446</td>
     447<td style="vertical-align: top; -webkit-user-select: text;"> flag
     448</td>
     449<td style="-webkit-user-select: text;">
     450<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> Low
     451</dd><dd style="-webkit-user-select: text;"> Normal
     452</dd><dd style="-webkit-user-select: text;"> High
     453</dd><dd style="-webkit-user-select: text;"> Highest
     454</dd></dl>
     455</td></tr>
     456<tr style="-webkit-user-select: text;">
     457<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Flags&gt;
     458</td>
     459<td style="vertical-align: top; -webkit-user-select: text;"> flag
     460</td>
     461<td style="-webkit-user-select: text;">
     462<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> InterruptTracksOnStop - this flag must be set if you want to use BSL command <i style="-webkit-user-select: text;">sound_music_stop</i>
     463</dd><dd style="-webkit-user-select: text;"> PlayOnce
     464</dd><dd style="-webkit-user-select: text;"> CanPan
     465</dd></dl>
     466</td></tr>
     467<tr style="-webkit-user-select: text;">
     468<td style="-webkit-user-select: text;"> &lt;DetailTrackProperties&gt;
     469</td>
     470<td style="-webkit-user-select: text;"> -
     471</td>
     472<td style="-webkit-user-select: text;">
     473</td></tr>
     474<tr style="-webkit-user-select: text;">
     475<td style="-webkit-user-select: text;"> &lt;SphereRadius&gt;
     476</td>
     477<td style="-webkit-user-select: text;"> float
     478</td>
     479<td style="-webkit-user-select: text;">
     480</td></tr>
     481<tr style="-webkit-user-select: text;">
     482<td style="-webkit-user-select: text;"> &lt;ElapsedTime&gt;
     483</td>
     484<td style="-webkit-user-select: text;"> -
     485</td>
     486<td style="-webkit-user-select: text;">
     487</td></tr>
     488<tr style="-webkit-user-select: text;">
     489<td style="-webkit-user-select: text;"> &lt;Min&gt;
     490</td>
     491<td style="-webkit-user-select: text;"> float
     492</td>
     493<td style="-webkit-user-select: text;">
     494</td></tr>
     495<tr style="-webkit-user-select: text;">
     496<td style="-webkit-user-select: text;"> &lt;Max&gt;
     497</td>
     498<td style="-webkit-user-select: text;"> float
     499</td>
     500<td style="-webkit-user-select: text;">
     501</td></tr>
     502<tr style="-webkit-user-select: text;">
     503<td style="-webkit-user-select: text;"> &lt;Volume&gt;
     504</td>
     505<td style="-webkit-user-select: text;"> -
     506</td>
     507<td style="-webkit-user-select: text;">
     508</td></tr>
     509<tr style="-webkit-user-select: text;">
     510<td style="-webkit-user-select: text;"> &lt;Distance&gt;
     511</td>
     512<td style="-webkit-user-select: text;"> -
     513</td>
     514<td style="-webkit-user-select: text;">
     515</td></tr>
     516<tr style="-webkit-user-select: text;">
     517<td style="-webkit-user-select: text;"> &lt;Min&gt;
     518</td>
     519<td style="-webkit-user-select: text;"> float
     520</td>
     521<td style="-webkit-user-select: text;">
     522</td></tr>
     523<tr style="-webkit-user-select: text;">
     524<td style="-webkit-user-select: text;"> &lt;Max&gt;
     525</td>
     526<td style="-webkit-user-select: text;"> float
     527</td>
     528<td style="-webkit-user-select: text;">
     529</td></tr>
     530<tr style="-webkit-user-select: text;">
     531<td style="-webkit-user-select: text;"> &lt;DetailTrack&gt;
     532</td>
     533<td style="-webkit-user-select: text;"> char[32]
     534</td>
     535<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
     536</td></tr>
     537<tr style="-webkit-user-select: text;">
     538<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">&lt;BaseTrack1&gt;</b>
     539</td>
     540<td style="-webkit-user-select: text;"> char[32]
     541</td>
     542<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
     543</td></tr>
     544<tr style="-webkit-user-select: text;">
     545<td style="-webkit-user-select: text;"> &lt;BaseTrack2&gt;
     546</td>
     547<td style="-webkit-user-select: text;"> char[32]
     548</td>
     549<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
     550</td></tr>
     551<tr style="-webkit-user-select: text;">
     552<td style="-webkit-user-select: text;"> &lt;InSound&gt;
     553</td>
     554<td style="-webkit-user-select: text;"> char[32]
     555</td>
     556<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
     557</td></tr>
     558<tr style="-webkit-user-select: text;">
     559<td style="-webkit-user-select: text;"> &lt;OutSound&gt;
     560</td>
     561<td style="-webkit-user-select: text;"> char[32]
     562</td>
     563<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
     564</td></tr>
     565<tr style="-webkit-user-select: text;">
     566<td style="-webkit-user-select: text;"> &lt;Treshold&gt;
     567</td>
     568<td style="-webkit-user-select: text;"> int32
     569</td>
     570<td style="-webkit-user-select: text;">
     571</td></tr>
     572<tr style="-webkit-user-select: text;">
     573<td style="-webkit-user-select: text;"> &lt;MinOcclusion&gt;
     574</td>
     575<td style="-webkit-user-select: text;"> float
     576</td>
     577<td style="-webkit-user-select: text;">
     578</td></tr></tbody></table>
     579<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     580An example:
     581</p>
     582<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
    305583&lt;Oni&gt;
    306584   &lt;AmbientSound&gt;
     
    321599       &lt;/Volume&gt;
    322600       &lt;DetailTrack&gt;&lt;/DetailTrack&gt;
    323        <b>&lt;BaseTrack1&gt;<font color="#FF0000">nyan</font>&lt;/BaseTrack1&gt;</b>
     601       <b style="-webkit-user-select: text;">&lt;BaseTrack1&gt;<font color="#FF0000" style="-webkit-user-select: text;">nyan</font>&lt;/BaseTrack1&gt;</b>
    324602       &lt;BaseTrack2&gt;&lt;/BaseTrack2&gt;
    325603       &lt;InSound&gt;&lt;/InSound&gt;
     
    330608&lt;/Oni&gt;
    331609</pre>
    332 <p><br>
    333 </p>
    334 <h3> <span class="mw-headline" id="OSBDfile.grp.xml">OSBDfile.grp.xml</span></h3>
    335 <ul><li> &lt;Flags&gt;
    336 </li></ul>
    337 <dl><dd> PreventRepeat - forces to play different sounds if more than one permutations are present
     610<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     611</p>
     612<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=9" title="Edit section: OSBDfile.grp.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBDfile.grp.xml" style="-webkit-user-select: text;">OSBDfile.grp.xml</span></h3>
     613<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     614<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     615<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
     616</td>
     617<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
     618</td>
     619<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
     620</td></tr>
     621<tr style="-webkit-user-select: text;">
     622<td style="-webkit-user-select: text;"> &lt;SoundGroup&gt;
     623</td>
     624<td style="-webkit-user-select: text;"> -
     625</td>
     626<td style="-webkit-user-select: text;">
     627</td></tr>
     628<tr style="-webkit-user-select: text;">
     629<td style="-webkit-user-select: text;"> &lt;Volume&gt;
     630</td>
     631<td style="-webkit-user-select: text;"> float
     632</td>
     633<td style="-webkit-user-select: text;">
     634</td></tr>
     635<tr style="-webkit-user-select: text;">
     636<td style="-webkit-user-select: text;"> &lt;Pitch&gt;
     637</td>
     638<td style="-webkit-user-select: text;"> float
     639</td>
     640<td style="-webkit-user-select: text;">
     641</td></tr>
     642<tr style="-webkit-user-select: text;">
     643<td style="-webkit-user-select: text;"> &lt;Flags&gt;
     644</td>
     645<td style="-webkit-user-select: text;"> flag
     646</td>
     647<td style="-webkit-user-select: text;"> PreventRepeat - forces to play different sounds if there are more than one permutations
     648</td></tr>
     649<tr style="-webkit-user-select: text;">
     650<td style="vertical-align: top; -webkit-user-select: text;"> &lt;NumberOfChannels&gt;
     651</td>
     652<td style="vertical-align: top; -webkit-user-select: text;"> int32
     653</td>
     654<td style="-webkit-user-select: text;"> Here you tell Oni if your sound file is mono or stereo. Windows' 44.1 kHz is an exception.
     655<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     656<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     657<th style="-webkit-user-select: text;">
     658</th>
     659<th style="-webkit-user-select: text;"> 22.05 kHz, mono
     660</th>
     661<th style="-webkit-user-select: text;"> 22.05 kHz, stereo
     662</th>
     663<th style="-webkit-user-select: text;"> 44.1 kHz, mono <b style="-webkit-user-select: text;">(PC-only)</b>
     664</th></tr>
     665<tr style="-webkit-user-select: text;">
     666<td style="text-align: center; -webkit-user-select: text;"> NumberOfChannels
     667</td>
     668<td style="text-align: center; -webkit-user-select: text;"> 1
     669</td>
     670<td style="text-align: center; -webkit-user-select: text;"> 2
     671</td>
     672<td style="text-align: center; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">2</b>
     673</td></tr></tbody></table>
     674<dl style="-webkit-user-select: text;"><dt style="-webkit-user-select: text;">consequences of wrong imports</dt><dd style="-webkit-user-select: text;">
     675</dd><dd style="-webkit-user-select: text;"> if grp's &lt;NumberOfChannels&gt; is 1 and sound file is 22.05 kHz, stereo then the sound won't get played
     676</dd><dd style="-webkit-user-select: text;"> if grp's &lt;NumberOfChannels&gt; is 1 and sound file is 44.1 kHz, mono then the sound will play distorted
    338677</dd></dl>
    339 <ul><li> &lt;NumberOfChannels&gt; - here you tell Oni if your sound file is "1" (22.05 kHz, mono) or "2" (22.05 kHz, stereo; (PC-only:) 44.1 kHz, mono), if you set the wrong value the music will sound distorted
    340 </li><li> &lt;Sound&gt; - this is the sound file (for example: <font color="#AAAAAA">SNDD</font>nyan<font color="#AAAAAA">.oni</font>), file prefix and suffix aren't used
    341 </li></ul>
    342 <pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
     678</td></tr>
     679<tr style="-webkit-user-select: text;">
     680<td style="-webkit-user-select: text;"> &lt;Permutations&gt;
     681</td>
     682<td style="-webkit-user-select: text;"> -
     683</td>
     684<td style="-webkit-user-select: text;"> int32 array for the &lt;Permutation&gt; tags.
     685</td></tr>
     686<tr style="-webkit-user-select: text;">
     687<td style="-webkit-user-select: text;"> &lt;Permutation&gt;
     688</td>
     689<td style="-webkit-user-select: text;"> -
     690</td>
     691<td style="-webkit-user-select: text;">
     692</td></tr>
     693<tr style="-webkit-user-select: text;">
     694<td style="-webkit-user-select: text;"> &lt;Weight&gt;
     695</td>
     696<td style="-webkit-user-select: text;"> int32
     697</td>
     698<td style="-webkit-user-select: text;">
     699</td></tr>
     700<tr style="-webkit-user-select: text;">
     701<td style="-webkit-user-select: text;"> &lt;Volume&gt;
     702</td>
     703<td style="-webkit-user-select: text;"> -
     704</td>
     705<td style="-webkit-user-select: text;">
     706</td></tr>
     707<tr style="-webkit-user-select: text;">
     708<td style="-webkit-user-select: text;"> &lt;Min&gt;
     709</td>
     710<td style="-webkit-user-select: text;"> float
     711</td>
     712<td style="-webkit-user-select: text;">
     713</td></tr>
     714<tr style="-webkit-user-select: text;">
     715<td style="-webkit-user-select: text;"> &lt;Max&gt;
     716</td>
     717<td style="-webkit-user-select: text;"> float
     718</td>
     719<td style="-webkit-user-select: text;">
     720</td></tr>
     721<tr style="-webkit-user-select: text;">
     722<td style="-webkit-user-select: text;"> &lt;Pitch&gt;
     723</td>
     724<td style="-webkit-user-select: text;"> -
     725</td>
     726<td style="-webkit-user-select: text;">
     727</td></tr>
     728<tr style="-webkit-user-select: text;">
     729<td style="-webkit-user-select: text;"> &lt;Min&gt;
     730</td>
     731<td style="-webkit-user-select: text;"> float
     732</td>
     733<td style="-webkit-user-select: text;">
     734</td></tr>
     735<tr style="-webkit-user-select: text;">
     736<td style="-webkit-user-select: text;"> &lt;Max&gt;
     737</td>
     738<td style="-webkit-user-select: text;"> float
     739</td>
     740<td style="-webkit-user-select: text;">
     741</td></tr>
     742<tr style="-webkit-user-select: text;">
     743<td style="-webkit-user-select: text;"> &lt;Sound&gt;
     744</td>
     745<td style="-webkit-user-select: text;"> char[32]
     746</td>
     747<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font>, file prefix and suffix aren't used
     748</td></tr></tbody></table>
     749<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     750An example:
     751</p>
     752<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
    343753&lt;Oni&gt;
    344754   &lt;SoundGroup&gt;
     
    358768                   &lt;Max&gt;1&lt;/Max&gt;
    359769               &lt;/Pitch&gt;
    360                <b>&lt;Sound&gt;<font color="#FF0000">nyan</font>&lt;/Sound&gt;</b>
     770               <b style="-webkit-user-select: text;">&lt;Sound&gt;<font color="#FF0000" style="-webkit-user-select: text;">nyan</font>&lt;/Sound&gt;</b>
    361771           &lt;/Permutation&gt;
    362772       &lt;/Permutations&gt;
     
    364774&lt;/Oni&gt;
    365775</pre>
    366 <p><br>
    367 </p>
    368 <h2> <span class="mw-headline" id="BINACJBOSound.xml">BINACJBOSound.xml</span></h2>
    369 <p>This is for area-fixed sounds.
    370 </p>
    371 <ul><li> &lt;Position&gt; - here you tell Oni where you want the sound to be <a href="http://wiki.oni2.net/OBD_talk:BINA/OBJC" title="OBD talk:BINA/OBJC">located</a>
    372 </li><li> &lt;Class&gt; - this is the amb sound file (for example: <font color="#AAAAAA">SNDD</font>nyan<font color="#AAAAAA">.amb.oni</font>), file prefix and suffix aren't used
    373 </li><li> &lt;Sphere&gt;
    374 </li></ul>
    375 <dl><dd><ul><li> &lt;MinRadius&gt; - between min radius and sound origin (&lt;Position&gt;) is the sound volume equally strong
    376 </li><li> &lt;MaxRadius&gt; - between max and min radius is a transition of the sound volume
    377 </li></ul>
     776<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     777</p>
     778<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=10" title="Edit section: BINACJBOSound.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="BINACJBOSound.xml" style="-webkit-user-select: text;">BINACJBOSound.xml</span></h2>
     779<p style="-webkit-user-select: text;">This is for area-fixed sounds.
     780</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     781</p>
     782<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     783<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     784<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
     785</td>
     786<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
     787</td>
     788<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
     789</td></tr>
     790<tr style="-webkit-user-select: text;">
     791<td style="-webkit-user-select: text;"> &lt;Objects&gt;
     792</td>
     793<td style="-webkit-user-select: text;"> -
     794</td>
     795<td style="-webkit-user-select: text;"> This tag marks the file as BINACJBO.
     796</td></tr>
     797<tr style="-webkit-user-select: text;">
     798<td style="-webkit-user-select: text;"> &lt;SNDG Id="..."&gt;
     799</td>
     800<td style="-webkit-user-select: text;"> integer
     801</td>
     802<td style="-webkit-user-select: text;"> This tag marks the file as a sound list. ID doesn't matter at import time.
     803</td></tr>
     804<tr style="-webkit-user-select: text;">
     805<td style="-webkit-user-select: text;"> &lt;Header&gt;
     806</td>
     807<td style="-webkit-user-select: text;"> -
     808</td>
     809<td style="-webkit-user-select: text;">
     810</td></tr>
     811<tr style="-webkit-user-select: text;">
     812<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Flags&gt;
     813</td>
     814<td style="vertical-align: top; -webkit-user-select: text;"> flag
     815</td>
     816<td style="-webkit-user-select: text;"> Ignore it. Those flags were used in the past.
     817<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> None
     818</dd><dd style="-webkit-user-select: text;"> Locked
     819</dd><dd style="-webkit-user-select: text;"> PlacedInGame
     820</dd><dd style="-webkit-user-select: text;"> Temporary
     821</dd><dd style="-webkit-user-select: text;"> Gunk
    378822</dd></dl>
    379 <ul><li> &lt;Box&gt; - alternative to &lt;Sphere&gt;
    380 </li></ul>
    381 <dl><dd><ul><li> &lt;Min&gt;<i>X1 Y1 Z1</i>&lt;/Min&gt;
    382 </li><li> &lt;Max&gt;<i>X2 Y2 Z2</i>&lt;/Max&gt;
    383 </li></ul>
    384 </dd></dl>
    385 <pre>       &lt;SNDG Id="8805"&gt;
     823</td></tr>
     824<tr style="-webkit-user-select: text;">
     825<td style="-webkit-user-select: text;"> &lt;Position&gt;
     826</td>
     827<td style="-webkit-user-select: text;"> float x3
     828</td>
     829<td style="-webkit-user-select: text;"> here you tell Oni where you want the sound to be <a href="http://wiki.oni2.net/OBD_talk:BINA/OBJC" title="OBD talk:BINA/OBJC" style="-webkit-user-select: text;">located</a>
     830</td></tr>
     831<tr style="-webkit-user-select: text;">
     832<td style="-webkit-user-select: text;"> &lt;Rotation&gt;
     833</td>
     834<td style="-webkit-user-select: text;"> float x3
     835</td>
     836<td style="-webkit-user-select: text;"> Not really important.
     837</td></tr>
     838<tr style="-webkit-user-select: text;">
     839<td style="-webkit-user-select: text;"> &lt;OSD&gt;
     840</td>
     841<td style="-webkit-user-select: text;"> -
     842</td>
     843<td style="-webkit-user-select: text;">
     844</td></tr>
     845<tr style="-webkit-user-select: text;">
     846<td style="-webkit-user-select: text;"> &lt;Class&gt;
     847</td>
     848<td style="-webkit-user-select: text;"> char[32]
     849</td>
     850<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.amb.oni</font>, file prefix and suffix aren't used
     851</td></tr>
     852<tr style="-webkit-user-select: text;">
     853<td style="-webkit-user-select: text;"> &lt;Sphere&gt;
     854</td>
     855<td style="-webkit-user-select: text;"> -
     856</td>
     857<td style="-webkit-user-select: text;">
     858</td></tr>
     859<tr style="-webkit-user-select: text;">
     860<td style="-webkit-user-select: text;"> &lt;MinRadius&gt;
     861</td>
     862<td style="-webkit-user-select: text;"> float
     863</td>
     864<td style="-webkit-user-select: text;"> between min radius and sound origin (&lt;Position&gt;) the sound volume is equally strong
     865</td></tr>
     866<tr style="-webkit-user-select: text;">
     867<td style="-webkit-user-select: text;"> &lt;MaxRadius&gt;
     868</td>
     869<td style="-webkit-user-select: text;"> float
     870</td>
     871<td style="-webkit-user-select: text;"> between max and min radius there is a transition of the sound volume, greater distance than max makes the sound unhearable
     872</td></tr>
     873<tr style="-webkit-user-select: text;">
     874<td style="-webkit-user-select: text;"> &lt;Box&gt;
     875</td>
     876<td style="-webkit-user-select: text;"> -
     877</td>
     878<td style="-webkit-user-select: text;"> alternative to &lt;Sphere&gt;
     879</td></tr>
     880<tr style="-webkit-user-select: text;">
     881<td style="-webkit-user-select: text;"> &lt;Min&gt;
     882</td>
     883<td style="-webkit-user-select: text;"> float x3
     884</td>
     885<td style="-webkit-user-select: text;"> X1 Y1 Z1
     886</td></tr>
     887<tr style="-webkit-user-select: text;">
     888<td style="-webkit-user-select: text;"> &lt;Max&gt;
     889</td>
     890<td style="-webkit-user-select: text;"> float x3
     891</td>
     892<td style="-webkit-user-select: text;"> X2 Y2 Z2
     893</td></tr></tbody></table>
     894<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     895An example:
     896</p>
     897<pre style="-webkit-user-select: text;">       &lt;SNDG Id="8805"&gt;
    386898           &lt;Header&gt;
    387899               &lt;Flags&gt;&lt;/Flags&gt;
    388                &lt;Position&gt;125 10 2231&lt;/Position&gt;
     900               <b style="-webkit-user-select: text;">&lt;Position&gt;<font color="#FF0000" style="-webkit-user-select: text;">125 10 2231</font>&lt;/Position&gt;</b>
    389901               &lt;Rotation&gt;0 0 0&lt;/Rotation&gt;
    390902           &lt;/Header&gt;
    391903           &lt;OSD&gt;
    392                <b>&lt;Class&gt;<font color="#FF0000">nyan</font>&lt;/Class&gt;</b>
     904               <b style="-webkit-user-select: text;">&lt;Class&gt;<font color="#FF0000" style="-webkit-user-select: text;">nyan</font>&lt;/Class&gt;</b>
    393905               &lt;Sphere&gt;
    394906                   &lt;MinRadius&gt;7&lt;/MinRadius&gt;
     
    400912       &lt;/SNDG&gt;
    401913</pre>
    402 <p><br>
    403 </p>
    404 <h2> <span class="mw-headline" id="sound-related_BSL_commands">sound-related BSL commands</span></h2>
    405 <ul><li> <a href="http://wiki.oni2.net/BSL:Functions#sound" title="BSL:Functions">on this wiki</a>
    406 </li><li> <a rel="nofollow" class="external text" href="http://ssg.oni2.net/commands.htm#sound">on ssg's website</a>
     914<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     915</p>
     916<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=11" title="Edit section: sound-related BSL commands" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="sound-related_BSL_commands" style="-webkit-user-select: text;">sound-related BSL commands</span></h2>
     917<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/BSL:Functions#sound" title="BSL:Functions" style="-webkit-user-select: text;">on this wiki</a>
     918</li><li style="-webkit-user-select: text;"> <a rel="nofollow" class="external text" href="http://ssg.oni2.net/commands.htm#sound" style="-webkit-user-select: text;">on ssg's website</a>
    407919</li></ul>
    408 <p><br>
    409 sound_music_stop <i>soundtrack</i> - can only be used if .amb file has the InterruptTracksOnStop flag<br>
    410 sound_music_stop <i>soundtrack</i> 1 - soundtrack stop after 1 second while it gets quieter
    411 </p><p>You need a custom function if you want to fade out a soundtrack over more than one seconds. It could look like this:
    412 </p>
    413 <pre>var float x = 1;
     920<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     921sound_music_stop <i style="-webkit-user-select: text;">soundtrack</i> - can only be used if .amb file has the InterruptTracksOnStop flag<br style="-webkit-user-select: text;">
     922sound_music_stop <i style="-webkit-user-select: text;">soundtrack</i> 1 - soundtrack stop after 1 second while it gets quieter
     923</p><p style="-webkit-user-select: text;">You need a custom function if you want to fade out a soundtrack over more than one seconds. It could look like this:
     924</p>
     925<pre style="-webkit-user-select: text;">var float x = 1;
    414926var int y = 0;
    415927
     
    433945}
    434946</pre>
    435 <p><br>
    436 </p><p><br>
    437 </p>
    438 <h2> <span class="mw-headline" id="OCF_thread_about_new_music"><a rel="nofollow" class="external text" href="http://oni.bungie.org/community/forum/viewtopic.php?id=798">OCF thread about new music</a></span></h2>
    439 <h2> <span class="mw-headline" id="How_to_register_sounds_to_characters">How to register sounds to characters</span></h2>
    440 <p>... such as sounds of heavy attacks and taunts.
    441 </p><p><br>
    442 <b>Let's see how sounds become picked up:</b><br>Schemata:
    443 </p>
    444 <dl><dd> TRAM -&gt; ONCC -&gt; OSBD.amb -&gt; OSBD.grp -&gt; SNDD
     947<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     948</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     949</p>
     950<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=12" title="Edit section: OCF thread about new music" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OCF_thread_about_new_music" style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://oni.bungie.org/community/forum/viewtopic.php?id=798" style="-webkit-user-select: text;">OCF thread about new music</a></span></h2>
     951<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=13" title="Edit section: How to register sounds to characters" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="How_to_register_sounds_to_characters" style="-webkit-user-select: text;">How to register sounds to characters</span></h2>
     952<p style="-webkit-user-select: text;">... such as sounds of heavy attacks and taunts.
     953</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     954<b style="-webkit-user-select: text;">Let's see how sounds become picked up:</b><br style="-webkit-user-select: text;">Schemata:
     955</p>
     956<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> TRAM -&gt; ONCC -&gt; OSBD.amb -&gt; OSBD.grp -&gt; SNDD
    445957</dd></dl>
    446 <p>Explanation:
    447 </p>
    448 <ul><li> The character performs a move / attack whereby the TRAM file holds a sound ID (&lt;Vocalization&gt;).
    449 </li><li> A link (OSBD.amb name) in ONCC file becomes looked up based on the sound ID.<br>Note that the ONCC file has also a probability value that decides whether a sound becomes played or not.
    450 </li><li> The game engine looks into OSBD.amb and follows the link into OSBD.grp.
    451 </li><li> <b>OSBD.grp can hold multiple links to SNDD files.</b> That's why Konoko can have multiple taunt sounds.
     958<p style="-webkit-user-select: text;">Explanation:
     959</p>
     960<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> The character performs a move / attack whereby the TRAM file holds a sound ID (&lt;Vocalization&gt;).
     961</li><li style="-webkit-user-select: text;"> A link (OSBD.amb name) in ONCC file becomes looked up based on the sound ID.<br style="-webkit-user-select: text;">Note that the ONCC file has also a probability value that decides whether a sound becomes played or not.
     962</li><li style="-webkit-user-select: text;"> The game engine looks into OSBD.amb and follows the link into OSBD.grp.
     963</li><li style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">OSBD.grp can hold multiple links to SNDD files.</b> That's why Konoko can have multiple taunt sounds.
    452964</li></ul>
    453 <p><br>
    454 </p>
    455 <h3> <span class="mw-headline" id="step_1:_preparing_the_TRAM">step 1: preparing the TRAM</span></h3>
    456 <p><b>Search for &lt;Vocalization&gt; in the TRAM file</b> and give it an ID according to the following table.
    457 </p><p><br>
    458 </p>
    459 <table class="wikitable" style="width: 100%;">
    460 <tbody><tr>
    461 <th colspan="2"> TRAM &lt;Vocalization&gt; IDs refer to these ONCC SoundConstants tags
     965<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     966</p>
     967<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=14" title="Edit section: step 1: preparing the TRAM" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_1:_preparing_the_TRAM" style="-webkit-user-select: text;">step 1: preparing the TRAM</span></h3>
     968<p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">Search for &lt;Vocalization&gt; in the TRAM file</b> and give it an ID according to the following table.
     969</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     970</p>
     971<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     972<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     973<th colspan="2" style="-webkit-user-select: text;"> TRAM &lt;Vocalization&gt; IDs refer to these ONCC SoundConstants tags
    462974</th></tr>
    463 <tr>
    464 <td style="width: 30px;"> ID
    465 </td>
    466 <td> link to ...
    467 </td></tr>
    468 <tr>
    469 <td> 0
    470 </td>
    471 <td> &lt;TauntProbability&gt; - <b>taunt(s)</b>
    472 </td></tr>
    473 <tr>
    474 <td> 1
    475 </td>
    476 <td> &lt;AlertProbability&gt; - AI being surprised by a sound
    477 </td></tr>
    478 <tr>
    479 <td> 2
    480 </td>
    481 <td> &lt;StartleProbability&gt; - AI being surprised by an enemy
    482 </td></tr>
    483 <tr>
    484 <td> 3
    485 </td>
    486 <td> &lt;CheckBodyProbability&gt; - (AI only?) death taunt (when enemy / player dies)
    487 </td></tr>
    488 <tr>
    489 <td> 4
    490 </td>
    491 <td> &lt;PursueProbability&gt; - sound when character lost track of enemy
    492 </td></tr>
    493 <tr>
    494 <td> 5
    495 </td>
    496 <td> &lt;CoverProbability&gt; - being afraid (E.g. "Dont't hurt me.")
    497 </td></tr>
    498 <tr>
    499 <td> 6
    500 </td>
    501 <td> &lt;SuperPunchSound&gt; - <b>sound of ######punch_heavy.oni</b>, super punches don't have sound IDs
    502 </td></tr>
    503 <tr>
    504 <td> 7
    505 </td>
    506 <td> &lt;SuperKickSound&gt; - <b>sound of ######kick_heavy.oni</b>, super kicks don't have sound IDs
    507 </td></tr>
    508 <tr>
    509 <td> 8
    510 </td>
    511 <td> &lt;Super3Sound&gt; - AI specialty, Mukade use it for his devil star attack
    512 </td></tr>
    513 <tr>
    514 <td> <font color="#777777">9</font>
    515 </td>
    516 <td> <font color="#777777">&lt;Super4Sound&gt; - unused</font>
     975<tr style="-webkit-user-select: text;">
     976<td style="width: 30px; -webkit-user-select: text;"> ID
     977</td>
     978<td style="-webkit-user-select: text;"> link to ...
     979</td></tr>
     980<tr style="-webkit-user-select: text;">
     981<td style="-webkit-user-select: text;"> 0
     982</td>
     983<td style="-webkit-user-select: text;"> &lt;TauntProbability&gt; - <b style="-webkit-user-select: text;">taunt(s)</b>
     984</td></tr>
     985<tr style="-webkit-user-select: text;">
     986<td style="-webkit-user-select: text;"> 1
     987</td>
     988<td style="-webkit-user-select: text;"> &lt;AlertProbability&gt; - AI being surprised by a sound
     989</td></tr>
     990<tr style="-webkit-user-select: text;">
     991<td style="-webkit-user-select: text;"> 2
     992</td>
     993<td style="-webkit-user-select: text;"> &lt;StartleProbability&gt; - AI being surprised by an enemy
     994</td></tr>
     995<tr style="-webkit-user-select: text;">
     996<td style="-webkit-user-select: text;"> 3
     997</td>
     998<td style="-webkit-user-select: text;"> &lt;CheckBodyProbability&gt; - (AI only?) death taunt (when enemy / player dies)
     999</td></tr>
     1000<tr style="-webkit-user-select: text;">
     1001<td style="-webkit-user-select: text;"> 4
     1002</td>
     1003<td style="-webkit-user-select: text;"> &lt;PursueProbability&gt; - sound when character lost track of enemy
     1004</td></tr>
     1005<tr style="-webkit-user-select: text;">
     1006<td style="-webkit-user-select: text;"> 5
     1007</td>
     1008<td style="-webkit-user-select: text;"> &lt;CoverProbability&gt; - being afraid (E.g. "Dont't hurt me.")
     1009</td></tr>
     1010<tr style="-webkit-user-select: text;">
     1011<td style="-webkit-user-select: text;"> 6
     1012</td>
     1013<td style="-webkit-user-select: text;"> &lt;SuperPunchSound&gt; - <b style="-webkit-user-select: text;">sound of ######punch_heavy.oni</b>, super punches don't have sound IDs
     1014</td></tr>
     1015<tr style="-webkit-user-select: text;">
     1016<td style="-webkit-user-select: text;"> 7
     1017</td>
     1018<td style="-webkit-user-select: text;"> &lt;SuperKickSound&gt; - <b style="-webkit-user-select: text;">sound of ######kick_heavy.oni</b>, super kicks don't have sound IDs
     1019</td></tr>
     1020<tr style="-webkit-user-select: text;">
     1021<td style="-webkit-user-select: text;"> 8
     1022</td>
     1023<td style="-webkit-user-select: text;"> &lt;Super3Sound&gt; - AI specialty, Mukade use it for his devil star attack (TRAMNINCOMfireball)
     1024</td></tr>
     1025<tr style="-webkit-user-select: text;">
     1026<td style="-webkit-user-select: text;"> <font color="#777777" style="-webkit-user-select: text;">9</font>
     1027</td>
     1028<td style="-webkit-user-select: text;"> <font color="#777777" style="-webkit-user-select: text;">&lt;Super4Sound&gt; - unused</font>
    5171029</td></tr></tbody></table>
    518 <p><br>
    519 </p>
    520 <h3> <span class="mw-headline" id="step_2:_preparing_the_ONCC">step 2: preparing the ONCC</span></h3>
    521 <p>Search for &lt;SoundConstants&gt; and set a value between 0 and 100. 100 will make the engine play a sound always the taunt animation is played.
    522 </p><p>Let's compare with Konoko (and in the following steps especially the with her taunt files.)
     1030<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     1031</p>
     1032<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=15" title="Edit section: step 2: preparing the ONCC" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_2:_preparing_the_ONCC" style="-webkit-user-select: text;">step 2: preparing the ONCC</span></h3>
     1033<p style="-webkit-user-select: text;">Search for &lt;SoundConstants&gt; and set a value between 0 and 100. 100 will make the engine play a sound always the taunt animation is played.
     1034</p><p style="-webkit-user-select: text;">Let's compare with Konoko (and in the following steps especially the with her taunt files.)
    5231035In ONCCkonoko_generic.xml it looks like this:
    5241036</p>
    525 <pre>           &lt;SoundConstants&gt;
     1037<pre style="-webkit-user-select: text;">           &lt;SoundConstants&gt;
    5261038               &lt;TauntProbability&gt;100&lt;/TauntProbability&gt;
    5271039               &lt;AlertProbability&gt;0&lt;/AlertProbability&gt;
     
    5461058           &lt;/SoundConstants&gt;
    5471059</pre>
    548 <p><br>
    549 </p>
    550 <h3> <span class="mw-headline" id="step_3:_preparing_the_OSBD.amb">step 3: preparing the OSBD.amb</span></h3>
    551 <p>You basically need such a file...
    552 </p><p>Do you see the &lt;BaseTrack1&gt; tag? In this case it holds the link <font color="#AAAAAA">OSBD</font>c17_99_28konoko<font color="#AAAAAA">.grp.oni</font>.
    553 </p><p><br>
    554 </p>
    555 <pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
     1060<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     1061</p>
     1062<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=16" title="Edit section: step 3: preparing the OSBD.amb" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_3:_preparing_the_OSBD.amb" style="-webkit-user-select: text;">step 3: preparing the OSBD.amb</span></h3>
     1063<p style="-webkit-user-select: text;">You basically need such a file...
     1064</p><p style="-webkit-user-select: text;">Do you see the &lt;BaseTrack1&gt; tag? In this case it holds the link <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>c17_99_28konoko<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>.
     1065</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     1066</p>
     1067<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
    5561068&lt;Oni&gt;
    5571069   &lt;AmbientSound&gt;
     
    5811093&lt;/Oni&gt;
    5821094</pre>
    583 <p><br>
    584 </p>
    585 <h3> <span class="mw-headline" id="step_4:_preparing_the_OSBD.grp">step 4: preparing the OSBD.grp</span></h3>
    586 <p>Since &lt;NumberOfChannels&gt; is only once presented all the SNDD files must have the same number of channels.
    587 </p>
    588 <dl><dd> 1 (22.05 kHz, mono)
    589 </dd><dd> 2 (22.05 kHz, stereo)
    590 </dd><dd> 2 (44.1 kHz, mono) [PC-only]
    591 </dd></dl>
    592 <p>(It's possible to speed up sounds with &lt;Pitch&gt;. E.g. Fury's taunt is speeded up by 1.14 to <i>brighten</i> the voice. But in most cases you probably want to keep it as "1".)
    593 </p>
    594 <pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
     1095<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     1096</p>
     1097<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=17" title="Edit section: step 4: preparing the OSBD.grp" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_4:_preparing_the_OSBD.grp" style="-webkit-user-select: text;">step 4: preparing the OSBD.grp</span></h3>
     1098<p style="-webkit-user-select: text;">Since &lt;NumberOfChannels&gt; is only once presented all the SNDD files must have the same number of channels.
     1099</p>
     1100<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
     1101<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
     1102<th style="-webkit-user-select: text;">
     1103</th>
     1104<th style="-webkit-user-select: text;"> 22.05 kHz, mono
     1105</th>
     1106<th style="-webkit-user-select: text;"> 22.05 kHz, stereo
     1107</th>
     1108<th style="-webkit-user-select: text;"> 44.1 kHz, mono <b style="-webkit-user-select: text;">(PC-only)</b>
     1109</th></tr>
     1110<tr style="-webkit-user-select: text;">
     1111<td style="text-align: center; -webkit-user-select: text;"> NumberOfChannels
     1112</td>
     1113<td style="text-align: center; -webkit-user-select: text;"> 1
     1114</td>
     1115<td style="text-align: center; -webkit-user-select: text;"> 2
     1116</td>
     1117<td style="text-align: center; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">2</b>
     1118</td></tr></tbody></table>
     1119<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     1120(It's possible to speed up sounds with &lt;Pitch&gt;. E.g. Fury's taunt is speeded up by 1.14 to <i style="-webkit-user-select: text;">brighten</i> the voice. But in most cases you probably want to keep it as "1".)
     1121</p>
     1122<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
    5951123&lt;Oni&gt;
    5961124   &lt;SoundGroup&gt;
     
    6241152               &lt;Sound&gt;c17_99_29konoko.aif&lt;/Sound&gt;
    6251153           &lt;/Permutation&gt;
    626            <i><b>[...]</b></i>
     1154           <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">[...]</b></i>
    6271155       &lt;/Permutations&gt;
    6281156   &lt;/SoundGroup&gt;
    6291157&lt;/Oni&gt;
    6301158</pre>
    631 <p><br>
     1159<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
    6321160As you can see
    6331161</p>
    634 <ul><li> <font color="#AAAAAA">SNDD</font>c17_99_28konoko.aif<font color="#AAAAAA">.oni</font> ("You're gonna get beat(en) by a girl!")
    635 </li><li> <font color="#AAAAAA">SNDD</font>c17_99_29konoko.aif<font color="#AAAAAA">.oni</font> ("Ready to lose?") (You can play sounds with (PC) onisplit GUI or (Mac) AETools.
    636 </li><li> <i>[...]</i>
     1162<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>c17_99_28konoko.aif<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font> ("You're gonna get beat(en) by a girl!")
     1163</li><li style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>c17_99_29konoko.aif<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font> ("Ready to lose?") (You can play sounds with (PC) onisplit GUI or (Mac) AETools.
     1164</li><li style="-webkit-user-select: text;"> <i style="-webkit-user-select: text;">[...]</i>
    6371165</li></ul>
    638 <p>are used for Konoko. ("aif" is here part of the name, don't get bothered by it.)
     1166<p style="-webkit-user-select: text;">are used for Konoko. ("aif" is here part of the name, don't get bothered by it.)
    6391167This file is the magic why Konoko has multiple sounds through one and the same taunt animation.
    640 </p><p><br>
    641 </p>
    642 <h3> <span class="mw-headline" id="step_5:_everything_else_what.27s_left">step 5: everything else what's left</span></h3>
    643 <ul><li> <a href="./XMLSNDD_files/XMLSNDD.html">create your SNDD</a> if you haven't yet
    644 </li><li> put your files into a package
    645 </li><li> test your stuff in-game
     1168</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
     1169</p>
     1170<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=18" title="Edit section: step 5: everything else what&#39;s left" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_5:_everything_else_what.27s_left" style="-webkit-user-select: text;">step 5: everything else what's left</span></h3>
     1171<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:SNDD#Source_file_creation" style="-webkit-user-select: text;">create your SNDD</a> if you haven't yet
     1172</li><li style="-webkit-user-select: text;"> put your files into a package
     1173</li><li style="-webkit-user-select: text;"> test your stuff in-game
    6461174</li></ul>
    6471175
    6481176<!--
    6491177NewPP limit report
    650 Preprocessor node count: 131/1000000
    651 Post-expand include size: 1944/2097152 bytes
     1178Preprocessor node count: 150/1000000
     1179Post-expand include size: 1992/2097152 bytes
    6521180Template argument size: 223/2097152 bytes
    6531181Expensive parser function count: 0/100
    6541182-->
    6551183
    656 <!-- Saved in parser cache with key oni_wiki:pcache:idhash:4759-0!*!0!!en!2!* and timestamp 20130330145055 -->
     1184<!-- Saved in parser cache with key oni_wiki:pcache:idhash:4759-0!*!0!!en!2!* and timestamp 20161012211450 -->
    6571185</div>                          <!-- /bodycontent -->
    6581186                                                                <!-- printfooter -->
    659                                 <div class="printfooter">
    660                                 Retrieved from "<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&oldid=20983">http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;oldid=20983</a>"                              </div>
     1187                                <div class="printfooter" style="-webkit-user-select: text;">
     1188                                Retrieved from "<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;oldid=25591" style="-webkit-user-select: text;">http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;oldid=25591</a>"                               </div>
    6611189                                <!-- /printfooter -->
    6621190                                                                                                <!-- catlinks -->
    663                                 <div id="catlinks" class="catlinks"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="http://wiki.oni2.net/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="http://wiki.oni2.net/Category:Articles_that_need_finishing" title="Category:Articles that need finishing">Articles that need finishing</a></li><li><a href="http://wiki.oni2.net/Category:XML_data_docs" title="Category:XML data docs">XML data docs</a></li></ul></div></div>                               <!-- /catlinks -->
    664                                                                                                 <div class="visualClear"></div>
     1191                                <div id="catlinks" class="catlinks" style="-webkit-user-select: text;"><div id="mw-normal-catlinks" class="mw-normal-catlinks" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Categories" title="Special:Categories" style="-webkit-user-select: text;">Categories</a>: <ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Category:Articles_that_need_finishing" title="Category:Articles that need finishing" style="-webkit-user-select: text;">Articles that need finishing</a></li><li style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Category:XML_data_docs" title="Category:XML data docs" style="-webkit-user-select: text;">XML data docs</a></li></ul></div></div>                               <!-- /catlinks -->
     1192                                                                                                <div class="visualClear" style="-webkit-user-select: text;"></div>
    6651193                                <!-- debughtml -->
    6661194                                                                <!-- /debughtml -->
     
    6701198                <!-- /content -->
    6711199                <!-- header -->
    672                 <div id="mw-head" class="noprint">
     1200                <div id="mw-head" class="noprint" style="-webkit-user-select: text;">
    6731201                       
    6741202<!-- 0 -->
    675 <div id="p-personal" class="">
    676         <h5>Personal tools</h5>
    677         <ul>
    678                 <li id="pt-login"><a href="http://wiki.oni2.net/w/index.php?title=Special:UserLogin&returnto=XML%3ASNDD" title="You are encouraged to log in; however, it is not mandatory [alt-shift-o]" accesskey="o">Log in / create account</a></li>
     1203<div id="p-personal" class="" style="-webkit-user-select: text;">
     1204        <h5 style="-webkit-user-select: text;">Personal tools</h5>
     1205        <ul style="-webkit-user-select: text;">
     1206                <li id="pt-userpage" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/User:Script_10k" title="Your user page [alt-shift-.]" accesskey="." style="-webkit-user-select: text;">Script 10k</a></li>
     1207                <li id="pt-mytalk" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/User_talk:Script_10k" title="Your talk page [alt-shift-n]" accesskey="n" style="-webkit-user-select: text;">My talk</a></li>
     1208                <li id="pt-preferences" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Preferences" title="Your preferences" style="-webkit-user-select: text;">My preferences</a></li>
     1209                <li id="pt-watchlist" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Watchlist" title="A list of pages you are monitoring for changes [alt-shift-l]" accesskey="l" style="-webkit-user-select: text;">My watchlist</a></li>
     1210                <li id="pt-mycontris" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Contributions/Script_10k" title="A list of your contributions [alt-shift-y]" accesskey="y" style="-webkit-user-select: text;">My contributions</a></li>
     1211                <li id="pt-logout" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=Special:UserLogout&amp;returnto=XML%3ASNDD" title="Log out" style="-webkit-user-select: text;">Log out</a></li>
    6791212        </ul>
    6801213</div>
    6811214
    6821215<!-- /0 -->
    683                         <div id="left-navigation">
     1216                        <div id="left-navigation" style="-webkit-user-select: text;">
    6841217                               
    6851218<!-- 0 -->
    686 <div id="p-namespaces" class="vectorTabs">
    687         <h5>Namespaces</h5>
    688         <ul>
    689                                         <li id="ca-nstab-xml" class="selected"><span><a href="http://wiki.oni2.net/XML:SNDD">XML</a></span></li>
    690                                         <li id="ca-talk" class="new"><span><a href="http://wiki.oni2.net/w/index.php?title=XML_talk:SNDD&action=edit&redlink=1" title="Discussion about the content page [alt-shift-t]" accesskey="t">Discussion</a></span></li>
     1219<div id="p-namespaces" class="vectorTabs" style="-webkit-user-select: text;">
     1220        <h5 style="-webkit-user-select: text;">Namespaces</h5>
     1221        <ul style="-webkit-user-select: text;">
     1222                                        <li id="ca-nstab-xml" class="selected" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD" style="-webkit-user-select: text;">XML</a></span></li>
     1223                                        <li id="ca-talk" class="new" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML_talk:SNDD&amp;action=edit&amp;redlink=1" title="Discussion about the content page [alt-shift-t]" accesskey="t" style="-webkit-user-select: text;">Discussion</a></span></li>
    6911224                        </ul>
    6921225</div>
     
    6951228
    6961229<!-- 1 -->
    697 <div id="p-variants" class="vectorMenu emptyPortlet">
    698         <h4>
     1230<div id="p-variants" class="vectorMenu emptyPortlet" style="-webkit-user-select: text;">
     1231        <h4 style="-webkit-user-select: text;">
    6991232                </h4>
    700         <h5><span>Variants</span><a href="http://wiki.oni2.net/XML:SNDD#"></a></h5>
    701         <div class="menu">
    702                 <ul>
     1233        <h5 style="-webkit-user-select: text;"><span style="-webkit-user-select: text;">Variants</span><a href="http://wiki.oni2.net/XML:SNDD#" style="-webkit-user-select: text;"></a></h5>
     1234        <div class="menu" style="-webkit-user-select: text;">
     1235                <ul style="-webkit-user-select: text;">
    7031236                                        </ul>
    7041237        </div>
     
    7071240<!-- /1 -->
    7081241                        </div>
    709                         <div id="right-navigation">
     1242                        <div id="right-navigation" style="-webkit-user-select: text;">
    7101243                               
    7111244<!-- 0 -->
    712 <div id="p-views" class="vectorTabs">
    713         <h5>Views</h5>
    714         <ul>
    715                                         <li id="ca-view" class="selected"><span><a href="http://wiki.oni2.net/XML:SNDD">Read</a></span></li>
    716                                         <li id="ca-viewsource"><span><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&action=edit" title="This page is protected.
    717 You can view its source [alt-shift-e]" accesskey="e">View source</a></span></li>
    718                                         <li id="ca-history" class="collapsible"><span><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&action=history" title="Past revisions of this page [alt-shift-h]" accesskey="h">View history</a></span></li>
     1245<div id="p-views" class="vectorTabs" style="-webkit-user-select: text;">
     1246        <h5 style="-webkit-user-select: text;">Views</h5>
     1247        <ul style="-webkit-user-select: text;">
     1248                                        <li id="ca-view" class="selected" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD" style="-webkit-user-select: text;">Read</a></span></li>
     1249                                        <li id="ca-edit" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit" title="You can edit this page. Please use the preview button before saving [alt-shift-e]" accesskey="e" style="-webkit-user-select: text;">Edit</a></span></li>
     1250                                        <li id="ca-history" class="collapsible" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=history" title="Past revisions of this page [alt-shift-h]" accesskey="h" style="-webkit-user-select: text;">View history</a></span></li>
    7191251                        </ul>
    7201252</div>
     
    7231255
    7241256<!-- 1 -->
    725 <div id="p-cactions" class="vectorMenu emptyPortlet">
    726         <h5><span>Actions</span><a href="http://wiki.oni2.net/XML:SNDD#"></a></h5>
    727         <div class="menu">
    728                 <ul>
     1257<div id="p-cactions" class="vectorMenu" style="-webkit-user-select: text;">
     1258        <h5 style="-webkit-user-select: text;"><span style="-webkit-user-select: text;">Actions</span><a href="http://wiki.oni2.net/XML:SNDD#" style="-webkit-user-select: text;"></a></h5>
     1259        <div class="menu" style="-webkit-user-select: text;">
     1260                <ul style="-webkit-user-select: text;">
     1261                                                        <li id="ca-move" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:MovePage/XML:SNDD" title="Move this page [alt-shift-m]" accesskey="m" style="-webkit-user-select: text;">Move</a></li>
     1262                                                        <li id="ca-watch" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=watch&amp;token=72ba62e3c6513b05dacc7f86045d9346%2B%5C" title="Add this page to your watchlist [alt-shift-w]" accesskey="w" style="-webkit-user-select: text;">Watch</a></li>
    7291263                                        </ul>
    7301264        </div>
     
    7341268
    7351269<!-- 2 -->
    736 <div id="p-search">
    737         <h5><label for="searchInput">Search</label></h5>
    738         <form action="http://wiki.oni2.net/w/index.php" id="searchform">
    739                                 <div>
    740                         <input type="search" name="search" title="Search OniGalore [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off">                    <input type="submit" name="go" value="Go" title="Go to a page with this exact name if exists" id="searchGoButton" class="searchButton">                 <input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton">                                   <input type="hidden" name="title" value="Special:Search">
     1270<div id="p-search" style="-webkit-user-select: text;">
     1271        <h5 style="-webkit-user-select: text;"><label for="searchInput" style="-webkit-user-select: text;">Search</label></h5>
     1272        <form action="http://wiki.oni2.net/w/index.php" id="searchform" style="-webkit-user-select: text;">
     1273                                <div style="-webkit-user-select: text;">
     1274                        <input type="search" name="search" title="Search OniGalore [alt-shift-f]" accesskey="f" id="searchInput" style="-webkit-user-select: text;" autocomplete="off">                 <input type="submit" name="go" value="Go" title="Go to a page with this exact name if exists" id="searchGoButton" class="searchButton" style="-webkit-user-select: text;">                      <input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton" style="-webkit-user-select: text;">                                        <input type="hidden" name="title" value="Special:Search" style="-webkit-user-select: text;">
    7411275                </div>
    7421276        </form>
     
    7481282                <!-- /header -->
    7491283                <!-- panel -->
    750                         <div id="mw-panel" class="noprint">
     1284                        <div id="mw-panel" class="noprint" style="-webkit-user-select: text;">
    7511285                                <!-- logo -->
    752                                         <div id="p-logo"><a style="background-image: url(/w/wiki.png);" href="http://wiki.oni2.net/Main_Page" title="Visit the main page"></a></div>
     1286                                        <div id="p-logo" style="-webkit-user-select: text;"><a style="background-image: url(&quot;/w/wiki.png&quot;); -webkit-user-select: text;" href="http://wiki.oni2.net/Main_Page" title="Visit the main page"></a></div>
    7531287                                <!-- /logo -->
    7541288                               
    7551289<!-- navigation -->
    756 <div class="portal" id="p-navigation">
    757         <h5>Navigation</h5>
    758         <div class="body">
    759                 <ul>
    760                         <li id="n-mainpage"><a href="http://wiki.oni2.net/Main_Page" title="Visit the main page [alt-shift-z]" accesskey="z">Main Page</a></li>
    761                         <li id="n-Site-Map"><a href="http://wiki.oni2.net/Site_Map">Site Map</a></li>
    762                         <li id="n-portal"><a href="http://wiki.oni2.net/OniGalore:Community_portal" title="About the project, what you can do, where to find things">Community portal</a></li>
    763                         <li id="n-currentevents"><a href="http://wiki.oni2.net/OniGalore:Current_events" title="Find background information on current events">Current events</a></li>
    764                         <li id="n-recentchanges"><a href="http://wiki.oni2.net/Special:RecentChanges" title="A list of recent changes in the wiki [alt-shift-r]" accesskey="r">Recent changes</a></li>
    765                         <li id="n-randompage"><a href="http://wiki.oni2.net/Special:Random" title="Load a random page [alt-shift-x]" accesskey="x">Random page</a></li>
    766                         <li id="n-help"><a href="http://wiki.oni2.net/Help:Contents" title="Learn about the wiki!">Help</a></li>
     1290<div class="portal" id="p-navigation" style="-webkit-user-select: text;">
     1291        <h5 style="-webkit-user-select: text;">Navigation</h5>
     1292        <div class="body" style="-webkit-user-select: text;">
     1293                <ul style="-webkit-user-select: text;">
     1294                        <li id="n-mainpage" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Main_Page" title="Visit the main page [alt-shift-z]" accesskey="z" style="-webkit-user-select: text;">Main Page</a></li>
     1295                        <li id="n-Site-Map" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Site_Map" style="-webkit-user-select: text;">Site Map</a></li>
     1296                        <li id="n-portal" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:Community_portal" title="About the project, what you can do, where to find things" style="-webkit-user-select: text;">Community portal</a></li>
     1297                        <li id="n-currentevents" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:Current_events" title="Find background information on current events" style="-webkit-user-select: text;">Current events</a></li>
     1298                        <li id="n-recentchanges" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:RecentChanges" title="A list of recent changes in the wiki [alt-shift-r]" accesskey="r" style="-webkit-user-select: text;">Recent changes</a></li>
     1299                        <li id="n-randompage" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Random" title="Load a random page [alt-shift-x]" accesskey="x" style="-webkit-user-select: text;">Random page</a></li>
     1300                        <li id="n-help" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Help:Contents" title="Learn about the wiki!" style="-webkit-user-select: text;">Help</a></li>
    7671301                </ul>
    7681302        </div>
     
    7761310
    7771311<!-- TOOLBOX -->
    778 <div class="portal" id="p-tb">
    779         <h5>Toolbox</h5>
    780         <div class="body">
    781                 <ul>
    782                         <li id="t-whatlinkshere"><a href="http://wiki.oni2.net/Special:WhatLinksHere/XML:SNDD" title="A list of all wiki pages that link here [alt-shift-j]" accesskey="j">What links here</a></li>
    783                         <li id="t-recentchangeslinked"><a href="http://wiki.oni2.net/Special:RecentChangesLinked/XML:SNDD" title="Recent changes in pages linked from this page [alt-shift-k]" accesskey="k">Related changes</a></li>
    784                         <li id="t-specialpages"><a href="http://wiki.oni2.net/Special:SpecialPages" title="A list of all special pages [alt-shift-q]" accesskey="q">Special pages</a></li>
    785                         <li><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&printable=yes" rel="alternate">Printable version</a></li>
    786                         <li id="t-permalink"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&oldid=20983" title="Permanent link to this revision of the page">Permanent link</a></li>
     1312<div class="portal" id="p-tb" style="-webkit-user-select: text;">
     1313        <h5 style="-webkit-user-select: text;">Toolbox</h5>
     1314        <div class="body" style="-webkit-user-select: text;">
     1315                <ul style="-webkit-user-select: text;">
     1316                        <li id="t-whatlinkshere" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:WhatLinksHere/XML:SNDD" title="A list of all wiki pages that link here [alt-shift-j]" accesskey="j" style="-webkit-user-select: text;">What links here</a></li>
     1317                        <li id="t-recentchangeslinked" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:RecentChangesLinked/XML:SNDD" title="Recent changes in pages linked from this page [alt-shift-k]" accesskey="k" style="-webkit-user-select: text;">Related changes</a></li>
     1318                        <li id="t-upload" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Upload" title="Upload files [alt-shift-u]" accesskey="u" style="-webkit-user-select: text;">Upload file</a></li>
     1319                        <li id="t-specialpages" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:SpecialPages" title="A list of all special pages [alt-shift-q]" accesskey="q" style="-webkit-user-select: text;">Special pages</a></li>
     1320                        <li style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;printable=yes" rel="alternate" style="-webkit-user-select: text;">Printable version</a></li>
     1321                        <li id="t-permalink" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;oldid=25591" title="Permanent link to this revision of the page" style="-webkit-user-select: text;">Permanent link</a></li>
    7871322                </ul>
    7881323        </div>
     
    7971332                <!-- /panel -->
    7981333                <!-- footer -->
    799                 <div id="footer">
    800                                                         <ul id="footer-info">
    801                                                                                         <li id="footer-info-lastmod"> This page was last modified on 16 November 2012, at 13:33.</li>
    802                                                                                         <li id="footer-info-viewcount">This page has been accessed 1,771 times.</li>
    803                                                                                         <li id="footer-info-copyright">Content is available under <a class="external" href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License 1.2</a>.</li>
     1334                <div id="footer" style="-webkit-user-select: text;">
     1335                                                        <ul id="footer-info" style="-webkit-user-select: text;">
     1336                                                                                        <li id="footer-info-lastmod" style="-webkit-user-select: text;"> This page was last modified on 22 September 2016, at 21:40.</li>
     1337                                                                                        <li id="footer-info-viewcount" style="-webkit-user-select: text;">This page has been accessed 4,701 times.</li>
     1338                                                                                        <li id="footer-info-copyright" style="-webkit-user-select: text;">Content is available under <a class="external" href="http://www.gnu.org/copyleft/fdl.html" style="-webkit-user-select: text;">GNU Free Documentation License 1.2</a>.</li>
    8041339                                                                        </ul>
    805                                                         <ul id="footer-places">
    806                                                                                         <li id="footer-places-privacy"><a href="http://wiki.oni2.net/OniGalore:Privacy_policy" title="OniGalore:Privacy policy">Privacy policy</a></li>
    807                                                                                         <li id="footer-places-about"><a href="http://wiki.oni2.net/OniGalore:About" title="OniGalore:About">About OniGalore</a></li>
    808                                                                                         <li id="footer-places-disclaimer"><a href="http://wiki.oni2.net/OniGalore:General_disclaimer" title="OniGalore:General disclaimer">Disclaimers</a></li>
     1340                                                        <ul id="footer-places" style="-webkit-user-select: text;">
     1341                                                                                        <li id="footer-places-privacy" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:Privacy_policy" title="OniGalore:Privacy policy" style="-webkit-user-select: text;">Privacy policy</a></li>
     1342                                                                                        <li id="footer-places-about" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:About" title="OniGalore:About" style="-webkit-user-select: text;">About OniGalore</a></li>
     1343                                                                                        <li id="footer-places-disclaimer" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:General_disclaimer" title="OniGalore:General disclaimer" style="-webkit-user-select: text;">Disclaimers</a></li>
    8091344                                                                        </ul>
    810                                                                                 <ul id="footer-icons" class="noprint">
    811                                         <li id="footer-copyrightico">
    812                                                 <a href="http://www.gnu.org/copyleft/fdl.html"><img src="./XMLSNDD_files/gnu-fdl.png" alt="GNU Free Documentation License 1.2" width="88" height="31"></a>
     1345                                                                                <ul id="footer-icons" class="noprint" style="-webkit-user-select: text;">
     1346                                        <li id="footer-copyrightico" style="-webkit-user-select: text;">
     1347                                                <a href="http://www.gnu.org/copyleft/fdl.html" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/gnu-fdl.png" alt="GNU Free Documentation License 1.2" width="88" height="31" style="-webkit-user-select: text;"></a>
    8131348                                        </li>
    814                                         <li id="footer-poweredbyico">
    815                                                 <a href="http://www.mediawiki.org/"><img src="./XMLSNDD_files/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31"></a>
     1349                                        <li id="footer-poweredbyico" style="-webkit-user-select: text;">
     1350                                                <a href="http://www.mediawiki.org/" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31" style="-webkit-user-select: text;"></a>
    8161351                                        </li>
    8171352                                </ul>
    818                                                 <div style="clear:both"></div>
     1353                                                <div style="clear: both; -webkit-user-select: text;"></div>
    8191354                </div>
    8201355                <!-- /footer -->
    821                 <script src="./XMLSNDD_files/load(3).php"></script>
    822 <script>if(window.mw){
    823 mw.loader.load(["mediawiki.user","mediawiki.page.ready","mediawiki.legacy.mwsuggest"], null, true);
    824 }</script><script src="./XMLSNDD_files/load(4).php" type="text/javascript"></script>
    825 <script src="./XMLSNDD_files/load(5).php"></script>
    826 <!-- Served in 0.050 secs. -->
     1356                <script src="./XMLSNDD_files/load(5).php" style="-webkit-user-select: text;"></script>
     1357<script style="-webkit-user-select: text;">if(window.mw){
     1358mw.loader.load(["mediawiki.user","mediawiki.page.ready","mediawiki.action.watch.ajax","mediawiki.legacy.mwsuggest"], null, true);
     1359}</script><script src="./XMLSNDD_files/load(6).php" type="text/javascript" style="-webkit-user-select: text;"></script>
     1360<script src="./XMLSNDD_files/load(7).php" style="-webkit-user-select: text;"></script>
     1361<!-- Served in 0.211 secs. -->
    8271362       
    8281363
    829 </body></html>
     1364<div id="ucss-style"><style>undefined</style></div></body></html>
  • Vago/trunk/Vago/help/XMLSNDD_files/load(1).php

    r771 r1054  
    1 (function(window,undefined){var document=window.document,navigator=window.navigator,location=window.location;var jQuery=(function(){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context,rootjQuery);},_jQuery=window.jQuery,_$=window.$,rootjQuery,quickExpr=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,rnotwhite=/\S/,trimLeft=/^\s+/,trimRight=/\s+$/,rsingleTag=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,rvalidchars=/^[\],:{}\s]*$/,rvalidescape=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rvalidtokens=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rvalidbraces=/(?:^|:|,)(?:\s*\[)+/g,rwebkit=/(webkit)[ \/]([\w.]+)/,ropera=/(opera)(?:.*version)?[ \/]([\w.]+)/,rmsie=/(msie) ([\w.]+)/,rmozilla=/(mozilla)(?:.*? rv:([\w.]+))?/,rdashAlpha=/-([a-z]|[0-9])/ig,rmsPrefix=/^-ms-/,fcamelCase=function(all,letter){return(letter+"").toUpperCase();},userAgent=navigator.userAgent,browserMatch,readyList,DOMContentLoaded,toString=Object.prototype.toString,hasOwn=Object.prototype.
    2 hasOwnProperty,push=Array.prototype.push,slice=Array.prototype.slice,trim=String.prototype.trim,indexOf=Array.prototype.indexOf,class2type={};jQuery.fn=jQuery.prototype={constructor:jQuery,init:function(selector,context,rootjQuery){var match,elem,ret,doc;if(!selector){return this;}if(selector.nodeType){this.context=this[0]=selector;this.length=1;return this;}if(selector==="body"&&!context&&document.body){this.context=document;this[0]=document.body;this.selector=selector;this.length=1;return this;}if(typeof selector==="string"){if(selector.charAt(0)==="<"&&selector.charAt(selector.length-1)===">"&&selector.length>=3){match=[null,selector,null];}else{match=quickExpr.exec(selector);}if(match&&(match[1]||!context)){if(match[1]){context=context instanceof jQuery?context[0]:context;doc=(context?context.ownerDocument||context:document);ret=rsingleTag.exec(selector);if(ret){if(jQuery.isPlainObject(context)){selector=[document.createElement(ret[1])];jQuery.fn.attr.call(selector,context,true);}
    3 else{selector=[doc.createElement(ret[1])];}}else{ret=jQuery.buildFragment([match[1]],[doc]);selector=(ret.cacheable?jQuery.clone(ret.fragment):ret.fragment).childNodes;}return jQuery.merge(this,selector);}else{elem=document.getElementById(match[2]);if(elem&&elem.parentNode){if(elem.id!==match[2]){return rootjQuery.find(selector);}this.length=1;this[0]=elem;}this.context=document;this.selector=selector;return this;}}else if(!context||context.jquery){return(context||rootjQuery).find(selector);}else{return this.constructor(context).find(selector);}}else if(jQuery.isFunction(selector)){return rootjQuery.ready(selector);}if(selector.selector!==undefined){this.selector=selector.selector;this.context=selector.context;}return jQuery.makeArray(selector,this);},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length;},toArray:function(){return slice.call(this,0);},get:function(num){return num==null?this.toArray():(num<0?this[this.length+num]:this[num]);},pushStack:function(elems,
    4 name,selector){var ret=this.constructor();if(jQuery.isArray(elems)){push.apply(ret,elems);}else{jQuery.merge(ret,elems);}ret.prevObject=this;ret.context=this.context;if(name==="find"){ret.selector=this.selector+(this.selector?" ":"")+selector;}else if(name){ret.selector=this.selector+"."+name+"("+selector+")";}return ret;},each:function(callback,args){return jQuery.each(this,callback,args);},ready:function(fn){jQuery.bindReady();readyList.add(fn);return this;},eq:function(i){i=+i;return i===-1?this.slice(i):this.slice(i,i+1);},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},slice:function(){return this.pushStack(slice.apply(this,arguments),"slice",slice.call(arguments).join(","));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},end:function(){return this.prevObject||this.constructor(null);},push:push,sort:[].sort,splice:[].splice};jQuery.fn.init.prototype=jQuery.fn;jQuery.extend=jQuery.fn.
    5 extend=function(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=false;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2;}if(typeof target!=="object"&&!jQuery.isFunction(target)){target={};}if(length===i){target=this;--i;}for(;i<length;i++){if((options=arguments[i])!=null){for(name in options){src=target[name];copy=options[name];if(target===copy){continue;}if(deep&&copy&&(jQuery.isPlainObject(copy)||(copyIsArray=jQuery.isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&jQuery.isArray(src)?src:[];}else{clone=src&&jQuery.isPlainObject(src)?src:{};}target[name]=jQuery.extend(deep,clone,copy);}else if(copy!==undefined){target[name]=copy;}}}}return target;};jQuery.extend({noConflict:function(deep){if(window.$===jQuery){window.$=_$;}if(deep&&window.jQuery===jQuery){window.jQuery=_jQuery;}return jQuery;},isReady:false,readyWait:1,holdReady:function(hold){if(hold){jQuery.readyWait++;}else{jQuery.ready(true);}}
    6 ,ready:function(wait){if((wait===true&&!--jQuery.readyWait)||(wait!==true&&!jQuery.isReady)){if(!document.body){return setTimeout(jQuery.ready,1);}jQuery.isReady=true;if(wait!==true&&--jQuery.readyWait>0){return;}readyList.fireWith(document,[jQuery]);if(jQuery.fn.trigger){jQuery(document).trigger("ready").off("ready");}}},bindReady:function(){if(readyList){return;}readyList=jQuery.Callbacks("once memory");if(document.readyState==="complete"){return setTimeout(jQuery.ready,1);}if(document.addEventListener){document.addEventListener("DOMContentLoaded",DOMContentLoaded,false);window.addEventListener("load",jQuery.ready,false);}else if(document.attachEvent){document.attachEvent("onreadystatechange",DOMContentLoaded);window.attachEvent("onload",jQuery.ready);var toplevel=false;try{toplevel=window.frameElement==null;}catch(e){}if(document.documentElement.doScroll&&toplevel){doScrollCheck();}}},isFunction:function(obj){return jQuery.type(obj)==="function";},isArray:Array.isArray||function(obj
    7 ){return jQuery.type(obj)==="array";},isWindow:function(obj){return obj&&typeof obj==="object"&&"setInterval"in obj;},isNumeric:function(obj){return!isNaN(parseFloat(obj))&&isFinite(obj);},type:function(obj){return obj==null?String(obj):class2type[toString.call(obj)]||"object";},isPlainObject:function(obj){if(!obj||jQuery.type(obj)!=="object"||obj.nodeType||jQuery.isWindow(obj)){return false;}try{if(obj.constructor&&!hasOwn.call(obj,"constructor")&&!hasOwn.call(obj.constructor.prototype,"isPrototypeOf")){return false;}}catch(e){return false;}var key;for(key in obj){}return key===undefined||hasOwn.call(obj,key);},isEmptyObject:function(obj){for(var name in obj){return false;}return true;},error:function(msg){throw new Error(msg);},parseJSON:function(data){if(typeof data!=="string"||!data){return null;}data=jQuery.trim(data);if(window.JSON&&window.JSON.parse){return window.JSON.parse(data);}if(rvalidchars.test(data.replace(rvalidescape,"@").replace(rvalidtokens,"]").replace(rvalidbraces,
    8 ""))){return(new Function("return "+data))();}jQuery.error("Invalid JSON: "+data);},parseXML:function(data){var xml,tmp;try{if(window.DOMParser){tmp=new DOMParser();xml=tmp.parseFromString(data,"text/xml");}else{xml=new ActiveXObject("Microsoft.XMLDOM");xml.async="false";xml.loadXML(data);}}catch(e){xml=undefined;}if(!xml||!xml.documentElement||xml.getElementsByTagName("parsererror").length){jQuery.error("Invalid XML: "+data);}return xml;},noop:function(){},globalEval:function(data){if(data&&rnotwhite.test(data)){(window.execScript||function(data){window["eval"].call(window,data);})(data);}},camelCase:function(string){return string.replace(rmsPrefix,"ms-").replace(rdashAlpha,fcamelCase);},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()===name.toUpperCase();},each:function(object,callback,args){var name,i=0,length=object.length,isObj=length===undefined||jQuery.isFunction(object);if(args){if(isObj){for(name in object){if(callback.apply(object[name],args)===
    9 false){break;}}}else{for(;i<length;){if(callback.apply(object[i++],args)===false){break;}}}}else{if(isObj){for(name in object){if(callback.call(object[name],name,object[name])===false){break;}}}else{for(;i<length;){if(callback.call(object[i],i,object[i++])===false){break;}}}}return object;},trim:trim?function(text){return text==null?"":trim.call(text);}:function(text){return text==null?"":text.toString().replace(trimLeft,"").replace(trimRight,"");},makeArray:function(array,results){var ret=results||[];if(array!=null){var type=jQuery.type(array);if(array.length==null||type==="string"||type==="function"||type==="regexp"||jQuery.isWindow(array)){push.call(ret,array);}else{jQuery.merge(ret,array);}}return ret;},inArray:function(elem,array,i){var len;if(array){if(indexOf){return indexOf.call(array,elem,i);}len=array.length;i=i?i<0?Math.max(0,len+i):i:0;for(;i<len;i++){if(i in array&&array[i]===elem){return i;}}}return-1;},merge:function(first,second){var i=first.length,j=0;if(typeof second.
    10 length==="number"){for(var l=second.length;j<l;j++){first[i++]=second[j];}}else{while(second[j]!==undefined){first[i++]=second[j++];}}first.length=i;return first;},grep:function(elems,callback,inv){var ret=[],retVal;inv=!!inv;for(var i=0,length=elems.length;i<length;i++){retVal=!!callback(elems[i],i);if(inv!==retVal){ret.push(elems[i]);}}return ret;},map:function(elems,callback,arg){var value,key,ret=[],i=0,length=elems.length,isArray=elems instanceof jQuery||length!==undefined&&typeof length==="number"&&((length>0&&elems[0]&&elems[length-1])||length===0||jQuery.isArray(elems));if(isArray){for(;i<length;i++){value=callback(elems[i],i,arg);if(value!=null){ret[ret.length]=value;}}}else{for(key in elems){value=callback(elems[key],key,arg);if(value!=null){ret[ret.length]=value;}}}return ret.concat.apply([],ret);},guid:1,proxy:function(fn,context){if(typeof context==="string"){var tmp=fn[context];context=fn;fn=tmp;}if(!jQuery.isFunction(fn)){return undefined;}var args=slice.call(arguments,2
    11 ),proxy=function(){return fn.apply(context,args.concat(slice.call(arguments)));};proxy.guid=fn.guid=fn.guid||proxy.guid||jQuery.guid++;return proxy;},access:function(elems,key,value,exec,fn,pass){var length=elems.length;if(typeof key==="object"){for(var k in key){jQuery.access(elems,k,key[k],exec,fn,value);}return elems;}if(value!==undefined){exec=!pass&&exec&&jQuery.isFunction(value);for(var i=0;i<length;i++){fn(elems[i],key,exec?value.call(elems[i],i,fn(elems[i],key)):value,pass);}return elems;}return length?fn(elems[0],key):undefined;},now:function(){return(new Date()).getTime();},uaMatch:function(ua){ua=ua.toLowerCase();var match=rwebkit.exec(ua)||ropera.exec(ua)||rmsie.exec(ua)||ua.indexOf("compatible")<0&&rmozilla.exec(ua)||[];return{browser:match[1]||"",version:match[2]||"0"};},sub:function(){function jQuerySub(selector,context){return new jQuerySub.fn.init(selector,context);}jQuery.extend(true,jQuerySub,this);jQuerySub.superclass=this;jQuerySub.fn=jQuerySub.prototype=this();
    12 jQuerySub.fn.constructor=jQuerySub;jQuerySub.sub=this.sub;jQuerySub.fn.init=function init(selector,context){if(context&&context instanceof jQuery&&!(context instanceof jQuerySub)){context=jQuerySub(context);}return jQuery.fn.init.call(this,selector,context,rootjQuerySub);};jQuerySub.fn.init.prototype=jQuerySub.fn;var rootjQuerySub=jQuerySub(document);return jQuerySub;},browser:{}});jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(i,name){class2type["[object "+name+"]"]=name.toLowerCase();});browserMatch=jQuery.uaMatch(userAgent);if(browserMatch.browser){jQuery.browser[browserMatch.browser]=true;jQuery.browser.version=browserMatch.version;}if(jQuery.browser.webkit){jQuery.browser.safari=true;}if(rnotwhite.test("\xA0")){trimLeft=/^[\s\xA0]+/;trimRight=/[\s\xA0]+$/;}rootjQuery=jQuery(document);if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener("DOMContentLoaded",DOMContentLoaded,false);jQuery.ready();};}else if(
    13 document.attachEvent){DOMContentLoaded=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",DOMContentLoaded);jQuery.ready();}};}function doScrollCheck(){if(jQuery.isReady){return;}try{document.documentElement.doScroll("left");}catch(e){setTimeout(doScrollCheck,1);return;}jQuery.ready();}return jQuery;})();var flagsCache={};function createFlags(flags){var object=flagsCache[flags]={},i,length;flags=flags.split(/\s+/);for(i=0,length=flags.length;i<length;i++){object[flags[i]]=true;}return object;}jQuery.Callbacks=function(flags){flags=flags?(flagsCache[flags]||createFlags(flags)):{};var list=[],stack=[],memory,firing,firingStart,firingLength,firingIndex,add=function(args){var i,length,elem,type,actual;for(i=0,length=args.length;i<length;i++){elem=args[i];type=jQuery.type(elem);if(type==="array"){add(elem);}else if(type==="function"){if(!flags.unique||!self.has(elem)){list.push(elem);}}}},fire=function(context,args){args=args||[];memory=!flags.memory||
    14 [context,args];firing=true;firingIndex=firingStart||0;firingStart=0;firingLength=list.length;for(;list&&firingIndex<firingLength;firingIndex++){if(list[firingIndex].apply(context,args)===false&&flags.stopOnFalse){memory=true;break;}}firing=false;if(list){if(!flags.once){if(stack&&stack.length){memory=stack.shift();self.fireWith(memory[0],memory[1]);}}else if(memory===true){self.disable();}else{list=[];}}},self={add:function(){if(list){var length=list.length;add(arguments);if(firing){firingLength=list.length;}else if(memory&&memory!==true){firingStart=length;fire(memory[0],memory[1]);}}return this;},remove:function(){if(list){var args=arguments,argIndex=0,argLength=args.length;for(;argIndex<argLength;argIndex++){for(var i=0;i<list.length;i++){if(args[argIndex]===list[i]){if(firing){if(i<=firingLength){firingLength--;if(i<=firingIndex){firingIndex--;}}}list.splice(i--,1);if(flags.unique){break;}}}}}return this;},has:function(fn){if(list){var i=0,length=list.length;for(;i<length;i++){if(
    15 fn===list[i]){return true;}}}return false;},empty:function(){list=[];return this;},disable:function(){list=stack=memory=undefined;return this;},disabled:function(){return!list;},lock:function(){stack=undefined;if(!memory||memory===true){self.disable();}return this;},locked:function(){return!stack;},fireWith:function(context,args){if(stack){if(firing){if(!flags.once){stack.push([context,args]);}}else if(!(flags.once&&memory)){fire(context,args);}}return this;},fire:function(){self.fireWith(this,arguments);return this;},fired:function(){return!!memory;}};return self;};var sliceDeferred=[].slice;jQuery.extend({Deferred:function(func){var doneList=jQuery.Callbacks("once memory"),failList=jQuery.Callbacks("once memory"),progressList=jQuery.Callbacks("memory"),state="pending",lists={resolve:doneList,reject:failList,notify:progressList},promise={done:doneList.add,fail:failList.add,progress:progressList.add,state:function(){return state;},isResolved:doneList.fired,isRejected:failList.fired,
    16 then:function(doneCallbacks,failCallbacks,progressCallbacks){deferred.done(doneCallbacks).fail(failCallbacks).progress(progressCallbacks);return this;},always:function(){deferred.done.apply(deferred,arguments).fail.apply(deferred,arguments);return this;},pipe:function(fnDone,fnFail,fnProgress){return jQuery.Deferred(function(newDefer){jQuery.each({done:[fnDone,"resolve"],fail:[fnFail,"reject"],progress:[fnProgress,"notify"]},function(handler,data){var fn=data[0],action=data[1],returned;if(jQuery.isFunction(fn)){deferred[handler](function(){returned=fn.apply(this,arguments);if(returned&&jQuery.isFunction(returned.promise)){returned.promise().then(newDefer.resolve,newDefer.reject,newDefer.notify);}else{newDefer[action+"With"](this===deferred?newDefer:this,[returned]);}});}else{deferred[handler](newDefer[action]);}});}).promise();},promise:function(obj){if(obj==null){obj=promise;}else{for(var key in promise){obj[key]=promise[key];}}return obj;}},deferred=promise.promise({}),key;for(key in
    17 lists){deferred[key]=lists[key].fire;deferred[key+"With"]=lists[key].fireWith;}deferred.done(function(){state="resolved";},failList.disable,progressList.lock).fail(function(){state="rejected";},doneList.disable,progressList.lock);if(func){func.call(deferred,deferred);}return deferred;},when:function(firstParam){var args=sliceDeferred.call(arguments,0),i=0,length=args.length,pValues=new Array(length),count=length,pCount=length,deferred=length<=1&&firstParam&&jQuery.isFunction(firstParam.promise)?firstParam:jQuery.Deferred(),promise=deferred.promise();function resolveFunc(i){return function(value){args[i]=arguments.length>1?sliceDeferred.call(arguments,0):value;if(!(--count)){deferred.resolveWith(deferred,args);}};}function progressFunc(i){return function(value){pValues[i]=arguments.length>1?sliceDeferred.call(arguments,0):value;deferred.notifyWith(promise,pValues);};}if(length>1){for(;i<length;i++){if(args[i]&&args[i].promise&&jQuery.isFunction(args[i].promise)){args[i].promise().then(
    18 resolveFunc(i),deferred.reject,progressFunc(i));}else{--count;}}if(!count){deferred.resolveWith(deferred,args);}}else if(deferred!==firstParam){deferred.resolveWith(deferred,length?[firstParam]:[]);}return promise;}});jQuery.support=(function(){var support,all,a,select,opt,input,marginDiv,fragment,tds,events,eventName,i,isSupported,div=document.createElement("div"),documentElement=document.documentElement;div.setAttribute("className","t");div.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";all=div.getElementsByTagName("*");a=div.getElementsByTagName("a")[0];if(!all||!all.length||!a){return{};}select=document.createElement("select");opt=select.appendChild(document.createElement("option"));input=div.getElementsByTagName("input")[0];support={leadingWhitespace:(div.firstChild.nodeType===3),tbody:!div.getElementsByTagName("tbody").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/top/.test(a.
    19 getAttribute("style")),hrefNormalized:(a.getAttribute("href")==="/a"),opacity:/^0.55/.test(a.style.opacity),cssFloat:!!a.style.cssFloat,checkOn:(input.value==="on"),optSelected:opt.selected,getSetAttribute:div.className!=="t",enctype:!!document.createElement("form").enctype,html5Clone:document.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};input.checked=true;support.noCloneChecked=input.cloneNode(true).checked;select.disabled=true;support.optDisabled=!opt.disabled;try{delete div.test;}catch(e){support.deleteExpando=false;}if(!div.addEventListener&&div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function(){support.noCloneEvent=false;});div.cloneNode(true).fireEvent("onclick");}input=document.createElement("input");input.value="t";input.setAttribute("type","radio");support.radioValue=input
    20 .value==="t";input.setAttribute("checked","checked");div.appendChild(input);fragment=document.createDocumentFragment();fragment.appendChild(div.lastChild);support.checkClone=fragment.cloneNode(true).cloneNode(true).lastChild.checked;support.appendChecked=input.checked;fragment.removeChild(input);fragment.appendChild(div);div.innerHTML="";if(window.getComputedStyle){marginDiv=document.createElement("div");marginDiv.style.width="0";marginDiv.style.marginRight="0";div.style.width="2px";div.appendChild(marginDiv);support.reliableMarginRight=(parseInt((window.getComputedStyle(marginDiv,null)||{marginRight:0}).marginRight,10)||0)===0;}if(div.attachEvent){for(i in{submit:1,change:1,focusin:1}){eventName="on"+i;isSupported=(eventName in div);if(!isSupported){div.setAttribute(eventName,"return;");isSupported=(typeof div[eventName]==="function");}support[i+"Bubbles"]=isSupported;}}fragment.removeChild(div);fragment=select=opt=marginDiv=div=input=null;jQuery(function(){var container,outer,inner,
    21 table,td,offsetSupport,conMarginTop,ptlm,vb,style,html,body=document.getElementsByTagName("body")[0];if(!body){return;}conMarginTop=1;ptlm="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";vb="visibility:hidden;border:0;";style="style='"+ptlm+"border:5px solid #000;padding:0;'";html="<div "+style+"><div></div></div>"+"<table "+style+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>";container=document.createElement("div");container.style.cssText=vb+"width:0;height:0;position:static;top:0;margin-top:"+conMarginTop+"px";body.insertBefore(container,body.firstChild);div=document.createElement("div");container.appendChild(div);div.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";tds=div.getElementsByTagName("td");isSupported=(tds[0].offsetHeight===0);tds[0].style.display="";tds[1].style.display="none";support.reliableHiddenOffsets=isSupported&&(tds[0].offsetHeight===0);div.innerHTML="";div.style.width=div.style.
    22 paddingLeft="1px";jQuery.boxModel=support.boxModel=div.offsetWidth===2;if(typeof div.style.zoom!=="undefined"){div.style.display="inline";div.style.zoom=1;support.inlineBlockNeedsLayout=(div.offsetWidth===2);div.style.display="";div.innerHTML="<div style='width:4px;'></div>";support.shrinkWrapBlocks=(div.offsetWidth!==2);}div.style.cssText=ptlm+vb;div.innerHTML=html;outer=div.firstChild;inner=outer.firstChild;td=outer.nextSibling.firstChild.firstChild;offsetSupport={doesNotAddBorder:(inner.offsetTop!==5),doesAddBorderForTableAndCells:(td.offsetTop===5)};inner.style.position="fixed";inner.style.top="20px";offsetSupport.fixedPosition=(inner.offsetTop===20||inner.offsetTop===15);inner.style.position=inner.style.top="";outer.style.overflow="hidden";outer.style.position="relative";offsetSupport.subtractsBorderForOverflowNotVisible=(inner.offsetTop===-5);offsetSupport.doesNotIncludeMarginInBodyOffset=(body.offsetTop!==conMarginTop);body.removeChild(container);div=container=null;jQuery.extend
    23 (support,offsetSupport);});return support;})();var rbrace=/^(?:\{.*\}|\[.*\])$/,rmultiDash=/([A-Z])/g;jQuery.extend({cache:{},uuid:0,expando:"jQuery"+(jQuery.fn.jquery+Math.random()).replace(/\D/g,""),noData:{"embed":true,"object":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000","applet":true},hasData:function(elem){elem=elem.nodeType?jQuery.cache[elem[jQuery.expando]]:elem[jQuery.expando];return!!elem&&!isEmptyDataObject(elem);},data:function(elem,name,data,pvt){if(!jQuery.acceptData(elem)){return;}var privateCache,thisCache,ret,internalKey=jQuery.expando,getByName=typeof name==="string",isNode=elem.nodeType,cache=isNode?jQuery.cache:elem,id=isNode?elem[internalKey]:elem[internalKey]&&internalKey,isEvents=name==="events";if((!id||!cache[id]||(!isEvents&&!pvt&&!cache[id].data))&&getByName&&data===undefined){return;}if(!id){if(isNode){elem[internalKey]=id=++jQuery.uuid;}else{id=internalKey;}}if(!cache[id]){cache[id]={};if(!isNode){cache[id].toJSON=jQuery.noop;}}if(typeof name==="object"||
    24 typeof name==="function"){if(pvt){cache[id]=jQuery.extend(cache[id],name);}else{cache[id].data=jQuery.extend(cache[id].data,name);}}privateCache=thisCache=cache[id];if(!pvt){if(!thisCache.data){thisCache.data={};}thisCache=thisCache.data;}if(data!==undefined){thisCache[jQuery.camelCase(name)]=data;}if(isEvents&&!thisCache[name]){return privateCache.events;}if(getByName){ret=thisCache[name];if(ret==null){ret=thisCache[jQuery.camelCase(name)];}}else{ret=thisCache;}return ret;},removeData:function(elem,name,pvt){if(!jQuery.acceptData(elem)){return;}var thisCache,i,l,internalKey=jQuery.expando,isNode=elem.nodeType,cache=isNode?jQuery.cache:elem,id=isNode?elem[internalKey]:internalKey;if(!cache[id]){return;}if(name){thisCache=pvt?cache[id]:cache[id].data;if(thisCache){if(!jQuery.isArray(name)){if(name in thisCache){name=[name];}else{name=jQuery.camelCase(name);if(name in thisCache){name=[name];}else{name=name.split(" ");}}}for(i=0,l=name.length;i<l;i++){delete thisCache[name[i]];}if(!(pvt?
    25 isEmptyDataObject:jQuery.isEmptyObject)(thisCache)){return;}}}if(!pvt){delete cache[id].data;if(!isEmptyDataObject(cache[id])){return;}}if(jQuery.support.deleteExpando||!cache.setInterval){delete cache[id];}else{cache[id]=null;}if(isNode){if(jQuery.support.deleteExpando){delete elem[internalKey];}else if(elem.removeAttribute){elem.removeAttribute(internalKey);}else{elem[internalKey]=null;}}},_data:function(elem,name,data){return jQuery.data(elem,name,data,true);},acceptData:function(elem){if(elem.nodeName){var match=jQuery.noData[elem.nodeName.toLowerCase()];if(match){return!(match===true||elem.getAttribute("classid")!==match);}}return true;}});jQuery.fn.extend({data:function(key,value){var parts,attr,name,data=null;if(typeof key==="undefined"){if(this.length){data=jQuery.data(this[0]);if(this[0].nodeType===1&&!jQuery._data(this[0],"parsedAttrs")){attr=this[0].attributes;for(var i=0,l=attr.length;i<l;i++){name=attr[i].name;if(name.indexOf("data-")===0){name=jQuery.camelCase(name.
    26 substring(5));dataAttr(this[0],name,data[name]);}}jQuery._data(this[0],"parsedAttrs",true);}}return data;}else if(typeof key==="object"){return this.each(function(){jQuery.data(this,key);});}parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length){data=jQuery.data(this[0],key);data=dataAttr(this[0],key,data);}return data===undefined&&parts[1]?this.data(parts[0]):data;}else{return this.each(function(){var self=jQuery(this),args=[parts[0],value];self.triggerHandler("setData"+parts[1]+"!",args);jQuery.data(this,key,value);self.triggerHandler("changeData"+parts[1]+"!",args);});}},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});}});function dataAttr(elem,key,data){if(data===undefined&&elem.nodeType===1){var name="data-"+key.replace(rmultiDash,"-$1").toLowerCase();data=elem.getAttribute(name);if(typeof data==="string"){try{data=data==="true"?
    27 true:data==="false"?false:data==="null"?null:jQuery.isNumeric(data)?parseFloat(data):rbrace.test(data)?jQuery.parseJSON(data):data;}catch(e){}jQuery.data(elem,key,data);}else{data=undefined;}}return data;}function isEmptyDataObject(obj){for(var name in obj){if(name==="data"&&jQuery.isEmptyObject(obj[name])){continue;}if(name!=="toJSON"){return false;}}return true;}function handleQueueMarkDefer(elem,type,src){var deferDataKey=type+"defer",queueDataKey=type+"queue",markDataKey=type+"mark",defer=jQuery._data(elem,deferDataKey);if(defer&&(src==="queue"||!jQuery._data(elem,queueDataKey))&&(src==="mark"||!jQuery._data(elem,markDataKey))){setTimeout(function(){if(!jQuery._data(elem,queueDataKey)&&!jQuery._data(elem,markDataKey)){jQuery.removeData(elem,deferDataKey,true);defer.fire();}},0);}}jQuery.extend({_mark:function(elem,type){if(elem){type=(type||"fx")+"mark";jQuery._data(elem,type,(jQuery._data(elem,type)||0)+1);}},_unmark:function(force,elem,type){if(force!==true){type=elem;elem=force;
    28 force=false;}if(elem){type=type||"fx";var key=type+"mark",count=force?0:((jQuery._data(elem,key)||1)-1);if(count){jQuery._data(elem,key,count);}else{jQuery.removeData(elem,key,true);handleQueueMarkDefer(elem,type,"mark");}}},queue:function(elem,type,data){var q;if(elem){type=(type||"fx")+"queue";q=jQuery._data(elem,type);if(data){if(!q||jQuery.isArray(data)){q=jQuery._data(elem,type,jQuery.makeArray(data));}else{q.push(data);}}return q||[];}},dequeue:function(elem,type){type=type||"fx";var queue=jQuery.queue(elem,type),fn=queue.shift(),hooks={};if(fn==="inprogress"){fn=queue.shift();}if(fn){if(type==="fx"){queue.unshift("inprogress");}jQuery._data(elem,type+".run",hooks);fn.call(elem,function(){jQuery.dequeue(elem,type);},hooks);}if(!queue.length){jQuery.removeData(elem,type+"queue "+type+".run",true);handleQueueMarkDefer(elem,type,"queue");}}});jQuery.fn.extend({queue:function(type,data){if(typeof type!=="string"){data=type;type="fx";}if(data===undefined){return jQuery.queue(this[0],
    29 type);}return this.each(function(){var queue=jQuery.queue(this,type,data);if(type==="fx"&&queue[0]!=="inprogress"){jQuery.dequeue(this,type);}});},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type);});},delay:function(time,type){time=jQuery.fx?jQuery.fx.speeds[time]||time:time;type=type||"fx";return this.queue(type,function(next,hooks){var timeout=setTimeout(next,time);hooks.stop=function(){clearTimeout(timeout);};});},clearQueue:function(type){return this.queue(type||"fx",[]);},promise:function(type,object){if(typeof type!=="string"){object=type;type=undefined;}type=type||"fx";var defer=jQuery.Deferred(),elements=this,i=elements.length,count=1,deferDataKey=type+"defer",queueDataKey=type+"queue",markDataKey=type+"mark",tmp;function resolve(){if(!(--count)){defer.resolveWith(elements,[elements]);}}while(i--){if((tmp=jQuery.data(elements[i],deferDataKey,undefined,true)||(jQuery.data(elements[i],queueDataKey,undefined,true)||jQuery.data(elements[i],markDataKey,
    30 undefined,true))&&jQuery.data(elements[i],deferDataKey,jQuery.Callbacks("once memory"),true))){count++;tmp.add(resolve);}}resolve();return defer.promise();}});var rclass=/[\n\t\r]/g,rspace=/\s+/,rreturn=/\r/g,rtype=/^(?:button|input)$/i,rfocusable=/^(?:button|input|object|select|textarea)$/i,rclickable=/^a(?:rea)?$/i,rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,getSetAttribute=jQuery.support.getSetAttribute,nodeHook,boolHook,fixSpecified;jQuery.fn.extend({attr:function(name,value){return jQuery.access(this,name,value,true,jQuery.attr);},removeAttr:function(name){return this.each(function(){jQuery.removeAttr(this,name);});},prop:function(name,value){return jQuery.access(this,name,value,true,jQuery.prop);},removeProp:function(name){name=jQuery.propFix[name]||name;return this.each(function(){try{this[name]=undefined;delete this[name];}catch(e){}});},addClass:function(value){var classNames,i,l,elem,
    31 setClass,c,cl;if(jQuery.isFunction(value)){return this.each(function(j){jQuery(this).addClass(value.call(this,j,this.className));});}if(value&&typeof value==="string"){classNames=value.split(rspace);for(i=0,l=this.length;i<l;i++){elem=this[i];if(elem.nodeType===1){if(!elem.className&&classNames.length===1){elem.className=value;}else{setClass=" "+elem.className+" ";for(c=0,cl=classNames.length;c<cl;c++){if(!~setClass.indexOf(" "+classNames[c]+" ")){setClass+=classNames[c]+" ";}}elem.className=jQuery.trim(setClass);}}}}return this;},removeClass:function(value){var classNames,i,l,elem,className,c,cl;if(jQuery.isFunction(value)){return this.each(function(j){jQuery(this).removeClass(value.call(this,j,this.className));});}if((value&&typeof value==="string")||value===undefined){classNames=(value||"").split(rspace);for(i=0,l=this.length;i<l;i++){elem=this[i];if(elem.nodeType===1&&elem.className){if(value){className=(" "+elem.className+" ").replace(rclass," ");for(c=0,cl=classNames.length;c<cl;
    32 c++){className=className.replace(" "+classNames[c]+" "," ");}elem.className=jQuery.trim(className);}else{elem.className="";}}}}return this;},toggleClass:function(value,stateVal){var type=typeof value,isBool=typeof stateVal==="boolean";if(jQuery.isFunction(value)){return this.each(function(i){jQuery(this).toggleClass(value.call(this,i,this.className,stateVal),stateVal);});}return this.each(function(){if(type==="string"){var className,i=0,self=jQuery(this),state=stateVal,classNames=value.split(rspace);while((className=classNames[i++])){state=isBool?state:!self.hasClass(className);self[state?"addClass":"removeClass"](className);}}else if(type==="undefined"||type==="boolean"){if(this.className){jQuery._data(this,"__className__",this.className);}this.className=this.className||value===false?"":jQuery._data(this,"__className__")||"";}});},hasClass:function(selector){var className=" "+selector+" ",i=0,l=this.length;for(;i<l;i++){if(this[i].nodeType===1&&(" "+this[i].className+" ").replace(
    33 rclass," ").indexOf(className)>-1){return true;}}return false;},val:function(value){var hooks,ret,isFunction,elem=this[0];if(!arguments.length){if(elem){hooks=jQuery.valHooks[elem.nodeName.toLowerCase()]||jQuery.valHooks[elem.type];if(hooks&&"get"in hooks&&(ret=hooks.get(elem,"value"))!==undefined){return ret;}ret=elem.value;return typeof ret==="string"?ret.replace(rreturn,""):ret==null?"":ret;}return;}isFunction=jQuery.isFunction(value);return this.each(function(i){var self=jQuery(this),val;if(this.nodeType!==1){return;}if(isFunction){val=value.call(this,i,self.val());}else{val=value;}if(val==null){val="";}else if(typeof val==="number"){val+="";}else if(jQuery.isArray(val)){val=jQuery.map(val,function(value){return value==null?"":value+"";});}hooks=jQuery.valHooks[this.nodeName.toLowerCase()]||jQuery.valHooks[this.type];if(!hooks||!("set"in hooks)||hooks.set(this,val,"value")===undefined){this.value=val;}});}});jQuery.extend({valHooks:{option:{get:function(elem){var val=elem.
    34 attributes.value;return!val||val.specified?elem.value:elem.text;}},select:{get:function(elem){var value,i,max,option,index=elem.selectedIndex,values=[],options=elem.options,one=elem.type==="select-one";if(index<0){return null;}i=one?index:0;max=one?index+1:options.length;for(;i<max;i++){option=options[i];if(option.selected&&(jQuery.support.optDisabled?!option.disabled:option.getAttribute("disabled")===null)&&(!option.parentNode.disabled||!jQuery.nodeName(option.parentNode,"optgroup"))){value=jQuery(option).val();if(one){return value;}values.push(value);}}if(one&&!values.length&&options.length){return jQuery(options[index]).val();}return values;},set:function(elem,value){var values=jQuery.makeArray(value);jQuery(elem).find("option").each(function(){this.selected=jQuery.inArray(jQuery(this).val(),values)>=0;});if(!values.length){elem.selectedIndex=-1;}return values;}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(elem,name,
    35 value,pass){var ret,hooks,notxml,nType=elem.nodeType;if(!elem||nType===3||nType===8||nType===2){return;}if(pass&&name in jQuery.attrFn){return jQuery(elem)[name](value);}if(typeof elem.getAttribute==="undefined"){return jQuery.prop(elem,name,value);}notxml=nType!==1||!jQuery.isXMLDoc(elem);if(notxml){name=name.toLowerCase();hooks=jQuery.attrHooks[name]||(rboolean.test(name)?boolHook:nodeHook);}if(value!==undefined){if(value===null){jQuery.removeAttr(elem,name);return;}else if(hooks&&"set"in hooks&&notxml&&(ret=hooks.set(elem,value,name))!==undefined){return ret;}else{elem.setAttribute(name,""+value);return value;}}else if(hooks&&"get"in hooks&&notxml&&(ret=hooks.get(elem,name))!==null){return ret;}else{ret=elem.getAttribute(name);return ret===null?undefined:ret;}},removeAttr:function(elem,value){var propName,attrNames,name,l,i=0;if(value&&elem.nodeType===1){attrNames=value.toLowerCase().split(rspace);l=attrNames.length;for(;i<l;i++){name=attrNames[i];if(name){propName=jQuery.propFix[
    36 name]||name;jQuery.attr(elem,name,"");elem.removeAttribute(getSetAttribute?name:propName);if(rboolean.test(name)&&propName in elem){elem[propName]=false;}}}}},attrHooks:{type:{set:function(elem,value){if(rtype.test(elem.nodeName)&&elem.parentNode){jQuery.error("type property can't be changed");}else if(!jQuery.support.radioValue&&value==="radio"&&jQuery.nodeName(elem,"input")){var val=elem.value;elem.setAttribute("type",value);if(val){elem.value=val;}return value;}}},value:{get:function(elem,name){if(nodeHook&&jQuery.nodeName(elem,"button")){return nodeHook.get(elem,name);}return name in elem?elem.value:null;},set:function(elem,value,name){if(nodeHook&&jQuery.nodeName(elem,"button")){return nodeHook.set(elem,value,name);}elem.value=value;}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",
    37 contenteditable:"contentEditable"},prop:function(elem,name,value){var ret,hooks,notxml,nType=elem.nodeType;if(!elem||nType===3||nType===8||nType===2){return;}notxml=nType!==1||!jQuery.isXMLDoc(elem);if(notxml){name=jQuery.propFix[name]||name;hooks=jQuery.propHooks[name];}if(value!==undefined){if(hooks&&"set"in hooks&&(ret=hooks.set(elem,value,name))!==undefined){return ret;}else{return(elem[name]=value);}}else{if(hooks&&"get"in hooks&&(ret=hooks.get(elem,name))!==null){return ret;}else{return elem[name];}}},propHooks:{tabIndex:{get:function(elem){var attributeNode=elem.getAttributeNode("tabindex");return attributeNode&&attributeNode.specified?parseInt(attributeNode.value,10):rfocusable.test(elem.nodeName)||rclickable.test(elem.nodeName)&&elem.href?0:undefined;}}}});jQuery.attrHooks.tabindex=jQuery.propHooks.tabIndex;boolHook={get:function(elem,name){var attrNode,property=jQuery.prop(elem,name);return property===true||typeof property!=="boolean"&&(attrNode=elem.getAttributeNode(name))&&
    38 attrNode.nodeValue!==false?name.toLowerCase():undefined;},set:function(elem,value,name){var propName;if(value===false){jQuery.removeAttr(elem,name);}else{propName=jQuery.propFix[name]||name;if(propName in elem){elem[propName]=true;}elem.setAttribute(name,name.toLowerCase());}return name;}};if(!getSetAttribute){fixSpecified={name:true,id:true};nodeHook=jQuery.valHooks.button={get:function(elem,name){var ret;ret=elem.getAttributeNode(name);return ret&&(fixSpecified[name]?ret.nodeValue!=="":ret.specified)?ret.nodeValue:undefined;},set:function(elem,value,name){var ret=elem.getAttributeNode(name);if(!ret){ret=document.createAttribute(name);elem.setAttributeNode(ret);}return(ret.nodeValue=value+"");}};jQuery.attrHooks.tabindex.set=nodeHook.set;jQuery.each(["width","height"],function(i,name){jQuery.attrHooks[name]=jQuery.extend(jQuery.attrHooks[name],{set:function(elem,value){if(value===""){elem.setAttribute(name,"auto");return value;}}});});jQuery.attrHooks.contenteditable={get:nodeHook.get
    39 ,set:function(elem,value,name){if(value===""){value="false";}nodeHook.set(elem,value,name);}};}if(!jQuery.support.hrefNormalized){jQuery.each(["href","src","width","height"],function(i,name){jQuery.attrHooks[name]=jQuery.extend(jQuery.attrHooks[name],{get:function(elem){var ret=elem.getAttribute(name,2);return ret===null?undefined:ret;}});});}if(!jQuery.support.style){jQuery.attrHooks.style={get:function(elem){return elem.style.cssText.toLowerCase()||undefined;},set:function(elem,value){return(elem.style.cssText=""+value);}};}if(!jQuery.support.optSelected){jQuery.propHooks.selected=jQuery.extend(jQuery.propHooks.selected,{get:function(elem){var parent=elem.parentNode;if(parent){parent.selectedIndex;if(parent.parentNode){parent.parentNode.selectedIndex;}}return null;}});}if(!jQuery.support.enctype){jQuery.propFix.enctype="encoding";}if(!jQuery.support.checkOn){jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]={get:function(elem){return elem.getAttribute("value")===null?
    40 "on":elem.value;}};});}jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]=jQuery.extend(jQuery.valHooks[this],{set:function(elem,value){if(jQuery.isArray(value)){return(elem.checked=jQuery.inArray(jQuery(elem).val(),value)>=0);}}});});var rformElems=/^(?:textarea|input|select)$/i,rtypenamespace=/^([^\.]*)?(?:\.(.+))?$/,rhoverHack=/\bhover(\.\S+)?\b/,rkeyEvent=/^key/,rmouseEvent=/^(?:mouse|contextmenu)|click/,rfocusMorph=/^(?:focusinfocus|focusoutblur)$/,rquickIs=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,quickParse=function(selector){var quick=rquickIs.exec(selector);if(quick){quick[1]=(quick[1]||"").toLowerCase();quick[3]=quick[3]&&new RegExp("(?:^|\\s)"+quick[3]+"(?:\\s|$)");}return quick;},quickIs=function(elem,m){var attrs=elem.attributes||{};return((!m[1]||elem.nodeName.toLowerCase()===m[1])&&(!m[2]||(attrs.id||{}).value===m[2])&&(!m[3]||m[3].test((attrs["class"]||{}).value)));},hoverHack=function(events){return jQuery.event.special.hover?events:events.replace(
    41 rhoverHack,"mouseenter$1 mouseleave$1");};jQuery.event={add:function(elem,types,handler,data,selector){var elemData,eventHandle,events,t,tns,type,namespaces,handleObj,handleObjIn,quick,handlers,special;if(elem.nodeType===3||elem.nodeType===8||!types||!handler||!(elemData=jQuery._data(elem))){return;}if(handler.handler){handleObjIn=handler;handler=handleObjIn.handler;}if(!handler.guid){handler.guid=jQuery.guid++;}events=elemData.events;if(!events){elemData.events=events={};}eventHandle=elemData.handle;if(!eventHandle){elemData.handle=eventHandle=function(e){return typeof jQuery!=="undefined"&&(!e||jQuery.event.triggered!==e.type)?jQuery.event.dispatch.apply(eventHandle.elem,arguments):undefined;};eventHandle.elem=elem;}types=jQuery.trim(hoverHack(types)).split(" ");for(t=0;t<types.length;t++){tns=rtypenamespace.exec(types[t])||[];type=tns[1];namespaces=(tns[2]||"").split(".").sort();special=jQuery.event.special[type]||{};type=(selector?special.delegateType:special.bindType)||type;
    42 special=jQuery.event.special[type]||{};handleObj=jQuery.extend({type:type,origType:tns[1],data:data,handler:handler,guid:handler.guid,selector:selector,quick:quickParse(selector),namespace:namespaces.join(".")},handleObjIn);handlers=events[type];if(!handlers){handlers=events[type]=[];handlers.delegateCount=0;if(!special.setup||special.setup.call(elem,data,namespaces,eventHandle)===false){if(elem.addEventListener){elem.addEventListener(type,eventHandle,false);}else if(elem.attachEvent){elem.attachEvent("on"+type,eventHandle);}}}if(special.add){special.add.call(elem,handleObj);if(!handleObj.handler.guid){handleObj.handler.guid=handler.guid;}}if(selector){handlers.splice(handlers.delegateCount++,0,handleObj);}else{handlers.push(handleObj);}jQuery.event.global[type]=true;}elem=null;},global:{},remove:function(elem,types,handler,selector,mappedTypes){var elemData=jQuery.hasData(elem)&&jQuery._data(elem),t,tns,type,origType,namespaces,origCount,j,events,special,handle,eventType,handleObj;if(
    43 !elemData||!(events=elemData.events)){return;}types=jQuery.trim(hoverHack(types||"")).split(" ");for(t=0;t<types.length;t++){tns=rtypenamespace.exec(types[t])||[];type=origType=tns[1];namespaces=tns[2];if(!type){for(type in events){jQuery.event.remove(elem,type+types[t],handler,selector,true);}continue;}special=jQuery.event.special[type]||{};type=(selector?special.delegateType:special.bindType)||type;eventType=events[type]||[];origCount=eventType.length;namespaces=namespaces?new RegExp("(^|\\.)"+namespaces.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(j=0;j<eventType.length;j++){handleObj=eventType[j];if((mappedTypes||origType===handleObj.origType)&&(!handler||handler.guid===handleObj.guid)&&(!namespaces||namespaces.test(handleObj.namespace))&&(!selector||selector===handleObj.selector||selector==="**"&&handleObj.selector)){eventType.splice(j--,1);if(handleObj.selector){eventType.delegateCount--;}if(special.remove){special.remove.call(elem,handleObj);}}}if(eventType.length
    44 ===0&&origCount!==eventType.length){if(!special.teardown||special.teardown.call(elem,namespaces)===false){jQuery.removeEvent(elem,type,elemData.handle);}delete events[type];}}if(jQuery.isEmptyObject(events)){handle=elemData.handle;if(handle){handle.elem=null;}jQuery.removeData(elem,["events","handle"],true);}},customEvent:{"getData":true,"setData":true,"changeData":true},trigger:function(event,data,elem,onlyHandlers){if(elem&&(elem.nodeType===3||elem.nodeType===8)){return;}var type=event.type||event,namespaces=[],cache,exclusive,i,cur,old,ontype,special,handle,eventPath,bubbleType;if(rfocusMorph.test(type+jQuery.event.triggered)){return;}if(type.indexOf("!")>=0){type=type.slice(0,-1);exclusive=true;}if(type.indexOf(".")>=0){namespaces=type.split(".");type=namespaces.shift();namespaces.sort();}if((!elem||jQuery.event.customEvent[type])&&!jQuery.event.global[type]){return;}event=typeof event==="object"?event[jQuery.expando]?event:new jQuery.Event(type,event):new jQuery.Event(type);event.
    45 type=type;event.isTrigger=true;event.exclusive=exclusive;event.namespace=namespaces.join(".");event.namespace_re=event.namespace?new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;ontype=type.indexOf(":")<0?"on"+type:"";if(!elem){cache=jQuery.cache;for(i in cache){if(cache[i].events&&cache[i].events[type]){jQuery.event.trigger(event,data,cache[i].handle.elem,true);}}return;}event.result=undefined;if(!event.target){event.target=elem;}data=data!=null?jQuery.makeArray(data):[];data.unshift(event);special=jQuery.event.special[type]||{};if(special.trigger&&special.trigger.apply(elem,data)===false){return;}eventPath=[[elem,special.bindType||type]];if(!onlyHandlers&&!special.noBubble&&!jQuery.isWindow(elem)){bubbleType=special.delegateType||type;cur=rfocusMorph.test(bubbleType+type)?elem:elem.parentNode;old=null;for(;cur;cur=cur.parentNode){eventPath.push([cur,bubbleType]);old=cur;}if(old&&old===elem.ownerDocument){eventPath.push([old.defaultView||old.parentWindow||window,
    46 bubbleType]);}}for(i=0;i<eventPath.length&&!event.isPropagationStopped();i++){cur=eventPath[i][0];event.type=eventPath[i][1];handle=(jQuery._data(cur,"events")||{})[event.type]&&jQuery._data(cur,"handle");if(handle){handle.apply(cur,data);}handle=ontype&&cur[ontype];if(handle&&jQuery.acceptData(cur)&&handle.apply(cur,data)===false){event.preventDefault();}}event.type=type;if(!onlyHandlers&&!event.isDefaultPrevented()){if((!special._default||special._default.apply(elem.ownerDocument,data)===false)&&!(type==="click"&&jQuery.nodeName(elem,"a"))&&jQuery.acceptData(elem)){if(ontype&&elem[type]&&((type!=="focus"&&type!=="blur")||event.target.offsetWidth!==0)&&!jQuery.isWindow(elem)){old=elem[ontype];if(old){elem[ontype]=null;}jQuery.event.triggered=type;elem[type]();jQuery.event.triggered=undefined;if(old){elem[ontype]=old;}}}}return event.result;},dispatch:function(event){event=jQuery.event.fix(event||window.event);var handlers=((jQuery._data(this,"events")||{})[event.type]||[]),
    47 delegateCount=handlers.delegateCount,args=[].slice.call(arguments,0),run_all=!event.exclusive&&!event.namespace,handlerQueue=[],i,j,cur,jqcur,ret,selMatch,matched,matches,handleObj,sel,related;args[0]=event;event.delegateTarget=this;if(delegateCount&&!event.target.disabled&&!(event.button&&event.type==="click")){jqcur=jQuery(this);jqcur.context=this.ownerDocument||this;for(cur=event.target;cur!=this;cur=cur.parentNode||this){selMatch={};matches=[];jqcur[0]=cur;for(i=0;i<delegateCount;i++){handleObj=handlers[i];sel=handleObj.selector;if(selMatch[sel]===undefined){selMatch[sel]=(handleObj.quick?quickIs(cur,handleObj.quick):jqcur.is(sel));}if(selMatch[sel]){matches.push(handleObj);}}if(matches.length){handlerQueue.push({elem:cur,matches:matches});}}}if(handlers.length>delegateCount){handlerQueue.push({elem:this,matches:handlers.slice(delegateCount)});}for(i=0;i<handlerQueue.length&&!event.isPropagationStopped();i++){matched=handlerQueue[i];event.currentTarget=matched.elem;for(j=0;j<
    48 matched.matches.length&&!event.isImmediatePropagationStopped();j++){handleObj=matched.matches[j];if(run_all||(!event.namespace&&!handleObj.namespace)||event.namespace_re&&event.namespace_re.test(handleObj.namespace)){event.data=handleObj.data;event.handleObj=handleObj;ret=((jQuery.event.special[handleObj.origType]||{}).handle||handleObj.handler).apply(matched.elem,args);if(ret!==undefined){event.result=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}}}return event.result;},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(event,original){if(event.which==null){event.which=original.charCode!=null?original.charCode:original.keyCode;}return event;}},mouseHooks:{props:
    49 "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(event,original){var eventDoc,doc,body,button=original.button,fromElement=original.fromElement;if(event.pageX==null&&original.clientX!=null){eventDoc=event.target.ownerDocument||document;doc=eventDoc.documentElement;body=eventDoc.body;event.pageX=original.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc&&doc.clientLeft||body&&body.clientLeft||0);event.pageY=original.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc&&doc.clientTop||body&&body.clientTop||0);}if(!event.relatedTarget&&fromElement){event.relatedTarget=fromElement===event.target?original.toElement:fromElement;}if(!event.which&&button!==undefined){event.which=(button&1?1:(button&2?3:(button&4?2:0)));}return event;}},fix:function(event){if(event[jQuery.expando]){return event;}var i,prop,originalEvent=event,fixHook=jQuery.event.fixHooks[event.type]||{},copy=fixHook.props?this.props.
    50 concat(fixHook.props):this.props;event=jQuery.Event(originalEvent);for(i=copy.length;i;){prop=copy[--i];event[prop]=originalEvent[prop];}if(!event.target){event.target=originalEvent.srcElement||document;}if(event.target.nodeType===3){event.target=event.target.parentNode;}if(event.metaKey===undefined){event.metaKey=event.ctrlKey;}return fixHook.filter?fixHook.filter(event,originalEvent):event;},special:{ready:{setup:jQuery.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(data,namespaces,eventHandle){if(jQuery.isWindow(this)){this.onbeforeunload=eventHandle;}},teardown:function(namespaces,eventHandle){if(this.onbeforeunload===eventHandle){this.onbeforeunload=null;}}}},simulate:function(type,elem,event,bubble){var e=jQuery.extend(new jQuery.Event(),event,{type:type,isSimulated:true,originalEvent:{}});if(bubble){jQuery.event.trigger(e,null,elem);}else{jQuery.event.dispatch.call(elem,e);}if(e.isDefaultPrevented()){
    51 event.preventDefault();}}};jQuery.event.handle=jQuery.event.dispatch;jQuery.removeEvent=document.removeEventListener?function(elem,type,handle){if(elem.removeEventListener){elem.removeEventListener(type,handle,false);}}:function(elem,type,handle){if(elem.detachEvent){elem.detachEvent("on"+type,handle);}};jQuery.Event=function(src,props){if(!(this instanceof jQuery.Event)){return new jQuery.Event(src,props);}if(src&&src.type){this.originalEvent=src;this.type=src.type;this.isDefaultPrevented=(src.defaultPrevented||src.returnValue===false||src.getPreventDefault&&src.getPreventDefault())?returnTrue:returnFalse;}else{this.type=src;}if(props){jQuery.extend(this,props);}this.timeStamp=src&&src.timeStamp||jQuery.now();this[jQuery.expando]=true;};function returnFalse(){return false;}function returnTrue(){return true;}jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=returnTrue;var e=this.originalEvent;if(!e){return;}if(e.preventDefault){e.preventDefault();}else{e.
    52 returnValue=false;}},stopPropagation:function(){this.isPropagationStopped=returnTrue;var e=this.originalEvent;if(!e){return;}if(e.stopPropagation){e.stopPropagation();}e.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=returnTrue;this.stopPropagation();},isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse};jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(orig,fix){jQuery.event.special[orig]={delegateType:fix,bindType:fix,handle:function(event){var target=this,related=event.relatedTarget,handleObj=event.handleObj,selector=handleObj.selector,ret;if(!related||(related!==target&&!jQuery.contains(target,related))){event.type=handleObj.origType;ret=handleObj.handler.apply(this,arguments);event.type=fix;}return ret;}};});if(!jQuery.support.submitBubbles){jQuery.event.special.submit={setup:function(){if(jQuery.nodeName(this,"form")){return false;}jQuery.event.add(this,
    53 "click._submit keypress._submit",function(e){var elem=e.target,form=jQuery.nodeName(elem,"input")||jQuery.nodeName(elem,"button")?elem.form:undefined;if(form&&!form._submit_attached){jQuery.event.add(form,"submit._submit",function(event){if(this.parentNode&&!event.isTrigger){jQuery.event.simulate("submit",this.parentNode,event,true);}});form._submit_attached=true;}});},teardown:function(){if(jQuery.nodeName(this,"form")){return false;}jQuery.event.remove(this,"._submit");}};}if(!jQuery.support.changeBubbles){jQuery.event.special.change={setup:function(){if(rformElems.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){jQuery.event.add(this,"propertychange._change",function(event){if(event.originalEvent.propertyName==="checked"){this._just_changed=true;}});jQuery.event.add(this,"click._change",function(event){if(this._just_changed&&!event.isTrigger){this._just_changed=false;jQuery.event.simulate("change",this,event,true);}});}return false;}jQuery.event.add(this,
    54 "beforeactivate._change",function(e){var elem=e.target;if(rformElems.test(elem.nodeName)&&!elem._change_attached){jQuery.event.add(elem,"change._change",function(event){if(this.parentNode&&!event.isSimulated&&!event.isTrigger){jQuery.event.simulate("change",this.parentNode,event,true);}});elem._change_attached=true;}});},handle:function(event){var elem=event.target;if(this!==elem||event.isSimulated||event.isTrigger||(elem.type!=="radio"&&elem.type!=="checkbox")){return event.handleObj.handler.apply(this,arguments);}},teardown:function(){jQuery.event.remove(this,"._change");return rformElems.test(this.nodeName);}};}if(!jQuery.support.focusinBubbles){jQuery.each({focus:"focusin",blur:"focusout"},function(orig,fix){var attaches=0,handler=function(event){jQuery.event.simulate(fix,event.target,jQuery.event.fix(event),true);};jQuery.event.special[fix]={setup:function(){if(attaches++===0){document.addEventListener(orig,handler,true);}},teardown:function(){if(--attaches===0){document.
    55 removeEventListener(orig,handler,true);}}};});}jQuery.fn.extend({on:function(types,selector,data,fn,one){var origFn,type;if(typeof types==="object"){if(typeof selector!=="string"){data=selector;selector=undefined;}for(type in types){this.on(type,selector,data,types[type],one);}return this;}if(data==null&&fn==null){fn=selector;data=selector=undefined;}else if(fn==null){if(typeof selector==="string"){fn=data;data=undefined;}else{fn=data;data=selector;selector=undefined;}}if(fn===false){fn=returnFalse;}else if(!fn){return this;}if(one===1){origFn=fn;fn=function(event){jQuery().off(event);return origFn.apply(this,arguments);};fn.guid=origFn.guid||(origFn.guid=jQuery.guid++);}return this.each(function(){jQuery.event.add(this,types,fn,data,selector);});},one:function(types,selector,data,fn){return this.on.call(this,types,selector,data,fn,1);},off:function(types,selector,fn){if(types&&types.preventDefault&&types.handleObj){var handleObj=types.handleObj;jQuery(types.delegateTarget).off(
    56 handleObj.namespace?handleObj.type+"."+handleObj.namespace:handleObj.type,handleObj.selector,handleObj.handler);return this;}if(typeof types==="object"){for(var type in types){this.off(type,selector,types[type]);}return this;}if(selector===false||typeof selector==="function"){fn=selector;selector=undefined;}if(fn===false){fn=returnFalse;}return this.each(function(){jQuery.event.remove(this,types,fn,selector);});},bind:function(types,data,fn){return this.on(types,null,data,fn);},unbind:function(types,fn){return this.off(types,null,fn);},live:function(types,data,fn){jQuery(this.context).on(types,this.selector,data,fn);return this;},die:function(types,fn){jQuery(this.context).off(types,this.selector||"**",fn);return this;},delegate:function(selector,types,data,fn){return this.on(types,selector,data,fn);},undelegate:function(selector,types,fn){return arguments.length==1?this.off(selector,"**"):this.off(types,selector,fn);},trigger:function(type,data){return this.each(function(){jQuery.
    57 event.trigger(type,data,this);});},triggerHandler:function(type,data){if(this[0]){return jQuery.event.trigger(type,data,this[0],true);}},toggle:function(fn){var args=arguments,guid=fn.guid||jQuery.guid++,i=0,toggler=function(event){var lastToggle=(jQuery._data(this,"lastToggle"+fn.guid)||0)%i;jQuery._data(this,"lastToggle"+fn.guid,lastToggle+1);event.preventDefault();return args[lastToggle].apply(this,arguments)||false;};toggler.guid=guid;while(i<args.length){args[i++].guid=guid;}return this.click(toggler);},hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut||fnOver);}});jQuery.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error contextmenu").split(" "),function(i,name){jQuery.fn[name]=function(data,fn){if(fn==null){fn=data;data=null;}return arguments.length>0?this.on(name,null,data,fn):this.trigger(name);};if(
    58 jQuery.attrFn){jQuery.attrFn[name]=true;}if(rkeyEvent.test(name)){jQuery.event.fixHooks[name]=jQuery.event.keyHooks;}if(rmouseEvent.test(name)){jQuery.event.fixHooks[name]=jQuery.event.mouseHooks;}});(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,expando="sizcache"+(Math.random()+'').replace('.',''),done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true,rBackslash=/\\/g,rReturn=/\r\n/g,rNonWord=/\W/;[0,0].sort(function(){baseHasDuplicate=false;return 0;});var Sizzle=function(selector,context,results,seed){results=results||[];context=context||document;var origContext=context;if(context.nodeType!==1&&context.nodeType!==9){return[];}if(!selector||typeof selector!=="string"){return results;}var m,set,checkSet,extra,ret,cur,pop,i,prune=true,contextXML=Sizzle.isXML(context),parts=[],soFar=selector;do{chunker.exec("");m=chunker.exec(soFar);if(m){soFar=m[3]
    59 ;parts.push(m[1]);if(m[2]){extra=m[3];break;}}}while(m);if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context,seed);}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector]){selector+=parts.shift();}set=posProcess(selector,set,seed);}}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0];}if(context){ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set);}else{prune=false;}while(parts.length){cur=parts.pop();
    60 pop=cur;if(!Expr.relative[cur]){cur="";}else{pop=parts.pop();}if(pop==null){pop=context;}Expr.relative[cur](checkSet,pop,contextXML);}}else{checkSet=parts=[];}}if(!checkSet){checkSet=set;}if(!checkSet){Sizzle.error(cur||selector);}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet);}else if(context&&context.nodeType===1){for(i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&Sizzle.contains(context,checkSet[i]))){results.push(set[i]);}}}else{for(i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i]);}}}}else{makeArray(checkSet,results);}if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results);}return results;};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=baseHasDuplicate;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1);}}}}return results;};Sizzle.matches=
    61 function(expr,set){return Sizzle(expr,null,null,set);};Sizzle.matchesSelector=function(node,expr){return Sizzle(expr,null,null,[node]).length>0;};Sizzle.find=function(expr,context,isXML){var set,i,len,match,type,left;if(!expr){return[];}for(i=0,len=Expr.order.length;i<len;i++){type=Expr.order[i];if((match=Expr.leftMatch[type].exec(expr))){left=match[1];match.splice(1,1);if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(rBackslash,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break;}}}}if(!set){set=typeof context.getElementsByTagName!=="undefined"?context.getElementsByTagName("*"):[];}return{set:set,expr:expr};};Sizzle.filter=function(expr,set,inplace,not){var match,anyFound,type,found,item,filter,left,i,pass,old=expr,result=[],curLoop=set,isXMLFilter=set&&set[0]&&Sizzle.isXML(set[0]);while(expr&&set.length){for(type in Expr.filter){if((match=Expr.leftMatch[type].exec(expr))!=null&&match[2]){filter=Expr.filter[type]
    62 ;left=match[1];anyFound=false;match.splice(1,1);if(left.substr(left.length-1)==="\\"){continue;}if(curLoop===result){result=[];}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true;}else if(match===true){continue;}}if(match){for(i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);pass=not^found;if(inplace&&found!=null){if(pass){anyFound=true;}else{curLoop[i]=false;}}else if(pass){result.push(item);anyFound=true;}}}}if(found!==undefined){if(!inplace){curLoop=result;}expr=expr.replace(Expr.match[type],"");if(!anyFound){return[];}break;}}}if(expr===old){if(anyFound==null){Sizzle.error(expr);}else{break;}}old=expr;}return curLoop;};Sizzle.error=function(msg){throw new Error("Syntax error, unrecognized expression: "+msg);};var getText=Sizzle.getText=function(elem){var i,node,nodeType=elem.nodeType,ret="";if(nodeType){if(nodeType===1||nodeType===9){if(typeof elem.textContent==='string'){
    63 return elem.textContent;}else if(typeof elem.innerText==='string'){return elem.innerText.replace(rReturn,'');}else{for(elem=elem.firstChild;elem;elem=elem.nextSibling){ret+=getText(elem);}}}else if(nodeType===3||nodeType===4){return elem.nodeValue;}}else{for(i=0;(node=elem[i]);i++){if(node.nodeType!==8){ret+=getText(node);}}}return ret;};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className",
    64 "for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href");},type:function(elem){return elem.getAttribute("type");}},relative:{"+":function(checkSet,part){var isPartStr=typeof part==="string",isTag=isPartStr&&!rNonWord.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag){part=part.toLowerCase();}for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName.toLowerCase()===part?elem||false:elem===part;}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true);}},">":function(checkSet,part){var elem,isPartStr=typeof part==="string",i=0,l=checkSet.length;if(isPartStr&&!rNonWord.test(part)){part=part.toLowerCase();for(;i<l;i++){elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName.toLowerCase()===part?parent:false;}}}else{for(;i<l;i++){elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part;}}if(
    65 isPartStr){Sizzle.filter(part,checkSet,true);}}},"":function(checkSet,part,isXML){var nodeCheck,doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!rNonWord.test(part)){part=part.toLowerCase();nodeCheck=part;checkFn=dirNodeCheck;}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML);},"~":function(checkSet,part,isXML){var nodeCheck,doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!rNonWord.test(part)){part=part.toLowerCase();nodeCheck=part;checkFn=dirNodeCheck;}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML);}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m&&m.parentNode?[m]:[];}},NAME:function(match,context){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i]);}}return ret.length===0?null:
    66 ret;}},TAG:function(match,context){if(typeof context.getElementsByTagName!=="undefined"){return context.getElementsByTagName(match[1]);}}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(rBackslash,"")+" ";if(isXML){return match;}for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").replace(/[\t\n\r]/g," ").indexOf(match)>=0)){if(!inplace){result.push(elem);}}else if(inplace){curLoop[i]=false;}}}return false;},ID:function(match){return match[1].replace(rBackslash,"");},TAG:function(match,curLoop){return match[1].replace(rBackslash,"").toLowerCase();},CHILD:function(match){if(match[1]==="nth"){if(!match[2]){Sizzle.error(match[0]);}match[2]=match[2].replace(/^\+|\s*/g,'');var test=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(match[2]==="even"&&"2n"||match[2]==="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0;}else if(match[2]){Sizzle.error
    67 (match[0]);}match[0]=done++;return match;},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1]=match[1].replace(rBackslash,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name];}match[4]=(match[4]||match[5]||"").replace(rBackslash,"");if(match[2]==="~="){match[4]=" "+match[4]+" ";}return match;},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if((chunker.exec(match[3])||"").length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop);}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret);}return false;}}else if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true;}return match;},POS:function(match){match.unshift(true);return match;}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden";},disabled:function(elem){return elem.disabled===true;},checked:function(elem){return elem.checked===true;},selected:function(elem){if
    68 (elem.parentNode){elem.parentNode.selectedIndex;}return elem.selected===true;},parent:function(elem){return!!elem.firstChild;},empty:function(elem){return!elem.firstChild;},has:function(elem,i,match){return!!Sizzle(match[3],elem).length;},header:function(elem){return(/h\d/i).test(elem.nodeName);},text:function(elem){var attr=elem.getAttribute("type"),type=elem.type;return elem.nodeName.toLowerCase()==="input"&&"text"===type&&(attr===type||attr===null);},radio:function(elem){return elem.nodeName.toLowerCase()==="input"&&"radio"===elem.type;},checkbox:function(elem){return elem.nodeName.toLowerCase()==="input"&&"checkbox"===elem.type;},file:function(elem){return elem.nodeName.toLowerCase()==="input"&&"file"===elem.type;},password:function(elem){return elem.nodeName.toLowerCase()==="input"&&"password"===elem.type;},submit:function(elem){var name=elem.nodeName.toLowerCase();return(name==="input"||name==="button")&&"submit"===elem.type;},image:function(elem){return elem.nodeName.toLowerCase
    69 ()==="input"&&"image"===elem.type;},reset:function(elem){var name=elem.nodeName.toLowerCase();return(name==="input"||name==="button")&&"reset"===elem.type;},button:function(elem){var name=elem.nodeName.toLowerCase();return name==="input"&&"button"===elem.type||name==="button";},input:function(elem){return(/input|select|textarea|button/i).test(elem.nodeName);},focus:function(elem){return elem===elem.ownerDocument.activeElement;}},setFilters:{first:function(elem,i){return i===0;},last:function(elem,i,match,array){return i===array.length-1;},even:function(elem,i){return i%2===0;},odd:function(elem,i){return i%2===1;},lt:function(elem,i,match){return i<match[3]-0;},gt:function(elem,i,match){return i>match[3]-0;},nth:function(elem,i,match){return match[3]-0===i;},eq:function(elem,i,match){return match[3]-0===i;}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array);}else if(name==="contains"){return(elem.
    70 textContent||elem.innerText||getText([elem])||"").indexOf(match[3])>=0;}else if(name==="not"){var not=match[3];for(var j=0,l=not.length;j<l;j++){if(not[j]===elem){return false;}}return true;}else{Sizzle.error(name);}},CHILD:function(elem,match){var first,last,doneName,parent,cache,count,diff,type=match[1],node=elem;switch(type){case"only":case"first":while((node=node.previousSibling)){if(node.nodeType===1){return false;}}if(type==="first"){return true;}node=elem;case"last":while((node=node.nextSibling)){if(node.nodeType===1){return false;}}return true;case"nth":first=match[2];last=match[3];if(first===1&&last===0){return true;}doneName=match[0];parent=elem.parentNode;if(parent&&(parent[expando]!==doneName||!elem.nodeIndex)){count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count;}}parent[expando]=doneName;}diff=elem.nodeIndex-last;if(first===0){return diff===0;}else{return(diff%first===0&&diff/first>=0);}}},ID:function(elem,match){
    71 return elem.nodeType===1&&elem.getAttribute("id")===match;},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||!!elem.nodeName&&elem.nodeName.toLowerCase()===match;},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1;},ATTR:function(elem,match){var name=match[1],result=Sizzle.attr?Sizzle.attr(elem,name):Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":!type&&Sizzle.attr?result!=null:type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!==check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false;},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name
    72 ];if(filter){return filter(elem,i,match,array);}}}};var origPOS=Expr.match.POS,fescape=function(all,num){return"\\"+(num-0+1);};for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+(/(?![^\[]*\])(?![^\(]*\))/.source));Expr.leftMatch[type]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Expr.match[type].source.replace(/\\(\d+)/g,fescape));}var makeArray=function(array,results){array=Array.prototype.slice.call(array,0);if(results){results.push.apply(results,array);return results;}return array;};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType;}catch(e){makeArray=function(array,results){var i=0,ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array);}else{if(typeof array.length==="number"){for(var l=array.length;i<l;i++){ret.push(array[i]);}}else{for(;array[i];i++){ret.push(array[i]);}}}return ret;};}var sortOrder,siblingCheck;if(document.documentElement.compareDocumentPosition){sortOrder=function(a
    73 ,b){if(a===b){hasDuplicate=true;return 0;}if(!a.compareDocumentPosition||!b.compareDocumentPosition){return a.compareDocumentPosition?-1:1;}return a.compareDocumentPosition(b)&4?-1:1;};}else{sortOrder=function(a,b){if(a===b){hasDuplicate=true;return 0;}else if(a.sourceIndex&&b.sourceIndex){return a.sourceIndex-b.sourceIndex;}var al,bl,ap=[],bp=[],aup=a.parentNode,bup=b.parentNode,cur=aup;if(aup===bup){return siblingCheck(a,b);}else if(!aup){return-1;}else if(!bup){return 1;}while(cur){ap.unshift(cur);cur=cur.parentNode;}cur=bup;while(cur){bp.unshift(cur);cur=cur.parentNode;}al=ap.length;bl=bp.length;for(var i=0;i<al&&i<bl;i++){if(ap[i]!==bp[i]){return siblingCheck(ap[i],bp[i]);}}return i===al?siblingCheck(a,bp[i],-1):siblingCheck(ap[i],b,1);};siblingCheck=function(a,b,ret){if(a===b){return ret;}var cur=a.nextSibling;while(cur){if(cur===b){return-1;}cur=cur.nextSibling;}return 1;};}(function(){var form=document.createElement("div"),id="script"+(new Date()).getTime(),root=document.
    74 documentElement;form.innerHTML="<a name='"+id+"'/>";root.insertBefore(form,root.firstChild);if(document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[];}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match;};}root.removeChild(form);root=form=null;})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i]);}}results=tmp;}return results;};}div.innerHTML=
    75 "<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2);};}div=null;})();if(document.querySelectorAll){(function(){var oldSizzle=Sizzle,div=document.createElement("div"),id="__sizzle__";div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return;}Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&!Sizzle.isXML(context)){var match=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(query);if(match&&(context.nodeType===1||context.nodeType===9)){if(match[1]){return makeArray(context.getElementsByTagName(query),extra);}else if(match[2]&&Expr.find.CLASS&&context.getElementsByClassName){return makeArray(context.getElementsByClassName(match[2]),extra);}}if(context.nodeType===9){if(query==="body"&&context.body){return makeArray([context.body],extra);}else if(match&&match[3]){var elem
    76 =context.getElementById(match[3]);if(elem&&elem.parentNode){if(elem.id===match[3]){return makeArray([elem],extra);}}else{return makeArray([],extra);}}try{return makeArray(context.querySelectorAll(query),extra);}catch(qsaError){}}else if(context.nodeType===1&&context.nodeName.toLowerCase()!=="object"){var oldContext=context,old=context.getAttribute("id"),nid=old||id,hasParent=context.parentNode,relativeHierarchySelector=/^\s*[+~]/.test(query);if(!old){context.setAttribute("id",nid);}else{nid=nid.replace(/'/g,"\\$&");}if(relativeHierarchySelector&&hasParent){context=context.parentNode;}try{if(!relativeHierarchySelector||hasParent){return makeArray(context.querySelectorAll("[id='"+nid+"'] "+query),extra);}}catch(pseudoError){}finally{if(!old){oldContext.removeAttribute("id");}}}}return oldSizzle(query,context,extra,seed);};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop];}div=null;})();}(function(){var html=document.documentElement,matches=html.matchesSelector||html.
    77 mozMatchesSelector||html.webkitMatchesSelector||html.msMatchesSelector;if(matches){var disconnectedMatch=!matches.call(document.createElement("div"),"div"),pseudoWorks=false;try{matches.call(document.documentElement,"[test!='']:sizzle");}catch(pseudoError){pseudoWorks=true;}Sizzle.matchesSelector=function(node,expr){expr=expr.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!Sizzle.isXML(node)){try{if(pseudoWorks||!Expr.match.PSEUDO.test(expr)&&!/!=/.test(expr)){var ret=matches.call(node,expr);if(ret||!disconnectedMatch||node.document&&node.document.nodeType!==11){return ret;}}}catch(e){}}return Sizzle(expr,null,null,[node]).length>0;};}})();(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(!div.getElementsByClassName||div.getElementsByClassName("e").length===0){return;}div.lastChild.className="e";if(div.getElementsByClassName("e").length===1){return;}Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,
    78 isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1]);}};div=null;})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var match=false;elem=elem[dir];while(elem){if(elem[expando]===doneName){match=checkSet[elem.sizset];break;}if(elem.nodeType===1&&!isXML){elem[expando]=doneName;elem.sizset=i;}if(elem.nodeName.toLowerCase()===cur){match=elem;break;}elem=elem[dir];}checkSet[i]=match;}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var match=false;elem=elem[dir];while(elem){if(elem[expando]===doneName){match=checkSet[elem.sizset];break;}if(elem.nodeType===1){if(!isXML){elem[expando]=doneName;elem.sizset=i;}if(typeof cur!=="string"){if(elem===cur){match=true;break;}}else if(Sizzle.filter(cur,[elem]).length>0){match=elem;break;}}elem=elem[dir];}checkSet[i]=
    79 match;}}}if(document.documentElement.contains){Sizzle.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):true);};}else if(document.documentElement.compareDocumentPosition){Sizzle.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16);};}else{Sizzle.contains=function(){return false;};}Sizzle.isXML=function(elem){var documentElement=(elem?elem.ownerDocument||elem:0).documentElement;return documentElement?documentElement.nodeName!=="HTML":false;};var posProcess=function(selector,context,seed){var match,tmpSet=[],later="",root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"");}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet,seed);}return Sizzle.filter(later,tmpSet);};Sizzle.attr=jQuery.attr;Sizzle.selectors.attrMap={};jQuery.find=Sizzle;jQuery.expr=Sizzle.selectors;jQuery.expr[":"]=jQuery.expr.filters
    80 ;jQuery.unique=Sizzle.uniqueSort;jQuery.text=Sizzle.getText;jQuery.isXMLDoc=Sizzle.isXML;jQuery.contains=Sizzle.contains;})();var runtil=/Until$/,rparentsprev=/^(?:parents|prevUntil|prevAll)/,rmultiselector=/,/,isSimple=/^.[^:#\[\.,]*$/,slice=Array.prototype.slice,POS=jQuery.expr.match.POS,guaranteedUnique={children:true,contents:true,next:true,prev:true};jQuery.fn.extend({find:function(selector){var self=this,i,l;if(typeof selector!=="string"){return jQuery(selector).filter(function(){for(i=0,l=self.length;i<l;i++){if(jQuery.contains(self[i],this)){return true;}}});}var ret=this.pushStack("","find",selector),length,n,r;for(i=0,l=this.length;i<l;i++){length=ret.length;jQuery.find(selector,this[i],ret);if(i>0){for(n=length;n<ret.length;n++){for(r=0;r<length;r++){if(ret[r]===ret[n]){ret.splice(n--,1);break;}}}}}return ret;},has:function(target){var targets=jQuery(target);return this.filter(function(){for(var i=0,l=targets.length;i<l;i++){if(jQuery.contains(this,targets[i])){return true;}
    81 }});},not:function(selector){return this.pushStack(winnow(this,selector,false),"not",selector);},filter:function(selector){return this.pushStack(winnow(this,selector,true),"filter",selector);},is:function(selector){return!!selector&&(typeof selector==="string"?POS.test(selector)?jQuery(selector,this.context).index(this[0])>=0:jQuery.filter(selector,this).length>0:this.filter(selector).length>0);},closest:function(selectors,context){var ret=[],i,l,cur=this[0];if(jQuery.isArray(selectors)){var level=1;while(cur&&cur.ownerDocument&&cur!==context){for(i=0;i<selectors.length;i++){if(jQuery(cur).is(selectors[i])){ret.push({selector:selectors[i],elem:cur,level:level});}}cur=cur.parentNode;level++;}return ret;}var pos=POS.test(selectors)||typeof selectors!=="string"?jQuery(selectors,context||this.context):0;for(i=0,l=this.length;i<l;i++){cur=this[i];while(cur){if(pos?pos.index(cur)>-1:jQuery.find.matchesSelector(cur,selectors)){ret.push(cur);break;}else{cur=cur.parentNode;if(!cur||!cur.
    82 ownerDocument||cur===context||cur.nodeType===11){break;}}}}ret=ret.length>1?jQuery.unique(ret):ret;return this.pushStack(ret,"closest",selectors);},index:function(elem){if(!elem){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1;}if(typeof elem==="string"){return jQuery.inArray(this[0],jQuery(elem));}return jQuery.inArray(elem.jquery?elem[0]:elem,this);},add:function(selector,context){var set=typeof selector==="string"?jQuery(selector,context):jQuery.makeArray(selector&&selector.nodeType?[selector]:selector),all=jQuery.merge(this.get(),set);return this.pushStack(isDisconnected(set[0])||isDisconnected(all[0])?all:jQuery.unique(all));},andSelf:function(){return this.add(this.prevObject);}});function isDisconnected(node){return!node||!node.parentNode||node.parentNode.nodeType===11;}jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&parent.nodeType!==11?parent:null;},parents:function(elem){return jQuery.dir(elem,"parentNode");},parentsUntil:function(
    83 elem,i,until){return jQuery.dir(elem,"parentNode",until);},next:function(elem){return jQuery.nth(elem,2,"nextSibling");},prev:function(elem){return jQuery.nth(elem,2,"previousSibling");},nextAll:function(elem){return jQuery.dir(elem,"nextSibling");},prevAll:function(elem){return jQuery.dir(elem,"previousSibling");},nextUntil:function(elem,i,until){return jQuery.dir(elem,"nextSibling",until);},prevUntil:function(elem,i,until){return jQuery.dir(elem,"previousSibling",until);},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},children:function(elem){return jQuery.sibling(elem.firstChild);},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}},function(name,fn){jQuery.fn[name]=function(until,selector){var ret=jQuery.map(this,fn,until);if(!runtil.test(name)){selector=until;}if(selector&&typeof selector==="string"){ret=jQuery.filter(selector,ret);}ret=this.length>1&&!
    84 guaranteedUnique[name]?jQuery.unique(ret):ret;if((this.length>1||rmultiselector.test(selector))&&rparentsprev.test(name)){ret=ret.reverse();}return this.pushStack(ret,name,slice.call(arguments).join(","));};});jQuery.extend({filter:function(expr,elems,not){if(not){expr=":not("+expr+")";}return elems.length===1?jQuery.find.matchesSelector(elems[0],expr)?[elems[0]]:[]:jQuery.find.matches(expr,elems);},dir:function(elem,dir,until){var matched=[],cur=elem[dir];while(cur&&cur.nodeType!==9&&(until===undefined||cur.nodeType!==1||!jQuery(cur).is(until))){if(cur.nodeType===1){matched.push(cur);}cur=cur[dir];}return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir]){if(cur.nodeType===1&&++num===result){break;}}return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==elem){r.push(n);}}return r;}});function winnow(elements,qualifier,keep){qualifier=qualifier||0;if(jQuery.isFunction(qualifier)){return jQuery.grep(
    85 elements,function(elem,i){var retVal=!!qualifier.call(elem,i,elem);return retVal===keep;});}else if(qualifier.nodeType){return jQuery.grep(elements,function(elem,i){return(elem===qualifier)===keep;});}else if(typeof qualifier==="string"){var filtered=jQuery.grep(elements,function(elem){return elem.nodeType===1;});if(isSimple.test(qualifier)){return jQuery.filter(qualifier,filtered,!keep);}else{qualifier=jQuery.filter(qualifier,filtered);}}return jQuery.grep(elements,function(elem,i){return(jQuery.inArray(elem,qualifier)>=0)===keep;});}function createSafeFragment(document){var list=nodeNames.split("|"),safeFrag=document.createDocumentFragment();if(safeFrag.createElement){while(list.length){safeFrag.createElement(list.pop());}}return safeFrag;}var nodeNames="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|"+"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",rinlinejQuery=/ jQuery\d+="(?:\d+|null)"/g,rleadingWhitespace=/^\s+/,rxhtmlTag=
    86 /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,rtagName=/<([\w:]+)/,rtbody=/<tbody/i,rhtml=/<|&#?\w+;/,rnoInnerhtml=/<(?:script|style)/i,rnocache=/<(?:script|object|embed|option|style)/i,rnoshimcache=new RegExp("<(?:"+nodeNames+")","i"),rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,rscriptType=/\/(java|ecma)script/i,rcleanScript=/^\s*<!(?:\[CDATA\[|\-\-)/,wrapMap={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},safeFragment=createSafeFragment(document);wrapMap.optgroup=wrapMap.option;wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead;wrapMap.th=wrapMap.td;if(!jQuery.support.htmlSerialize){wrapMap._default=[1,"div<div>","</div>"];}jQuery.fn.extend({text:function
    87 (text){if(jQuery.isFunction(text)){return this.each(function(i){var self=jQuery(this);self.text(text.call(this,i,self.text()));});}if(typeof text!=="object"&&text!==undefined){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));}return jQuery.text(this);},wrapAll:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapAll(html.call(this,i));});}if(this[0]){var wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){wrap.insertBefore(this[0]);}wrap.map(function(){var elem=this;while(elem.firstChild&&elem.firstChild.nodeType===1){elem=elem.firstChild;}return elem;}).append(this);}return this;},wrapInner:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapInner(html.call(this,i));});}return this.each(function(){var self=jQuery(this),contents=self.contents();if(contents.length){contents.wrapAll(html);}else{self.append(html);}});},wrap:function(html){var
    88 isFunction=jQuery.isFunction(html);return this.each(function(i){jQuery(this).wrapAll(isFunction?html.call(this,i):html);});},unwrap:function(){return this.parent().each(function(){if(!jQuery.nodeName(this,"body")){jQuery(this).replaceWith(this.childNodes);}}).end();},append:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.appendChild(elem);}});},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.insertBefore(elem,this.firstChild);}});},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this);});}else if(arguments.length){var set=jQuery.clean(arguments);set.push.apply(set,this.toArray());return this.pushStack(set,"before",arguments);}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});}else if(arguments.length){var
    89 set=this.pushStack(this,"after",arguments);set.push.apply(set,jQuery.clean(arguments));return set;}},remove:function(selector,keepData){for(var i=0,elem;(elem=this[i])!=null;i++){if(!selector||jQuery.filter(selector,[elem]).length){if(!keepData&&elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"));jQuery.cleanData([elem]);}if(elem.parentNode){elem.parentNode.removeChild(elem);}}}return this;},empty:function(){for(var i=0,elem;(elem=this[i])!=null;i++){if(elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"));}while(elem.firstChild){elem.removeChild(elem.firstChild);}}return this;},clone:function(dataAndEvents,deepDataAndEvents){dataAndEvents=dataAndEvents==null?false:dataAndEvents;deepDataAndEvents=deepDataAndEvents==null?dataAndEvents:deepDataAndEvents;return this.map(function(){return jQuery.clone(this,dataAndEvents,deepDataAndEvents);});},html:function(value){if(value===undefined){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(
    90 rinlinejQuery,""):null;}else if(typeof value==="string"&&!rnoInnerhtml.test(value)&&(jQuery.support.leadingWhitespace||!rleadingWhitespace.test(value))&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=value.replace(rxhtmlTag,"<$1></$2>");try{for(var i=0,l=this.length;i<l;i++){if(this[i].nodeType===1){jQuery.cleanData(this[i].getElementsByTagName("*"));this[i].innerHTML=value;}}}catch(e){this.empty().append(value);}}else if(jQuery.isFunction(value)){this.each(function(i){var self=jQuery(this);self.html(value.call(this,i,self.html()));});}else{this.empty().append(value);}return this;},replaceWith:function(value){if(this[0]&&this[0].parentNode){if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this),old=self.html();self.replaceWith(value.call(this,i,old));});}if(typeof value!=="string"){value=jQuery(value).detach();}return this.each(function(){var next=this.nextSibling,parent=this.parentNode;jQuery(this).remove();if(next){jQuery(next).before(value
    91 );}else{jQuery(parent).append(value);}});}else{return this.length?this.pushStack(jQuery(jQuery.isFunction(value)?value():value),"replaceWith",value):this;}},detach:function(selector){return this.remove(selector,true);},domManip:function(args,table,callback){var results,first,fragment,parent,value=args[0],scripts=[];if(!jQuery.support.checkClone&&arguments.length===3&&typeof value==="string"&&rchecked.test(value)){return this.each(function(){jQuery(this).domManip(args,table,callback,true);});}if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this);args[0]=value.call(this,i,table?self.html():undefined);self.domManip(args,table,callback);});}if(this[0]){parent=value&&value.parentNode;if(jQuery.support.parentNode&&parent&&parent.nodeType===11&&parent.childNodes.length===this.length){results={fragment:parent};}else{results=jQuery.buildFragment(args,this,scripts);}fragment=results.fragment;if(fragment.childNodes.length===1){first=fragment=fragment.firstChild;}else{
    92 first=fragment.firstChild;}if(first){table=table&&jQuery.nodeName(first,"tr");for(var i=0,l=this.length,lastIndex=l-1;i<l;i++){callback.call(table?root(this[i],first):this[i],results.cacheable||(l>1&&i<lastIndex)?jQuery.clone(fragment,true,true):fragment);}}if(scripts.length){jQuery.each(scripts,evalScript);}}return this;}});function root(elem,cur){return jQuery.nodeName(elem,"table")?(elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody"))):elem;}function cloneCopyEvent(src,dest){if(dest.nodeType!==1||!jQuery.hasData(src)){return;}var type,i,l,oldData=jQuery._data(src),curData=jQuery._data(dest,oldData),events=oldData.events;if(events){delete curData.handle;curData.events={};for(type in events){for(i=0,l=events[type].length;i<l;i++){jQuery.event.add(dest,type+(events[type][i].namespace?".":"")+events[type][i].namespace,events[type][i],events[type][i].data);}}}if(curData.data){curData.data=jQuery.extend({},curData.data);}}function
    93 cloneFixAttributes(src,dest){var nodeName;if(dest.nodeType!==1){return;}if(dest.clearAttributes){dest.clearAttributes();}if(dest.mergeAttributes){dest.mergeAttributes(src);}nodeName=dest.nodeName.toLowerCase();if(nodeName==="object"){dest.outerHTML=src.outerHTML;}else if(nodeName==="input"&&(src.type==="checkbox"||src.type==="radio")){if(src.checked){dest.defaultChecked=dest.checked=src.checked;}if(dest.value!==src.value){dest.value=src.value;}}else if(nodeName==="option"){dest.selected=src.defaultSelected;}else if(nodeName==="input"||nodeName==="textarea"){dest.defaultValue=src.defaultValue;}dest.removeAttribute(jQuery.expando);}jQuery.buildFragment=function(args,nodes,scripts){var fragment,cacheable,cacheresults,doc,first=args[0];if(nodes&&nodes[0]){doc=nodes[0].ownerDocument||nodes[0];}if(!doc.createDocumentFragment){doc=document;}if(args.length===1&&typeof first==="string"&&first.length<512&&doc===document&&first.charAt(0)==="<"&&!rnocache.test(first)&&(jQuery.support.checkClone||!
    94 rchecked.test(first))&&(jQuery.support.html5Clone||!rnoshimcache.test(first))){cacheable=true;cacheresults=jQuery.fragments[first];if(cacheresults&&cacheresults!==1){fragment=cacheresults;}}if(!fragment){fragment=doc.createDocumentFragment();jQuery.clean(args,doc,fragment,scripts);}if(cacheable){jQuery.fragments[first]=cacheresults?fragment:1;}return{fragment:fragment,cacheable:cacheable};};jQuery.fragments={};jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var ret=[],insert=jQuery(selector),parent=this.length===1&&this[0].parentNode;if(parent&&parent.nodeType===11&&parent.childNodes.length===1&&insert.length===1){insert[original](this[0]);return this;}else{for(var i=0,l=insert.length;i<l;i++){var elems=(i>0?this.clone(true):this).get();jQuery(insert[i])[original](elems);ret=ret.concat(elems);}return this.pushStack(ret,name,insert.selector);}};});function
    95 getAll(elem){if(typeof elem.getElementsByTagName!=="undefined"){return elem.getElementsByTagName("*");}else if(typeof elem.querySelectorAll!=="undefined"){return elem.querySelectorAll("*");}else{return[];}}function fixDefaultChecked(elem){if(elem.type==="checkbox"||elem.type==="radio"){elem.defaultChecked=elem.checked;}}function findInputs(elem){var nodeName=(elem.nodeName||"").toLowerCase();if(nodeName==="input"){fixDefaultChecked(elem);}else if(nodeName!=="script"&&typeof elem.getElementsByTagName!=="undefined"){jQuery.grep(elem.getElementsByTagName("input"),fixDefaultChecked);}}function shimCloneNode(elem){var div=document.createElement("div");safeFragment.appendChild(div);div.innerHTML=elem.outerHTML;return div.firstChild;}jQuery.extend({clone:function(elem,dataAndEvents,deepDataAndEvents){var srcElements,destElements,i,clone=jQuery.support.html5Clone||!rnoshimcache.test("<"+elem.nodeName)?elem.cloneNode(true):shimCloneNode(elem);if((!jQuery.support.noCloneEvent||!jQuery.support.
    96 noCloneChecked)&&(elem.nodeType===1||elem.nodeType===11)&&!jQuery.isXMLDoc(elem)){cloneFixAttributes(elem,clone);srcElements=getAll(elem);destElements=getAll(clone);for(i=0;srcElements[i];++i){if(destElements[i]){cloneFixAttributes(srcElements[i],destElements[i]);}}}if(dataAndEvents){cloneCopyEvent(elem,clone);if(deepDataAndEvents){srcElements=getAll(elem);destElements=getAll(clone);for(i=0;srcElements[i];++i){cloneCopyEvent(srcElements[i],destElements[i]);}}}srcElements=destElements=null;return clone;},clean:function(elems,context,fragment,scripts){var checkScriptType;context=context||document;if(typeof context.createElement==="undefined"){context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;}var ret=[],j;for(var i=0,elem;(elem=elems[i])!=null;i++){if(typeof elem==="number"){elem+="";}if(!elem){continue;}if(typeof elem==="string"){if(!rhtml.test(elem)){elem=context.createTextNode(elem);}else{elem=elem.replace(rxhtmlTag,"<$1></$2>");var tag=(rtagName.exec(elem)
    97 ||["",""])[1].toLowerCase(),wrap=wrapMap[tag]||wrapMap._default,depth=wrap[0],div=context.createElement("div");if(context===document){safeFragment.appendChild(div);}else{createSafeFragment(context).appendChild(div);}div.innerHTML=wrap[1]+elem+wrap[2];while(depth--){div=div.lastChild;}if(!jQuery.support.tbody){var hasBody=rtbody.test(elem),tbody=tag==="table"&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]==="<table>"&&!hasBody?div.childNodes:[];for(j=tbody.length-1;j>=0;--j){if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length){tbody[j].parentNode.removeChild(tbody[j]);}}}if(!jQuery.support.leadingWhitespace&&rleadingWhitespace.test(elem)){div.insertBefore(context.createTextNode(rleadingWhitespace.exec(elem)[0]),div.firstChild);}elem=div.childNodes;}}var len;if(!jQuery.support.appendChecked){if(elem[0]&&typeof(len=elem.length)==="number"){for(j=0;j<len;j++){findInputs(elem[j]);}}else{findInputs(elem);}}if(elem.nodeType){ret.push(elem);}else{ret=jQuery.merge(ret
    98 ,elem);}}if(fragment){checkScriptType=function(elem){return!elem.type||rscriptType.test(elem.type);};for(i=0;ret[i];i++){if(scripts&&jQuery.nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i]);}else{if(ret[i].nodeType===1){var jsTags=jQuery.grep(ret[i].getElementsByTagName("script"),checkScriptType);ret.splice.apply(ret,[i+1,0].concat(jsTags));}fragment.appendChild(ret[i]);}}}return ret;},cleanData:function(elems){var data,id,cache=jQuery.cache,special=jQuery.event.special,deleteExpando=jQuery.support.deleteExpando;for(var i=0,elem;(elem=elems[i])!=null;i++){if(elem.nodeName&&jQuery.noData[elem.nodeName.toLowerCase()]){continue;}id=elem[jQuery.expando];if(id){data=cache[id];if(data&&data.events){for(var type in data.events){if(special[type]){jQuery.event.remove(elem,type);}else{jQuery.removeEvent(elem,type,data.handle);}}if(data.handle){data.handle.elem=null;}}if(
    99 deleteExpando){delete elem[jQuery.expando];}else if(elem.removeAttribute){elem.removeAttribute(jQuery.expando);}delete cache[id];}}}});function evalScript(i,elem){if(elem.src){jQuery.ajax({url:elem.src,async:false,dataType:"script"});}else{jQuery.globalEval((elem.text||elem.textContent||elem.innerHTML||"").replace(rcleanScript,"/*$0*/"));}if(elem.parentNode){elem.parentNode.removeChild(elem);}}var ralpha=/alpha\([^)]*\)/i,ropacity=/opacity=([^)]*)/,rupper=/([A-Z]|^ms)/g,rnumpx=/^-?\d+(?:px)?$/i,rnum=/^-?\d/,rrelNum=/^([\-+])=([\-+.\de]+)/,cssShow={position:"absolute",visibility:"hidden",display:"block"},cssWidth=["Left","Right"],cssHeight=["Top","Bottom"],curCSS,getComputedStyle,currentStyle;jQuery.fn.css=function(name,value){if(arguments.length===2&&value===undefined){return this;}return jQuery.access(this,name,value,true,function(elem,name,value){return value!==undefined?jQuery.style(elem,name,value):jQuery.css(elem,name);});};jQuery.extend({cssHooks:{opacity:{get:function(elem,
    100 computed){if(computed){var ret=curCSS(elem,"opacity","opacity");return ret===""?"1":ret;}else{return elem.style.opacity;}}}},cssNumber:{"fillOpacity":true,"fontWeight":true,"lineHeight":true,"opacity":true,"orphans":true,"widows":true,"zIndex":true,"zoom":true},cssProps:{"float":jQuery.support.cssFloat?"cssFloat":"styleFloat"},style:function(elem,name,value,extra){if(!elem||elem.nodeType===3||elem.nodeType===8||!elem.style){return;}var ret,type,origName=jQuery.camelCase(name),style=elem.style,hooks=jQuery.cssHooks[origName];name=jQuery.cssProps[origName]||origName;if(value!==undefined){type=typeof value;if(type==="string"&&(ret=rrelNum.exec(value))){value=(+(ret[1]+1)*+ret[2])+parseFloat(jQuery.css(elem,name));type="number";}if(value==null||type==="number"&&isNaN(value)){return;}if(type==="number"&&!jQuery.cssNumber[origName]){value+="px";}if(!hooks||!("set"in hooks)||(value=hooks.set(elem,value))!==undefined){try{style[name]=value;}catch(e){}}}else{if(hooks&&"get"in hooks&&(ret=hooks.
    101 get(elem,false,extra))!==undefined){return ret;}return style[name];}},css:function(elem,name,extra){var ret,hooks;name=jQuery.camelCase(name);hooks=jQuery.cssHooks[name];name=jQuery.cssProps[name]||name;if(name==="cssFloat"){name="float";}if(hooks&&"get"in hooks&&(ret=hooks.get(elem,true,extra))!==undefined){return ret;}else if(curCSS){return curCSS(elem,name);}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}callback.call(elem);for(name in options){elem.style[name]=old[name];}}});jQuery.curCSS=jQuery.css;jQuery.each(["height","width"],function(i,name){jQuery.cssHooks[name]={get:function(elem,computed,extra){var val;if(computed){if(elem.offsetWidth!==0){return getWH(elem,name,extra);}else{jQuery.swap(elem,cssShow,function(){val=getWH(elem,name,extra);});}return val;}},set:function(elem,value){if(rnumpx.test(value)){value=parseFloat(value);if(value>=0){return value+"px";}}else{return value;}}};});if(!
    102 jQuery.support.opacity){jQuery.cssHooks.opacity={get:function(elem,computed){return ropacity.test((computed&&elem.currentStyle?elem.currentStyle.filter:elem.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":computed?"1":"";},set:function(elem,value){var style=elem.style,currentStyle=elem.currentStyle,opacity=jQuery.isNumeric(value)?"alpha(opacity="+value*100+")":"",filter=currentStyle&&currentStyle.filter||style.filter||"";style.zoom=1;if(value>=1&&jQuery.trim(filter.replace(ralpha,""))===""){style.removeAttribute("filter");if(currentStyle&&!currentStyle.filter){return;}}style.filter=ralpha.test(filter)?filter.replace(ralpha,opacity):filter+" "+opacity;}};}jQuery(function(){if(!jQuery.support.reliableMarginRight){jQuery.cssHooks.marginRight={get:function(elem,computed){var ret;jQuery.swap(elem,{"display":"inline-block"},function(){if(computed){ret=curCSS(elem,"margin-right","marginRight");}else{ret=elem.style.marginRight;}});return ret;}};}});if(document.defaultView&&document.
    103 defaultView.getComputedStyle){getComputedStyle=function(elem,name){var ret,defaultView,computedStyle;name=name.replace(rupper,"-$1").toLowerCase();if((defaultView=elem.ownerDocument.defaultView)&&(computedStyle=defaultView.getComputedStyle(elem,null))){ret=computedStyle.getPropertyValue(name);if(ret===""&&!jQuery.contains(elem.ownerDocument.documentElement,elem)){ret=jQuery.style(elem,name);}}return ret;};}if(document.documentElement.currentStyle){currentStyle=function(elem,name){var left,rsLeft,uncomputed,ret=elem.currentStyle&&elem.currentStyle[name],style=elem.style;if(ret===null&&style&&(uncomputed=style[name])){ret=uncomputed;}if(!rnumpx.test(ret)&&rnum.test(ret)){left=style.left;rsLeft=elem.runtimeStyle&&elem.runtimeStyle.left;if(rsLeft){elem.runtimeStyle.left=elem.currentStyle.left;}style.left=name==="fontSize"?"1em":(ret||0);ret=style.pixelLeft+"px";style.left=left;if(rsLeft){elem.runtimeStyle.left=rsLeft;}}return ret===""?"auto":ret;};}curCSS=getComputedStyle||currentStyle;
    104 function getWH(elem,name,extra){var val=name==="width"?elem.offsetWidth:elem.offsetHeight,which=name==="width"?cssWidth:cssHeight,i=0,len=which.length;if(val>0){if(extra!=="border"){for(;i<len;i++){if(!extra){val-=parseFloat(jQuery.css(elem,"padding"+which[i]))||0;}if(extra==="margin"){val+=parseFloat(jQuery.css(elem,extra+which[i]))||0;}else{val-=parseFloat(jQuery.css(elem,"border"+which[i]+"Width"))||0;}}}return val+"px";}val=curCSS(elem,name,name);if(val<0||val==null){val=elem.style[name]||0;}val=parseFloat(val)||0;if(extra){for(;i<len;i++){val+=parseFloat(jQuery.css(elem,"padding"+which[i]))||0;if(extra!=="padding"){val+=parseFloat(jQuery.css(elem,"border"+which[i]+"Width"))||0;}if(extra==="margin"){val+=parseFloat(jQuery.css(elem,extra+which[i]))||0;}}}return val+"px";}if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.hidden=function(elem){var width=elem.offsetWidth,height=elem.offsetHeight;return(width===0&&height===0)||(!jQuery.support.reliableHiddenOffsets&&((elem.style
    105 &&elem.style.display)||jQuery.css(elem,"display"))==="none");};jQuery.expr.filters.visible=function(elem){return!jQuery.expr.filters.hidden(elem);};}var r20=/%20/g,rbracket=/\[\]$/,rCRLF=/\r?\n/g,rhash=/#.*$/,rheaders=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,rinput=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,rlocalProtocol=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,rnoContent=/^(?:GET|HEAD)$/,rprotocol=/^\/\//,rquery=/\?/,rscript=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,rselectTextarea=/^(?:select|textarea)/i,rspacesAjax=/\s+/,rts=/([?&])_=[^&]*/,rurl=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,_load=jQuery.fn.load,prefilters={},transports={},ajaxLocation,ajaxLocParts,allTypes=["*/"]+["*"];try{ajaxLocation=location.href;}catch(e){ajaxLocation=document.createElement("a");ajaxLocation.href="";ajaxLocation=ajaxLocation.href;}ajaxLocParts=rurl.exec(ajaxLocation.toLowerCase())||[];function
    106 addToPrefiltersOrTransports(structure){return function(dataTypeExpression,func){if(typeof dataTypeExpression!=="string"){func=dataTypeExpression;dataTypeExpression="*";}if(jQuery.isFunction(func)){var dataTypes=dataTypeExpression.toLowerCase().split(rspacesAjax),i=0,length=dataTypes.length,dataType,list,placeBefore;for(;i<length;i++){dataType=dataTypes[i];placeBefore=/^\+/.test(dataType);if(placeBefore){dataType=dataType.substr(1)||"*";}list=structure[dataType]=structure[dataType]||[];list[placeBefore?"unshift":"push"](func);}}};}function inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR,dataType,inspected){dataType=dataType||options.dataTypes[0];inspected=inspected||{};inspected[dataType]=true;var list=structure[dataType],i=0,length=list?list.length:0,executeOnly=(structure===prefilters),selection;for(;i<length&&(executeOnly||!selection);i++){selection=list[i](options,originalOptions,jqXHR);if(typeof selection==="string"){if(!executeOnly||inspected[selection]){
    107 selection=undefined;}else{options.dataTypes.unshift(selection);selection=inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR,selection,inspected);}}}if((executeOnly||!selection)&&!inspected["*"]){selection=inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR,"*",inspected);}return selection;}function ajaxExtend(target,src){var key,deep,flatOptions=jQuery.ajaxSettings.flatOptions||{};for(key in src){if(src[key]!==undefined){(flatOptions[key]?target:(deep||(deep={})))[key]=src[key];}}if(deep){jQuery.extend(true,target,deep);}}jQuery.fn.extend({load:function(url,params,callback){if(typeof url!=="string"&&_load){return _load.apply(this,arguments);}else if(!this.length){return this;}var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}var type="GET";if(params){if(jQuery.isFunction(params)){callback=params;params=undefined;}else if(typeof params==="object"){params=jQuery.param(params,jQuery.ajaxSettings.
    108 traditional);type="POST";}}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(jqXHR,status,responseText){responseText=jqXHR.responseText;if(jqXHR.isResolved()){jqXHR.done(function(r){responseText=r;});self.html(selector?jQuery("<div>").append(responseText.replace(rscript,"")).find(selector):responseText);}if(callback){self.each(callback,[responseText,status,jqXHR]);}}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||rselectTextarea.test(this.nodeName)||rinput.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:jQuery.isArray(val)?jQuery.map(val,function(val,i){return{name:elem.name,value:val.replace(rCRLF,"\r\n")};}):{name:elem.name,value:val.replace(rCRLF,"\r\n")};}).get();}});jQuery.each(
    109 "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(i,o){jQuery.fn[o]=function(f){return this.on(o,f);};});jQuery.each(["get","post"],function(i,method){jQuery[method]=function(url,data,callback,type){if(jQuery.isFunction(data)){type=type||callback;callback=data;data=undefined;}return jQuery.ajax({type:method,url:url,data:data,success:callback,dataType:type});};});jQuery.extend({getScript:function(url,callback){return jQuery.get(url,undefined,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},ajaxSetup:function(target,settings){if(settings){ajaxExtend(target,jQuery.ajaxSettings);}else{settings=target;target=jQuery.ajaxSettings;}ajaxExtend(target,settings);return target;},ajaxSettings:{url:ajaxLocation,isLocal:rlocalProtocol.test(ajaxLocParts[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",
    110 text:"text/plain",json:"application/json, text/javascript","*":allTypes},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":window.String,"text html":true,"text json":jQuery.parseJSON,"text xml":jQuery.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:addToPrefiltersOrTransports(prefilters),ajaxTransport:addToPrefiltersOrTransports(transports),ajax:function(url,options){if(typeof url==="object"){options=url;url=undefined;}options=options||{};var s=jQuery.ajaxSetup({},options),callbackContext=s.context||s,globalEventContext=callbackContext!==s&&(callbackContext.nodeType||callbackContext instanceof jQuery)?jQuery(callbackContext):jQuery.event,deferred=jQuery.Deferred(),completeDeferred=jQuery.Callbacks("once memory"),statusCode=s.statusCode||{},ifModifiedKey,requestHeaders={},requestHeadersNames={},responseHeadersString,responseHeaders,transport,timeoutTimer,parts,state=0,fireGlobals,i,jqXHR={readyState:0,
    111 setRequestHeader:function(name,value){if(!state){var lname=name.toLowerCase();name=requestHeadersNames[lname]=requestHeadersNames[lname]||name;requestHeaders[name]=value;}return this;},getAllResponseHeaders:function(){return state===2?responseHeadersString:null;},getResponseHeader:function(key){var match;if(state===2){if(!responseHeaders){responseHeaders={};while((match=rheaders.exec(responseHeadersString))){responseHeaders[match[1].toLowerCase()]=match[2];}}match=responseHeaders[key.toLowerCase()];}return match===undefined?null:match;},overrideMimeType:function(type){if(!state){s.mimeType=type;}return this;},abort:function(statusText){statusText=statusText||"abort";if(transport){transport.abort(statusText);}done(0,statusText);return this;}};function done(status,nativeStatusText,responses,headers){if(state===2){return;}state=2;if(timeoutTimer){clearTimeout(timeoutTimer);}transport=undefined;responseHeadersString=headers||"";jqXHR.readyState=status>0?4:0;var isSuccess,success,error,
    112 statusText=nativeStatusText,response=responses?ajaxHandleResponses(s,jqXHR,responses):undefined,lastModified,etag;if(status>=200&&status<300||status===304){if(s.ifModified){if((lastModified=jqXHR.getResponseHeader("Last-Modified"))){jQuery.lastModified[ifModifiedKey]=lastModified;}if((etag=jqXHR.getResponseHeader("Etag"))){jQuery.etag[ifModifiedKey]=etag;}}if(status===304){statusText="notmodified";isSuccess=true;}else{try{success=ajaxConvert(s,response);statusText="success";isSuccess=true;}catch(e){statusText="parsererror";error=e;}}}else{error=statusText;if(!statusText||status){statusText="error";if(status<0){status=0;}}}jqXHR.status=status;jqXHR.statusText=""+(nativeStatusText||statusText);if(isSuccess){deferred.resolveWith(callbackContext,[success,statusText,jqXHR]);}else{deferred.rejectWith(callbackContext,[jqXHR,statusText,error]);}jqXHR.statusCode(statusCode);statusCode=undefined;if(fireGlobals){globalEventContext.trigger("ajax"+(isSuccess?"Success":"Error"),[jqXHR,s,isSuccess?
    113 success:error]);}completeDeferred.fireWith(callbackContext,[jqXHR,statusText]);if(fireGlobals){globalEventContext.trigger("ajaxComplete",[jqXHR,s]);if(!(--jQuery.active)){jQuery.event.trigger("ajaxStop");}}}deferred.promise(jqXHR);jqXHR.success=jqXHR.done;jqXHR.error=jqXHR.fail;jqXHR.complete=completeDeferred.add;jqXHR.statusCode=function(map){if(map){var tmp;if(state<2){for(tmp in map){statusCode[tmp]=[statusCode[tmp],map[tmp]];}}else{tmp=map[jqXHR.status];jqXHR.then(tmp,tmp);}}return this;};s.url=((url||s.url)+"").replace(rhash,"").replace(rprotocol,ajaxLocParts[1]+"//");s.dataTypes=jQuery.trim(s.dataType||"*").toLowerCase().split(rspacesAjax);if(s.crossDomain==null){parts=rurl.exec(s.url.toLowerCase());s.crossDomain=!!(parts&&(parts[1]!=ajaxLocParts[1]||parts[2]!=ajaxLocParts[2]||(parts[3]||(parts[1]==="http:"?80:443))!=(ajaxLocParts[3]||(ajaxLocParts[1]==="http:"?80:443))));}if(s.data&&s.processData&&typeof s.data!=="string"){s.data=jQuery.param(s.data,s.traditional);}
    114 inspectPrefiltersOrTransports(prefilters,s,options,jqXHR);if(state===2){return false;}fireGlobals=s.global;s.type=s.type.toUpperCase();s.hasContent=!rnoContent.test(s.type);if(fireGlobals&&jQuery.active++===0){jQuery.event.trigger("ajaxStart");}if(!s.hasContent){if(s.data){s.url+=(rquery.test(s.url)?"&":"?")+s.data;delete s.data;}ifModifiedKey=s.url;if(s.cache===false){var ts=jQuery.now(),ret=s.url.replace(rts,"$1_="+ts);s.url=ret+((ret===s.url)?(rquery.test(s.url)?"&":"?")+"_="+ts:"");}}if(s.data&&s.hasContent&&s.contentType!==false||options.contentType){jqXHR.setRequestHeader("Content-Type",s.contentType);}if(s.ifModified){ifModifiedKey=ifModifiedKey||s.url;if(jQuery.lastModified[ifModifiedKey]){jqXHR.setRequestHeader("If-Modified-Since",jQuery.lastModified[ifModifiedKey]);}if(jQuery.etag[ifModifiedKey]){jqXHR.setRequestHeader("If-None-Match",jQuery.etag[ifModifiedKey]);}}jqXHR.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+(s.dataTypes[
    115 0]!=="*"?", "+allTypes+"; q=0.01":""):s.accepts["*"]);for(i in s.headers){jqXHR.setRequestHeader(i,s.headers[i]);}if(s.beforeSend&&(s.beforeSend.call(callbackContext,jqXHR,s)===false||state===2)){jqXHR.abort();return false;}for(i in{success:1,error:1,complete:1}){jqXHR[i](s[i]);}transport=inspectPrefiltersOrTransports(transports,s,options,jqXHR);if(!transport){done(-1,"No Transport");}else{jqXHR.readyState=1;if(fireGlobals){globalEventContext.trigger("ajaxSend",[jqXHR,s]);}if(s.async&&s.timeout>0){timeoutTimer=setTimeout(function(){jqXHR.abort("timeout");},s.timeout);}try{state=1;transport.send(requestHeaders,done);}catch(e){if(state<2){done(-1,e);}else{throw e;}}}return jqXHR;},param:function(a,traditional){var s=[],add=function(key,value){value=jQuery.isFunction(value)?value():value;s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(value);};if(traditional===undefined){traditional=jQuery.ajaxSettings.traditional;}if(jQuery.isArray(a)||(a.jquery&&!jQuery.isPlainObject(a))){
    116 jQuery.each(a,function(){add(this.name,this.value);});}else{for(var prefix in a){buildParams(prefix,a[prefix],traditional,add);}}return s.join("&").replace(r20,"+");}});function buildParams(prefix,obj,traditional,add){if(jQuery.isArray(obj)){jQuery.each(obj,function(i,v){if(traditional||rbracket.test(prefix)){add(prefix,v);}else{buildParams(prefix+"["+(typeof v==="object"||jQuery.isArray(v)?i:"")+"]",v,traditional,add);}});}else if(!traditional&&obj!=null&&typeof obj==="object"){for(var name in obj){buildParams(prefix+"["+name+"]",obj[name],traditional,add);}}else{add(prefix,obj);}}jQuery.extend({active:0,lastModified:{},etag:{}});function ajaxHandleResponses(s,jqXHR,responses){var contents=s.contents,dataTypes=s.dataTypes,responseFields=s.responseFields,ct,type,finalDataType,firstDataType;for(type in responseFields){if(type in responses){jqXHR[responseFields[type]]=responses[type];}}while(dataTypes[0]==="*"){dataTypes.shift();if(ct===undefined){ct=s.mimeType||jqXHR.getResponseHeader(
    117 "content-type");}}if(ct){for(type in contents){if(contents[type]&&contents[type].test(ct)){dataTypes.unshift(type);break;}}}if(dataTypes[0]in responses){finalDataType=dataTypes[0];}else{for(type in responses){if(!dataTypes[0]||s.converters[type+" "+dataTypes[0]]){finalDataType=type;break;}if(!firstDataType){firstDataType=type;}}finalDataType=finalDataType||firstDataType;}if(finalDataType){if(finalDataType!==dataTypes[0]){dataTypes.unshift(finalDataType);}return responses[finalDataType];}}function ajaxConvert(s,response){if(s.dataFilter){response=s.dataFilter(response,s.dataType);}var dataTypes=s.dataTypes,converters={},i,key,length=dataTypes.length,tmp,current=dataTypes[0],prev,conversion,conv,conv1,conv2;for(i=1;i<length;i++){if(i===1){for(key in s.converters){if(typeof key==="string"){converters[key.toLowerCase()]=s.converters[key];}}}prev=current;current=dataTypes[i];if(current==="*"){current=prev;}else if(prev!=="*"&&prev!==current){conversion=prev+" "+current;conv=converters[
    118 conversion]||converters["* "+current];if(!conv){conv2=undefined;for(conv1 in converters){tmp=conv1.split(" ");if(tmp[0]===prev||tmp[0]==="*"){conv2=converters[tmp[1]+" "+current];if(conv2){conv1=converters[conv1];if(conv1===true){conv=conv2;}else if(conv2===true){conv=conv1;}break;}}}}if(!(conv||conv2)){jQuery.error("No conversion from "+conversion.replace(" "," to "));}if(conv!==true){response=conv?conv(response):conv2(conv1(response));}}}return response;}var jsc=jQuery.now(),jsre=/(\=)\?(&|$)|\?\?/i;jQuery.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return jQuery.expando+"_"+(jsc++);}});jQuery.ajaxPrefilter("json jsonp",function(s,originalSettings,jqXHR){var inspectData=s.contentType==="application/x-www-form-urlencoded"&&(typeof s.data==="string");if(s.dataTypes[0]==="jsonp"||s.jsonp!==false&&(jsre.test(s.url)||inspectData&&jsre.test(s.data))){var responseContainer,jsonpCallback=s.jsonpCallback=jQuery.isFunction(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,previous=
    119 window[jsonpCallback],url=s.url,data=s.data,replace="$1"+jsonpCallback+"$2";if(s.jsonp!==false){url=url.replace(jsre,replace);if(s.url===url){if(inspectData){data=data.replace(jsre,replace);}if(s.data===data){url+=(/\?/.test(url)?"&":"?")+s.jsonp+"="+jsonpCallback;}}}s.url=url;s.data=data;window[jsonpCallback]=function(response){responseContainer=[response];};jqXHR.always(function(){window[jsonpCallback]=previous;if(responseContainer&&jQuery.isFunction(previous)){window[jsonpCallback](responseContainer[0]);}});s.converters["script json"]=function(){if(!responseContainer){jQuery.error(jsonpCallback+" was not called");}return responseContainer[0];};s.dataTypes[0]="json";return"script";}});jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(text){jQuery.globalEval(text);return text;}}});jQuery.ajaxPrefilter("script",function(s){if(s.cache
    120 ===undefined){s.cache=false;}if(s.crossDomain){s.type="GET";s.global=false;}});jQuery.ajaxTransport("script",function(s){if(s.crossDomain){var script,head=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return{send:function(_,callback){script=document.createElement("script");script.async="async";if(s.scriptCharset){script.charset=s.scriptCharset;}script.src=s.url;script.onload=script.onreadystatechange=function(_,isAbort){if(isAbort||!script.readyState||/loaded|complete/.test(script.readyState)){script.onload=script.onreadystatechange=null;if(head&&script.parentNode){head.removeChild(script);}script=undefined;if(!isAbort){callback(200,"success");}}};head.insertBefore(script,head.firstChild);},abort:function(){if(script){script.onload(0,1);}}};}});var xhrOnUnloadAbort=window.ActiveXObject?function(){for(var key in xhrCallbacks){xhrCallbacks[key](0,1);}}:false,xhrId=0,xhrCallbacks;function createStandardXHR(){try{return new window.XMLHttpRequest();}catch
    121 (e){}}function createActiveXHR(){try{return new window.ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}jQuery.ajaxSettings.xhr=window.ActiveXObject?function(){return!this.isLocal&&createStandardXHR()||createActiveXHR();}:createStandardXHR;(function(xhr){jQuery.extend(jQuery.support,{ajax:!!xhr,cors:!!xhr&&("withCredentials"in xhr)});})(jQuery.ajaxSettings.xhr());if(jQuery.support.ajax){jQuery.ajaxTransport(function(s){if(!s.crossDomain||jQuery.support.cors){var callback;return{send:function(headers,complete){var xhr=s.xhr(),handle,i;if(s.username){xhr.open(s.type,s.url,s.async,s.username,s.password);}else{xhr.open(s.type,s.url,s.async);}if(s.xhrFields){for(i in s.xhrFields){xhr[i]=s.xhrFields[i];}}if(s.mimeType&&xhr.overrideMimeType){xhr.overrideMimeType(s.mimeType);}if(!s.crossDomain&&!headers["X-Requested-With"]){headers["X-Requested-With"]="XMLHttpRequest";}try{for(i in headers){xhr.setRequestHeader(i,headers[i]);}}catch(_){}xhr.send((s.hasContent&&s.data)||null);callback=function(_,
    122 isAbort){var status,statusText,responseHeaders,responses,xml;try{if(callback&&(isAbort||xhr.readyState===4)){callback=undefined;if(handle){xhr.onreadystatechange=jQuery.noop;if(xhrOnUnloadAbort){delete xhrCallbacks[handle];}}if(isAbort){if(xhr.readyState!==4){xhr.abort();}}else{status=xhr.status;responseHeaders=xhr.getAllResponseHeaders();responses={};xml=xhr.responseXML;if(xml&&xml.documentElement){responses.xml=xml;}responses.text=xhr.responseText;try{statusText=xhr.statusText;}catch(e){statusText="";}if(!status&&s.isLocal&&!s.crossDomain){status=responses.text?200:404;}else if(status===1223){status=204;}}}}catch(firefoxAccessException){if(!isAbort){complete(-1,firefoxAccessException);}}if(responses){complete(status,statusText,responses,responseHeaders);}};if(!s.async||xhr.readyState===4){callback();}else{handle=++xhrId;if(xhrOnUnloadAbort){if(!xhrCallbacks){xhrCallbacks={};jQuery(window).unload(xhrOnUnloadAbort);}xhrCallbacks[handle]=callback;}xhr.onreadystatechange=callback;}},
    123 abort:function(){if(callback){callback(0,1);}}};}});}var elemdisplay={},iframe,iframeDoc,rfxtypes=/^(?:toggle|show|hide)$/,rfxnum=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,timerId,fxAttrs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],fxNow;jQuery.fn.extend({show:function(speed,easing,callback){var elem,display;if(speed||speed===0){return this.animate(genFx("show",3),speed,easing,callback);}else{for(var i=0,j=this.length;i<j;i++){elem=this[i];if(elem.style){display=elem.style.display;if(!jQuery._data(elem,"olddisplay")&&display==="none"){display=elem.style.display="";}if(display===""&&jQuery.css(elem,"display")==="none"){jQuery._data(elem,"olddisplay",defaultDisplay(elem.nodeName));}}}for(i=0;i<j;i++){elem=this[i];if(elem.style){display=elem.style.display;if(display===""||display==="none"){elem.style.display=jQuery._data(elem,"olddisplay")||"";}}}return this;}},hide:function(speed,easing,
    124 callback){if(speed||speed===0){return this.animate(genFx("hide",3),speed,easing,callback);}else{var elem,display,i=0,j=this.length;for(;i<j;i++){elem=this[i];if(elem.style){display=jQuery.css(elem,"display");if(display!=="none"&&!jQuery._data(elem,"olddisplay")){jQuery._data(elem,"olddisplay",display);}}}for(i=0;i<j;i++){if(this[i].style){this[i].style.display="none";}}return this;}},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2,callback){var bool=typeof fn==="boolean";if(jQuery.isFunction(fn)&&jQuery.isFunction(fn2)){this._toggle.apply(this,arguments);}else if(fn==null||bool){this.each(function(){var state=bool?fn:jQuery(this).is(":hidden");jQuery(this)[state?"show":"hide"]();});}else{this.animate(genFx("toggle",3),fn,fn2,callback);}return this;},fadeTo:function(speed,to,easing,callback){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:to},speed,easing,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);
    125 if(jQuery.isEmptyObject(prop)){return this.each(optall.complete,[false]);}prop=jQuery.extend({},prop);function doAnimation(){if(optall.queue===false){jQuery._mark(this);}var opt=jQuery.extend({},optall),isElement=this.nodeType===1,hidden=isElement&&jQuery(this).is(":hidden"),name,val,p,e,parts,start,end,unit,method;opt.animatedProperties={};for(p in prop){name=jQuery.camelCase(p);if(p!==name){prop[name]=prop[p];delete prop[p];}val=prop[name];if(jQuery.isArray(val)){opt.animatedProperties[name]=val[1];val=prop[name]=val[0];}else{opt.animatedProperties[name]=opt.specialEasing&&opt.specialEasing[name]||opt.easing||'swing';}if(val==="hide"&&hidden||val==="show"&&!hidden){return opt.complete.call(this);}if(isElement&&(name==="height"||name==="width")){opt.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(jQuery.css(this,"display")==="inline"&&jQuery.css(this,"float")==="none"){if(!jQuery.support.inlineBlockNeedsLayout||defaultDisplay(this.nodeName)==="inline"){this
    126 .style.display="inline-block";}else{this.style.zoom=1;}}}}if(opt.overflow!=null){this.style.overflow="hidden";}for(p in prop){e=new jQuery.fx(this,opt,p);val=prop[p];if(rfxtypes.test(val)){method=jQuery._data(this,"toggle"+p)||(val==="toggle"?hidden?"show":"hide":0);if(method){jQuery._data(this,"toggle"+p,method==="show"?"hide":"show");e[method]();}else{e[val]();}}else{parts=rfxnum.exec(val);start=e.cur();if(parts){end=parseFloat(parts[2]);unit=parts[3]||(jQuery.cssNumber[p]?"":"px");if(unit!=="px"){jQuery.style(this,p,(end||1)+unit);start=((end||1)/e.cur())*start;jQuery.style(this,p,start+unit);}if(parts[1]){end=((parts[1]==="-="?-1:1)*end)+start;}e.custom(start,end,unit);}else{e.custom(start,val,"");}}}return true;}return optall.queue===false?this.each(doAnimation):this.queue(optall.queue,doAnimation);},stop:function(type,clearQueue,gotoEnd){if(typeof type!=="string"){gotoEnd=clearQueue;clearQueue=type;type=undefined;}if(clearQueue&&type!==false){this.queue(type||"fx",[]);}return this
    127 .each(function(){var index,hadTimers=false,timers=jQuery.timers,data=jQuery._data(this);if(!gotoEnd){jQuery._unmark(true,this);}function stopQueue(elem,data,index){var hooks=data[index];jQuery.removeData(elem,index,true);hooks.stop(gotoEnd);}if(type==null){for(index in data){if(data[index]&&data[index].stop&&index.indexOf(".run")===index.length-4){stopQueue(this,data,index);}}}else if(data[index=type+".run"]&&data[index].stop){stopQueue(this,data,index);}for(index=timers.length;index--;){if(timers[index].elem===this&&(type==null||timers[index].queue===type)){if(gotoEnd){timers[index](true);}else{timers[index].saveState();}hadTimers=true;timers.splice(index,1);}}if(!(gotoEnd&&hadTimers)){jQuery.dequeue(this,type);}});}});function createFxNow(){setTimeout(clearFxNow,0);return(fxNow=jQuery.now());}function clearFxNow(){fxNow=undefined;}function genFx(type,num){var obj={};jQuery.each(fxAttrs.concat.apply([],fxAttrs.slice(0,num)),function(){obj[this]=type;});return obj;}jQuery.each({
    128 slideDown:genFx("show",1),slideUp:genFx("hide",1),slideToggle:genFx("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(name,props){jQuery.fn[name]=function(speed,easing,callback){return this.animate(props,speed,easing,callback);};});jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&typeof speed==="object"?jQuery.extend({},speed):{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};opt.duration=jQuery.fx.off?0:typeof opt.duration==="number"?opt.duration:opt.duration in jQuery.fx.speeds?jQuery.fx.speeds[opt.duration]:jQuery.fx.speeds._default;if(opt.queue==null||opt.queue===true){opt.queue="fx";}opt.old=opt.complete;opt.complete=function(noUnmark){if(jQuery.isFunction(opt.old)){opt.old.call(this);}if(opt.queue){jQuery.dequeue(this,opt.queue);}else if(noUnmark!==false){jQuery._unmark(this);}};return opt;},easing:{linear:function(p,n,firstNum,
    129 diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;options.orig=options.orig||{};}});jQuery.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);}(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}var parsed,r=jQuery.css(this.elem,this.prop);return isNaN(parsed=parseFloat(r))?!r||r==="auto"?0:r:parsed;},custom:function(from,to,unit){var self=this,fx=jQuery.fx;this.startTime=fxNow||createFxNow();this.end=to;this.now=this.start=from;this.pos=this.state=0;this.unit=unit||this.unit||(jQuery.cssNumber[this.prop]?"":"px");function t(gotoEnd){return self.step(gotoEnd);}t.queue=this.options.queue;t.elem=this.elem;t.saveState=function(){if(self.options.
    130 hide&&jQuery._data(self.elem,"fxshow"+self.prop)===undefined){jQuery._data(self.elem,"fxshow"+self.prop,self.start);}};if(t()&&jQuery.timers.push(t)&&!timerId){timerId=setInterval(fx.tick,fx.interval);}},show:function(){var dataShow=jQuery._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=dataShow||jQuery.style(this.elem,this.prop);this.options.show=true;if(dataShow!==undefined){this.custom(this.cur(),dataShow);}else{this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());}jQuery(this.elem).show();},hide:function(){this.options.orig[this.prop]=jQuery._data(this.elem,"fxshow"+this.prop)||jQuery.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(gotoEnd){var p,n,complete,t=fxNow||createFxNow(),done=true,elem=this.elem,options=this.options;if(gotoEnd||t>=options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();options.animatedProperties[this.prop]=true;for(p in options.animatedProperties){
    131 if(options.animatedProperties[p]!==true){done=false;}}if(done){if(options.overflow!=null&&!jQuery.support.shrinkWrapBlocks){jQuery.each(["","X","Y"],function(index,value){elem.style["overflow"+value]=options.overflow[index];});}if(options.hide){jQuery(elem).hide();}if(options.hide||options.show){for(p in options.animatedProperties){jQuery.style(elem,p,options.orig[p]);jQuery.removeData(elem,"fxshow"+p,true);jQuery.removeData(elem,"toggle"+p,true);}}complete=options.complete;if(complete){options.complete=false;complete.call(elem);}}return false;}else{if(options.duration==Infinity){this.now=t;}else{n=t-this.startTime;this.state=n/options.duration;this.pos=jQuery.easing[options.animatedProperties[this.prop]](this.state,n,0,1,options.duration);this.now=this.start+((this.end-this.start)*this.pos);}this.update();}return true;}};jQuery.extend(jQuery.fx,{tick:function(){var timer,timers=jQuery.timers,i=0;for(;i<timers.length;i++){timer=timers[i];if(!timer()&&timers[i]===timer){timers.splice(i--
    132 ,1);}}if(!timers.length){jQuery.fx.stop();}},interval:13,stop:function(){clearInterval(timerId);timerId=null;},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(fx){jQuery.style(fx.elem,"opacity",fx.now);},_default:function(fx){if(fx.elem.style&&fx.elem.style[fx.prop]!=null){fx.elem.style[fx.prop]=fx.now+fx.unit;}else{fx.elem[fx.prop]=fx.now;}}}});jQuery.each(["width","height"],function(i,prop){jQuery.fx.step[prop]=function(fx){jQuery.style(fx.elem,prop,Math.max(0,fx.now)+fx.unit);};});if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem;}).length;};}function defaultDisplay(nodeName){if(!elemdisplay[nodeName]){var body=document.body,elem=jQuery("<"+nodeName+">").appendTo(body),display=elem.css("display");elem.remove();if(display==="none"||display===""){if(!iframe){iframe=document.createElement("iframe");iframe.frameBorder=iframe.width=iframe.height=0;}body.appendChild(iframe);if
    133 (!iframeDoc||!iframe.createElement){iframeDoc=(iframe.contentWindow||iframe.contentDocument).document;iframeDoc.write((document.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");iframeDoc.close();}elem=iframeDoc.createElement(nodeName);iframeDoc.body.appendChild(elem);display=jQuery.css(elem,"display");body.removeChild(iframe);}elemdisplay[nodeName]=display;}return elemdisplay[nodeName];}var rtable=/^t(?:able|d|h)$/i,rroot=/^(?:body|html)$/i;if("getBoundingClientRect"in document.documentElement){jQuery.fn.offset=function(options){var elem=this[0],box;if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i);});}if(!elem||!elem.ownerDocument){return null;}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem);}try{box=elem.getBoundingClientRect();}catch(e){}var doc=elem.ownerDocument,docElem=doc.documentElement;if(!box||!jQuery.contains(docElem,elem)){return box?{top:box.top,left:box.left}:{top:0,left:0};}var body=doc.body,win=
    134 getWindow(doc),clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,scrollTop=win.pageYOffset||jQuery.support.boxModel&&docElem.scrollTop||body.scrollTop,scrollLeft=win.pageXOffset||jQuery.support.boxModel&&docElem.scrollLeft||body.scrollLeft,top=box.top+scrollTop-clientTop,left=box.left+scrollLeft-clientLeft;return{top:top,left:left};};}else{jQuery.fn.offset=function(options){var elem=this[0];if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i);});}if(!elem||!elem.ownerDocument){return null;}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem);}var computedStyle,offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle,top=elem.offsetTop,left=elem.offsetLeft;while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){if(
    135 jQuery.support.fixedPosition&&prevComputedStyle.position==="fixed"){break;}computedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle;top-=elem.scrollTop;left-=elem.scrollLeft;if(elem===offsetParent){top+=elem.offsetTop;left+=elem.offsetLeft;if(jQuery.support.doesNotAddBorder&&!(jQuery.support.doesAddBorderForTableAndCells&&rtable.test(elem.nodeName))){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0;}prevOffsetParent=offsetParent;offsetParent=elem.offsetParent;}if(jQuery.support.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible"){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0;}prevComputedStyle=computedStyle;}if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static"){top+=body.offsetTop;left+=body.offsetLeft;}if(jQuery.support.fixedPosition&&prevComputedStyle.position==="fixed"){top+=Math.max(docElem.scrollTop,
    136 body.scrollTop);left+=Math.max(docElem.scrollLeft,body.scrollLeft);}return{top:top,left:left};};}jQuery.offset={bodyOffset:function(body){var top=body.offsetTop,left=body.offsetLeft;if(jQuery.support.doesNotIncludeMarginInBodyOffset){top+=parseFloat(jQuery.css(body,"marginTop"))||0;left+=parseFloat(jQuery.css(body,"marginLeft"))||0;}return{top:top,left:left};},setOffset:function(elem,options,i){var position=jQuery.css(elem,"position");if(position==="static"){elem.style.position="relative";}var curElem=jQuery(elem),curOffset=curElem.offset(),curCSSTop=jQuery.css(elem,"top"),curCSSLeft=jQuery.css(elem,"left"),calculatePosition=(position==="absolute"||position==="fixed")&&jQuery.inArray("auto",[curCSSTop,curCSSLeft])>-1,props={},curPosition={},curTop,curLeft;if(calculatePosition){curPosition=curElem.position();curTop=curPosition.top;curLeft=curPosition.left;}else{curTop=parseFloat(curCSSTop)||0;curLeft=parseFloat(curCSSLeft)||0;}if(jQuery.isFunction(options)){options=options.call(elem,i,
    137 curOffset);}if(options.top!=null){props.top=(options.top-curOffset.top)+curTop;}if(options.left!=null){props.left=(options.left-curOffset.left)+curLeft;}if("using"in options){options.using.call(elem,props);}else{curElem.css(props);}}};jQuery.fn.extend({position:function(){if(!this[0]){return null;}var elem=this[0],offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=rroot.test(offsetParent[0].nodeName)?{top:0,left:0}:offsetParent.offset();offset.top-=parseFloat(jQuery.css(elem,"marginTop"))||0;offset.left-=parseFloat(jQuery.css(elem,"marginLeft"))||0;parentOffset.top+=parseFloat(jQuery.css(offsetParent[0],"borderTopWidth"))||0;parentOffset.left+=parseFloat(jQuery.css(offsetParent[0],"borderLeftWidth"))||0;return{top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};},offsetParent:function(){return this.map(function(){var offsetParent=this.offsetParent||document.body;while(offsetParent&&(!rroot.test(offsetParent.nodeName)&&jQuery.css(offsetParent,"position")
    138 ==="static")){offsetParent=offsetParent.offsetParent;}return offsetParent;});}});jQuery.each(["Left","Top"],function(i,name){var method="scroll"+name;jQuery.fn[method]=function(val){var elem,win;if(val===undefined){elem=this[0];if(!elem){return null;}win=getWindow(elem);return win?("pageXOffset"in win)?win[i?"pageYOffset":"pageXOffset"]:jQuery.support.boxModel&&win.document.documentElement[method]||win.document.body[method]:elem[method];}return this.each(function(){win=getWindow(this);if(win){win.scrollTo(!i?val:jQuery(win).scrollLeft(),i?val:jQuery(win).scrollTop());}else{this[method]=val;}});};});function getWindow(elem){return jQuery.isWindow(elem)?elem:elem.nodeType===9?elem.defaultView||elem.parentWindow:false;}jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn["inner"+name]=function(){var elem=this[0];return elem?elem.style?parseFloat(jQuery.css(elem,type,"padding")):this[type]():null;};jQuery.fn["outer"+name]=function(margin){var elem=this[0];
    139 return elem?elem.style?parseFloat(jQuery.css(elem,type,margin?"margin":"border")):this[type]():null;};jQuery.fn[type]=function(size){var elem=this[0];if(!elem){return size==null?null:this;}if(jQuery.isFunction(size)){return this.each(function(i){var self=jQuery(this);self[type](size.call(this,i,self[type]()));});}if(jQuery.isWindow(elem)){var docElemProp=elem.document.documentElement["client"+name],body=elem.document.body;return elem.document.compatMode==="CSS1Compat"&&docElemProp||body&&body["client"+name]||docElemProp;}else if(elem.nodeType===9){return Math.max(elem.documentElement["client"+name],elem.body["scroll"+name],elem.documentElement["scroll"+name],elem.body["offset"+name],elem.documentElement["offset"+name]);}else if(size===undefined){var orig=jQuery.css(elem,type),ret=parseFloat(orig);return jQuery.isNumeric(ret)?ret:orig;}else{return this.css(type,typeof size==="string"?size:size+"px");}};});window.jQuery=window.$=jQuery;if(typeof define==="function"&&define.amd&&define.
    140 amd.jQuery){define("jquery",[],function(){return jQuery;});}})(window);;var mw=(function($,undefined){"use strict";var hasOwn=Object.prototype.hasOwnProperty;function Map(global){this.values=global===true?window:{};return this;}Map.prototype={get:function(selection,fallback){var results,i;if($.isArray(selection)){selection=$.makeArray(selection);results={};for(i=0;i<selection.length;i+=1){results[selection[i]]=this.get(selection[i],fallback);}return results;}else if(typeof selection==='string'){if(this.values[selection]===undefined){if(fallback!==undefined){return fallback;}return null;}return this.values[selection];}if(selection===undefined){return this.values;}else{return null;}},set:function(selection,value){var s;if($.isPlainObject(selection)){for(s in selection){this.values[s]=selection[s];}return true;}else if(typeof selection==='string'&&value!==undefined){this.values[selection]=value;return true;}return false;},exists:function(selection){var s;if($.isArray(selection)){for(s=0;s
    141 <selection.length;s+=1){if(this.values[selection[s]]===undefined){return false;}}return true;}else{return this.values[selection]!==undefined;}}};function Message(map,key,parameters){this.format='plain';this.map=map;this.key=key;this.parameters=parameters===undefined?[]:$.makeArray(parameters);return this;}Message.prototype={parser:function(){var parameters=this.parameters;return this.map.get(this.key).replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+match;});},params:function(parameters){var i;for(i=0;i<parameters.length;i+=1){this.parameters.push(parameters[i]);}return this;},toString:function(){var text;if(!this.exists()){if(this.format!=='plain'){return mw.html.escape('<'+this.key+'>');}return'<'+this.key+'>';}if(this.format==='plain'){text=this.parser();}if(this.format==='escaped'){text=this.parser();text=mw.html.escape(text);}if(this.format==='parse'){text=this.parser();}return text;},parse:function(){
    142 this.format='parse';return this.toString();},plain:function(){this.format='plain';return this.toString();},escaped:function(){this.format='escaped';return this.toString();},exists:function(){return this.map.exists(this.key);}};return{log:function(){},Map:Map,Message:Message,config:null,libs:{},legacy:{},messages:new Map(),message:function(key,parameter_1){var parameters;if(parameter_1!==undefined){parameters=$.makeArray(arguments);parameters.shift();}else{parameters=[];}return new Message(mw.messages,key,parameters);},msg:function(key,parameters){return mw.message.apply(mw.message,arguments).toString();},loader:(function(){var registry={},sources={},batch=[],queue=[],jobs=[],ready=false,$marker=null;$(document).ready(function(){ready=true;});function getMarker(){if($marker){return $marker;}else{$marker=$('meta[name="ResourceLoaderDynamicStyles"]');if($marker.length){return $marker;}mw.log('getMarker> No <meta name="ResourceLoaderDynamicStyles"> found, inserting dynamically.');$marker=$
    143 ('<meta>').attr('name','ResourceLoaderDynamicStyles').appendTo('head');return $marker;}}function addInlineCSS(css,media){var $style=getMarker().prev(),$newStyle,attrs={'type':'text/css','media':media};if($style.is('style')&&$style.data('ResourceLoaderDynamicStyleTag')===true){try{css=$(mw.html.element('style',{},new mw.html.Cdata("\n\n"+css))).html();$style.append(css);}catch(e){css=$style.html()+"\n\n"+css;$newStyle=$(mw.html.element('style',attrs,new mw.html.Cdata(css))).data('ResourceLoaderDynamicStyleTag',true);$style.after($newStyle);$style.remove();}}else{$style=$(mw.html.element('style',attrs,new mw.html.Cdata(css)));$style.data('ResourceLoaderDynamicStyleTag',true);getMarker().before($style);}}function compare(a,b){var i;if(a.length!==b.length){return false;}for(i=0;i<b.length;i+=1){if($.isArray(a[i])){if(!compare(a[i],b[i])){return false;}}if(a[i]!==b[i]){return false;}}return true;}function formatVersionNumber(timestamp){var pad=function(a,b,c){return[a<10?'0'+a:a,b<10?'0'+b:
    144 b,c<10?'0'+c:c].join('');},d=new Date();d.setTime(timestamp*1000);return[pad(d.getUTCFullYear(),d.getUTCMonth()+1,d.getUTCDate()),'T',pad(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds()),'Z'].join('');}function recurse(module,resolved,unresolved){var n,deps,len;if(registry[module]===undefined){throw new Error('Unknown dependency: '+module);}if($.isFunction(registry[module].dependencies)){registry[module].dependencies=registry[module].dependencies();if(typeof registry[module].dependencies!=='object'){registry[module].dependencies=[registry[module].dependencies];}}deps=registry[module].dependencies;len=deps.length;for(n=0;n<len;n+=1){if($.inArray(deps[n],resolved)===-1){if($.inArray(deps[n],unresolved)!==-1){throw new Error('Circular reference detected: '+module+' -> '+deps[n]);}unresolved[unresolved.length]=module;recurse(deps[n],resolved,unresolved);unresolved.pop();}}resolved[resolved.length]=module;}function resolve(module){var modules,m,deps,n,resolved;if($.isArray(module)){
    145 modules=[];for(m=0;m<module.length;m+=1){deps=resolve(module[m]);for(n=0;n<deps.length;n+=1){modules[modules.length]=deps[n];}}return modules;}else if(typeof module==='string'){resolved=[];recurse(module,resolved,[]);return resolved;}throw new Error('Invalid module argument: '+module);}function filter(states,modules){var list,module,s,m;if(typeof states==='string'){states=[states];}list=[];if(modules===undefined){modules=[];for(module in registry){modules[modules.length]=module;}}for(s=0;s<states.length;s+=1){for(m=0;m<modules.length;m+=1){if(registry[modules[m]]===undefined){if(states[s]==='unregistered'){list[list.length]=modules[m];}}else{if(registry[modules[m]].state===states[s]){list[list.length]=modules[m];}}}}return list;}function handlePending(module){var j,r;try{for(j=0;j<jobs.length;j+=1){if(compare(filter('ready',jobs[j].dependencies),jobs[j].dependencies)){var callback=jobs[j].ready;jobs.splice(j,1);j-=1;if($.isFunction(callback)){callback();}}}for(r in registry){if(
    146 registry[r].state==='loaded'){if(compare(filter(['ready'],registry[r].dependencies),registry[r].dependencies)){execute(r);}}}}catch(e){for(j=0;j<jobs.length;j+=1){if($.inArray(module,jobs[j].dependencies)!==-1){if($.isFunction(jobs[j].error)){jobs[j].error(e,module);}jobs.splice(j,1);j-=1;}}throw e;}}function addScript(src,callback,async){var done=false,script,head;if(ready||async){script=document.createElement('script');script.setAttribute('src',src);script.setAttribute('type','text/javascript');if($.isFunction(callback)){script.onload=script.onreadystatechange=function(){if(!done&&(!script.readyState||/loaded|complete/.test(script.readyState))){done=true;callback();try{script.onload=script.onreadystatechange=null;if(script.parentNode){script.parentNode.removeChild(script);}script=undefined;}catch(e){}}};}if(window.opera){$(function(){document.body.appendChild(script);});}else{head=document.getElementsByTagName('head')[0];(document.body||head).appendChild(script);}}else{document.write
    147 (mw.html.element('script',{'type':'text/javascript','src':src},''));if($.isFunction(callback)){callback();}}}function execute(module,callback){var style,media,i,script,markModuleReady,nestedAddScript;if(registry[module]===undefined){throw new Error('Module has not been registered yet: '+module);}else if(registry[module].state==='registered'){throw new Error('Module has not been requested from the server yet: '+module);}else if(registry[module].state==='loading'){throw new Error('Module has not completed loading yet: '+module);}else if(registry[module].state==='ready'){throw new Error('Module has already been loaded: '+module);}if($.isPlainObject(registry[module].style)){for(media in registry[module].style){style=registry[module].style[media];if($.isArray(style)){for(i=0;i<style.length;i+=1){getMarker().before(mw.html.element('link',{'type':'text/css','media':media,'rel':'stylesheet','href':style[i]}));}}else if(typeof style==='string'){addInlineCSS(style,media);}}}if($.isPlainObject(
    148 registry[module].messages)){mw.messages.set(registry[module].messages);}try{script=registry[module].script;markModuleReady=function(){registry[module].state='ready';handlePending(module);if($.isFunction(callback)){callback();}};nestedAddScript=function(arr,callback,async,i){if(i>=arr.length){callback();return;}addScript(arr[i],function(){nestedAddScript(arr,callback,async,i+1);},async);};if($.isArray(script)){registry[module].state='loading';nestedAddScript(script,markModuleReady,registry[module].async,0);}else if($.isFunction(script)){script($);markModuleReady();}}catch(e){if(window.console&&typeof window.console.log==='function'){console.log('mw.loader::execute> Exception thrown by '+module+': '+e.message);}registry[module].state='error';}}function request(dependencies,ready,error,async){var regItemDeps,regItemDepLen,n;if(typeof dependencies==='string'){dependencies=[dependencies];if(registry[dependencies[0]]!==undefined){regItemDeps=registry[dependencies[0]].dependencies;
    149 regItemDepLen=regItemDeps.length;for(n=0;n<regItemDepLen;n+=1){dependencies[dependencies.length]=regItemDeps[n];}}}if(arguments.length>1){jobs[jobs.length]={'dependencies':filter(['registered','loading','loaded'],dependencies),'ready':ready,'error':error};}dependencies=filter(['registered'],dependencies);for(n=0;n<dependencies.length;n+=1){if($.inArray(dependencies[n],queue)===-1){queue[queue.length]=dependencies[n];if(async){registry[dependencies[n]].async=true;}}}mw.loader.work();}function sortQuery(o){var sorted={},key,a=[];for(key in o){if(hasOwn.call(o,key)){a.push(key);}}a.sort();for(key=0;key<a.length;key+=1){sorted[a[key]]=o[a[key]];}return sorted;}function buildModulesString(moduleMap){var arr=[],p,prefix;for(prefix in moduleMap){p=prefix===''?'':prefix+'.';arr.push(p+moduleMap[prefix].join(','));}return arr.join('|');}function doRequest(moduleMap,currReqBase,sourceLoadScript,async){var request=$.extend({'modules':buildModulesString(moduleMap)},currReqBase);request=sortQuery(
    150 request);addScript(sourceLoadScript+'?'+$.param(request)+'&*',null,async);}return{work:function(){var reqBase,splits,maxQueryLength,q,b,bSource,bGroup,bSourceGroup,source,group,g,i,modules,maxVersion,sourceLoadScript,currReqBase,currReqBaseLength,moduleMap,l,lastDotIndex,prefix,suffix,bytesAdded,async;reqBase={skin:mw.config.get('skin'),lang:mw.config.get('wgUserLanguage'),debug:mw.config.get('debug')};splits={};maxQueryLength=mw.config.get('wgResourceLoaderMaxQueryLength',-1);for(q=0;q<queue.length;q+=1){if(registry[queue[q]]!==undefined&&registry[queue[q]].state==='registered'){if($.inArray(queue[q],batch)===-1){batch[batch.length]=queue[q];registry[queue[q]].state='loading';}}}if(!batch.length){return;}queue=[];batch.sort();for(b=0;b<batch.length;b+=1){bSource=registry[batch[b]].source;bGroup=registry[batch[b]].group;if(splits[bSource]===undefined){splits[bSource]={};}if(splits[bSource][bGroup]===undefined){splits[bSource][bGroup]=[];}bSourceGroup=splits[bSource][bGroup];
    151 bSourceGroup[bSourceGroup.length]=batch[b];}batch=[];for(source in splits){sourceLoadScript=sources[source].loadScript;for(group in splits[source]){modules=splits[source][group];maxVersion=0;for(g=0;g<modules.length;g+=1){if(registry[modules[g]].version>maxVersion){maxVersion=registry[modules[g]].version;}}currReqBase=$.extend({'version':formatVersionNumber(maxVersion)},reqBase);currReqBaseLength=$.param(currReqBase).length;async=true;l=currReqBaseLength+9;moduleMap={};for(i=0;i<modules.length;i+=1){lastDotIndex=modules[i].lastIndexOf('.');prefix=modules[i].substr(0,lastDotIndex);suffix=modules[i].substr(lastDotIndex+1);bytesAdded=moduleMap[prefix]!==undefined?suffix.length+3:modules[i].length+3;if(maxQueryLength>0&&!$.isEmptyObject(moduleMap)&&l+bytesAdded>maxQueryLength){doRequest(moduleMap,currReqBase,sourceLoadScript,async);moduleMap={};async=true;l=currReqBaseLength+9;}if(moduleMap[prefix]===undefined){moduleMap[prefix]=[];}moduleMap[prefix].push(suffix);if(!registry[modules[i]].
    152 async){async=false;}l+=bytesAdded;}if(!$.isEmptyObject(moduleMap)){doRequest(moduleMap,currReqBase,sourceLoadScript,async);}}}},addSource:function(id,props){var source;if(typeof id==='object'){for(source in id){mw.loader.addSource(source,id[source]);}return true;}if(sources[id]!==undefined){throw new Error('source already registered: '+id);}sources[id]=props;return true;},register:function(module,version,dependencies,group,source){var m;if(typeof module==='object'){for(m=0;m<module.length;m+=1){if(typeof module[m]==='string'){mw.loader.register(module[m]);}else if(typeof module[m]==='object'){mw.loader.register.apply(mw.loader,module[m]);}}return;}if(typeof module!=='string'){throw new Error('module must be a string, not a '+typeof module);}if(registry[module]!==undefined){throw new Error('module already registered: '+module);}registry[module]={'version':version!==undefined?parseInt(version,10):0,'dependencies':[],'group':typeof group==='string'?group:null,'source':typeof source===
    153 'string'?source:'local','state':'registered'};if(typeof dependencies==='string'){registry[module].dependencies=[dependencies];}else if(typeof dependencies==='object'||$.isFunction(dependencies)){registry[module].dependencies=dependencies;}},implement:function(module,script,style,msgs){if(typeof module!=='string'){throw new Error('module must be a string, not a '+typeof module);}if(!$.isFunction(script)&&!$.isArray(script)){throw new Error('script must be a function or an array, not a '+typeof script);}if(!$.isPlainObject(style)){throw new Error('style must be an object, not a '+typeof style);}if(!$.isPlainObject(msgs)){throw new Error('msgs must be an object, not a '+typeof msgs);}if(registry[module]===undefined){mw.loader.register(module);}if(registry[module]!==undefined&&registry[module].script!==undefined){throw new Error('module already implemented: '+module);}registry[module].state='loaded';registry[module].script=script;registry[module].style=style;registry[module].messages=msgs;
    154 if(compare(filter(['ready'],registry[module].dependencies),registry[module].dependencies)){execute(module);}},using:function(dependencies,ready,error){var tod=typeof dependencies;if(tod!=='object'&&tod!=='string'){throw new Error('dependencies must be a string or an array, not a '+tod);}if(tod==='string'){dependencies=[dependencies];}dependencies=resolve(dependencies);if(compare(filter(['ready'],dependencies),dependencies)){if($.isFunction(ready)){ready();}}else if(filter(['error'],dependencies).length){if($.isFunction(error)){error(new Error('one or more dependencies have state "error"'),dependencies);}}else{request(dependencies,ready,error);}},load:function(modules,type,async){var filtered,m;if(typeof modules!=='object'&&typeof modules!=='string'){throw new Error('modules must be a string or an array, not a '+typeof modules);}if(typeof modules==='string'){if(/^(https?:)?\/\//.test(modules)){if(async===undefined){async=true;}if(type==='text/css'){$('head').append($('<link>',{rel:
    155 'stylesheet',type:'text/css',href:modules}));return;}else if(type==='text/javascript'||type===undefined){addScript(modules,null,async);return;}throw new Error('invalid type for external url, must be text/css or text/javascript. not '+type);}modules=[modules];}for(filtered=[],m=0;m<modules.length;m+=1){if(registry[modules[m]]!==undefined){filtered[filtered.length]=modules[m];}}filtered=resolve(filtered);if(compare(filter(['ready'],filtered),filtered)){return;}else if(filter(['error'],filtered).length){return;}else{request(filtered,null,null,async);return;}},state:function(module,state){var m;if(typeof module==='object'){for(m in module){mw.loader.state(m,module[m]);}return;}if(registry[module]===undefined){mw.loader.register(module);}registry[module].state=state;},getVersion:function(module){if(registry[module]!==undefined&&registry[module].version!==undefined){return formatVersionNumber(registry[module].version);}return null;},version:function(){return mw.loader.getVersion.apply(mw.
    156 loader,arguments);},getState:function(module){if(registry[module]!==undefined&&registry[module].state!==undefined){return registry[module].state;}return null;},getModuleNames:function(){return $.map(registry,function(i,key){return key;});},go:function(){mw.loader.load('mediawiki.user');}};}()),html:(function(){function escapeCallback(s){switch(s){case"'":return'&#039;';case'"':return'&quot;';case'<':return'&lt;';case'>':return'&gt;';case'&':return'&amp;';}}return{escape:function(s){return s.replace(/['"<>&]/g,escapeCallback);},Raw:function(value){this.value=value;},Cdata:function(value){this.value=value;},element:function(name,attrs,contents){var v,attrName,s='<'+name;for(attrName in attrs){v=attrs[attrName];if(v===true){v=attrName;}else if(v===false){continue;}s+=' '+attrName+'="'+this.escape(String(v))+'"';}if(contents===undefined||contents===null){s+='/>';return s;}s+='>';switch(typeof contents){case'string':s+=this.escape(contents);break;case'number':case'boolean':s+=String(
    157 contents);break;default:if(contents instanceof this.Raw){s+=contents.value;}else if(contents instanceof this.Cdata){if(/<\/[a-zA-z]/.test(contents.value)){throw new Error('mw.html.element: Illegal end tag found in CDATA');}s+=contents.value;}else{throw new Error('mw.html.element: Invalid type of contents');}}s+='</'+name+'>';return s;}};})(),user:{options:new Map(),tokens:new Map()}};})(jQuery);window.$j=jQuery;window.mw=window.mediaWiki=mw;if(typeof startUp!=='undefined'&&jQuery.isFunction(startUp)){startUp();startUp=undefined;};mw.loader.state({"jquery":"ready","mediawiki":"ready"});
     1#interwiki-completelist{font-weight:bold}body.page-Main_Page #ca-delete{display:none !important}body.page-Main_Page #mp-topbanner{clear:both} body.page-Main_Page h1.firstHeading{display:none} table.hovertable{margin:1em 1em 1em 0;background-color:#f9f9f9;border:1px #aaa solid;border-collapse:collapse;color:black}.hovertable td{border:none;padding:0.2em}.hovertable td.hovercell{border:1px #aaa solid;padding:0.2em}.hovertable td.embedded{background-image:repeating-linear-gradient(-45deg,transparent,transparent 10px,rgba(0,0,255,0.2) 10px,rgba(0,0,255,0.2) 20px);background-image:-webkit-repeating-linear-gradient(-45deg,transparent,transparent 10px,rgba(0,0,255,0.2) 10px,rgba(0,0,255,0.2) 20px)}.hovertable td.hovertable_descrip{border:1px #aaa solid;padding:0.2em;position:fixed} #toolbar{height:22px;margin-bottom:6px} div#content ol,div#content ul,div#mw_content ol,div#mw_content ul{margin-bottom:0.5em} ol.references,div.reflist,div.refbegin{font-size:90%; }div.reflist ol.references{font-size:100%; list-style-type:inherit; } ol.references li:target,sup.reference:target,span.citation:target{background-color:#DEF} sup.reference{font-weight:normal;font-style:normal} span.brokenref{display:none} .citation{word-wrap:break-word} cite,.citation cite.article,.citation cite.contribution{font-style:inherit} .citation cite,.citation cite.periodical{font-style:italic} @media screen,handheld{.citation *.printonly{display:none}} table.navbox{ border:1px solid #aaa;width:100%;margin:auto;clear:both;font-size:88%;text-align:center;padding:1px}table.navbox + table.navbox{ margin-top:-1px; }.navbox-title,.navbox-abovebelow,table.navbox th{text-align:center; padding-left:1em;padding-right:1em}.navbox-group{ white-space:nowrap;text-align:right;font-weight:bold;padding-left:1em;padding-right:1em}.navbox,.navbox-subgroup{background:#fdfdfd; }.navbox-list{border-color:#fdfdfd; }.navbox-title,table.navbox th{background:#ccccff; }.navbox-abovebelow,.navbox-group,.navbox-subgroup .navbox-title{background:#ddddff; }.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow{background:#e6e6ff; }.navbox-even{background:#f7f7f7; }.navbox-odd{background:transparent; }.collapseButton{ float:right; font-weight:normal; text-align:right; width:auto}.navbox .collapseButton{ width:6em; } .navbar{ font-size:88%; font-weight:normal}.navbox .navbar{font-size:100%; } .infobox{border:1px solid #aaa;background-color:#f9f9f9;color:black;margin:0.5em 0 0.5em 1em;padding:0.2em;float:right;clear:right;text-align:left;font-size:88%;line-height:1.5em}.infobox caption{font-size:125%;font-weight:bold}.infobox td,.infobox th{vertical-align:top}.infobox.bordered{border-collapse:collapse}.infobox.bordered td,.infobox.bordered th{border:1px solid #aaa}.infobox.bordered .borderless td,.infobox.bordered .borderless th{border:0}.infobox.sisterproject{width:20em;font-size:90%}.infobox.standard-talk{border:1px solid #c0c090;background-color:#f8eaba}.infobox.standard-talk.bordered td,.infobox.standard-talk.bordered th{border:1px solid #c0c090} .infobox.bordered .mergedtoprow td,.infobox.bordered .mergedtoprow th{border:0;border-top:1px solid #aaa;border-right:1px solid #aaa}.infobox.bordered .mergedrow td,.infobox.bordered .mergedrow th{border:0;border-right:1px solid #aaa} .wikitable.plainrowheaders th[scope=row]{font-weight:normal;text-align:left} .wikitable td ul,.wikitable td ol,.wikitable td dl{text-align:left} div.columns-2 div.column{float:left;width:50%;min-width:300px}div.columns-3 div.column{float:left;width:33.3%;min-width:200px}div.columns-4 div.column{float:left;width:25%;min-width:150px}div.columns-5 div.column{float:left;width:20%;min-width:120px} .messagebox{border:1px solid #aaa;background-color:#f9f9f9;width:80%;margin:0 auto 1em auto;padding:.2em}.messagebox.merge{border:1px solid #c0b8cc;background-color:#f0e5ff;text-align:center}.messagebox.cleanup{border:1px solid #9f9fff;background-color:#efefff;text-align:center}.messagebox.standard-talk{border:1px solid #c0c090;background-color:#f8eaba;margin:4px auto} .mbox-inside .standard-talk,.messagebox.nested-talk{border:1px solid #c0c090;background-color:#f8eaba;width:100%;margin:2px 0;padding:2px}.messagebox.small{width:238px;font-size:85%;float:right;clear:both;margin:0 0 1em 1em;line-height:1.25em}.messagebox.small-talk{width:238px;font-size:85%;float:right;clear:both;margin:0 0 1em 1em;line-height:1.25em;background:#F8EABA} th.mbox-text,td.mbox-text{ border:none;padding:0.25em 0.9em; width:100%; }td.mbox-image{ border:none;padding:2px 0 2px 0.9em; text-align:center}td.mbox-imageright{ border:none;padding:2px 0.9em 2px 0; text-align:center}td.mbox-empty-cell{ border:none;padding:0px;width:1px} table.ambox{margin:0px 10%; border:1px solid #aaa;border-left:10px solid #1e90ff; background:#fbfbfb}table.ambox + table.ambox{ margin-top:-1px}.ambox th.mbox-text,.ambox td.mbox-text{ padding:0.25em 0.5em; }.ambox td.mbox-image{ padding:2px 0 2px 0.5em; }.ambox td.mbox-imageright{ padding:2px 0.5em 2px 0; }table.ambox-notice{border-left:10px solid #1e90ff; }table.ambox-speedy{border-left:10px solid #b22222; background:#fee; }table.ambox-delete{border-left:10px solid #b22222; }table.ambox-content{border-left:10px solid #f28500; }table.ambox-style{border-left:10px solid #f4c430; }table.ambox-move{border-left:10px solid #9932cc; }table.ambox-protection{border-left:10px solid #bba; } table.imbox{margin:4px 10%;border-collapse:collapse;border:3px solid #1e90ff; background:#fbfbfb}.imbox .mbox-text .imbox{ margin:0 -0.5em; display:block; }.mbox-inside .imbox{ margin:4px}table.imbox-notice{border:3px solid #1e90ff; }table.imbox-speedy{border:3px solid #b22222; background:#fee; }table.imbox-delete{border:3px solid #b22222; }table.imbox-content{border:3px solid #f28500; }table.imbox-style{border:3px solid #f4c430; }table.imbox-move{border:3px solid #9932cc; }table.imbox-protection{border:3px solid #bba; }table.imbox-license{border:3px solid #88a; background:#f7f8ff; }table.imbox-featured{border:3px solid #cba135; } table.cmbox{margin:3px 10%;border-collapse:collapse;border:1px solid #aaa;background:#DFE8FF; }table.cmbox-notice{background:#D8E8FF; }table.cmbox-speedy{margin-top:4px;margin-bottom:4px;border:4px solid #b22222; background:#FFDBDB; }table.cmbox-delete{background:#FFDBDB; }table.cmbox-content{background:#FFE7CE; }table.cmbox-style{background:#FFF9DB; }table.cmbox-move{background:#E4D8FF; }table.cmbox-protection{background:#EFEFE1; } table.ombox{margin:4px 10%;border-collapse:collapse;border:1px solid #aaa; background:#f9f9f9}table.ombox-notice{border:1px solid #aaa; }table.ombox-speedy{border:2px solid #b22222; background:#fee; }table.ombox-delete{border:2px solid #b22222; }table.ombox-content{border:1px solid #f28500; }table.ombox-style{border:1px solid #f4c430; }table.ombox-move{border:1px solid #9932cc; }table.ombox-protection{border:2px solid #bba; } table.tmbox{margin:4px 10%;border-collapse:collapse;border:1px solid #c0c090; background:#f8eaba}.mediawiki .mbox-inside .tmbox{ margin:2px 0; width:100%; }.mbox-inside .tmbox.mbox-small{ line-height:1.5em; font-size:100%; }table.tmbox-speedy{border:2px solid #b22222; background:#fee; }table.tmbox-delete{border:2px solid #b22222; }table.tmbox-content{border:2px solid #f28500; }table.tmbox-style{border:2px solid #f4c430; }table.tmbox-move{border:2px solid #9932cc; }table.tmbox-protection,table.tmbox-notice{border:1px solid #c0c090; } table.dmbox{clear:both;margin:0.9em 1em;border-top:1px solid #ccc;border-bottom:1px solid #ccc;background:transparent} table.fmbox{clear:both;margin:0.2em 0;width:100%;border:1px solid #aaa;background:#f9f9f9; }table.fmbox-system{background:#f9f9f9}table.fmbox-warning{border:1px solid #bb7070; background:#ffdbdb; }table.fmbox-editnotice{background:transparent} div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon{clear:both;margin:0.2em 0;border:1px solid #bb7070;background:#ffdbdb;padding:0.25em 0.9em} div.mw-lag-warn-normal,div.fmbox-system{clear:both;margin:0.2em 0;border:1px solid #aaa;background:#f9f9f9;padding:0.25em 0.9em} body.mediawiki table.mbox-small{ clear:right;float:right;margin:4px 0 4px 1em;width:238px;font-size:88%;line-height:1.25em}body.mediawiki table.mbox-small-left{ margin:4px 1em 4px 0;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em} .check-icon a.new{display:none;speak:none} .nounderlines a,.IPA a:link,.IPA a:visited{text-decoration:none} div.NavFrame{margin:0;padding:4px;border:1px solid #aaa;text-align:center;border-collapse:collapse;font-size:95%}div.NavFrame + div.NavFrame{border-top-style:none;border-top-style:hidden}div.NavPic{background-color:#fff;margin:0;padding:2px;float:left}div.NavFrame div.NavHead{height:1.6em;font-weight:bold;background-color:#ccf;position:relative}div.NavFrame p,div.NavFrame div.NavContent,div.NavFrame div.NavContent p{font-size:100%}div.NavEnd{margin:0;padding:0;line-height:1px;clear:both}a.NavToggle{position:absolute;top:0;right:3px;font-weight:normal;font-size:90%} .rellink,.dablink{font-style:italic;padding-left:2em;margin-bottom:0.5em}.rellink i,.dablink i{font-style:normal} .horizontal ul{padding:0;margin:0}.horizontal li{padding:0 0.6em 0 0.4em;display:inline;border-right:1px solid}.horizontal li:last-child{border-right:none;padding-right:0} .listify td{display:list-item}.listify tr{display:block}.listify table{display:block} .nonumtoc .tocnumber{display:none}.nonumtoc #toc ul,.nonumtoc .toc ul{line-height:1.5em;list-style:none;margin:.3em 0 0;padding:0}.nonumtoc #toc ul ul,.nonumtoc .toc ul ul{margin:0 0 0 2em} .toclimit-2 .toclevel-1 ul,.toclimit-3 .toclevel-2 ul,.toclimit-4 .toclevel-3 ul,.toclimit-5 .toclevel-4 ul,.toclimit-6 .toclevel-5 ul,.toclimit-7 .toclevel-6 ul{display:none} div.user-block{padding:5px;margin-bottom:0.5em;border:1px solid #A9A9A9;background-color:#FFEFD5} .nowraplinks a,.nowraplinks .selflink,span.texhtml,sup.reference a{white-space:nowrap} .template-documentation{clear:both;margin:1em 0 0 0;border:1px solid #aaa;background-color:#ecfcf4;padding:1em} .imagemap-inline div{display:inline} #wpUploadDescription{height:13em} sup,sub{line-height:1em} .thumbinner{min-width:100px}  div.thumb img.thumbimage{background-color:#fff} div#content .gallerybox div.thumb{background-color:#F9F9F9; } .gallerybox .thumb img,.filehistory a img,#file img{background:white url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat} .ns-0 .gallerybox .thumb img,.ns-2 .gallerybox .thumb img,.ns-100 .gallerybox .thumb img,.nochecker .gallerybox .thumb img{background:white} #mw-subcategories,#mw-pages,#mw-category-media,#filehistory,#wikiPreview,#wikiDiff{clear:both} .wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax,.wikiEditor-ui-toolbar .section-help .page-table td.syntax{font-family:monospace,"Courier New"} div.mw-geshi div,div.mw-geshi div pre,span.mw-geshi,tt,code,pre{font-family:monospace,"Courier New" !important;font-size:100%} ul.permissions-errors > li{list-style:none}ul.permissions-errors{margin:0} body.page-Special_UserLogin .mw-label label,body.page-Special_UserLogin_signup .mw-label label{white-space :nowrap} @media only screen and (max-device-width:480px){body{-webkit-text-size-adjust:none}} .transborder{border:solid transparent}* html .transborder{ border:solid #000001;filter:chroma(color=#000001)} ol.hlist,ul.hlist,.hlist ol,.hlist ul{margin:0 !important}.hlist li{padding:0em 0.6em 0em 0em;display:inline;background:url("http://upload.wikimedia.org/wikipedia/commons/d/da/Middot.png") no-repeat right}.hlist li:last-child{padding-right:0em;background:none} .breadcrumb{list-style:none;overflow:hidden;font:14px Helvetica,Arial,Sans-Serif}.breadcrumb li{float:left;margin-bottom:0}.breadcrumb li a{color:white;text-decoration:none;padding:10px 0 10px 45px;position:relative;display:block;float:left}.breadcrumb li a:after,.breadcrumb li a:before{content:" ";display:block;width:0;height:0;border-top:50px solid transparent; border-bottom:50px solid transparent;position:absolute;top:50%;margin-top:-50px;left:100%;z-index:2}.breadcrumb li a:before{border-left:31px solid white;margin-left:1px;z-index:1}.breadcrumb li:first-child a{padding-left:20px}.currentcrumb a{background:#069}.currentcrumb a:after{border-left:30px solid #069}.currentcrumb a:hover,.prevcrumb a:hover,.nextcrumb a:hover{background:#002d44}.currentcrumb a:hover:after,.prevcrumb a:hover:after,.nextcrumb a:hover:after{border-left-color:#002d44 !important}.prevcrumb a{background:#396}.prevcrumb a:after{border-left:30px solid #396}.nextcrumb a{background:#999}.nextcrumb a:after{border-left:30px solid #999} #userlogin{margin:0;width:90% !important;max-width:100% !important;padding:1.5em;padding-top:0.75em !important;border:0;-moz-box-shadow:inset 0 0px 10px rgba(0,0,0,0.35);-webkit-box-shadow:inset 0 0px 10px rgba(0,0,0,0.35);box-shadow:inset 0 0px 10px rgba(0,0,0,0.35);-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px;background:white;background:#fff;background:-moz-linear-gradient(bottom,#fff 90%,#F5F5F5 100%);background:-webkit-gradient(linear,left bottom,left top,color-stop(90%,#fff),color-stop(100%,#F5F5F5));background:-webkit-linear-gradient(bottom,#fff 90%,#F5F5F5 100%);background:-o-linear-gradient(bottom,#fff 90%,#F5F5F5 100%);background:-ms-linear-gradient(bottom,#fff 90%,#F5F5F5 100%);background:linear-gradient(bottom,#fff 90%,#fff 100%)} div#content a.external[href ^="https://"]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC)} .BSLFuncInfo{background:rgb(242,242,242);border-style:solid;border-color:rgb(125,125,125);border-radius:0.33em;border-width:0px 2px 2px 0px;padding:0px 0px 0px 10px} .BSLVarInfo{background:rgb(242,242,242);border-style:solid;border-color:rgb(125,125,125);border-radius:0.33em;border-width:0px 2px 2px 0px;padding:0px 10px 10px 10px}   div#mw-panel{position:fixed;height:100%; background-color:#F6F6F6;border-right:1px solid #A7D7F9} code{background-color:rgb(245,245,245)} table.diff,td.diff-otitle,td.diff-ntitle{background-color:white}td.diff-otitle,td.diff-ntitle{text-align:center} td.diff-marker{text-align:right;font-weight:bold;font-size:1.25em}td.diff-lineno{font-weight:bold}td.diff-addedline,td.diff-deletedline,td.diff-context{font-size:100%;vertical-align:center;white-space:-moz-pre-wrap;white-space:pre-wrap} td.diff-addedline,td.diff-deletedline{border-style:solid; border-width:1px 1px 1px 4px;border-radius:0.33em} td.diff-addedline{border-color:rgb(155,236,155)}td.diff-deletedline{border-color:rgb(255,228,156)} td.diff-addedline .diffchange,td.diff-deletedline .diffchange{background:rgb(215,175,255)} td.diff-context{background:rgb(242,242,242);color:rgb(51,51,51);border-style:solid;border-width:1px 1px 1px 4px;border-color:rgb(230,230,230);border-radius:0.33em} .diffchange{color:black;font-weight:bold;text-decoration:none}table.diff{border:none;width:98%;border-spacing:4px; table-layout:fixed}td.diff-addedline .diffchange,td.diff-deletedline .diffchange{border-radius:0.33em;padding:0.25em 0}table.diff td{padding:0.33em 0.66em;line-height:1.65em}table.diff col.diff-marker{width:2%}table.diff col.diff-content{width:48%}table.diff td div{ word-wrap:break-word; overflow:auto}@media print{  }
    1582
    159 /* cache key: oni_wiki:resourceloader:filter:minify-js:7:8f87392541be422f5616ba0b0d90b5dd */
     3/* cache key: oni_wiki:resourceloader:filter:minify-css:7:5a4937e3641a8b2f5057fceea62d6f5f */
  • Vago/trunk/Vago/help/XMLSNDD_files/load(2).php

    r771 r1054  
    1 mw.loader.implement("jquery.client",function($){(function($){var profileCache={};$.client={profile:function(nav){if(nav===undefined){nav=window.navigator;}if(profileCache[nav.userAgent]===undefined){var uk='unknown';var x='x';var wildUserAgents=['Opera','Navigator','Minefield','KHTML','Chrome','PLAYSTATION 3'];var userAgentTranslations=[[/(Firefox|MSIE|KHTML,\slike\sGecko|Konqueror)/,''],['Chrome Safari','Chrome'],['KHTML','Konqueror'],['Minefield','Firefox'],['Navigator','Netscape'],['PLAYSTATION 3','PS3']];var versionPrefixes=['camino','chrome','firefox','netscape','netscape6','opera','version','konqueror','lynx','msie','safari','ps3'];var versionSuffix='(\\/|\\;?\\s|)([a-z0-9\\.\\+]*?)(\\;|dev|rel|\\)|\\s|$)';var names=['camino','chrome','firefox','netscape','konqueror','lynx','msie','opera','safari','ipod','iphone','blackberry','ps3'];var nameTranslations=[];var layouts=['gecko','konqueror','msie','opera','webkit'];var layoutTranslations=[['konqueror','khtml'],['msie','trident'],[
    2 'opera','presto']];var layoutVersions=['applewebkit','gecko'];var platforms=['win','mac','linux','sunos','solaris','iphone'];var platformTranslations=[['sunos','solaris']];var translate=function(source,translations){for(var i=0;i<translations.length;i++){source=source.replace(translations[i][0],translations[i][1]);}return source;};var ua=nav.userAgent,match,name=uk,layout=uk,layoutversion=uk,platform=uk,version=x;if(match=new RegExp('('+wildUserAgents.join('|')+')').exec(ua)){ua=translate(ua,userAgentTranslations);}ua=ua.toLowerCase();if(match=new RegExp('('+names.join('|')+')').exec(ua)){name=translate(match[1],nameTranslations);}if(match=new RegExp('('+layouts.join('|')+')').exec(ua)){layout=translate(match[1],layoutTranslations);}if(match=new RegExp('('+layoutVersions.join('|')+')\\\/(\\d+)').exec(ua)){layoutversion=parseInt(match[2],10);}if(match=new RegExp('('+platforms.join('|')+')').exec(nav.platform.toLowerCase())){platform=translate(match[1],platformTranslations);}if(match=new
    3 RegExp('('+versionPrefixes.join('|')+')'+versionSuffix).exec(ua)){version=match[3];}if(name.match(/safari/)&&version>400){version='2.0';}if(name==='opera'&&version>=9.8){version=ua.match(/version\/([0-9\.]*)/i)[1]||10;}var versionNumber=parseFloat(version,10)||0.0;profileCache[nav.userAgent]={'name':name,'layout':layout,'layoutVersion':layoutversion,'platform':platform,'version':version,'versionBase':(version!==x?Math.floor(versionNumber).toString():x),'versionNumber':versionNumber};}return profileCache[nav.userAgent];},test:function(map,profile){profile=$.isPlainObject(profile)?profile:$.client.profile();var dir=$('body').is('.rtl')?'rtl':'ltr';if(typeof map[dir]!=='object'||typeof map[dir][profile.name]==='undefined'){return true;}var conditions=map[dir][profile.name];for(var i=0;i<conditions.length;i++){var op=conditions[i][0];var val=conditions[i][1];if(val===false){return false;}else if(typeof val=='string'){if(!(eval('profile.version'+op+'"'+val+'"'))){return false;}}else if(
    4 typeof val=='number'){if(!(eval('profile.versionNumber'+op+val))){return false;}}}return true;}};})(jQuery);;},{},{});mw.loader.implement("jquery.cookie",function($){jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1;}var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}expires='; expires='+date.toUTCString();}var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(
    5 cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}return cookieValue;}};;},{},{});mw.loader.implement("jquery.messageBox",function($){(function($){$.messageBoxNew=function(options){options=$.extend({'id':'js-messagebox','parent':'body','insert':'prepend'},options);var $curBox=$('#'+options.id);if($curBox.length>0){if($curBox.hasClass('js-messagebox')){return $curBox;}else{return $curBox.addClass('js-messagebox');}}else{var $newBox=$('<div>',{'id':options.id,'class':'js-messagebox','css':{'display':'none'}});if($(options.parent).length<1){options.parent='body';}if(options.insert==='append'){$newBox.appendTo(options.parent);return $newBox;}else{$newBox.prependTo(options.parent);return $newBox;}}};$.messageBox=function(options){options=$.extend({'message':'','group':'default','replace':false,'target':'js-messagebox'},options);var $target=$.messageBoxNew({id:options.target});var groupID=options.target+'-'+
    6 options.group;var $group=$('#'+groupID);if($group.length<1){$group=$('<div>',{'id':groupID,'class':'js-messagebox-group'});$target.prepend($group);}if(options.replace===true){$group.empty();}if(options.message===''||options.message===null){$group.hide();}else{$group.prepend($('<p>').append(options.message)).show();$target.slideDown();}if($target.find('> *:visible').length===0){$group.show();$target.slideUp();$group.hide();}else{$target.slideDown();}return $group;};})(jQuery);;},{"all":".js-messagebox{margin:1em 5%;padding:0.5em 2.5%;border:1px solid #ccc;background-color:#fcfcfc;font-size:0.8em}.js-messagebox .js-messagebox-group{margin:1px;padding:0.5em 2.5%;border-bottom:1px solid #ddd}.js-messagebox .js-messagebox-group:last-child{border-bottom:thin none transparent}\n\n/* cache key: oni_wiki:resourceloader:filter:minify-css:7:8b08bdc91c52a9ffba396dccfb5b473c */\n"},{});mw.loader.implement("jquery.mwExtension",function($){(function($){$.extend({trimLeft:function(str){return str===
    7 null?'':str.toString().replace(/^\s+/,'');},trimRight:function(str){return str===null?'':str.toString().replace(/\s+$/,'');},ucFirst:function(str){return str.charAt(0).toUpperCase()+str.substr(1);},escapeRE:function(str){return str.replace(/([\\{}()|.?*+\-^$\[\]])/g,"\\$1");},isDomElement:function(el){return!!el&&!!el.nodeType;},isEmpty:function(v){if(v===''||v===0||v==='0'||v===null||v===false||v===undefined){return true;}if(v.length===0){return true;}if(typeof v==='object'){for(var key in v){return false;}return true;}return false;},compareArray:function(arrThis,arrAgainst){if(arrThis.length!=arrAgainst.length){return false;}for(var i=0;i<arrThis.length;i++){if($.isArray(arrThis[i])){if(!$.compareArray(arrThis[i],arrAgainst[i])){return false;}}else if(arrThis[i]!==arrAgainst[i]){return false;}}return true;},compareObject:function(objectA,objectB){if(typeof objectA==typeof objectB){if(typeof objectA=='object'){if(objectA===objectB){return true;}else{var prop;for(prop in objectA){if(
    8 prop in objectB){var type=typeof objectA[prop];if(type==typeof objectB[prop]){switch(type){case'object':if(!$.compareObject(objectA[prop],objectB[prop])){return false;}break;case'function':if(objectA[prop].toString()!==objectB[prop].toString()){return false;}break;default:if(objectA[prop]!==objectB[prop]){return false;}break;}}else{return false;}}else{return false;}}for(prop in objectB){if(!(prop in objectA)){return false;}}}}}else{return false;}return true;}});})(jQuery);;},{},{});mw.loader.implement("mediawiki.legacy.ajax",function($){window.sajax_debug_mode=false;window.sajax_request_type='GET';window.sajax_debug=function(text){if(!sajax_debug_mode)return false;var e=document.getElementById('sajax_debug');if(!e){e=document.createElement('p');e.className='sajax_debug';e.id='sajax_debug';var b=document.getElementsByTagName('body')[0];if(b.firstChild){b.insertBefore(e,b.firstChild);}else{b.appendChild(e);}}var m=document.createElement('div');m.appendChild(document.createTextNode(text))
    9 ;e.appendChild(m);return true;};window.sajax_init_object=function(){sajax_debug('sajax_init_object() called..');var A;try{A=new XMLHttpRequest();}catch(e){try{A=new ActiveXObject('Msxml2.XMLHTTP');}catch(e){try{A=new ActiveXObject('Microsoft.XMLHTTP');}catch(oc){A=null;}}}if(!A){sajax_debug('Could not create connection object.');}return A;};window.sajax_do_call=function(func_name,args,target){var i,x,n;var uri;var post_data;uri=mw.util.wikiScript()+'?action=ajax';if(sajax_request_type=='GET'){if(uri.indexOf('?')==-1){uri=uri+'?rs='+encodeURIComponent(func_name);}else{uri=uri+'&rs='+encodeURIComponent(func_name);}for(i=0;i<args.length;i++){uri=uri+'&rsargs[]='+encodeURIComponent(args[i]);}post_data=null;}else{post_data='rs='+encodeURIComponent(func_name);for(i=0;i<args.length;i++){post_data=post_data+'&rsargs[]='+encodeURIComponent(args[i]);}}x=sajax_init_object();if(!x){alert('AJAX not supported');return false;}try{x.open(sajax_request_type,uri,true);}catch(e){if(window.location.
    10 hostname=='localhost'){alert("Your browser blocks XMLHttpRequest to 'localhost', try using a real hostname for development/testing.");}throw e;}if(sajax_request_type=='POST'){x.setRequestHeader('Method','POST '+uri+' HTTP/1.1');x.setRequestHeader('Content-Type','application/x-www-form-urlencoded');}x.setRequestHeader('Pragma','cache=yes');x.setRequestHeader('Cache-Control','no-transform');x.onreadystatechange=function(){if(x.readyState!=4){return;}sajax_debug('received ('+x.status+' '+x.statusText+') '+x.responseText);if(typeof(target)=='function'){target(x);}else if(typeof(target)=='object'){if(target.tagName=='INPUT'){if(x.status==200){target.value=x.responseText;}}else{if(x.status==200){target.innerHTML=x.responseText;}else{target.innerHTML='<div class="error">Error: '+x.status+' '+x.statusText+' ('+x.responseText+')</div>';}}}else{alert('bad target for sajax_do_call: not a function or object: '+target);}};sajax_debug(func_name+' uri = '+uri+' / post = '+post_data);x.send(post_data)
    11 ;sajax_debug(func_name+' waiting..');delete x;return true;};window.wfSupportsAjax=function(){var request=sajax_init_object();var supportsAjax=request?true:false;delete request;return supportsAjax;};;},{},{});mw.loader.implement("mediawiki.legacy.wikibits",function($){(function(){window.clientPC=navigator.userAgent.toLowerCase();window.is_gecko=/gecko/.test(clientPC)&&!/khtml|spoofer|netscape\/7\.0/.test(clientPC);window.is_safari=window.is_safari_win=window.webkit_version=window.is_chrome=window.is_chrome_mac=false;window.webkit_match=clientPC.match(/applewebkit\/(\d+)/);if(webkit_match){window.is_safari=clientPC.indexOf('applewebkit')!=-1&&clientPC.indexOf('spoofer')==-1;window.is_safari_win=is_safari&&clientPC.indexOf('windows')!=-1;window.webkit_version=parseInt(webkit_match[1]);window.is_chrome=clientPC.indexOf('chrome')!==-1&&clientPC.indexOf('spoofer')===-1;window.is_chrome_mac=is_chrome&&clientPC.indexOf('mac')!==-1}window.is_ff2=/firefox\/[2-9]|minefield\/3/.test(clientPC);
    12 window.ff2_bugs=/firefox\/2/.test(clientPC);window.is_ff2_win=is_ff2&&clientPC.indexOf('windows')!=-1;window.is_ff2_x11=is_ff2&&clientPC.indexOf('x11')!=-1;window.is_opera=window.is_opera_preseven=window.is_opera_95=window.opera6_bugs=window.opera7_bugs=window.opera95_bugs=false;if(clientPC.indexOf('opera')!=-1){window.is_opera=true;window.is_opera_preseven=window.opera&&!document.childNodes;window.is_opera_seven=window.opera&&document.childNodes;window.is_opera_95=/opera\/(9\.[5-9]|[1-9][0-9])/.test(clientPC);window.opera6_bugs=is_opera_preseven;window.opera7_bugs=is_opera_seven&&!is_opera_95;window.opera95_bugs=/opera\/(9\.5)/.test(clientPC);}window.ie6_bugs=false;if(/msie ([0-9]{1,}[\.0-9]{0,})/.exec(clientPC)!=null&&parseFloat(RegExp.$1)<=6.0){ie6_bugs=true;}window.doneOnloadHook=undefined;if(!window.onloadFuncts){window.onloadFuncts=[];}window.addOnloadHook=function(hookFunct){if(!doneOnloadHook){onloadFuncts[onloadFuncts.length]=hookFunct;}else{hookFunct();}};window.importScript=
    13 function(page){var uri=mw.config.get('wgScript')+'?title='+mw.util.wikiUrlencode(page)+'&action=raw&ctype=text/javascript';return importScriptURI(uri);};window.loadedScripts={};window.importScriptURI=function(url){if(loadedScripts[url]){return null;}loadedScripts[url]=true;var s=document.createElement('script');s.setAttribute('src',url);s.setAttribute('type','text/javascript');document.getElementsByTagName('head')[0].appendChild(s);return s;};window.importStylesheet=function(page){return importStylesheetURI(mw.config.get('wgScript')+'?action=raw&ctype=text/css&title='+mw.util.wikiUrlencode(page));};window.importStylesheetURI=function(url,media){var l=document.createElement('link');l.type='text/css';l.rel='stylesheet';l.href=url;if(media){l.media=media;}document.getElementsByTagName('head')[0].appendChild(l);return l;};window.appendCSS=function(text){var s=document.createElement('style');s.type='text/css';s.rel='stylesheet';if(s.styleSheet){s.styleSheet.cssText=text;}else{s.appendChild(
    14 document.createTextNode(text+''));}document.getElementsByTagName('head')[0].appendChild(s);return s;};var skinpath=mw.config.get('stylepath')+'/'+mw.config.get('skin');if(mw.config.get('skin')==='monobook'){if(opera6_bugs){importStylesheetURI(skinpath+'/Opera6Fixes.css');}else if(opera7_bugs){importStylesheetURI(skinpath+'/Opera7Fixes.css');}else if(opera95_bugs){importStylesheetURI(skinpath+'/Opera9Fixes.css');}else if(ff2_bugs){importStylesheetURI(skinpath+'/FF2Fixes.css');}}if(mw.config.get('wgBreakFrames')){if(window.top!=window){window.top.location=window.location;}}window.changeText=function(el,newText){if(el.innerText){el.innerText=newText;}else if(el.firstChild&&el.firstChild.nodeValue){el.firstChild.nodeValue=newText;}};window.killEvt=function(evt){evt=evt||window.event||window.Event;if(typeof(evt.preventDefault)!='undefined'){evt.preventDefault();evt.stopPropagation();}else{evt.cancelBubble=true;}return false;};window.mwEditButtons=[];window.mwCustomEditButtons=[];window.
    15 escapeQuotes=function(text){var re=new RegExp("'","g");text=text.replace(re,"\\'");re=new RegExp("\\n","g");text=text.replace(re,"\\n");return escapeQuotesHTML(text);};window.escapeQuotesHTML=function(text){var re=new RegExp('&',"g");text=text.replace(re,"&amp;");re=new RegExp('"',"g");text=text.replace(re,"&quot;");re=new RegExp('<',"g");text=text.replace(re,"&lt;");re=new RegExp('>',"g");text=text.replace(re,"&gt;");return text;};window.tooltipAccessKeyPrefix='alt-';if(is_opera){tooltipAccessKeyPrefix='shift-esc-';}else if(is_chrome){tooltipAccessKeyPrefix=is_chrome_mac?'ctrl-option-':'alt-';}else if(!is_safari_win&&is_safari&&webkit_version>526){tooltipAccessKeyPrefix='ctrl-alt-';}else if(!is_safari_win&&(is_safari||clientPC.indexOf('mac')!=-1||clientPC.indexOf('konqueror')!=-1)){tooltipAccessKeyPrefix='ctrl-';}else if(is_ff2){tooltipAccessKeyPrefix='alt-shift-';}window.tooltipAccessKeyRegexp=/\[(ctrl-)?(alt-)?(shift-)?(esc-)?(.)\]$/;window.updateTooltipAccessKeys=function(nodeList)
    16 {if(!nodeList){var linkContainers=['column-one','mw-head','mw-panel','p-logo'];for(var i in linkContainers){var linkContainer=document.getElementById(linkContainers[i]);if(linkContainer){updateTooltipAccessKeys(linkContainer.getElementsByTagName('a'));}}updateTooltipAccessKeys(document.getElementsByTagName('input'));updateTooltipAccessKeys(document.getElementsByTagName('label'));return;}for(var i=0;i<nodeList.length;i++){var element=nodeList[i];var tip=element.getAttribute('title');if(tip&&tooltipAccessKeyRegexp.exec(tip)){tip=tip.replace(tooltipAccessKeyRegexp,'['+tooltipAccessKeyPrefix+"$5]");element.setAttribute('title',tip);}}};window.addPortletLink=function(portlet,href,text,id,tooltip,accesskey,nextnode){var root=document.getElementById(portlet);if(!root){return null;}var uls=root.getElementsByTagName('ul');var node;if(uls.length>0){node=uls[0];}else{node=document.createElement('ul');var lastElementChild=null;for(var i=0;i<root.childNodes.length;++i){if(root.childNodes[i].
    17 nodeType==1){lastElementChild=root.childNodes[i];}}if(lastElementChild&&lastElementChild.nodeName.match(/div/i)){lastElementChild.appendChild(node);}else{root.appendChild(node);}}if(!node){return null;}root.className=root.className.replace(/(^| )emptyPortlet( |$)/,"$2");var link=document.createElement('a');link.appendChild(document.createTextNode(text));link.href=href;var span=document.createElement('span');span.appendChild(link);var item=document.createElement('li');item.appendChild(span);if(id){item.id=id;}if(accesskey){link.setAttribute('accesskey',accesskey);tooltip+=' ['+accesskey+']';}if(tooltip){link.setAttribute('title',tooltip);}if(accesskey&&tooltip){updateTooltipAccessKeys([link]);}if(nextnode&&nextnode.parentNode==node){node.insertBefore(item,nextnode);}else{node.appendChild(item);}return item;};window.getInnerText=function(el){if(typeof el=='string'){return el;}if(typeof el=='undefined'){return el;}if(el.nodeType&&el.getAttribute('data-sort-value')!==null){return el.
    18 getAttribute('data-sort-value');}if(el.textContent){return el.textContent;}if(el.innerText){return el.innerText;}var str='';var cs=el.childNodes;var l=cs.length;for(var i=0;i<l;i++){switch(cs[i].nodeType){case 1:str+=getInnerText(cs[i]);break;case 3:str+=cs[i].nodeValue;break;}}return str;};window.checkboxes=undefined;window.lastCheckbox=undefined;window.setupCheckboxShiftClick=function(){checkboxes=[];lastCheckbox=null;var inputs=document.getElementsByTagName('input');addCheckboxClickHandlers(inputs);};window.addCheckboxClickHandlers=function(inputs,start){if(!start){start=0;}var finish=start+250;if(finish>inputs.length){finish=inputs.length;}for(var i=start;i<finish;i++){var cb=inputs[i];if(!cb.type||cb.type.toLowerCase()!='checkbox'||(' '+cb.className+' ').indexOf(' noshiftselect ')!=-1){continue;}var end=checkboxes.length;checkboxes[end]=cb;cb.index=end;addClickHandler(cb,checkboxClickHandler);}if(finish<inputs.length){setTimeout(function(){addCheckboxClickHandlers(inputs,finish);}
    19 ,200);}};window.checkboxClickHandler=function(e){if(typeof e=='undefined'){e=window.event;}if(!e.shiftKey||lastCheckbox===null){lastCheckbox=this.index;return true;}var endState=this.checked;var start,finish;if(this.index<lastCheckbox){start=this.index+1;finish=lastCheckbox;}else{start=lastCheckbox;finish=this.index-1;}for(var i=start;i<=finish;++i){checkboxes[i].checked=endState;if(i>start&&typeof checkboxes[i].onchange=='function'){checkboxes[i].onchange();}}lastCheckbox=this.index;return true;};window.getElementsByClassName=function(oElm,strTagName,oClassNames){var arrReturnElements=[];if(typeof(oElm.getElementsByClassName)=='function'){var arrNativeReturn=oElm.getElementsByClassName(oClassNames);if(strTagName=='*'){return arrNativeReturn;}for(var h=0;h<arrNativeReturn.length;h++){if(arrNativeReturn[h].tagName.toLowerCase()==strTagName.toLowerCase()){arrReturnElements[arrReturnElements.length]=arrNativeReturn[h];}}return arrReturnElements;}var arrElements=(strTagName=='*'&&oElm.all)
    20 ?oElm.all:oElm.getElementsByTagName(strTagName);var arrRegExpClassNames=[];if(typeof oClassNames=='object'){for(var i=0;i<oClassNames.length;i++){arrRegExpClassNames[arrRegExpClassNames.length]=new RegExp("(^|\\s)"+oClassNames[i].replace(/\-/g,"\\-")+"(\\s|$)");}}else{arrRegExpClassNames[arrRegExpClassNames.length]=new RegExp("(^|\\s)"+oClassNames.replace(/\-/g,"\\-")+"(\\s|$)");}var oElement;var bMatchesAll;for(var j=0;j<arrElements.length;j++){oElement=arrElements[j];bMatchesAll=true;for(var k=0;k<arrRegExpClassNames.length;k++){if(!arrRegExpClassNames[k].test(oElement.className)){bMatchesAll=false;break;}}if(bMatchesAll){arrReturnElements[arrReturnElements.length]=oElement;}}return(arrReturnElements);};window.redirectToFragment=function(fragment){var match=navigator.userAgent.match(/AppleWebKit\/(\d+)/);if(match){var webKitVersion=parseInt(match[1]);if(webKitVersion<420){return;}}if(window.location.hash==''){window.location.hash=fragment;if(is_gecko){addOnloadHook(function(){if(
    21 window.location.hash==fragment){window.location.hash=fragment;}});}}};window.jsMsg=function(message,className){if(!document.getElementById){return false;}var messageDiv=document.getElementById('mw-js-message');if(!messageDiv){messageDiv=document.createElement('div');if(document.getElementById('column-content')&&document.getElementById('content')){document.getElementById('content').insertBefore(messageDiv,document.getElementById('content').firstChild);}else if(document.getElementById('content')&&document.getElementById('article')){document.getElementById('article').insertBefore(messageDiv,document.getElementById('article').firstChild);}else{return false;}}messageDiv.setAttribute('id','mw-js-message');messageDiv.style.display='block';if(className){messageDiv.setAttribute('class','mw-js-message-'+className);}if(typeof message==='object'){while(messageDiv.hasChildNodes()){messageDiv.removeChild(messageDiv.firstChild);}messageDiv.appendChild(message);}else{messageDiv.innerHTML=message;}
    22 return true;};window.injectSpinner=function(element,id){var spinner=document.createElement('img');spinner.id='mw-spinner-'+id;spinner.src=mw.config.get('stylepath')+'/common/images/spinner.gif';spinner.alt=spinner.title='...';if(element.nextSibling){element.parentNode.insertBefore(spinner,element.nextSibling);}else{element.parentNode.appendChild(spinner);}};window.removeSpinner=function(id){var spinner=document.getElementById('mw-spinner-'+id);if(spinner){spinner.parentNode.removeChild(spinner);}};window.runOnloadHook=function(){if(doneOnloadHook||!(document.getElementById&&document.getElementsByTagName)){return;}doneOnloadHook=true;for(var i=0;i<onloadFuncts.length;i++){onloadFuncts[i]();}};window.addHandler=function(element,attach,handler){if(element.addEventListener){element.addEventListener(attach,handler,false);}else if(element.attachEvent){element.attachEvent('on'+attach,handler);}};window.hookEvent=function(hookName,hookFunct){addHandler(window,hookName,hookFunct);};window.
    23 addClickHandler=function(element,handler){addHandler(element,'click',handler);};window.removeHandler=function(element,remove,handler){if(window.removeEventListener){element.removeEventListener(remove,handler,false);}else if(window.detachEvent){element.detachEvent('on'+remove,handler);}};hookEvent('load',runOnloadHook);if(ie6_bugs){importScriptURI(mw.config.get('stylepath')+'/common/IEFixes.js');}})();;},{},{});mw.loader.implement("mediawiki.page.startup",function($){(function($){mw.page={};$('html').addClass('client-js').removeClass('client-nojs');$(mw.util.init);})(jQuery);;},{},{});mw.loader.implement("mediawiki.util",function($){(function($,mw){"use strict";var util={init:function(){var profile,$tocTitle,$tocToggleLink,hideTocCookie;$.messageBoxNew({id:'mw-js-message',parent:'#content'});profile=$.client.profile();if(profile.name==='opera'){util.tooltipAccessKeyPrefix='shift-esc-';}else if(profile.name==='chrome'){util.tooltipAccessKeyPrefix=(profile.platform==='mac'?'ctrl-option-':
    24 profile.platform==='win'?'alt-shift-':'alt-');}else if(profile.platform!=='win'&&profile.name==='safari'&&profile.layoutVersion>526){util.tooltipAccessKeyPrefix='ctrl-alt-';}else if(!(profile.platform==='win'&&profile.name==='safari')&&(profile.name==='safari'||profile.platform==='mac'||profile.name==='konqueror')){util.tooltipAccessKeyPrefix='ctrl-';}else if(profile.name==='firefox'&&profile.versionBase>'1'){util.tooltipAccessKeyPrefix='alt-shift-';}if($('#bodyContent').length){util.$content=$('#bodyContent');}else if($('#mw_contentholder').length){util.$content=$('#mw_contentholder');}else if($('#article').length){util.$content=$('#article');}else{util.$content=$('#content');}$tocTitle=$('#toctitle');$tocToggleLink=$('#togglelink');if($('#toc').length&&$tocTitle.length&&!$tocToggleLink.length){hideTocCookie=$.cookie('mw_hidetoc');$tocToggleLink=$('<a href="#" class="internal" id="togglelink"></a>').text(mw.msg('hidetoc')).click(function(e){e.preventDefault();util.toggleToc($(this));}
    25 );$tocTitle.append($tocToggleLink.wrap('<span class="toctoggle"></span>').parent().prepend('&nbsp;[').append(']&nbsp;'));if(hideTocCookie==='1'){util.toggleToc($tocToggleLink);}}},rawurlencode:function(str){str=String(str);return encodeURIComponent(str).replace(/!/g,'%21').replace(/'/g,'%27').replace(/\(/g,'%28').replace(/\)/g,'%29').replace(/\*/g,'%2A').replace(/~/g,'%7E');},wikiUrlencode:function(str){return util.rawurlencode(str).replace(/%20/g,'_').replace(/%3A/g,':').replace(/%2F/g,'/');},wikiGetlink:function(str){return mw.config.get('wgArticlePath').replace('$1',util.wikiUrlencode(typeof str==='string'?str:mw.config.get('wgPageName')));},wikiScript:function(str){return mw.config.get('wgScriptPath')+'/'+(str||'index')+mw.config.get('wgScriptExtension');},addCSS:function(text){var s=document.createElement('style');s.type='text/css';s.rel='stylesheet';document.getElementsByTagName('head')[0].appendChild(s);if(s.styleSheet){s.styleSheet.cssText=text;}else{s.appendChild(document.
    26 createTextNode(String(text)));}return s.sheet||s;},toggleToc:function($toggleLink,callback){var $tocList=$('#toc ul:first');if($tocList.length){if($tocList.is(':hidden')){$tocList.slideDown('fast',callback);$toggleLink.text(mw.msg('hidetoc'));$('#toc').removeClass('tochidden');$.cookie('mw_hidetoc',null,{expires:30,path:'/'});return true;}else{$tocList.slideUp('fast',callback);$toggleLink.text(mw.msg('showtoc'));$('#toc').addClass('tochidden');$.cookie('mw_hidetoc','1',{expires:30,path:'/'});return false;}}else{return null;}},getParamValue:function(param,url){url=url||document.location.href;var re=new RegExp('^[^#]*[&?]'+$.escapeRE(param)+'=([^&#]*)'),m=re.exec(url);if(m&&m.length>1){return decodeURIComponent(m[1].replace(/\+/g,'%20'));}return null;},tooltipAccessKeyPrefix:'alt-',tooltipAccessKeyRegexp:/\[(ctrl-)?(alt-)?(shift-)?(esc-)?(.)\]$/,updateTooltipAccessKeys:function($nodes){if(!$nodes){$nodes=$('#column-one a, #mw-head a, #mw-panel a, #p-logo a, input, label');}else if(!(
    27 $nodes instanceof $)){$nodes=$($nodes);}$nodes.attr('title',function(i,val){if(val&&util.tooltipAccessKeyRegexp.exec(val)){return val.replace(util.tooltipAccessKeyRegexp,'['+util.tooltipAccessKeyPrefix+'$5]');}return val;});},$content:null,addPortletLink:function(portlet,href,text,id,tooltip,accesskey,nextnode){var $item,$link,$portlet,$ul;if(arguments.length<3){return null;}$link=$('<a>').attr('href',href).text(text);if(tooltip){$link.attr('title',tooltip);}switch(mw.config.get('skin')){case'standard':case'cologneblue':$('#quickbar').append($link.after('<br/>'));return $link[0];case'nostalgia':$('#searchform').before($link).before(' &#124; ');return $link[0];default:$portlet=$('#'+portlet);if($portlet.length===0){return null;}$ul=$portlet.find('ul');if($ul.length===0){if($portlet.find('div:first').length===0){$portlet.append('<ul></ul>');}else{$portlet.find('div').eq(-1).append('<ul></ul>');}$ul=$portlet.find('ul').eq(0);}if($ul.length===0){return null;}$portlet.removeClass(
    28 'emptyPortlet');if($portlet.hasClass('vectorTabs')){$item=$link.wrap('<li><span></span></li>').parent().parent();}else{$item=$link.wrap('<li></li>').parent();}if(id){$item.attr('id',id);}if(accesskey){$link.attr('accesskey',accesskey);tooltip+=' ['+accesskey+']';$link.attr('title',tooltip);}if(accesskey&&tooltip){util.updateTooltipAccessKeys($link);}if(nextnode&&nextnode.parentNode===$ul[0]){$(nextnode).before($item);}else if(typeof nextnode==='string'&&$ul.find(nextnode).length!==0){$ul.find(nextnode).eq(0).before($item);}else{$ul.append($item);}return $item[0];}},jsMessage:function(message,className){if(!arguments.length||message===''||message===null){$('#mw-js-message').empty().hide();return true;}else{var $messageDiv=$('#mw-js-message');if(!$messageDiv.length){$messageDiv=$('<div id="mw-js-message"></div>');if(util.$content.parent().length){util.$content.parent().prepend($messageDiv);}else{return false;}}if(className){$messageDiv.prop('class','mw-js-message-'+className);}if(typeof
    29 message==='object'){$messageDiv.empty();$messageDiv.append(message);}else{$messageDiv.html(message);}$messageDiv.slideDown();return true;}},validateEmail:function(mailtxt){var rfc5322_atext,rfc1034_ldh_str,HTML5_email_regexp;if(mailtxt===''){return null;}rfc5322_atext="a-z0-9!#$%&'*+\\-/=?^_`{|}~";rfc1034_ldh_str="a-z0-9\\-";HTML5_email_regexp=new RegExp('^'+'['+rfc5322_atext+'\\.]+'+'@'+'['+rfc1034_ldh_str+']+'+'(?:\\.['+rfc1034_ldh_str+']+)*'+'$','i');return(null!==mailtxt.match(HTML5_email_regexp));},isIPv4Address:function(address,allowBlock){if(typeof address!=='string'){return false;}var block=allowBlock?'(?:\\/(?:3[0-2]|[12]?\\d))?':'',RE_IP_BYTE='(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[0-9]?[0-9])',RE_IP_ADD='(?:'+RE_IP_BYTE+'\\.){3}'+RE_IP_BYTE;return address.search(new RegExp('^'+RE_IP_ADD+block+'$'))!==-1;},isIPv6Address:function(address,allowBlock){if(typeof address!=='string'){return false;}var block=allowBlock?'(?:\\/(?:12[0-8]|1[01][0-9]|[1-9]?\\d))?':'',RE_IPV6_ADD='(?:'+
    30 ':(?::|(?::'+'[0-9A-Fa-f]{1,4}'+'){1,7})'+'|'+'[0-9A-Fa-f]{1,4}'+'(?::'+'[0-9A-Fa-f]{1,4}'+'){0,6}::'+'|'+'[0-9A-Fa-f]{1,4}'+'(?::'+'[0-9A-Fa-f]{1,4}'+'){7}'+')';if(address.search(new RegExp('^'+RE_IPV6_ADD+block+'$'))!==-1){return true;}RE_IPV6_ADD='[0-9A-Fa-f]{1,4}'+'(?:::?'+'[0-9A-Fa-f]{1,4}'+'){1,6}';return address.search(new RegExp('^'+RE_IPV6_ADD+block+'$'))!==-1&&address.search(/::/)!==-1&&address.search(/::.*::/)===-1;}};mw.util=util;})(jQuery,mediaWiki);;},{},{"showtoc":"show","hidetoc":"hide"});
     1var isCompatible=function(){if(navigator.appVersion.indexOf('MSIE')!==-1&&parseFloat(navigator.appVersion.split('MSIE')[1])<6){return false;}return true;};var startUp=function(){mw.config=new mw.Map(true);mw.loader.addSource({"local":{"loadScript":"/w/load.php","apiScript":"/w/api.php"}});mw.loader.register([["site","1450799798",[],"site"],["noscript","1365164811",[],"noscript"],["startup","1476182232",[],"startup"],["user","1365164811",[],"user"],["user.groups","1365164811",[],"user"],["user.options","1476182232",[],"private"],["user.cssprefs","1476182232",["mediawiki.user"],"private"],["user.tokens","1365164811",[],"private"],["filepage","1365164811",[]],["skins.chick","1365164811",[]],["skins.cologneblue","1365164811",[]],["skins.modern","1365164811",[]],["skins.monobook","1365164811",[]],["skins.nostalgia","1365164811",[]],["skins.simple","1365164811",[]],["skins.standard","1365164811",[]],["skins.vector","1365164811",[]],["jquery","1365164811",[]],["jquery.appear","1365164811",[]]
     2,["jquery.arrowSteps","1365164811",[]],["jquery.async","1365164811",[]],["jquery.autoEllipsis","1365164811",["jquery.highlightText"]],["jquery.byteLength","1365164811",[]],["jquery.byteLimit","1365164811",["jquery.byteLength"]],["jquery.checkboxShiftClick","1365164811",[]],["jquery.client","1365164811",[]],["jquery.collapsibleTabs","1365164811",[]],["jquery.color","1365164811",["jquery.colorUtil"]],["jquery.colorUtil","1365164811",[]],["jquery.cookie","1365164811",[]],["jquery.delayedBind","1365164811",[]],["jquery.expandableField","1365164811",["jquery.delayedBind"]],["jquery.farbtastic","1365164811",["jquery.colorUtil"]],["jquery.footHovzer","1365164811",[]],["jquery.form","1365164811",[]],["jquery.getAttrs","1365164811",[]],["jquery.highlightText","1365164811",[]],["jquery.hoverIntent","1365164811",[]],["jquery.json","1365164811",[]],["jquery.localize","1365164811",[]],["jquery.makeCollapsible","1365164817",[]],["jquery.messageBox","1365164811",[]],["jquery.mockjax","1365164811",[]]
     3,["jquery.mw-jump","1365164811",[]],["jquery.mwExtension","1365164811",[]],["jquery.placeholder","1365164811",[]],["jquery.qunit","1365164811",[]],["jquery.qunit.completenessTest","1365164811",["jquery.qunit"]],["jquery.spinner","1365164811",[]],["jquery.suggestions","1365164811",["jquery.autoEllipsis"]],["jquery.tabIndex","1365164811",[]],["jquery.tablesorter","1447361306",[]],["jquery.textSelection","1365164811",[]],["jquery.validate","1365164811",[]],["jquery.xmldom","1365164811",[]],["jquery.tipsy","1365164811",[]],["jquery.ui.core","1365164811",["jquery"],"jquery.ui"],["jquery.ui.widget","1365164811",[],"jquery.ui"],["jquery.ui.mouse","1365164811",["jquery.ui.widget"],"jquery.ui"],["jquery.ui.position","1365164811",[],"jquery.ui"],["jquery.ui.draggable","1365164811",["jquery.ui.core","jquery.ui.mouse","jquery.ui.widget"],"jquery.ui"],["jquery.ui.droppable","1365164811",["jquery.ui.core","jquery.ui.mouse","jquery.ui.widget","jquery.ui.draggable"],"jquery.ui"],["jquery.ui.resizable"
     4,"1365164811",["jquery.ui.core","jquery.ui.widget","jquery.ui.mouse"],"jquery.ui"],["jquery.ui.selectable","1365164811",["jquery.ui.core","jquery.ui.widget","jquery.ui.mouse"],"jquery.ui"],["jquery.ui.sortable","1365164811",["jquery.ui.core","jquery.ui.widget","jquery.ui.mouse"],"jquery.ui"],["jquery.ui.accordion","1365164811",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.ui.autocomplete","1365164811",["jquery.ui.core","jquery.ui.widget","jquery.ui.position"],"jquery.ui"],["jquery.ui.button","1365164811",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.ui.datepicker","1365164811",["jquery.ui.core"],"jquery.ui"],["jquery.ui.dialog","1365164811",["jquery.ui.core","jquery.ui.widget","jquery.ui.button","jquery.ui.draggable","jquery.ui.mouse","jquery.ui.position","jquery.ui.resizable"],"jquery.ui"],["jquery.ui.progressbar","1365164811",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.ui.slider","1365164811",["jquery.ui.core","jquery.ui.widget",
     5"jquery.ui.mouse"],"jquery.ui"],["jquery.ui.tabs","1365164811",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.effects.core","1365164811",["jquery"],"jquery.ui"],["jquery.effects.blind","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.bounce","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.clip","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.drop","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.explode","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.fade","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.fold","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.highlight","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.pulsate","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.scale","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.shake","1365164811",["jquery.effects.core"],"jquery.ui"],[
     6"jquery.effects.slide","1365164811",["jquery.effects.core"],"jquery.ui"],["jquery.effects.transfer","1365164811",["jquery.effects.core"],"jquery.ui"],["mediawiki","1365164811",[]],["mediawiki.api","1365164811",["mediawiki.util"]],["mediawiki.api.category","1365164811",["mediawiki.api","mediawiki.Title"]],["mediawiki.api.edit","1365164811",["mediawiki.api","mediawiki.Title"]],["mediawiki.api.parse","1365164811",["mediawiki.api"]],["mediawiki.api.titleblacklist","1365164811",["mediawiki.api","mediawiki.Title"]],["mediawiki.api.watch","1365164811",["mediawiki.api","mediawiki.user"]],["mediawiki.debug","1365164811",["jquery.footHovzer"]],["mediawiki.debug.init","1365164811",["mediawiki.debug"]],["mediawiki.feedback","1365164811",["mediawiki.api.edit","mediawiki.Title","mediawiki.jqueryMsg","jquery.ui.dialog"]],["mediawiki.htmlform","1365164811",[]],["mediawiki.Title","1365164811",["mediawiki.util"]],["mediawiki.Uri","1365164811",[]],["mediawiki.user","1365164811",["jquery.cookie"]],[
     7"mediawiki.util","1365164816",["jquery.client","jquery.cookie","jquery.messageBox","jquery.mwExtension"]],["mediawiki.action.edit","1365164811",["jquery.textSelection","jquery.byteLimit"]],["mediawiki.action.history","1365164811",["jquery.ui.button"],"mediawiki.action.history"],["mediawiki.action.history.diff","1365164811",[],"mediawiki.action.history"],["mediawiki.action.view.dblClickEdit","1365164811",["mediawiki.util"]],["mediawiki.action.view.metadata","1365177947",[]],["mediawiki.action.view.rightClickEdit","1365164811",[]],["mediawiki.action.watch.ajax","1365164817",["mediawiki.api.watch","mediawiki.util"]],["mediawiki.language","1365164811",[]],["mediawiki.jqueryMsg","1365164811",["mediawiki.language","mediawiki.util"]],["mediawiki.libs.jpegmeta","1365164811",[]],["mediawiki.page.ready","1365164811",["jquery.checkboxShiftClick","jquery.makeCollapsible","jquery.placeholder","jquery.mw-jump","mediawiki.util"]],["mediawiki.page.startup","1365164811",["jquery.client",
     8"mediawiki.util"]],["mediawiki.special","1365164811",[]],["mediawiki.special.block","1365164811",["mediawiki.util"]],["mediawiki.special.changeemail","1429338705",["mediawiki.util"]],["mediawiki.special.changeslist","1365164811",["jquery.makeCollapsible"]],["mediawiki.special.movePage","1365164811",["jquery.byteLimit"]],["mediawiki.special.preferences","1365164811",[]],["mediawiki.special.recentchanges","1365164811",["mediawiki.special"]],["mediawiki.special.search","1365164811",[]],["mediawiki.special.undelete","1365164811",[]],["mediawiki.special.upload","1365217956",["mediawiki.libs.jpegmeta","mediawiki.util"]],["mediawiki.special.javaScriptTest","1365164811",["jquery.qunit"]],["mediawiki.tests.qunit.testrunner","1365164811",["jquery.qunit","jquery.qunit.completenessTest","mediawiki.page.startup","mediawiki.page.ready"]],["mediawiki.legacy.ajax","1365164811",["mediawiki.util","mediawiki.legacy.wikibits"]],["mediawiki.legacy.commonPrint","1365164811",[]],["mediawiki.legacy.config",
     9"1365164811",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.IEFixes","1365164811",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.mwsuggest","1365164817",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.preview","1365164811",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.protect","1365164811",["mediawiki.legacy.wikibits","jquery.byteLimit"]],["mediawiki.legacy.shared","1365164811",[]],["mediawiki.legacy.oldshared","1365164811",[]],["mediawiki.legacy.upload","1365164811",["mediawiki.legacy.wikibits","mediawiki.util"]],["mediawiki.legacy.wikibits","1365164811",["mediawiki.util"]],["mediawiki.legacy.wikiprintable","1365164811",[]],["ext.categoryTree","1365168213",[]],["ext.categoryTree.css","1365164811",[]],["ext.confirmAccount","1365164811",[]],["ext.cite","1365164811",["jquery.tooltip"]],["jquery.tooltip","1365164811",[]]]);mw.config.set({"wgLoadScript":"/w/load.php","debug":false,"skin":"vector","stylepath":"/w/skins","wgUrlProtocols":
     10"http\\:\\/\\/|https\\:\\/\\/|ftp\\:\\/\\/|irc\\:\\/\\/|ircs\\:\\/\\/|gopher\\:\\/\\/|telnet\\:\\/\\/|nntp\\:\\/\\/|worldwind\\:\\/\\/|mailto\\:|news\\:|svn\\:\\/\\/|git\\:\\/\\/|mms\\:\\/\\/|\\/\\/","wgArticlePath":"/$1","wgScriptPath":"/w","wgScriptExtension":".php","wgScript":"/w/index.php","wgVariantArticlePath":false,"wgActionPaths":{},"wgServer":"http://wiki.oni2.net","wgUserLanguage":"en","wgContentLanguage":"en","wgVersion":"1.19.2","wgEnableAPI":true,"wgEnableWriteAPI":true,"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgMainPageTitle":"Main Page","wgFormattedNamespaces":{"-2":"Media","-1":"Special","0":"","1":"Talk","2":"User","3":"User talk","4":"OniGalore","5":"OniGalore talk","6":"File","7":"File talk","8":"MediaWiki","9":"MediaWiki talk","10":"Template","11":
     11"Template talk","12":"Help","13":"Help talk","14":"Category","15":"Category talk","100":"BSL","101":"BSL talk","102":"OBD","103":"OBD talk","104":"AE","105":"AE talk","108":"Oni2","109":"Oni2 talk","110":"XML","111":"XML talk"},"wgNamespaceIds":{"media":-2,"special":-1,"":0,"talk":1,"user":2,"user_talk":3,"onigalore":4,"onigalore_talk":5,"file":6,"file_talk":7,"mediawiki":8,"mediawiki_talk":9,"template":10,"template_talk":11,"help":12,"help_talk":13,"category":14,"category_talk":15,"bsl":100,"bsl_talk":101,"obd":102,"obd_talk":103,"ae":104,"ae_talk":105,"oni2":108,"oni2_talk":109,"xml":110,"xml_talk":111,"image":6,"image_talk":7,"project":4,"project_talk":5},"wgSiteName":"OniGalore","wgFileExtensions":["png","gif","jpg","jpeg"],"wgDBname":"oni_wiki","wgFileCanRotate":true,"wgAvailableSkins":{"chick":"Chick","monobook":"MonoBook","modern":"Modern","vector":"Vector","myskin":"MySkin","cologneblue":"CologneBlue","standard":"Standard","simple":"Simple","nostalgia":"Nostalgia"},
     12"wgExtensionAssetsPath":"/w/extensions","wgCookiePrefix":"oni_wiki","wgResourceLoaderMaxQueryLength":-1,"wgCaseSensitiveNamespaces":[],"wgMWSuggestTemplate":"http://wiki.oni2.net/w/api.php?action=opensearch\x26search={searchTerms}\x26namespace={namespaces}\x26suggest"});};if(isCompatible()){document.write("\x3cscript src=\"/w/load.php?debug=false\x26amp;lang=en\x26amp;modules=jquery%2Cmediawiki\x26amp;only=scripts\x26amp;skin=vector\x26amp;version=20120830T222535Z\"\x3e\x3c/script\x3e");}delete isCompatible;;
    3113
    32 /* cache key: oni_wiki:resourceloader:filter:minify-js:7:1aa4243ba1ca1aec859d6ce378a84443 */
     14/* cache key: oni_wiki:resourceloader:filter:minify-js:7:e2d4a37b63d3fee6ae1e1164d66ad1ec */
  • Vago/trunk/Vago/help/XMLSNDD_files/load(3).php

    r771 r1054  
    1 jQuery(function($){$('div.vectorMenu').each(function(){var self=this;$('h5:first a:first',this).click(function(e){$('.menu:first',self).toggleClass('menuForceShow');e.preventDefault();}).focus(function(){$(self).addClass('vectorMenuFocus');}).blur(function(){$(self).removeClass('vectorMenuFocus');});});});;mw.loader.state({"skins.vector":"ready"});
     1(function(window,undefined){var document=window.document,navigator=window.navigator,location=window.location;var jQuery=(function(){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context,rootjQuery);},_jQuery=window.jQuery,_$=window.$,rootjQuery,quickExpr=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,rnotwhite=/\S/,trimLeft=/^\s+/,trimRight=/\s+$/,rsingleTag=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,rvalidchars=/^[\],:{}\s]*$/,rvalidescape=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rvalidtokens=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rvalidbraces=/(?:^|:|,)(?:\s*\[)+/g,rwebkit=/(webkit)[ \/]([\w.]+)/,ropera=/(opera)(?:.*version)?[ \/]([\w.]+)/,rmsie=/(msie) ([\w.]+)/,rmozilla=/(mozilla)(?:.*? rv:([\w.]+))?/,rdashAlpha=/-([a-z]|[0-9])/ig,rmsPrefix=/^-ms-/,fcamelCase=function(all,letter){return(letter+"").toUpperCase();},userAgent=navigator.userAgent,browserMatch,readyList,DOMContentLoaded,toString=Object.prototype.toString,hasOwn=Object.prototype.
     2hasOwnProperty,push=Array.prototype.push,slice=Array.prototype.slice,trim=String.prototype.trim,indexOf=Array.prototype.indexOf,class2type={};jQuery.fn=jQuery.prototype={constructor:jQuery,init:function(selector,context,rootjQuery){var match,elem,ret,doc;if(!selector){return this;}if(selector.nodeType){this.context=this[0]=selector;this.length=1;return this;}if(selector==="body"&&!context&&document.body){this.context=document;this[0]=document.body;this.selector=selector;this.length=1;return this;}if(typeof selector==="string"){if(selector.charAt(0)==="<"&&selector.charAt(selector.length-1)===">"&&selector.length>=3){match=[null,selector,null];}else{match=quickExpr.exec(selector);}if(match&&(match[1]||!context)){if(match[1]){context=context instanceof jQuery?context[0]:context;doc=(context?context.ownerDocument||context:document);ret=rsingleTag.exec(selector);if(ret){if(jQuery.isPlainObject(context)){selector=[document.createElement(ret[1])];jQuery.fn.attr.call(selector,context,true);}
     3else{selector=[doc.createElement(ret[1])];}}else{ret=jQuery.buildFragment([match[1]],[doc]);selector=(ret.cacheable?jQuery.clone(ret.fragment):ret.fragment).childNodes;}return jQuery.merge(this,selector);}else{elem=document.getElementById(match[2]);if(elem&&elem.parentNode){if(elem.id!==match[2]){return rootjQuery.find(selector);}this.length=1;this[0]=elem;}this.context=document;this.selector=selector;return this;}}else if(!context||context.jquery){return(context||rootjQuery).find(selector);}else{return this.constructor(context).find(selector);}}else if(jQuery.isFunction(selector)){return rootjQuery.ready(selector);}if(selector.selector!==undefined){this.selector=selector.selector;this.context=selector.context;}return jQuery.makeArray(selector,this);},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length;},toArray:function(){return slice.call(this,0);},get:function(num){return num==null?this.toArray():(num<0?this[this.length+num]:this[num]);},pushStack:function(elems,
     4name,selector){var ret=this.constructor();if(jQuery.isArray(elems)){push.apply(ret,elems);}else{jQuery.merge(ret,elems);}ret.prevObject=this;ret.context=this.context;if(name==="find"){ret.selector=this.selector+(this.selector?" ":"")+selector;}else if(name){ret.selector=this.selector+"."+name+"("+selector+")";}return ret;},each:function(callback,args){return jQuery.each(this,callback,args);},ready:function(fn){jQuery.bindReady();readyList.add(fn);return this;},eq:function(i){i=+i;return i===-1?this.slice(i):this.slice(i,i+1);},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},slice:function(){return this.pushStack(slice.apply(this,arguments),"slice",slice.call(arguments).join(","));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},end:function(){return this.prevObject||this.constructor(null);},push:push,sort:[].sort,splice:[].splice};jQuery.fn.init.prototype=jQuery.fn;jQuery.extend=jQuery.fn.
     5extend=function(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=false;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2;}if(typeof target!=="object"&&!jQuery.isFunction(target)){target={};}if(length===i){target=this;--i;}for(;i<length;i++){if((options=arguments[i])!=null){for(name in options){src=target[name];copy=options[name];if(target===copy){continue;}if(deep&&copy&&(jQuery.isPlainObject(copy)||(copyIsArray=jQuery.isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&jQuery.isArray(src)?src:[];}else{clone=src&&jQuery.isPlainObject(src)?src:{};}target[name]=jQuery.extend(deep,clone,copy);}else if(copy!==undefined){target[name]=copy;}}}}return target;};jQuery.extend({noConflict:function(deep){if(window.$===jQuery){window.$=_$;}if(deep&&window.jQuery===jQuery){window.jQuery=_jQuery;}return jQuery;},isReady:false,readyWait:1,holdReady:function(hold){if(hold){jQuery.readyWait++;}else{jQuery.ready(true);}}
     6,ready:function(wait){if((wait===true&&!--jQuery.readyWait)||(wait!==true&&!jQuery.isReady)){if(!document.body){return setTimeout(jQuery.ready,1);}jQuery.isReady=true;if(wait!==true&&--jQuery.readyWait>0){return;}readyList.fireWith(document,[jQuery]);if(jQuery.fn.trigger){jQuery(document).trigger("ready").off("ready");}}},bindReady:function(){if(readyList){return;}readyList=jQuery.Callbacks("once memory");if(document.readyState==="complete"){return setTimeout(jQuery.ready,1);}if(document.addEventListener){document.addEventListener("DOMContentLoaded",DOMContentLoaded,false);window.addEventListener("load",jQuery.ready,false);}else if(document.attachEvent){document.attachEvent("onreadystatechange",DOMContentLoaded);window.attachEvent("onload",jQuery.ready);var toplevel=false;try{toplevel=window.frameElement==null;}catch(e){}if(document.documentElement.doScroll&&toplevel){doScrollCheck();}}},isFunction:function(obj){return jQuery.type(obj)==="function";},isArray:Array.isArray||function(obj
     7){return jQuery.type(obj)==="array";},isWindow:function(obj){return obj&&typeof obj==="object"&&"setInterval"in obj;},isNumeric:function(obj){return!isNaN(parseFloat(obj))&&isFinite(obj);},type:function(obj){return obj==null?String(obj):class2type[toString.call(obj)]||"object";},isPlainObject:function(obj){if(!obj||jQuery.type(obj)!=="object"||obj.nodeType||jQuery.isWindow(obj)){return false;}try{if(obj.constructor&&!hasOwn.call(obj,"constructor")&&!hasOwn.call(obj.constructor.prototype,"isPrototypeOf")){return false;}}catch(e){return false;}var key;for(key in obj){}return key===undefined||hasOwn.call(obj,key);},isEmptyObject:function(obj){for(var name in obj){return false;}return true;},error:function(msg){throw new Error(msg);},parseJSON:function(data){if(typeof data!=="string"||!data){return null;}data=jQuery.trim(data);if(window.JSON&&window.JSON.parse){return window.JSON.parse(data);}if(rvalidchars.test(data.replace(rvalidescape,"@").replace(rvalidtokens,"]").replace(rvalidbraces,
     8""))){return(new Function("return "+data))();}jQuery.error("Invalid JSON: "+data);},parseXML:function(data){var xml,tmp;try{if(window.DOMParser){tmp=new DOMParser();xml=tmp.parseFromString(data,"text/xml");}else{xml=new ActiveXObject("Microsoft.XMLDOM");xml.async="false";xml.loadXML(data);}}catch(e){xml=undefined;}if(!xml||!xml.documentElement||xml.getElementsByTagName("parsererror").length){jQuery.error("Invalid XML: "+data);}return xml;},noop:function(){},globalEval:function(data){if(data&&rnotwhite.test(data)){(window.execScript||function(data){window["eval"].call(window,data);})(data);}},camelCase:function(string){return string.replace(rmsPrefix,"ms-").replace(rdashAlpha,fcamelCase);},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()===name.toUpperCase();},each:function(object,callback,args){var name,i=0,length=object.length,isObj=length===undefined||jQuery.isFunction(object);if(args){if(isObj){for(name in object){if(callback.apply(object[name],args)===
     9false){break;}}}else{for(;i<length;){if(callback.apply(object[i++],args)===false){break;}}}}else{if(isObj){for(name in object){if(callback.call(object[name],name,object[name])===false){break;}}}else{for(;i<length;){if(callback.call(object[i],i,object[i++])===false){break;}}}}return object;},trim:trim?function(text){return text==null?"":trim.call(text);}:function(text){return text==null?"":text.toString().replace(trimLeft,"").replace(trimRight,"");},makeArray:function(array,results){var ret=results||[];if(array!=null){var type=jQuery.type(array);if(array.length==null||type==="string"||type==="function"||type==="regexp"||jQuery.isWindow(array)){push.call(ret,array);}else{jQuery.merge(ret,array);}}return ret;},inArray:function(elem,array,i){var len;if(array){if(indexOf){return indexOf.call(array,elem,i);}len=array.length;i=i?i<0?Math.max(0,len+i):i:0;for(;i<len;i++){if(i in array&&array[i]===elem){return i;}}}return-1;},merge:function(first,second){var i=first.length,j=0;if(typeof second.
     10length==="number"){for(var l=second.length;j<l;j++){first[i++]=second[j];}}else{while(second[j]!==undefined){first[i++]=second[j++];}}first.length=i;return first;},grep:function(elems,callback,inv){var ret=[],retVal;inv=!!inv;for(var i=0,length=elems.length;i<length;i++){retVal=!!callback(elems[i],i);if(inv!==retVal){ret.push(elems[i]);}}return ret;},map:function(elems,callback,arg){var value,key,ret=[],i=0,length=elems.length,isArray=elems instanceof jQuery||length!==undefined&&typeof length==="number"&&((length>0&&elems[0]&&elems[length-1])||length===0||jQuery.isArray(elems));if(isArray){for(;i<length;i++){value=callback(elems[i],i,arg);if(value!=null){ret[ret.length]=value;}}}else{for(key in elems){value=callback(elems[key],key,arg);if(value!=null){ret[ret.length]=value;}}}return ret.concat.apply([],ret);},guid:1,proxy:function(fn,context){if(typeof context==="string"){var tmp=fn[context];context=fn;fn=tmp;}if(!jQuery.isFunction(fn)){return undefined;}var args=slice.call(arguments,2
     11),proxy=function(){return fn.apply(context,args.concat(slice.call(arguments)));};proxy.guid=fn.guid=fn.guid||proxy.guid||jQuery.guid++;return proxy;},access:function(elems,key,value,exec,fn,pass){var length=elems.length;if(typeof key==="object"){for(var k in key){jQuery.access(elems,k,key[k],exec,fn,value);}return elems;}if(value!==undefined){exec=!pass&&exec&&jQuery.isFunction(value);for(var i=0;i<length;i++){fn(elems[i],key,exec?value.call(elems[i],i,fn(elems[i],key)):value,pass);}return elems;}return length?fn(elems[0],key):undefined;},now:function(){return(new Date()).getTime();},uaMatch:function(ua){ua=ua.toLowerCase();var match=rwebkit.exec(ua)||ropera.exec(ua)||rmsie.exec(ua)||ua.indexOf("compatible")<0&&rmozilla.exec(ua)||[];return{browser:match[1]||"",version:match[2]||"0"};},sub:function(){function jQuerySub(selector,context){return new jQuerySub.fn.init(selector,context);}jQuery.extend(true,jQuerySub,this);jQuerySub.superclass=this;jQuerySub.fn=jQuerySub.prototype=this();
     12jQuerySub.fn.constructor=jQuerySub;jQuerySub.sub=this.sub;jQuerySub.fn.init=function init(selector,context){if(context&&context instanceof jQuery&&!(context instanceof jQuerySub)){context=jQuerySub(context);}return jQuery.fn.init.call(this,selector,context,rootjQuerySub);};jQuerySub.fn.init.prototype=jQuerySub.fn;var rootjQuerySub=jQuerySub(document);return jQuerySub;},browser:{}});jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(i,name){class2type["[object "+name+"]"]=name.toLowerCase();});browserMatch=jQuery.uaMatch(userAgent);if(browserMatch.browser){jQuery.browser[browserMatch.browser]=true;jQuery.browser.version=browserMatch.version;}if(jQuery.browser.webkit){jQuery.browser.safari=true;}if(rnotwhite.test("\xA0")){trimLeft=/^[\s\xA0]+/;trimRight=/[\s\xA0]+$/;}rootjQuery=jQuery(document);if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener("DOMContentLoaded",DOMContentLoaded,false);jQuery.ready();};}else if(
     13document.attachEvent){DOMContentLoaded=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",DOMContentLoaded);jQuery.ready();}};}function doScrollCheck(){if(jQuery.isReady){return;}try{document.documentElement.doScroll("left");}catch(e){setTimeout(doScrollCheck,1);return;}jQuery.ready();}return jQuery;})();var flagsCache={};function createFlags(flags){var object=flagsCache[flags]={},i,length;flags=flags.split(/\s+/);for(i=0,length=flags.length;i<length;i++){object[flags[i]]=true;}return object;}jQuery.Callbacks=function(flags){flags=flags?(flagsCache[flags]||createFlags(flags)):{};var list=[],stack=[],memory,firing,firingStart,firingLength,firingIndex,add=function(args){var i,length,elem,type,actual;for(i=0,length=args.length;i<length;i++){elem=args[i];type=jQuery.type(elem);if(type==="array"){add(elem);}else if(type==="function"){if(!flags.unique||!self.has(elem)){list.push(elem);}}}},fire=function(context,args){args=args||[];memory=!flags.memory||
     14[context,args];firing=true;firingIndex=firingStart||0;firingStart=0;firingLength=list.length;for(;list&&firingIndex<firingLength;firingIndex++){if(list[firingIndex].apply(context,args)===false&&flags.stopOnFalse){memory=true;break;}}firing=false;if(list){if(!flags.once){if(stack&&stack.length){memory=stack.shift();self.fireWith(memory[0],memory[1]);}}else if(memory===true){self.disable();}else{list=[];}}},self={add:function(){if(list){var length=list.length;add(arguments);if(firing){firingLength=list.length;}else if(memory&&memory!==true){firingStart=length;fire(memory[0],memory[1]);}}return this;},remove:function(){if(list){var args=arguments,argIndex=0,argLength=args.length;for(;argIndex<argLength;argIndex++){for(var i=0;i<list.length;i++){if(args[argIndex]===list[i]){if(firing){if(i<=firingLength){firingLength--;if(i<=firingIndex){firingIndex--;}}}list.splice(i--,1);if(flags.unique){break;}}}}}return this;},has:function(fn){if(list){var i=0,length=list.length;for(;i<length;i++){if(
     15fn===list[i]){return true;}}}return false;},empty:function(){list=[];return this;},disable:function(){list=stack=memory=undefined;return this;},disabled:function(){return!list;},lock:function(){stack=undefined;if(!memory||memory===true){self.disable();}return this;},locked:function(){return!stack;},fireWith:function(context,args){if(stack){if(firing){if(!flags.once){stack.push([context,args]);}}else if(!(flags.once&&memory)){fire(context,args);}}return this;},fire:function(){self.fireWith(this,arguments);return this;},fired:function(){return!!memory;}};return self;};var sliceDeferred=[].slice;jQuery.extend({Deferred:function(func){var doneList=jQuery.Callbacks("once memory"),failList=jQuery.Callbacks("once memory"),progressList=jQuery.Callbacks("memory"),state="pending",lists={resolve:doneList,reject:failList,notify:progressList},promise={done:doneList.add,fail:failList.add,progress:progressList.add,state:function(){return state;},isResolved:doneList.fired,isRejected:failList.fired,
     16then:function(doneCallbacks,failCallbacks,progressCallbacks){deferred.done(doneCallbacks).fail(failCallbacks).progress(progressCallbacks);return this;},always:function(){deferred.done.apply(deferred,arguments).fail.apply(deferred,arguments);return this;},pipe:function(fnDone,fnFail,fnProgress){return jQuery.Deferred(function(newDefer){jQuery.each({done:[fnDone,"resolve"],fail:[fnFail,"reject"],progress:[fnProgress,"notify"]},function(handler,data){var fn=data[0],action=data[1],returned;if(jQuery.isFunction(fn)){deferred[handler](function(){returned=fn.apply(this,arguments);if(returned&&jQuery.isFunction(returned.promise)){returned.promise().then(newDefer.resolve,newDefer.reject,newDefer.notify);}else{newDefer[action+"With"](this===deferred?newDefer:this,[returned]);}});}else{deferred[handler](newDefer[action]);}});}).promise();},promise:function(obj){if(obj==null){obj=promise;}else{for(var key in promise){obj[key]=promise[key];}}return obj;}},deferred=promise.promise({}),key;for(key in
     17lists){deferred[key]=lists[key].fire;deferred[key+"With"]=lists[key].fireWith;}deferred.done(function(){state="resolved";},failList.disable,progressList.lock).fail(function(){state="rejected";},doneList.disable,progressList.lock);if(func){func.call(deferred,deferred);}return deferred;},when:function(firstParam){var args=sliceDeferred.call(arguments,0),i=0,length=args.length,pValues=new Array(length),count=length,pCount=length,deferred=length<=1&&firstParam&&jQuery.isFunction(firstParam.promise)?firstParam:jQuery.Deferred(),promise=deferred.promise();function resolveFunc(i){return function(value){args[i]=arguments.length>1?sliceDeferred.call(arguments,0):value;if(!(--count)){deferred.resolveWith(deferred,args);}};}function progressFunc(i){return function(value){pValues[i]=arguments.length>1?sliceDeferred.call(arguments,0):value;deferred.notifyWith(promise,pValues);};}if(length>1){for(;i<length;i++){if(args[i]&&args[i].promise&&jQuery.isFunction(args[i].promise)){args[i].promise().then(
     18resolveFunc(i),deferred.reject,progressFunc(i));}else{--count;}}if(!count){deferred.resolveWith(deferred,args);}}else if(deferred!==firstParam){deferred.resolveWith(deferred,length?[firstParam]:[]);}return promise;}});jQuery.support=(function(){var support,all,a,select,opt,input,marginDiv,fragment,tds,events,eventName,i,isSupported,div=document.createElement("div"),documentElement=document.documentElement;div.setAttribute("className","t");div.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";all=div.getElementsByTagName("*");a=div.getElementsByTagName("a")[0];if(!all||!all.length||!a){return{};}select=document.createElement("select");opt=select.appendChild(document.createElement("option"));input=div.getElementsByTagName("input")[0];support={leadingWhitespace:(div.firstChild.nodeType===3),tbody:!div.getElementsByTagName("tbody").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/top/.test(a.
     19getAttribute("style")),hrefNormalized:(a.getAttribute("href")==="/a"),opacity:/^0.55/.test(a.style.opacity),cssFloat:!!a.style.cssFloat,checkOn:(input.value==="on"),optSelected:opt.selected,getSetAttribute:div.className!=="t",enctype:!!document.createElement("form").enctype,html5Clone:document.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};input.checked=true;support.noCloneChecked=input.cloneNode(true).checked;select.disabled=true;support.optDisabled=!opt.disabled;try{delete div.test;}catch(e){support.deleteExpando=false;}if(!div.addEventListener&&div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function(){support.noCloneEvent=false;});div.cloneNode(true).fireEvent("onclick");}input=document.createElement("input");input.value="t";input.setAttribute("type","radio");support.radioValue=input
     20.value==="t";input.setAttribute("checked","checked");div.appendChild(input);fragment=document.createDocumentFragment();fragment.appendChild(div.lastChild);support.checkClone=fragment.cloneNode(true).cloneNode(true).lastChild.checked;support.appendChecked=input.checked;fragment.removeChild(input);fragment.appendChild(div);div.innerHTML="";if(window.getComputedStyle){marginDiv=document.createElement("div");marginDiv.style.width="0";marginDiv.style.marginRight="0";div.style.width="2px";div.appendChild(marginDiv);support.reliableMarginRight=(parseInt((window.getComputedStyle(marginDiv,null)||{marginRight:0}).marginRight,10)||0)===0;}if(div.attachEvent){for(i in{submit:1,change:1,focusin:1}){eventName="on"+i;isSupported=(eventName in div);if(!isSupported){div.setAttribute(eventName,"return;");isSupported=(typeof div[eventName]==="function");}support[i+"Bubbles"]=isSupported;}}fragment.removeChild(div);fragment=select=opt=marginDiv=div=input=null;jQuery(function(){var container,outer,inner,
     21table,td,offsetSupport,conMarginTop,ptlm,vb,style,html,body=document.getElementsByTagName("body")[0];if(!body){return;}conMarginTop=1;ptlm="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";vb="visibility:hidden;border:0;";style="style='"+ptlm+"border:5px solid #000;padding:0;'";html="<div "+style+"><div></div></div>"+"<table "+style+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>";container=document.createElement("div");container.style.cssText=vb+"width:0;height:0;position:static;top:0;margin-top:"+conMarginTop+"px";body.insertBefore(container,body.firstChild);div=document.createElement("div");container.appendChild(div);div.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";tds=div.getElementsByTagName("td");isSupported=(tds[0].offsetHeight===0);tds[0].style.display="";tds[1].style.display="none";support.reliableHiddenOffsets=isSupported&&(tds[0].offsetHeight===0);div.innerHTML="";div.style.width=div.style.
     22paddingLeft="1px";jQuery.boxModel=support.boxModel=div.offsetWidth===2;if(typeof div.style.zoom!=="undefined"){div.style.display="inline";div.style.zoom=1;support.inlineBlockNeedsLayout=(div.offsetWidth===2);div.style.display="";div.innerHTML="<div style='width:4px;'></div>";support.shrinkWrapBlocks=(div.offsetWidth!==2);}div.style.cssText=ptlm+vb;div.innerHTML=html;outer=div.firstChild;inner=outer.firstChild;td=outer.nextSibling.firstChild.firstChild;offsetSupport={doesNotAddBorder:(inner.offsetTop!==5),doesAddBorderForTableAndCells:(td.offsetTop===5)};inner.style.position="fixed";inner.style.top="20px";offsetSupport.fixedPosition=(inner.offsetTop===20||inner.offsetTop===15);inner.style.position=inner.style.top="";outer.style.overflow="hidden";outer.style.position="relative";offsetSupport.subtractsBorderForOverflowNotVisible=(inner.offsetTop===-5);offsetSupport.doesNotIncludeMarginInBodyOffset=(body.offsetTop!==conMarginTop);body.removeChild(container);div=container=null;jQuery.extend
     23(support,offsetSupport);});return support;})();var rbrace=/^(?:\{.*\}|\[.*\])$/,rmultiDash=/([A-Z])/g;jQuery.extend({cache:{},uuid:0,expando:"jQuery"+(jQuery.fn.jquery+Math.random()).replace(/\D/g,""),noData:{"embed":true,"object":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000","applet":true},hasData:function(elem){elem=elem.nodeType?jQuery.cache[elem[jQuery.expando]]:elem[jQuery.expando];return!!elem&&!isEmptyDataObject(elem);},data:function(elem,name,data,pvt){if(!jQuery.acceptData(elem)){return;}var privateCache,thisCache,ret,internalKey=jQuery.expando,getByName=typeof name==="string",isNode=elem.nodeType,cache=isNode?jQuery.cache:elem,id=isNode?elem[internalKey]:elem[internalKey]&&internalKey,isEvents=name==="events";if((!id||!cache[id]||(!isEvents&&!pvt&&!cache[id].data))&&getByName&&data===undefined){return;}if(!id){if(isNode){elem[internalKey]=id=++jQuery.uuid;}else{id=internalKey;}}if(!cache[id]){cache[id]={};if(!isNode){cache[id].toJSON=jQuery.noop;}}if(typeof name==="object"||
     24typeof name==="function"){if(pvt){cache[id]=jQuery.extend(cache[id],name);}else{cache[id].data=jQuery.extend(cache[id].data,name);}}privateCache=thisCache=cache[id];if(!pvt){if(!thisCache.data){thisCache.data={};}thisCache=thisCache.data;}if(data!==undefined){thisCache[jQuery.camelCase(name)]=data;}if(isEvents&&!thisCache[name]){return privateCache.events;}if(getByName){ret=thisCache[name];if(ret==null){ret=thisCache[jQuery.camelCase(name)];}}else{ret=thisCache;}return ret;},removeData:function(elem,name,pvt){if(!jQuery.acceptData(elem)){return;}var thisCache,i,l,internalKey=jQuery.expando,isNode=elem.nodeType,cache=isNode?jQuery.cache:elem,id=isNode?elem[internalKey]:internalKey;if(!cache[id]){return;}if(name){thisCache=pvt?cache[id]:cache[id].data;if(thisCache){if(!jQuery.isArray(name)){if(name in thisCache){name=[name];}else{name=jQuery.camelCase(name);if(name in thisCache){name=[name];}else{name=name.split(" ");}}}for(i=0,l=name.length;i<l;i++){delete thisCache[name[i]];}if(!(pvt?
     25isEmptyDataObject:jQuery.isEmptyObject)(thisCache)){return;}}}if(!pvt){delete cache[id].data;if(!isEmptyDataObject(cache[id])){return;}}if(jQuery.support.deleteExpando||!cache.setInterval){delete cache[id];}else{cache[id]=null;}if(isNode){if(jQuery.support.deleteExpando){delete elem[internalKey];}else if(elem.removeAttribute){elem.removeAttribute(internalKey);}else{elem[internalKey]=null;}}},_data:function(elem,name,data){return jQuery.data(elem,name,data,true);},acceptData:function(elem){if(elem.nodeName){var match=jQuery.noData[elem.nodeName.toLowerCase()];if(match){return!(match===true||elem.getAttribute("classid")!==match);}}return true;}});jQuery.fn.extend({data:function(key,value){var parts,attr,name,data=null;if(typeof key==="undefined"){if(this.length){data=jQuery.data(this[0]);if(this[0].nodeType===1&&!jQuery._data(this[0],"parsedAttrs")){attr=this[0].attributes;for(var i=0,l=attr.length;i<l;i++){name=attr[i].name;if(name.indexOf("data-")===0){name=jQuery.camelCase(name.
     26substring(5));dataAttr(this[0],name,data[name]);}}jQuery._data(this[0],"parsedAttrs",true);}}return data;}else if(typeof key==="object"){return this.each(function(){jQuery.data(this,key);});}parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length){data=jQuery.data(this[0],key);data=dataAttr(this[0],key,data);}return data===undefined&&parts[1]?this.data(parts[0]):data;}else{return this.each(function(){var self=jQuery(this),args=[parts[0],value];self.triggerHandler("setData"+parts[1]+"!",args);jQuery.data(this,key,value);self.triggerHandler("changeData"+parts[1]+"!",args);});}},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});}});function dataAttr(elem,key,data){if(data===undefined&&elem.nodeType===1){var name="data-"+key.replace(rmultiDash,"-$1").toLowerCase();data=elem.getAttribute(name);if(typeof data==="string"){try{data=data==="true"?
     27true:data==="false"?false:data==="null"?null:jQuery.isNumeric(data)?parseFloat(data):rbrace.test(data)?jQuery.parseJSON(data):data;}catch(e){}jQuery.data(elem,key,data);}else{data=undefined;}}return data;}function isEmptyDataObject(obj){for(var name in obj){if(name==="data"&&jQuery.isEmptyObject(obj[name])){continue;}if(name!=="toJSON"){return false;}}return true;}function handleQueueMarkDefer(elem,type,src){var deferDataKey=type+"defer",queueDataKey=type+"queue",markDataKey=type+"mark",defer=jQuery._data(elem,deferDataKey);if(defer&&(src==="queue"||!jQuery._data(elem,queueDataKey))&&(src==="mark"||!jQuery._data(elem,markDataKey))){setTimeout(function(){if(!jQuery._data(elem,queueDataKey)&&!jQuery._data(elem,markDataKey)){jQuery.removeData(elem,deferDataKey,true);defer.fire();}},0);}}jQuery.extend({_mark:function(elem,type){if(elem){type=(type||"fx")+"mark";jQuery._data(elem,type,(jQuery._data(elem,type)||0)+1);}},_unmark:function(force,elem,type){if(force!==true){type=elem;elem=force;
     28force=false;}if(elem){type=type||"fx";var key=type+"mark",count=force?0:((jQuery._data(elem,key)||1)-1);if(count){jQuery._data(elem,key,count);}else{jQuery.removeData(elem,key,true);handleQueueMarkDefer(elem,type,"mark");}}},queue:function(elem,type,data){var q;if(elem){type=(type||"fx")+"queue";q=jQuery._data(elem,type);if(data){if(!q||jQuery.isArray(data)){q=jQuery._data(elem,type,jQuery.makeArray(data));}else{q.push(data);}}return q||[];}},dequeue:function(elem,type){type=type||"fx";var queue=jQuery.queue(elem,type),fn=queue.shift(),hooks={};if(fn==="inprogress"){fn=queue.shift();}if(fn){if(type==="fx"){queue.unshift("inprogress");}jQuery._data(elem,type+".run",hooks);fn.call(elem,function(){jQuery.dequeue(elem,type);},hooks);}if(!queue.length){jQuery.removeData(elem,type+"queue "+type+".run",true);handleQueueMarkDefer(elem,type,"queue");}}});jQuery.fn.extend({queue:function(type,data){if(typeof type!=="string"){data=type;type="fx";}if(data===undefined){return jQuery.queue(this[0],
     29type);}return this.each(function(){var queue=jQuery.queue(this,type,data);if(type==="fx"&&queue[0]!=="inprogress"){jQuery.dequeue(this,type);}});},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type);});},delay:function(time,type){time=jQuery.fx?jQuery.fx.speeds[time]||time:time;type=type||"fx";return this.queue(type,function(next,hooks){var timeout=setTimeout(next,time);hooks.stop=function(){clearTimeout(timeout);};});},clearQueue:function(type){return this.queue(type||"fx",[]);},promise:function(type,object){if(typeof type!=="string"){object=type;type=undefined;}type=type||"fx";var defer=jQuery.Deferred(),elements=this,i=elements.length,count=1,deferDataKey=type+"defer",queueDataKey=type+"queue",markDataKey=type+"mark",tmp;function resolve(){if(!(--count)){defer.resolveWith(elements,[elements]);}}while(i--){if((tmp=jQuery.data(elements[i],deferDataKey,undefined,true)||(jQuery.data(elements[i],queueDataKey,undefined,true)||jQuery.data(elements[i],markDataKey,
     30undefined,true))&&jQuery.data(elements[i],deferDataKey,jQuery.Callbacks("once memory"),true))){count++;tmp.add(resolve);}}resolve();return defer.promise();}});var rclass=/[\n\t\r]/g,rspace=/\s+/,rreturn=/\r/g,rtype=/^(?:button|input)$/i,rfocusable=/^(?:button|input|object|select|textarea)$/i,rclickable=/^a(?:rea)?$/i,rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,getSetAttribute=jQuery.support.getSetAttribute,nodeHook,boolHook,fixSpecified;jQuery.fn.extend({attr:function(name,value){return jQuery.access(this,name,value,true,jQuery.attr);},removeAttr:function(name){return this.each(function(){jQuery.removeAttr(this,name);});},prop:function(name,value){return jQuery.access(this,name,value,true,jQuery.prop);},removeProp:function(name){name=jQuery.propFix[name]||name;return this.each(function(){try{this[name]=undefined;delete this[name];}catch(e){}});},addClass:function(value){var classNames,i,l,elem,
     31setClass,c,cl;if(jQuery.isFunction(value)){return this.each(function(j){jQuery(this).addClass(value.call(this,j,this.className));});}if(value&&typeof value==="string"){classNames=value.split(rspace);for(i=0,l=this.length;i<l;i++){elem=this[i];if(elem.nodeType===1){if(!elem.className&&classNames.length===1){elem.className=value;}else{setClass=" "+elem.className+" ";for(c=0,cl=classNames.length;c<cl;c++){if(!~setClass.indexOf(" "+classNames[c]+" ")){setClass+=classNames[c]+" ";}}elem.className=jQuery.trim(setClass);}}}}return this;},removeClass:function(value){var classNames,i,l,elem,className,c,cl;if(jQuery.isFunction(value)){return this.each(function(j){jQuery(this).removeClass(value.call(this,j,this.className));});}if((value&&typeof value==="string")||value===undefined){classNames=(value||"").split(rspace);for(i=0,l=this.length;i<l;i++){elem=this[i];if(elem.nodeType===1&&elem.className){if(value){className=(" "+elem.className+" ").replace(rclass," ");for(c=0,cl=classNames.length;c<cl;
     32c++){className=className.replace(" "+classNames[c]+" "," ");}elem.className=jQuery.trim(className);}else{elem.className="";}}}}return this;},toggleClass:function(value,stateVal){var type=typeof value,isBool=typeof stateVal==="boolean";if(jQuery.isFunction(value)){return this.each(function(i){jQuery(this).toggleClass(value.call(this,i,this.className,stateVal),stateVal);});}return this.each(function(){if(type==="string"){var className,i=0,self=jQuery(this),state=stateVal,classNames=value.split(rspace);while((className=classNames[i++])){state=isBool?state:!self.hasClass(className);self[state?"addClass":"removeClass"](className);}}else if(type==="undefined"||type==="boolean"){if(this.className){jQuery._data(this,"__className__",this.className);}this.className=this.className||value===false?"":jQuery._data(this,"__className__")||"";}});},hasClass:function(selector){var className=" "+selector+" ",i=0,l=this.length;for(;i<l;i++){if(this[i].nodeType===1&&(" "+this[i].className+" ").replace(
     33rclass," ").indexOf(className)>-1){return true;}}return false;},val:function(value){var hooks,ret,isFunction,elem=this[0];if(!arguments.length){if(elem){hooks=jQuery.valHooks[elem.nodeName.toLowerCase()]||jQuery.valHooks[elem.type];if(hooks&&"get"in hooks&&(ret=hooks.get(elem,"value"))!==undefined){return ret;}ret=elem.value;return typeof ret==="string"?ret.replace(rreturn,""):ret==null?"":ret;}return;}isFunction=jQuery.isFunction(value);return this.each(function(i){var self=jQuery(this),val;if(this.nodeType!==1){return;}if(isFunction){val=value.call(this,i,self.val());}else{val=value;}if(val==null){val="";}else if(typeof val==="number"){val+="";}else if(jQuery.isArray(val)){val=jQuery.map(val,function(value){return value==null?"":value+"";});}hooks=jQuery.valHooks[this.nodeName.toLowerCase()]||jQuery.valHooks[this.type];if(!hooks||!("set"in hooks)||hooks.set(this,val,"value")===undefined){this.value=val;}});}});jQuery.extend({valHooks:{option:{get:function(elem){var val=elem.
     34attributes.value;return!val||val.specified?elem.value:elem.text;}},select:{get:function(elem){var value,i,max,option,index=elem.selectedIndex,values=[],options=elem.options,one=elem.type==="select-one";if(index<0){return null;}i=one?index:0;max=one?index+1:options.length;for(;i<max;i++){option=options[i];if(option.selected&&(jQuery.support.optDisabled?!option.disabled:option.getAttribute("disabled")===null)&&(!option.parentNode.disabled||!jQuery.nodeName(option.parentNode,"optgroup"))){value=jQuery(option).val();if(one){return value;}values.push(value);}}if(one&&!values.length&&options.length){return jQuery(options[index]).val();}return values;},set:function(elem,value){var values=jQuery.makeArray(value);jQuery(elem).find("option").each(function(){this.selected=jQuery.inArray(jQuery(this).val(),values)>=0;});if(!values.length){elem.selectedIndex=-1;}return values;}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(elem,name,
     35value,pass){var ret,hooks,notxml,nType=elem.nodeType;if(!elem||nType===3||nType===8||nType===2){return;}if(pass&&name in jQuery.attrFn){return jQuery(elem)[name](value);}if(typeof elem.getAttribute==="undefined"){return jQuery.prop(elem,name,value);}notxml=nType!==1||!jQuery.isXMLDoc(elem);if(notxml){name=name.toLowerCase();hooks=jQuery.attrHooks[name]||(rboolean.test(name)?boolHook:nodeHook);}if(value!==undefined){if(value===null){jQuery.removeAttr(elem,name);return;}else if(hooks&&"set"in hooks&&notxml&&(ret=hooks.set(elem,value,name))!==undefined){return ret;}else{elem.setAttribute(name,""+value);return value;}}else if(hooks&&"get"in hooks&&notxml&&(ret=hooks.get(elem,name))!==null){return ret;}else{ret=elem.getAttribute(name);return ret===null?undefined:ret;}},removeAttr:function(elem,value){var propName,attrNames,name,l,i=0;if(value&&elem.nodeType===1){attrNames=value.toLowerCase().split(rspace);l=attrNames.length;for(;i<l;i++){name=attrNames[i];if(name){propName=jQuery.propFix[
     36name]||name;jQuery.attr(elem,name,"");elem.removeAttribute(getSetAttribute?name:propName);if(rboolean.test(name)&&propName in elem){elem[propName]=false;}}}}},attrHooks:{type:{set:function(elem,value){if(rtype.test(elem.nodeName)&&elem.parentNode){jQuery.error("type property can't be changed");}else if(!jQuery.support.radioValue&&value==="radio"&&jQuery.nodeName(elem,"input")){var val=elem.value;elem.setAttribute("type",value);if(val){elem.value=val;}return value;}}},value:{get:function(elem,name){if(nodeHook&&jQuery.nodeName(elem,"button")){return nodeHook.get(elem,name);}return name in elem?elem.value:null;},set:function(elem,value,name){if(nodeHook&&jQuery.nodeName(elem,"button")){return nodeHook.set(elem,value,name);}elem.value=value;}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",
     37contenteditable:"contentEditable"},prop:function(elem,name,value){var ret,hooks,notxml,nType=elem.nodeType;if(!elem||nType===3||nType===8||nType===2){return;}notxml=nType!==1||!jQuery.isXMLDoc(elem);if(notxml){name=jQuery.propFix[name]||name;hooks=jQuery.propHooks[name];}if(value!==undefined){if(hooks&&"set"in hooks&&(ret=hooks.set(elem,value,name))!==undefined){return ret;}else{return(elem[name]=value);}}else{if(hooks&&"get"in hooks&&(ret=hooks.get(elem,name))!==null){return ret;}else{return elem[name];}}},propHooks:{tabIndex:{get:function(elem){var attributeNode=elem.getAttributeNode("tabindex");return attributeNode&&attributeNode.specified?parseInt(attributeNode.value,10):rfocusable.test(elem.nodeName)||rclickable.test(elem.nodeName)&&elem.href?0:undefined;}}}});jQuery.attrHooks.tabindex=jQuery.propHooks.tabIndex;boolHook={get:function(elem,name){var attrNode,property=jQuery.prop(elem,name);return property===true||typeof property!=="boolean"&&(attrNode=elem.getAttributeNode(name))&&
     38attrNode.nodeValue!==false?name.toLowerCase():undefined;},set:function(elem,value,name){var propName;if(value===false){jQuery.removeAttr(elem,name);}else{propName=jQuery.propFix[name]||name;if(propName in elem){elem[propName]=true;}elem.setAttribute(name,name.toLowerCase());}return name;}};if(!getSetAttribute){fixSpecified={name:true,id:true};nodeHook=jQuery.valHooks.button={get:function(elem,name){var ret;ret=elem.getAttributeNode(name);return ret&&(fixSpecified[name]?ret.nodeValue!=="":ret.specified)?ret.nodeValue:undefined;},set:function(elem,value,name){var ret=elem.getAttributeNode(name);if(!ret){ret=document.createAttribute(name);elem.setAttributeNode(ret);}return(ret.nodeValue=value+"");}};jQuery.attrHooks.tabindex.set=nodeHook.set;jQuery.each(["width","height"],function(i,name){jQuery.attrHooks[name]=jQuery.extend(jQuery.attrHooks[name],{set:function(elem,value){if(value===""){elem.setAttribute(name,"auto");return value;}}});});jQuery.attrHooks.contenteditable={get:nodeHook.get
     39,set:function(elem,value,name){if(value===""){value="false";}nodeHook.set(elem,value,name);}};}if(!jQuery.support.hrefNormalized){jQuery.each(["href","src","width","height"],function(i,name){jQuery.attrHooks[name]=jQuery.extend(jQuery.attrHooks[name],{get:function(elem){var ret=elem.getAttribute(name,2);return ret===null?undefined:ret;}});});}if(!jQuery.support.style){jQuery.attrHooks.style={get:function(elem){return elem.style.cssText.toLowerCase()||undefined;},set:function(elem,value){return(elem.style.cssText=""+value);}};}if(!jQuery.support.optSelected){jQuery.propHooks.selected=jQuery.extend(jQuery.propHooks.selected,{get:function(elem){var parent=elem.parentNode;if(parent){parent.selectedIndex;if(parent.parentNode){parent.parentNode.selectedIndex;}}return null;}});}if(!jQuery.support.enctype){jQuery.propFix.enctype="encoding";}if(!jQuery.support.checkOn){jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]={get:function(elem){return elem.getAttribute("value")===null?
     40"on":elem.value;}};});}jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]=jQuery.extend(jQuery.valHooks[this],{set:function(elem,value){if(jQuery.isArray(value)){return(elem.checked=jQuery.inArray(jQuery(elem).val(),value)>=0);}}});});var rformElems=/^(?:textarea|input|select)$/i,rtypenamespace=/^([^\.]*)?(?:\.(.+))?$/,rhoverHack=/\bhover(\.\S+)?\b/,rkeyEvent=/^key/,rmouseEvent=/^(?:mouse|contextmenu)|click/,rfocusMorph=/^(?:focusinfocus|focusoutblur)$/,rquickIs=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,quickParse=function(selector){var quick=rquickIs.exec(selector);if(quick){quick[1]=(quick[1]||"").toLowerCase();quick[3]=quick[3]&&new RegExp("(?:^|\\s)"+quick[3]+"(?:\\s|$)");}return quick;},quickIs=function(elem,m){var attrs=elem.attributes||{};return((!m[1]||elem.nodeName.toLowerCase()===m[1])&&(!m[2]||(attrs.id||{}).value===m[2])&&(!m[3]||m[3].test((attrs["class"]||{}).value)));},hoverHack=function(events){return jQuery.event.special.hover?events:events.replace(
     41rhoverHack,"mouseenter$1 mouseleave$1");};jQuery.event={add:function(elem,types,handler,data,selector){var elemData,eventHandle,events,t,tns,type,namespaces,handleObj,handleObjIn,quick,handlers,special;if(elem.nodeType===3||elem.nodeType===8||!types||!handler||!(elemData=jQuery._data(elem))){return;}if(handler.handler){handleObjIn=handler;handler=handleObjIn.handler;}if(!handler.guid){handler.guid=jQuery.guid++;}events=elemData.events;if(!events){elemData.events=events={};}eventHandle=elemData.handle;if(!eventHandle){elemData.handle=eventHandle=function(e){return typeof jQuery!=="undefined"&&(!e||jQuery.event.triggered!==e.type)?jQuery.event.dispatch.apply(eventHandle.elem,arguments):undefined;};eventHandle.elem=elem;}types=jQuery.trim(hoverHack(types)).split(" ");for(t=0;t<types.length;t++){tns=rtypenamespace.exec(types[t])||[];type=tns[1];namespaces=(tns[2]||"").split(".").sort();special=jQuery.event.special[type]||{};type=(selector?special.delegateType:special.bindType)||type;
     42special=jQuery.event.special[type]||{};handleObj=jQuery.extend({type:type,origType:tns[1],data:data,handler:handler,guid:handler.guid,selector:selector,quick:quickParse(selector),namespace:namespaces.join(".")},handleObjIn);handlers=events[type];if(!handlers){handlers=events[type]=[];handlers.delegateCount=0;if(!special.setup||special.setup.call(elem,data,namespaces,eventHandle)===false){if(elem.addEventListener){elem.addEventListener(type,eventHandle,false);}else if(elem.attachEvent){elem.attachEvent("on"+type,eventHandle);}}}if(special.add){special.add.call(elem,handleObj);if(!handleObj.handler.guid){handleObj.handler.guid=handler.guid;}}if(selector){handlers.splice(handlers.delegateCount++,0,handleObj);}else{handlers.push(handleObj);}jQuery.event.global[type]=true;}elem=null;},global:{},remove:function(elem,types,handler,selector,mappedTypes){var elemData=jQuery.hasData(elem)&&jQuery._data(elem),t,tns,type,origType,namespaces,origCount,j,events,special,handle,eventType,handleObj;if(
     43!elemData||!(events=elemData.events)){return;}types=jQuery.trim(hoverHack(types||"")).split(" ");for(t=0;t<types.length;t++){tns=rtypenamespace.exec(types[t])||[];type=origType=tns[1];namespaces=tns[2];if(!type){for(type in events){jQuery.event.remove(elem,type+types[t],handler,selector,true);}continue;}special=jQuery.event.special[type]||{};type=(selector?special.delegateType:special.bindType)||type;eventType=events[type]||[];origCount=eventType.length;namespaces=namespaces?new RegExp("(^|\\.)"+namespaces.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(j=0;j<eventType.length;j++){handleObj=eventType[j];if((mappedTypes||origType===handleObj.origType)&&(!handler||handler.guid===handleObj.guid)&&(!namespaces||namespaces.test(handleObj.namespace))&&(!selector||selector===handleObj.selector||selector==="**"&&handleObj.selector)){eventType.splice(j--,1);if(handleObj.selector){eventType.delegateCount--;}if(special.remove){special.remove.call(elem,handleObj);}}}if(eventType.length
     44===0&&origCount!==eventType.length){if(!special.teardown||special.teardown.call(elem,namespaces)===false){jQuery.removeEvent(elem,type,elemData.handle);}delete events[type];}}if(jQuery.isEmptyObject(events)){handle=elemData.handle;if(handle){handle.elem=null;}jQuery.removeData(elem,["events","handle"],true);}},customEvent:{"getData":true,"setData":true,"changeData":true},trigger:function(event,data,elem,onlyHandlers){if(elem&&(elem.nodeType===3||elem.nodeType===8)){return;}var type=event.type||event,namespaces=[],cache,exclusive,i,cur,old,ontype,special,handle,eventPath,bubbleType;if(rfocusMorph.test(type+jQuery.event.triggered)){return;}if(type.indexOf("!")>=0){type=type.slice(0,-1);exclusive=true;}if(type.indexOf(".")>=0){namespaces=type.split(".");type=namespaces.shift();namespaces.sort();}if((!elem||jQuery.event.customEvent[type])&&!jQuery.event.global[type]){return;}event=typeof event==="object"?event[jQuery.expando]?event:new jQuery.Event(type,event):new jQuery.Event(type);event.
     45type=type;event.isTrigger=true;event.exclusive=exclusive;event.namespace=namespaces.join(".");event.namespace_re=event.namespace?new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;ontype=type.indexOf(":")<0?"on"+type:"";if(!elem){cache=jQuery.cache;for(i in cache){if(cache[i].events&&cache[i].events[type]){jQuery.event.trigger(event,data,cache[i].handle.elem,true);}}return;}event.result=undefined;if(!event.target){event.target=elem;}data=data!=null?jQuery.makeArray(data):[];data.unshift(event);special=jQuery.event.special[type]||{};if(special.trigger&&special.trigger.apply(elem,data)===false){return;}eventPath=[[elem,special.bindType||type]];if(!onlyHandlers&&!special.noBubble&&!jQuery.isWindow(elem)){bubbleType=special.delegateType||type;cur=rfocusMorph.test(bubbleType+type)?elem:elem.parentNode;old=null;for(;cur;cur=cur.parentNode){eventPath.push([cur,bubbleType]);old=cur;}if(old&&old===elem.ownerDocument){eventPath.push([old.defaultView||old.parentWindow||window,
     46bubbleType]);}}for(i=0;i<eventPath.length&&!event.isPropagationStopped();i++){cur=eventPath[i][0];event.type=eventPath[i][1];handle=(jQuery._data(cur,"events")||{})[event.type]&&jQuery._data(cur,"handle");if(handle){handle.apply(cur,data);}handle=ontype&&cur[ontype];if(handle&&jQuery.acceptData(cur)&&handle.apply(cur,data)===false){event.preventDefault();}}event.type=type;if(!onlyHandlers&&!event.isDefaultPrevented()){if((!special._default||special._default.apply(elem.ownerDocument,data)===false)&&!(type==="click"&&jQuery.nodeName(elem,"a"))&&jQuery.acceptData(elem)){if(ontype&&elem[type]&&((type!=="focus"&&type!=="blur")||event.target.offsetWidth!==0)&&!jQuery.isWindow(elem)){old=elem[ontype];if(old){elem[ontype]=null;}jQuery.event.triggered=type;elem[type]();jQuery.event.triggered=undefined;if(old){elem[ontype]=old;}}}}return event.result;},dispatch:function(event){event=jQuery.event.fix(event||window.event);var handlers=((jQuery._data(this,"events")||{})[event.type]||[]),
     47delegateCount=handlers.delegateCount,args=[].slice.call(arguments,0),run_all=!event.exclusive&&!event.namespace,handlerQueue=[],i,j,cur,jqcur,ret,selMatch,matched,matches,handleObj,sel,related;args[0]=event;event.delegateTarget=this;if(delegateCount&&!event.target.disabled&&!(event.button&&event.type==="click")){jqcur=jQuery(this);jqcur.context=this.ownerDocument||this;for(cur=event.target;cur!=this;cur=cur.parentNode||this){selMatch={};matches=[];jqcur[0]=cur;for(i=0;i<delegateCount;i++){handleObj=handlers[i];sel=handleObj.selector;if(selMatch[sel]===undefined){selMatch[sel]=(handleObj.quick?quickIs(cur,handleObj.quick):jqcur.is(sel));}if(selMatch[sel]){matches.push(handleObj);}}if(matches.length){handlerQueue.push({elem:cur,matches:matches});}}}if(handlers.length>delegateCount){handlerQueue.push({elem:this,matches:handlers.slice(delegateCount)});}for(i=0;i<handlerQueue.length&&!event.isPropagationStopped();i++){matched=handlerQueue[i];event.currentTarget=matched.elem;for(j=0;j<
     48matched.matches.length&&!event.isImmediatePropagationStopped();j++){handleObj=matched.matches[j];if(run_all||(!event.namespace&&!handleObj.namespace)||event.namespace_re&&event.namespace_re.test(handleObj.namespace)){event.data=handleObj.data;event.handleObj=handleObj;ret=((jQuery.event.special[handleObj.origType]||{}).handle||handleObj.handler).apply(matched.elem,args);if(ret!==undefined){event.result=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}}}return event.result;},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(event,original){if(event.which==null){event.which=original.charCode!=null?original.charCode:original.keyCode;}return event;}},mouseHooks:{props:
     49"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(event,original){var eventDoc,doc,body,button=original.button,fromElement=original.fromElement;if(event.pageX==null&&original.clientX!=null){eventDoc=event.target.ownerDocument||document;doc=eventDoc.documentElement;body=eventDoc.body;event.pageX=original.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc&&doc.clientLeft||body&&body.clientLeft||0);event.pageY=original.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc&&doc.clientTop||body&&body.clientTop||0);}if(!event.relatedTarget&&fromElement){event.relatedTarget=fromElement===event.target?original.toElement:fromElement;}if(!event.which&&button!==undefined){event.which=(button&1?1:(button&2?3:(button&4?2:0)));}return event;}},fix:function(event){if(event[jQuery.expando]){return event;}var i,prop,originalEvent=event,fixHook=jQuery.event.fixHooks[event.type]||{},copy=fixHook.props?this.props.
     50concat(fixHook.props):this.props;event=jQuery.Event(originalEvent);for(i=copy.length;i;){prop=copy[--i];event[prop]=originalEvent[prop];}if(!event.target){event.target=originalEvent.srcElement||document;}if(event.target.nodeType===3){event.target=event.target.parentNode;}if(event.metaKey===undefined){event.metaKey=event.ctrlKey;}return fixHook.filter?fixHook.filter(event,originalEvent):event;},special:{ready:{setup:jQuery.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(data,namespaces,eventHandle){if(jQuery.isWindow(this)){this.onbeforeunload=eventHandle;}},teardown:function(namespaces,eventHandle){if(this.onbeforeunload===eventHandle){this.onbeforeunload=null;}}}},simulate:function(type,elem,event,bubble){var e=jQuery.extend(new jQuery.Event(),event,{type:type,isSimulated:true,originalEvent:{}});if(bubble){jQuery.event.trigger(e,null,elem);}else{jQuery.event.dispatch.call(elem,e);}if(e.isDefaultPrevented()){
     51event.preventDefault();}}};jQuery.event.handle=jQuery.event.dispatch;jQuery.removeEvent=document.removeEventListener?function(elem,type,handle){if(elem.removeEventListener){elem.removeEventListener(type,handle,false);}}:function(elem,type,handle){if(elem.detachEvent){elem.detachEvent("on"+type,handle);}};jQuery.Event=function(src,props){if(!(this instanceof jQuery.Event)){return new jQuery.Event(src,props);}if(src&&src.type){this.originalEvent=src;this.type=src.type;this.isDefaultPrevented=(src.defaultPrevented||src.returnValue===false||src.getPreventDefault&&src.getPreventDefault())?returnTrue:returnFalse;}else{this.type=src;}if(props){jQuery.extend(this,props);}this.timeStamp=src&&src.timeStamp||jQuery.now();this[jQuery.expando]=true;};function returnFalse(){return false;}function returnTrue(){return true;}jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=returnTrue;var e=this.originalEvent;if(!e){return;}if(e.preventDefault){e.preventDefault();}else{e.
     52returnValue=false;}},stopPropagation:function(){this.isPropagationStopped=returnTrue;var e=this.originalEvent;if(!e){return;}if(e.stopPropagation){e.stopPropagation();}e.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=returnTrue;this.stopPropagation();},isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse};jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(orig,fix){jQuery.event.special[orig]={delegateType:fix,bindType:fix,handle:function(event){var target=this,related=event.relatedTarget,handleObj=event.handleObj,selector=handleObj.selector,ret;if(!related||(related!==target&&!jQuery.contains(target,related))){event.type=handleObj.origType;ret=handleObj.handler.apply(this,arguments);event.type=fix;}return ret;}};});if(!jQuery.support.submitBubbles){jQuery.event.special.submit={setup:function(){if(jQuery.nodeName(this,"form")){return false;}jQuery.event.add(this,
     53"click._submit keypress._submit",function(e){var elem=e.target,form=jQuery.nodeName(elem,"input")||jQuery.nodeName(elem,"button")?elem.form:undefined;if(form&&!form._submit_attached){jQuery.event.add(form,"submit._submit",function(event){if(this.parentNode&&!event.isTrigger){jQuery.event.simulate("submit",this.parentNode,event,true);}});form._submit_attached=true;}});},teardown:function(){if(jQuery.nodeName(this,"form")){return false;}jQuery.event.remove(this,"._submit");}};}if(!jQuery.support.changeBubbles){jQuery.event.special.change={setup:function(){if(rformElems.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){jQuery.event.add(this,"propertychange._change",function(event){if(event.originalEvent.propertyName==="checked"){this._just_changed=true;}});jQuery.event.add(this,"click._change",function(event){if(this._just_changed&&!event.isTrigger){this._just_changed=false;jQuery.event.simulate("change",this,event,true);}});}return false;}jQuery.event.add(this,
     54"beforeactivate._change",function(e){var elem=e.target;if(rformElems.test(elem.nodeName)&&!elem._change_attached){jQuery.event.add(elem,"change._change",function(event){if(this.parentNode&&!event.isSimulated&&!event.isTrigger){jQuery.event.simulate("change",this.parentNode,event,true);}});elem._change_attached=true;}});},handle:function(event){var elem=event.target;if(this!==elem||event.isSimulated||event.isTrigger||(elem.type!=="radio"&&elem.type!=="checkbox")){return event.handleObj.handler.apply(this,arguments);}},teardown:function(){jQuery.event.remove(this,"._change");return rformElems.test(this.nodeName);}};}if(!jQuery.support.focusinBubbles){jQuery.each({focus:"focusin",blur:"focusout"},function(orig,fix){var attaches=0,handler=function(event){jQuery.event.simulate(fix,event.target,jQuery.event.fix(event),true);};jQuery.event.special[fix]={setup:function(){if(attaches++===0){document.addEventListener(orig,handler,true);}},teardown:function(){if(--attaches===0){document.
     55removeEventListener(orig,handler,true);}}};});}jQuery.fn.extend({on:function(types,selector,data,fn,one){var origFn,type;if(typeof types==="object"){if(typeof selector!=="string"){data=selector;selector=undefined;}for(type in types){this.on(type,selector,data,types[type],one);}return this;}if(data==null&&fn==null){fn=selector;data=selector=undefined;}else if(fn==null){if(typeof selector==="string"){fn=data;data=undefined;}else{fn=data;data=selector;selector=undefined;}}if(fn===false){fn=returnFalse;}else if(!fn){return this;}if(one===1){origFn=fn;fn=function(event){jQuery().off(event);return origFn.apply(this,arguments);};fn.guid=origFn.guid||(origFn.guid=jQuery.guid++);}return this.each(function(){jQuery.event.add(this,types,fn,data,selector);});},one:function(types,selector,data,fn){return this.on.call(this,types,selector,data,fn,1);},off:function(types,selector,fn){if(types&&types.preventDefault&&types.handleObj){var handleObj=types.handleObj;jQuery(types.delegateTarget).off(
     56handleObj.namespace?handleObj.type+"."+handleObj.namespace:handleObj.type,handleObj.selector,handleObj.handler);return this;}if(typeof types==="object"){for(var type in types){this.off(type,selector,types[type]);}return this;}if(selector===false||typeof selector==="function"){fn=selector;selector=undefined;}if(fn===false){fn=returnFalse;}return this.each(function(){jQuery.event.remove(this,types,fn,selector);});},bind:function(types,data,fn){return this.on(types,null,data,fn);},unbind:function(types,fn){return this.off(types,null,fn);},live:function(types,data,fn){jQuery(this.context).on(types,this.selector,data,fn);return this;},die:function(types,fn){jQuery(this.context).off(types,this.selector||"**",fn);return this;},delegate:function(selector,types,data,fn){return this.on(types,selector,data,fn);},undelegate:function(selector,types,fn){return arguments.length==1?this.off(selector,"**"):this.off(types,selector,fn);},trigger:function(type,data){return this.each(function(){jQuery.
     57event.trigger(type,data,this);});},triggerHandler:function(type,data){if(this[0]){return jQuery.event.trigger(type,data,this[0],true);}},toggle:function(fn){var args=arguments,guid=fn.guid||jQuery.guid++,i=0,toggler=function(event){var lastToggle=(jQuery._data(this,"lastToggle"+fn.guid)||0)%i;jQuery._data(this,"lastToggle"+fn.guid,lastToggle+1);event.preventDefault();return args[lastToggle].apply(this,arguments)||false;};toggler.guid=guid;while(i<args.length){args[i++].guid=guid;}return this.click(toggler);},hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut||fnOver);}});jQuery.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error contextmenu").split(" "),function(i,name){jQuery.fn[name]=function(data,fn){if(fn==null){fn=data;data=null;}return arguments.length>0?this.on(name,null,data,fn):this.trigger(name);};if(
     58jQuery.attrFn){jQuery.attrFn[name]=true;}if(rkeyEvent.test(name)){jQuery.event.fixHooks[name]=jQuery.event.keyHooks;}if(rmouseEvent.test(name)){jQuery.event.fixHooks[name]=jQuery.event.mouseHooks;}});(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,expando="sizcache"+(Math.random()+'').replace('.',''),done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true,rBackslash=/\\/g,rReturn=/\r\n/g,rNonWord=/\W/;[0,0].sort(function(){baseHasDuplicate=false;return 0;});var Sizzle=function(selector,context,results,seed){results=results||[];context=context||document;var origContext=context;if(context.nodeType!==1&&context.nodeType!==9){return[];}if(!selector||typeof selector!=="string"){return results;}var m,set,checkSet,extra,ret,cur,pop,i,prune=true,contextXML=Sizzle.isXML(context),parts=[],soFar=selector;do{chunker.exec("");m=chunker.exec(soFar);if(m){soFar=m[3]
     59;parts.push(m[1]);if(m[2]){extra=m[3];break;}}}while(m);if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context,seed);}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector]){selector+=parts.shift();}set=posProcess(selector,set,seed);}}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0];}if(context){ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set);}else{prune=false;}while(parts.length){cur=parts.pop();
     60pop=cur;if(!Expr.relative[cur]){cur="";}else{pop=parts.pop();}if(pop==null){pop=context;}Expr.relative[cur](checkSet,pop,contextXML);}}else{checkSet=parts=[];}}if(!checkSet){checkSet=set;}if(!checkSet){Sizzle.error(cur||selector);}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet);}else if(context&&context.nodeType===1){for(i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&Sizzle.contains(context,checkSet[i]))){results.push(set[i]);}}}else{for(i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i]);}}}}else{makeArray(checkSet,results);}if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results);}return results;};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=baseHasDuplicate;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1);}}}}return results;};Sizzle.matches=
     61function(expr,set){return Sizzle(expr,null,null,set);};Sizzle.matchesSelector=function(node,expr){return Sizzle(expr,null,null,[node]).length>0;};Sizzle.find=function(expr,context,isXML){var set,i,len,match,type,left;if(!expr){return[];}for(i=0,len=Expr.order.length;i<len;i++){type=Expr.order[i];if((match=Expr.leftMatch[type].exec(expr))){left=match[1];match.splice(1,1);if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(rBackslash,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break;}}}}if(!set){set=typeof context.getElementsByTagName!=="undefined"?context.getElementsByTagName("*"):[];}return{set:set,expr:expr};};Sizzle.filter=function(expr,set,inplace,not){var match,anyFound,type,found,item,filter,left,i,pass,old=expr,result=[],curLoop=set,isXMLFilter=set&&set[0]&&Sizzle.isXML(set[0]);while(expr&&set.length){for(type in Expr.filter){if((match=Expr.leftMatch[type].exec(expr))!=null&&match[2]){filter=Expr.filter[type]
     62;left=match[1];anyFound=false;match.splice(1,1);if(left.substr(left.length-1)==="\\"){continue;}if(curLoop===result){result=[];}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true;}else if(match===true){continue;}}if(match){for(i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);pass=not^found;if(inplace&&found!=null){if(pass){anyFound=true;}else{curLoop[i]=false;}}else if(pass){result.push(item);anyFound=true;}}}}if(found!==undefined){if(!inplace){curLoop=result;}expr=expr.replace(Expr.match[type],"");if(!anyFound){return[];}break;}}}if(expr===old){if(anyFound==null){Sizzle.error(expr);}else{break;}}old=expr;}return curLoop;};Sizzle.error=function(msg){throw new Error("Syntax error, unrecognized expression: "+msg);};var getText=Sizzle.getText=function(elem){var i,node,nodeType=elem.nodeType,ret="";if(nodeType){if(nodeType===1||nodeType===9){if(typeof elem.textContent==='string'){
     63return elem.textContent;}else if(typeof elem.innerText==='string'){return elem.innerText.replace(rReturn,'');}else{for(elem=elem.firstChild;elem;elem=elem.nextSibling){ret+=getText(elem);}}}else if(nodeType===3||nodeType===4){return elem.nodeValue;}}else{for(i=0;(node=elem[i]);i++){if(node.nodeType!==8){ret+=getText(node);}}}return ret;};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className",
     64"for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href");},type:function(elem){return elem.getAttribute("type");}},relative:{"+":function(checkSet,part){var isPartStr=typeof part==="string",isTag=isPartStr&&!rNonWord.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag){part=part.toLowerCase();}for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName.toLowerCase()===part?elem||false:elem===part;}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true);}},">":function(checkSet,part){var elem,isPartStr=typeof part==="string",i=0,l=checkSet.length;if(isPartStr&&!rNonWord.test(part)){part=part.toLowerCase();for(;i<l;i++){elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName.toLowerCase()===part?parent:false;}}}else{for(;i<l;i++){elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part;}}if(
     65isPartStr){Sizzle.filter(part,checkSet,true);}}},"":function(checkSet,part,isXML){var nodeCheck,doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!rNonWord.test(part)){part=part.toLowerCase();nodeCheck=part;checkFn=dirNodeCheck;}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML);},"~":function(checkSet,part,isXML){var nodeCheck,doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!rNonWord.test(part)){part=part.toLowerCase();nodeCheck=part;checkFn=dirNodeCheck;}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML);}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m&&m.parentNode?[m]:[];}},NAME:function(match,context){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i]);}}return ret.length===0?null:
     66ret;}},TAG:function(match,context){if(typeof context.getElementsByTagName!=="undefined"){return context.getElementsByTagName(match[1]);}}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(rBackslash,"")+" ";if(isXML){return match;}for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").replace(/[\t\n\r]/g," ").indexOf(match)>=0)){if(!inplace){result.push(elem);}}else if(inplace){curLoop[i]=false;}}}return false;},ID:function(match){return match[1].replace(rBackslash,"");},TAG:function(match,curLoop){return match[1].replace(rBackslash,"").toLowerCase();},CHILD:function(match){if(match[1]==="nth"){if(!match[2]){Sizzle.error(match[0]);}match[2]=match[2].replace(/^\+|\s*/g,'');var test=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(match[2]==="even"&&"2n"||match[2]==="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0;}else if(match[2]){Sizzle.error
     67(match[0]);}match[0]=done++;return match;},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1]=match[1].replace(rBackslash,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name];}match[4]=(match[4]||match[5]||"").replace(rBackslash,"");if(match[2]==="~="){match[4]=" "+match[4]+" ";}return match;},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if((chunker.exec(match[3])||"").length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop);}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret);}return false;}}else if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true;}return match;},POS:function(match){match.unshift(true);return match;}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden";},disabled:function(elem){return elem.disabled===true;},checked:function(elem){return elem.checked===true;},selected:function(elem){if
     68(elem.parentNode){elem.parentNode.selectedIndex;}return elem.selected===true;},parent:function(elem){return!!elem.firstChild;},empty:function(elem){return!elem.firstChild;},has:function(elem,i,match){return!!Sizzle(match[3],elem).length;},header:function(elem){return(/h\d/i).test(elem.nodeName);},text:function(elem){var attr=elem.getAttribute("type"),type=elem.type;return elem.nodeName.toLowerCase()==="input"&&"text"===type&&(attr===type||attr===null);},radio:function(elem){return elem.nodeName.toLowerCase()==="input"&&"radio"===elem.type;},checkbox:function(elem){return elem.nodeName.toLowerCase()==="input"&&"checkbox"===elem.type;},file:function(elem){return elem.nodeName.toLowerCase()==="input"&&"file"===elem.type;},password:function(elem){return elem.nodeName.toLowerCase()==="input"&&"password"===elem.type;},submit:function(elem){var name=elem.nodeName.toLowerCase();return(name==="input"||name==="button")&&"submit"===elem.type;},image:function(elem){return elem.nodeName.toLowerCase
     69()==="input"&&"image"===elem.type;},reset:function(elem){var name=elem.nodeName.toLowerCase();return(name==="input"||name==="button")&&"reset"===elem.type;},button:function(elem){var name=elem.nodeName.toLowerCase();return name==="input"&&"button"===elem.type||name==="button";},input:function(elem){return(/input|select|textarea|button/i).test(elem.nodeName);},focus:function(elem){return elem===elem.ownerDocument.activeElement;}},setFilters:{first:function(elem,i){return i===0;},last:function(elem,i,match,array){return i===array.length-1;},even:function(elem,i){return i%2===0;},odd:function(elem,i){return i%2===1;},lt:function(elem,i,match){return i<match[3]-0;},gt:function(elem,i,match){return i>match[3]-0;},nth:function(elem,i,match){return match[3]-0===i;},eq:function(elem,i,match){return match[3]-0===i;}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array);}else if(name==="contains"){return(elem.
     70textContent||elem.innerText||getText([elem])||"").indexOf(match[3])>=0;}else if(name==="not"){var not=match[3];for(var j=0,l=not.length;j<l;j++){if(not[j]===elem){return false;}}return true;}else{Sizzle.error(name);}},CHILD:function(elem,match){var first,last,doneName,parent,cache,count,diff,type=match[1],node=elem;switch(type){case"only":case"first":while((node=node.previousSibling)){if(node.nodeType===1){return false;}}if(type==="first"){return true;}node=elem;case"last":while((node=node.nextSibling)){if(node.nodeType===1){return false;}}return true;case"nth":first=match[2];last=match[3];if(first===1&&last===0){return true;}doneName=match[0];parent=elem.parentNode;if(parent&&(parent[expando]!==doneName||!elem.nodeIndex)){count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count;}}parent[expando]=doneName;}diff=elem.nodeIndex-last;if(first===0){return diff===0;}else{return(diff%first===0&&diff/first>=0);}}},ID:function(elem,match){
     71return elem.nodeType===1&&elem.getAttribute("id")===match;},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||!!elem.nodeName&&elem.nodeName.toLowerCase()===match;},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1;},ATTR:function(elem,match){var name=match[1],result=Sizzle.attr?Sizzle.attr(elem,name):Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":!type&&Sizzle.attr?result!=null:type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!==check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false;},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name
     72];if(filter){return filter(elem,i,match,array);}}}};var origPOS=Expr.match.POS,fescape=function(all,num){return"\\"+(num-0+1);};for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+(/(?![^\[]*\])(?![^\(]*\))/.source));Expr.leftMatch[type]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Expr.match[type].source.replace(/\\(\d+)/g,fescape));}var makeArray=function(array,results){array=Array.prototype.slice.call(array,0);if(results){results.push.apply(results,array);return results;}return array;};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType;}catch(e){makeArray=function(array,results){var i=0,ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array);}else{if(typeof array.length==="number"){for(var l=array.length;i<l;i++){ret.push(array[i]);}}else{for(;array[i];i++){ret.push(array[i]);}}}return ret;};}var sortOrder,siblingCheck;if(document.documentElement.compareDocumentPosition){sortOrder=function(a
     73,b){if(a===b){hasDuplicate=true;return 0;}if(!a.compareDocumentPosition||!b.compareDocumentPosition){return a.compareDocumentPosition?-1:1;}return a.compareDocumentPosition(b)&4?-1:1;};}else{sortOrder=function(a,b){if(a===b){hasDuplicate=true;return 0;}else if(a.sourceIndex&&b.sourceIndex){return a.sourceIndex-b.sourceIndex;}var al,bl,ap=[],bp=[],aup=a.parentNode,bup=b.parentNode,cur=aup;if(aup===bup){return siblingCheck(a,b);}else if(!aup){return-1;}else if(!bup){return 1;}while(cur){ap.unshift(cur);cur=cur.parentNode;}cur=bup;while(cur){bp.unshift(cur);cur=cur.parentNode;}al=ap.length;bl=bp.length;for(var i=0;i<al&&i<bl;i++){if(ap[i]!==bp[i]){return siblingCheck(ap[i],bp[i]);}}return i===al?siblingCheck(a,bp[i],-1):siblingCheck(ap[i],b,1);};siblingCheck=function(a,b,ret){if(a===b){return ret;}var cur=a.nextSibling;while(cur){if(cur===b){return-1;}cur=cur.nextSibling;}return 1;};}(function(){var form=document.createElement("div"),id="script"+(new Date()).getTime(),root=document.
     74documentElement;form.innerHTML="<a name='"+id+"'/>";root.insertBefore(form,root.firstChild);if(document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[];}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match;};}root.removeChild(form);root=form=null;})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i]);}}results=tmp;}return results;};}div.innerHTML=
     75"<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2);};}div=null;})();if(document.querySelectorAll){(function(){var oldSizzle=Sizzle,div=document.createElement("div"),id="__sizzle__";div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return;}Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&!Sizzle.isXML(context)){var match=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(query);if(match&&(context.nodeType===1||context.nodeType===9)){if(match[1]){return makeArray(context.getElementsByTagName(query),extra);}else if(match[2]&&Expr.find.CLASS&&context.getElementsByClassName){return makeArray(context.getElementsByClassName(match[2]),extra);}}if(context.nodeType===9){if(query==="body"&&context.body){return makeArray([context.body],extra);}else if(match&&match[3]){var elem
     76=context.getElementById(match[3]);if(elem&&elem.parentNode){if(elem.id===match[3]){return makeArray([elem],extra);}}else{return makeArray([],extra);}}try{return makeArray(context.querySelectorAll(query),extra);}catch(qsaError){}}else if(context.nodeType===1&&context.nodeName.toLowerCase()!=="object"){var oldContext=context,old=context.getAttribute("id"),nid=old||id,hasParent=context.parentNode,relativeHierarchySelector=/^\s*[+~]/.test(query);if(!old){context.setAttribute("id",nid);}else{nid=nid.replace(/'/g,"\\$&");}if(relativeHierarchySelector&&hasParent){context=context.parentNode;}try{if(!relativeHierarchySelector||hasParent){return makeArray(context.querySelectorAll("[id='"+nid+"'] "+query),extra);}}catch(pseudoError){}finally{if(!old){oldContext.removeAttribute("id");}}}}return oldSizzle(query,context,extra,seed);};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop];}div=null;})();}(function(){var html=document.documentElement,matches=html.matchesSelector||html.
     77mozMatchesSelector||html.webkitMatchesSelector||html.msMatchesSelector;if(matches){var disconnectedMatch=!matches.call(document.createElement("div"),"div"),pseudoWorks=false;try{matches.call(document.documentElement,"[test!='']:sizzle");}catch(pseudoError){pseudoWorks=true;}Sizzle.matchesSelector=function(node,expr){expr=expr.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!Sizzle.isXML(node)){try{if(pseudoWorks||!Expr.match.PSEUDO.test(expr)&&!/!=/.test(expr)){var ret=matches.call(node,expr);if(ret||!disconnectedMatch||node.document&&node.document.nodeType!==11){return ret;}}}catch(e){}}return Sizzle(expr,null,null,[node]).length>0;};}})();(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(!div.getElementsByClassName||div.getElementsByClassName("e").length===0){return;}div.lastChild.className="e";if(div.getElementsByClassName("e").length===1){return;}Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,
     78isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1]);}};div=null;})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var match=false;elem=elem[dir];while(elem){if(elem[expando]===doneName){match=checkSet[elem.sizset];break;}if(elem.nodeType===1&&!isXML){elem[expando]=doneName;elem.sizset=i;}if(elem.nodeName.toLowerCase()===cur){match=elem;break;}elem=elem[dir];}checkSet[i]=match;}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var match=false;elem=elem[dir];while(elem){if(elem[expando]===doneName){match=checkSet[elem.sizset];break;}if(elem.nodeType===1){if(!isXML){elem[expando]=doneName;elem.sizset=i;}if(typeof cur!=="string"){if(elem===cur){match=true;break;}}else if(Sizzle.filter(cur,[elem]).length>0){match=elem;break;}}elem=elem[dir];}checkSet[i]=
     79match;}}}if(document.documentElement.contains){Sizzle.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):true);};}else if(document.documentElement.compareDocumentPosition){Sizzle.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16);};}else{Sizzle.contains=function(){return false;};}Sizzle.isXML=function(elem){var documentElement=(elem?elem.ownerDocument||elem:0).documentElement;return documentElement?documentElement.nodeName!=="HTML":false;};var posProcess=function(selector,context,seed){var match,tmpSet=[],later="",root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"");}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet,seed);}return Sizzle.filter(later,tmpSet);};Sizzle.attr=jQuery.attr;Sizzle.selectors.attrMap={};jQuery.find=Sizzle;jQuery.expr=Sizzle.selectors;jQuery.expr[":"]=jQuery.expr.filters
     80;jQuery.unique=Sizzle.uniqueSort;jQuery.text=Sizzle.getText;jQuery.isXMLDoc=Sizzle.isXML;jQuery.contains=Sizzle.contains;})();var runtil=/Until$/,rparentsprev=/^(?:parents|prevUntil|prevAll)/,rmultiselector=/,/,isSimple=/^.[^:#\[\.,]*$/,slice=Array.prototype.slice,POS=jQuery.expr.match.POS,guaranteedUnique={children:true,contents:true,next:true,prev:true};jQuery.fn.extend({find:function(selector){var self=this,i,l;if(typeof selector!=="string"){return jQuery(selector).filter(function(){for(i=0,l=self.length;i<l;i++){if(jQuery.contains(self[i],this)){return true;}}});}var ret=this.pushStack("","find",selector),length,n,r;for(i=0,l=this.length;i<l;i++){length=ret.length;jQuery.find(selector,this[i],ret);if(i>0){for(n=length;n<ret.length;n++){for(r=0;r<length;r++){if(ret[r]===ret[n]){ret.splice(n--,1);break;}}}}}return ret;},has:function(target){var targets=jQuery(target);return this.filter(function(){for(var i=0,l=targets.length;i<l;i++){if(jQuery.contains(this,targets[i])){return true;}
     81}});},not:function(selector){return this.pushStack(winnow(this,selector,false),"not",selector);},filter:function(selector){return this.pushStack(winnow(this,selector,true),"filter",selector);},is:function(selector){return!!selector&&(typeof selector==="string"?POS.test(selector)?jQuery(selector,this.context).index(this[0])>=0:jQuery.filter(selector,this).length>0:this.filter(selector).length>0);},closest:function(selectors,context){var ret=[],i,l,cur=this[0];if(jQuery.isArray(selectors)){var level=1;while(cur&&cur.ownerDocument&&cur!==context){for(i=0;i<selectors.length;i++){if(jQuery(cur).is(selectors[i])){ret.push({selector:selectors[i],elem:cur,level:level});}}cur=cur.parentNode;level++;}return ret;}var pos=POS.test(selectors)||typeof selectors!=="string"?jQuery(selectors,context||this.context):0;for(i=0,l=this.length;i<l;i++){cur=this[i];while(cur){if(pos?pos.index(cur)>-1:jQuery.find.matchesSelector(cur,selectors)){ret.push(cur);break;}else{cur=cur.parentNode;if(!cur||!cur.
     82ownerDocument||cur===context||cur.nodeType===11){break;}}}}ret=ret.length>1?jQuery.unique(ret):ret;return this.pushStack(ret,"closest",selectors);},index:function(elem){if(!elem){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1;}if(typeof elem==="string"){return jQuery.inArray(this[0],jQuery(elem));}return jQuery.inArray(elem.jquery?elem[0]:elem,this);},add:function(selector,context){var set=typeof selector==="string"?jQuery(selector,context):jQuery.makeArray(selector&&selector.nodeType?[selector]:selector),all=jQuery.merge(this.get(),set);return this.pushStack(isDisconnected(set[0])||isDisconnected(all[0])?all:jQuery.unique(all));},andSelf:function(){return this.add(this.prevObject);}});function isDisconnected(node){return!node||!node.parentNode||node.parentNode.nodeType===11;}jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&parent.nodeType!==11?parent:null;},parents:function(elem){return jQuery.dir(elem,"parentNode");},parentsUntil:function(
     83elem,i,until){return jQuery.dir(elem,"parentNode",until);},next:function(elem){return jQuery.nth(elem,2,"nextSibling");},prev:function(elem){return jQuery.nth(elem,2,"previousSibling");},nextAll:function(elem){return jQuery.dir(elem,"nextSibling");},prevAll:function(elem){return jQuery.dir(elem,"previousSibling");},nextUntil:function(elem,i,until){return jQuery.dir(elem,"nextSibling",until);},prevUntil:function(elem,i,until){return jQuery.dir(elem,"previousSibling",until);},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},children:function(elem){return jQuery.sibling(elem.firstChild);},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}},function(name,fn){jQuery.fn[name]=function(until,selector){var ret=jQuery.map(this,fn,until);if(!runtil.test(name)){selector=until;}if(selector&&typeof selector==="string"){ret=jQuery.filter(selector,ret);}ret=this.length>1&&!
     84guaranteedUnique[name]?jQuery.unique(ret):ret;if((this.length>1||rmultiselector.test(selector))&&rparentsprev.test(name)){ret=ret.reverse();}return this.pushStack(ret,name,slice.call(arguments).join(","));};});jQuery.extend({filter:function(expr,elems,not){if(not){expr=":not("+expr+")";}return elems.length===1?jQuery.find.matchesSelector(elems[0],expr)?[elems[0]]:[]:jQuery.find.matches(expr,elems);},dir:function(elem,dir,until){var matched=[],cur=elem[dir];while(cur&&cur.nodeType!==9&&(until===undefined||cur.nodeType!==1||!jQuery(cur).is(until))){if(cur.nodeType===1){matched.push(cur);}cur=cur[dir];}return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir]){if(cur.nodeType===1&&++num===result){break;}}return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==elem){r.push(n);}}return r;}});function winnow(elements,qualifier,keep){qualifier=qualifier||0;if(jQuery.isFunction(qualifier)){return jQuery.grep(
     85elements,function(elem,i){var retVal=!!qualifier.call(elem,i,elem);return retVal===keep;});}else if(qualifier.nodeType){return jQuery.grep(elements,function(elem,i){return(elem===qualifier)===keep;});}else if(typeof qualifier==="string"){var filtered=jQuery.grep(elements,function(elem){return elem.nodeType===1;});if(isSimple.test(qualifier)){return jQuery.filter(qualifier,filtered,!keep);}else{qualifier=jQuery.filter(qualifier,filtered);}}return jQuery.grep(elements,function(elem,i){return(jQuery.inArray(elem,qualifier)>=0)===keep;});}function createSafeFragment(document){var list=nodeNames.split("|"),safeFrag=document.createDocumentFragment();if(safeFrag.createElement){while(list.length){safeFrag.createElement(list.pop());}}return safeFrag;}var nodeNames="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|"+"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",rinlinejQuery=/ jQuery\d+="(?:\d+|null)"/g,rleadingWhitespace=/^\s+/,rxhtmlTag=
     86/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,rtagName=/<([\w:]+)/,rtbody=/<tbody/i,rhtml=/<|&#?\w+;/,rnoInnerhtml=/<(?:script|style)/i,rnocache=/<(?:script|object|embed|option|style)/i,rnoshimcache=new RegExp("<(?:"+nodeNames+")","i"),rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,rscriptType=/\/(java|ecma)script/i,rcleanScript=/^\s*<!(?:\[CDATA\[|\-\-)/,wrapMap={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},safeFragment=createSafeFragment(document);wrapMap.optgroup=wrapMap.option;wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead;wrapMap.th=wrapMap.td;if(!jQuery.support.htmlSerialize){wrapMap._default=[1,"div<div>","</div>"];}jQuery.fn.extend({text:function
     87(text){if(jQuery.isFunction(text)){return this.each(function(i){var self=jQuery(this);self.text(text.call(this,i,self.text()));});}if(typeof text!=="object"&&text!==undefined){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));}return jQuery.text(this);},wrapAll:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapAll(html.call(this,i));});}if(this[0]){var wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){wrap.insertBefore(this[0]);}wrap.map(function(){var elem=this;while(elem.firstChild&&elem.firstChild.nodeType===1){elem=elem.firstChild;}return elem;}).append(this);}return this;},wrapInner:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapInner(html.call(this,i));});}return this.each(function(){var self=jQuery(this),contents=self.contents();if(contents.length){contents.wrapAll(html);}else{self.append(html);}});},wrap:function(html){var
     88isFunction=jQuery.isFunction(html);return this.each(function(i){jQuery(this).wrapAll(isFunction?html.call(this,i):html);});},unwrap:function(){return this.parent().each(function(){if(!jQuery.nodeName(this,"body")){jQuery(this).replaceWith(this.childNodes);}}).end();},append:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.appendChild(elem);}});},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.insertBefore(elem,this.firstChild);}});},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this);});}else if(arguments.length){var set=jQuery.clean(arguments);set.push.apply(set,this.toArray());return this.pushStack(set,"before",arguments);}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});}else if(arguments.length){var
     89set=this.pushStack(this,"after",arguments);set.push.apply(set,jQuery.clean(arguments));return set;}},remove:function(selector,keepData){for(var i=0,elem;(elem=this[i])!=null;i++){if(!selector||jQuery.filter(selector,[elem]).length){if(!keepData&&elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"));jQuery.cleanData([elem]);}if(elem.parentNode){elem.parentNode.removeChild(elem);}}}return this;},empty:function(){for(var i=0,elem;(elem=this[i])!=null;i++){if(elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"));}while(elem.firstChild){elem.removeChild(elem.firstChild);}}return this;},clone:function(dataAndEvents,deepDataAndEvents){dataAndEvents=dataAndEvents==null?false:dataAndEvents;deepDataAndEvents=deepDataAndEvents==null?dataAndEvents:deepDataAndEvents;return this.map(function(){return jQuery.clone(this,dataAndEvents,deepDataAndEvents);});},html:function(value){if(value===undefined){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(
     90rinlinejQuery,""):null;}else if(typeof value==="string"&&!rnoInnerhtml.test(value)&&(jQuery.support.leadingWhitespace||!rleadingWhitespace.test(value))&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=value.replace(rxhtmlTag,"<$1></$2>");try{for(var i=0,l=this.length;i<l;i++){if(this[i].nodeType===1){jQuery.cleanData(this[i].getElementsByTagName("*"));this[i].innerHTML=value;}}}catch(e){this.empty().append(value);}}else if(jQuery.isFunction(value)){this.each(function(i){var self=jQuery(this);self.html(value.call(this,i,self.html()));});}else{this.empty().append(value);}return this;},replaceWith:function(value){if(this[0]&&this[0].parentNode){if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this),old=self.html();self.replaceWith(value.call(this,i,old));});}if(typeof value!=="string"){value=jQuery(value).detach();}return this.each(function(){var next=this.nextSibling,parent=this.parentNode;jQuery(this).remove();if(next){jQuery(next).before(value
     91);}else{jQuery(parent).append(value);}});}else{return this.length?this.pushStack(jQuery(jQuery.isFunction(value)?value():value),"replaceWith",value):this;}},detach:function(selector){return this.remove(selector,true);},domManip:function(args,table,callback){var results,first,fragment,parent,value=args[0],scripts=[];if(!jQuery.support.checkClone&&arguments.length===3&&typeof value==="string"&&rchecked.test(value)){return this.each(function(){jQuery(this).domManip(args,table,callback,true);});}if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this);args[0]=value.call(this,i,table?self.html():undefined);self.domManip(args,table,callback);});}if(this[0]){parent=value&&value.parentNode;if(jQuery.support.parentNode&&parent&&parent.nodeType===11&&parent.childNodes.length===this.length){results={fragment:parent};}else{results=jQuery.buildFragment(args,this,scripts);}fragment=results.fragment;if(fragment.childNodes.length===1){first=fragment=fragment.firstChild;}else{
     92first=fragment.firstChild;}if(first){table=table&&jQuery.nodeName(first,"tr");for(var i=0,l=this.length,lastIndex=l-1;i<l;i++){callback.call(table?root(this[i],first):this[i],results.cacheable||(l>1&&i<lastIndex)?jQuery.clone(fragment,true,true):fragment);}}if(scripts.length){jQuery.each(scripts,evalScript);}}return this;}});function root(elem,cur){return jQuery.nodeName(elem,"table")?(elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody"))):elem;}function cloneCopyEvent(src,dest){if(dest.nodeType!==1||!jQuery.hasData(src)){return;}var type,i,l,oldData=jQuery._data(src),curData=jQuery._data(dest,oldData),events=oldData.events;if(events){delete curData.handle;curData.events={};for(type in events){for(i=0,l=events[type].length;i<l;i++){jQuery.event.add(dest,type+(events[type][i].namespace?".":"")+events[type][i].namespace,events[type][i],events[type][i].data);}}}if(curData.data){curData.data=jQuery.extend({},curData.data);}}function
     93cloneFixAttributes(src,dest){var nodeName;if(dest.nodeType!==1){return;}if(dest.clearAttributes){dest.clearAttributes();}if(dest.mergeAttributes){dest.mergeAttributes(src);}nodeName=dest.nodeName.toLowerCase();if(nodeName==="object"){dest.outerHTML=src.outerHTML;}else if(nodeName==="input"&&(src.type==="checkbox"||src.type==="radio")){if(src.checked){dest.defaultChecked=dest.checked=src.checked;}if(dest.value!==src.value){dest.value=src.value;}}else if(nodeName==="option"){dest.selected=src.defaultSelected;}else if(nodeName==="input"||nodeName==="textarea"){dest.defaultValue=src.defaultValue;}dest.removeAttribute(jQuery.expando);}jQuery.buildFragment=function(args,nodes,scripts){var fragment,cacheable,cacheresults,doc,first=args[0];if(nodes&&nodes[0]){doc=nodes[0].ownerDocument||nodes[0];}if(!doc.createDocumentFragment){doc=document;}if(args.length===1&&typeof first==="string"&&first.length<512&&doc===document&&first.charAt(0)==="<"&&!rnocache.test(first)&&(jQuery.support.checkClone||!
     94rchecked.test(first))&&(jQuery.support.html5Clone||!rnoshimcache.test(first))){cacheable=true;cacheresults=jQuery.fragments[first];if(cacheresults&&cacheresults!==1){fragment=cacheresults;}}if(!fragment){fragment=doc.createDocumentFragment();jQuery.clean(args,doc,fragment,scripts);}if(cacheable){jQuery.fragments[first]=cacheresults?fragment:1;}return{fragment:fragment,cacheable:cacheable};};jQuery.fragments={};jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var ret=[],insert=jQuery(selector),parent=this.length===1&&this[0].parentNode;if(parent&&parent.nodeType===11&&parent.childNodes.length===1&&insert.length===1){insert[original](this[0]);return this;}else{for(var i=0,l=insert.length;i<l;i++){var elems=(i>0?this.clone(true):this).get();jQuery(insert[i])[original](elems);ret=ret.concat(elems);}return this.pushStack(ret,name,insert.selector);}};});function
     95getAll(elem){if(typeof elem.getElementsByTagName!=="undefined"){return elem.getElementsByTagName("*");}else if(typeof elem.querySelectorAll!=="undefined"){return elem.querySelectorAll("*");}else{return[];}}function fixDefaultChecked(elem){if(elem.type==="checkbox"||elem.type==="radio"){elem.defaultChecked=elem.checked;}}function findInputs(elem){var nodeName=(elem.nodeName||"").toLowerCase();if(nodeName==="input"){fixDefaultChecked(elem);}else if(nodeName!=="script"&&typeof elem.getElementsByTagName!=="undefined"){jQuery.grep(elem.getElementsByTagName("input"),fixDefaultChecked);}}function shimCloneNode(elem){var div=document.createElement("div");safeFragment.appendChild(div);div.innerHTML=elem.outerHTML;return div.firstChild;}jQuery.extend({clone:function(elem,dataAndEvents,deepDataAndEvents){var srcElements,destElements,i,clone=jQuery.support.html5Clone||!rnoshimcache.test("<"+elem.nodeName)?elem.cloneNode(true):shimCloneNode(elem);if((!jQuery.support.noCloneEvent||!jQuery.support.
     96noCloneChecked)&&(elem.nodeType===1||elem.nodeType===11)&&!jQuery.isXMLDoc(elem)){cloneFixAttributes(elem,clone);srcElements=getAll(elem);destElements=getAll(clone);for(i=0;srcElements[i];++i){if(destElements[i]){cloneFixAttributes(srcElements[i],destElements[i]);}}}if(dataAndEvents){cloneCopyEvent(elem,clone);if(deepDataAndEvents){srcElements=getAll(elem);destElements=getAll(clone);for(i=0;srcElements[i];++i){cloneCopyEvent(srcElements[i],destElements[i]);}}}srcElements=destElements=null;return clone;},clean:function(elems,context,fragment,scripts){var checkScriptType;context=context||document;if(typeof context.createElement==="undefined"){context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;}var ret=[],j;for(var i=0,elem;(elem=elems[i])!=null;i++){if(typeof elem==="number"){elem+="";}if(!elem){continue;}if(typeof elem==="string"){if(!rhtml.test(elem)){elem=context.createTextNode(elem);}else{elem=elem.replace(rxhtmlTag,"<$1></$2>");var tag=(rtagName.exec(elem)
     97||["",""])[1].toLowerCase(),wrap=wrapMap[tag]||wrapMap._default,depth=wrap[0],div=context.createElement("div");if(context===document){safeFragment.appendChild(div);}else{createSafeFragment(context).appendChild(div);}div.innerHTML=wrap[1]+elem+wrap[2];while(depth--){div=div.lastChild;}if(!jQuery.support.tbody){var hasBody=rtbody.test(elem),tbody=tag==="table"&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]==="<table>"&&!hasBody?div.childNodes:[];for(j=tbody.length-1;j>=0;--j){if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length){tbody[j].parentNode.removeChild(tbody[j]);}}}if(!jQuery.support.leadingWhitespace&&rleadingWhitespace.test(elem)){div.insertBefore(context.createTextNode(rleadingWhitespace.exec(elem)[0]),div.firstChild);}elem=div.childNodes;}}var len;if(!jQuery.support.appendChecked){if(elem[0]&&typeof(len=elem.length)==="number"){for(j=0;j<len;j++){findInputs(elem[j]);}}else{findInputs(elem);}}if(elem.nodeType){ret.push(elem);}else{ret=jQuery.merge(ret
     98,elem);}}if(fragment){checkScriptType=function(elem){return!elem.type||rscriptType.test(elem.type);};for(i=0;ret[i];i++){if(scripts&&jQuery.nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i]);}else{if(ret[i].nodeType===1){var jsTags=jQuery.grep(ret[i].getElementsByTagName("script"),checkScriptType);ret.splice.apply(ret,[i+1,0].concat(jsTags));}fragment.appendChild(ret[i]);}}}return ret;},cleanData:function(elems){var data,id,cache=jQuery.cache,special=jQuery.event.special,deleteExpando=jQuery.support.deleteExpando;for(var i=0,elem;(elem=elems[i])!=null;i++){if(elem.nodeName&&jQuery.noData[elem.nodeName.toLowerCase()]){continue;}id=elem[jQuery.expando];if(id){data=cache[id];if(data&&data.events){for(var type in data.events){if(special[type]){jQuery.event.remove(elem,type);}else{jQuery.removeEvent(elem,type,data.handle);}}if(data.handle){data.handle.elem=null;}}if(
     99deleteExpando){delete elem[jQuery.expando];}else if(elem.removeAttribute){elem.removeAttribute(jQuery.expando);}delete cache[id];}}}});function evalScript(i,elem){if(elem.src){jQuery.ajax({url:elem.src,async:false,dataType:"script"});}else{jQuery.globalEval((elem.text||elem.textContent||elem.innerHTML||"").replace(rcleanScript,"/*$0*/"));}if(elem.parentNode){elem.parentNode.removeChild(elem);}}var ralpha=/alpha\([^)]*\)/i,ropacity=/opacity=([^)]*)/,rupper=/([A-Z]|^ms)/g,rnumpx=/^-?\d+(?:px)?$/i,rnum=/^-?\d/,rrelNum=/^([\-+])=([\-+.\de]+)/,cssShow={position:"absolute",visibility:"hidden",display:"block"},cssWidth=["Left","Right"],cssHeight=["Top","Bottom"],curCSS,getComputedStyle,currentStyle;jQuery.fn.css=function(name,value){if(arguments.length===2&&value===undefined){return this;}return jQuery.access(this,name,value,true,function(elem,name,value){return value!==undefined?jQuery.style(elem,name,value):jQuery.css(elem,name);});};jQuery.extend({cssHooks:{opacity:{get:function(elem,
     100computed){if(computed){var ret=curCSS(elem,"opacity","opacity");return ret===""?"1":ret;}else{return elem.style.opacity;}}}},cssNumber:{"fillOpacity":true,"fontWeight":true,"lineHeight":true,"opacity":true,"orphans":true,"widows":true,"zIndex":true,"zoom":true},cssProps:{"float":jQuery.support.cssFloat?"cssFloat":"styleFloat"},style:function(elem,name,value,extra){if(!elem||elem.nodeType===3||elem.nodeType===8||!elem.style){return;}var ret,type,origName=jQuery.camelCase(name),style=elem.style,hooks=jQuery.cssHooks[origName];name=jQuery.cssProps[origName]||origName;if(value!==undefined){type=typeof value;if(type==="string"&&(ret=rrelNum.exec(value))){value=(+(ret[1]+1)*+ret[2])+parseFloat(jQuery.css(elem,name));type="number";}if(value==null||type==="number"&&isNaN(value)){return;}if(type==="number"&&!jQuery.cssNumber[origName]){value+="px";}if(!hooks||!("set"in hooks)||(value=hooks.set(elem,value))!==undefined){try{style[name]=value;}catch(e){}}}else{if(hooks&&"get"in hooks&&(ret=hooks.
     101get(elem,false,extra))!==undefined){return ret;}return style[name];}},css:function(elem,name,extra){var ret,hooks;name=jQuery.camelCase(name);hooks=jQuery.cssHooks[name];name=jQuery.cssProps[name]||name;if(name==="cssFloat"){name="float";}if(hooks&&"get"in hooks&&(ret=hooks.get(elem,true,extra))!==undefined){return ret;}else if(curCSS){return curCSS(elem,name);}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}callback.call(elem);for(name in options){elem.style[name]=old[name];}}});jQuery.curCSS=jQuery.css;jQuery.each(["height","width"],function(i,name){jQuery.cssHooks[name]={get:function(elem,computed,extra){var val;if(computed){if(elem.offsetWidth!==0){return getWH(elem,name,extra);}else{jQuery.swap(elem,cssShow,function(){val=getWH(elem,name,extra);});}return val;}},set:function(elem,value){if(rnumpx.test(value)){value=parseFloat(value);if(value>=0){return value+"px";}}else{return value;}}};});if(!
     102jQuery.support.opacity){jQuery.cssHooks.opacity={get:function(elem,computed){return ropacity.test((computed&&elem.currentStyle?elem.currentStyle.filter:elem.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":computed?"1":"";},set:function(elem,value){var style=elem.style,currentStyle=elem.currentStyle,opacity=jQuery.isNumeric(value)?"alpha(opacity="+value*100+")":"",filter=currentStyle&&currentStyle.filter||style.filter||"";style.zoom=1;if(value>=1&&jQuery.trim(filter.replace(ralpha,""))===""){style.removeAttribute("filter");if(currentStyle&&!currentStyle.filter){return;}}style.filter=ralpha.test(filter)?filter.replace(ralpha,opacity):filter+" "+opacity;}};}jQuery(function(){if(!jQuery.support.reliableMarginRight){jQuery.cssHooks.marginRight={get:function(elem,computed){var ret;jQuery.swap(elem,{"display":"inline-block"},function(){if(computed){ret=curCSS(elem,"margin-right","marginRight");}else{ret=elem.style.marginRight;}});return ret;}};}});if(document.defaultView&&document.
     103defaultView.getComputedStyle){getComputedStyle=function(elem,name){var ret,defaultView,computedStyle;name=name.replace(rupper,"-$1").toLowerCase();if((defaultView=elem.ownerDocument.defaultView)&&(computedStyle=defaultView.getComputedStyle(elem,null))){ret=computedStyle.getPropertyValue(name);if(ret===""&&!jQuery.contains(elem.ownerDocument.documentElement,elem)){ret=jQuery.style(elem,name);}}return ret;};}if(document.documentElement.currentStyle){currentStyle=function(elem,name){var left,rsLeft,uncomputed,ret=elem.currentStyle&&elem.currentStyle[name],style=elem.style;if(ret===null&&style&&(uncomputed=style[name])){ret=uncomputed;}if(!rnumpx.test(ret)&&rnum.test(ret)){left=style.left;rsLeft=elem.runtimeStyle&&elem.runtimeStyle.left;if(rsLeft){elem.runtimeStyle.left=elem.currentStyle.left;}style.left=name==="fontSize"?"1em":(ret||0);ret=style.pixelLeft+"px";style.left=left;if(rsLeft){elem.runtimeStyle.left=rsLeft;}}return ret===""?"auto":ret;};}curCSS=getComputedStyle||currentStyle;
     104function getWH(elem,name,extra){var val=name==="width"?elem.offsetWidth:elem.offsetHeight,which=name==="width"?cssWidth:cssHeight,i=0,len=which.length;if(val>0){if(extra!=="border"){for(;i<len;i++){if(!extra){val-=parseFloat(jQuery.css(elem,"padding"+which[i]))||0;}if(extra==="margin"){val+=parseFloat(jQuery.css(elem,extra+which[i]))||0;}else{val-=parseFloat(jQuery.css(elem,"border"+which[i]+"Width"))||0;}}}return val+"px";}val=curCSS(elem,name,name);if(val<0||val==null){val=elem.style[name]||0;}val=parseFloat(val)||0;if(extra){for(;i<len;i++){val+=parseFloat(jQuery.css(elem,"padding"+which[i]))||0;if(extra!=="padding"){val+=parseFloat(jQuery.css(elem,"border"+which[i]+"Width"))||0;}if(extra==="margin"){val+=parseFloat(jQuery.css(elem,extra+which[i]))||0;}}}return val+"px";}if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.hidden=function(elem){var width=elem.offsetWidth,height=elem.offsetHeight;return(width===0&&height===0)||(!jQuery.support.reliableHiddenOffsets&&((elem.style
     105&&elem.style.display)||jQuery.css(elem,"display"))==="none");};jQuery.expr.filters.visible=function(elem){return!jQuery.expr.filters.hidden(elem);};}var r20=/%20/g,rbracket=/\[\]$/,rCRLF=/\r?\n/g,rhash=/#.*$/,rheaders=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,rinput=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,rlocalProtocol=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,rnoContent=/^(?:GET|HEAD)$/,rprotocol=/^\/\//,rquery=/\?/,rscript=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,rselectTextarea=/^(?:select|textarea)/i,rspacesAjax=/\s+/,rts=/([?&])_=[^&]*/,rurl=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,_load=jQuery.fn.load,prefilters={},transports={},ajaxLocation,ajaxLocParts,allTypes=["*/"]+["*"];try{ajaxLocation=location.href;}catch(e){ajaxLocation=document.createElement("a");ajaxLocation.href="";ajaxLocation=ajaxLocation.href;}ajaxLocParts=rurl.exec(ajaxLocation.toLowerCase())||[];function
     106addToPrefiltersOrTransports(structure){return function(dataTypeExpression,func){if(typeof dataTypeExpression!=="string"){func=dataTypeExpression;dataTypeExpression="*";}if(jQuery.isFunction(func)){var dataTypes=dataTypeExpression.toLowerCase().split(rspacesAjax),i=0,length=dataTypes.length,dataType,list,placeBefore;for(;i<length;i++){dataType=dataTypes[i];placeBefore=/^\+/.test(dataType);if(placeBefore){dataType=dataType.substr(1)||"*";}list=structure[dataType]=structure[dataType]||[];list[placeBefore?"unshift":"push"](func);}}};}function inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR,dataType,inspected){dataType=dataType||options.dataTypes[0];inspected=inspected||{};inspected[dataType]=true;var list=structure[dataType],i=0,length=list?list.length:0,executeOnly=(structure===prefilters),selection;for(;i<length&&(executeOnly||!selection);i++){selection=list[i](options,originalOptions,jqXHR);if(typeof selection==="string"){if(!executeOnly||inspected[selection]){
     107selection=undefined;}else{options.dataTypes.unshift(selection);selection=inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR,selection,inspected);}}}if((executeOnly||!selection)&&!inspected["*"]){selection=inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR,"*",inspected);}return selection;}function ajaxExtend(target,src){var key,deep,flatOptions=jQuery.ajaxSettings.flatOptions||{};for(key in src){if(src[key]!==undefined){(flatOptions[key]?target:(deep||(deep={})))[key]=src[key];}}if(deep){jQuery.extend(true,target,deep);}}jQuery.fn.extend({load:function(url,params,callback){if(typeof url!=="string"&&_load){return _load.apply(this,arguments);}else if(!this.length){return this;}var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}var type="GET";if(params){if(jQuery.isFunction(params)){callback=params;params=undefined;}else if(typeof params==="object"){params=jQuery.param(params,jQuery.ajaxSettings.
     108traditional);type="POST";}}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(jqXHR,status,responseText){responseText=jqXHR.responseText;if(jqXHR.isResolved()){jqXHR.done(function(r){responseText=r;});self.html(selector?jQuery("<div>").append(responseText.replace(rscript,"")).find(selector):responseText);}if(callback){self.each(callback,[responseText,status,jqXHR]);}}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||rselectTextarea.test(this.nodeName)||rinput.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:jQuery.isArray(val)?jQuery.map(val,function(val,i){return{name:elem.name,value:val.replace(rCRLF,"\r\n")};}):{name:elem.name,value:val.replace(rCRLF,"\r\n")};}).get();}});jQuery.each(
     109"ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(i,o){jQuery.fn[o]=function(f){return this.on(o,f);};});jQuery.each(["get","post"],function(i,method){jQuery[method]=function(url,data,callback,type){if(jQuery.isFunction(data)){type=type||callback;callback=data;data=undefined;}return jQuery.ajax({type:method,url:url,data:data,success:callback,dataType:type});};});jQuery.extend({getScript:function(url,callback){return jQuery.get(url,undefined,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},ajaxSetup:function(target,settings){if(settings){ajaxExtend(target,jQuery.ajaxSettings);}else{settings=target;target=jQuery.ajaxSettings;}ajaxExtend(target,settings);return target;},ajaxSettings:{url:ajaxLocation,isLocal:rlocalProtocol.test(ajaxLocParts[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",
     110text:"text/plain",json:"application/json, text/javascript","*":allTypes},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":window.String,"text html":true,"text json":jQuery.parseJSON,"text xml":jQuery.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:addToPrefiltersOrTransports(prefilters),ajaxTransport:addToPrefiltersOrTransports(transports),ajax:function(url,options){if(typeof url==="object"){options=url;url=undefined;}options=options||{};var s=jQuery.ajaxSetup({},options),callbackContext=s.context||s,globalEventContext=callbackContext!==s&&(callbackContext.nodeType||callbackContext instanceof jQuery)?jQuery(callbackContext):jQuery.event,deferred=jQuery.Deferred(),completeDeferred=jQuery.Callbacks("once memory"),statusCode=s.statusCode||{},ifModifiedKey,requestHeaders={},requestHeadersNames={},responseHeadersString,responseHeaders,transport,timeoutTimer,parts,state=0,fireGlobals,i,jqXHR={readyState:0,
     111setRequestHeader:function(name,value){if(!state){var lname=name.toLowerCase();name=requestHeadersNames[lname]=requestHeadersNames[lname]||name;requestHeaders[name]=value;}return this;},getAllResponseHeaders:function(){return state===2?responseHeadersString:null;},getResponseHeader:function(key){var match;if(state===2){if(!responseHeaders){responseHeaders={};while((match=rheaders.exec(responseHeadersString))){responseHeaders[match[1].toLowerCase()]=match[2];}}match=responseHeaders[key.toLowerCase()];}return match===undefined?null:match;},overrideMimeType:function(type){if(!state){s.mimeType=type;}return this;},abort:function(statusText){statusText=statusText||"abort";if(transport){transport.abort(statusText);}done(0,statusText);return this;}};function done(status,nativeStatusText,responses,headers){if(state===2){return;}state=2;if(timeoutTimer){clearTimeout(timeoutTimer);}transport=undefined;responseHeadersString=headers||"";jqXHR.readyState=status>0?4:0;var isSuccess,success,error,
     112statusText=nativeStatusText,response=responses?ajaxHandleResponses(s,jqXHR,responses):undefined,lastModified,etag;if(status>=200&&status<300||status===304){if(s.ifModified){if((lastModified=jqXHR.getResponseHeader("Last-Modified"))){jQuery.lastModified[ifModifiedKey]=lastModified;}if((etag=jqXHR.getResponseHeader("Etag"))){jQuery.etag[ifModifiedKey]=etag;}}if(status===304){statusText="notmodified";isSuccess=true;}else{try{success=ajaxConvert(s,response);statusText="success";isSuccess=true;}catch(e){statusText="parsererror";error=e;}}}else{error=statusText;if(!statusText||status){statusText="error";if(status<0){status=0;}}}jqXHR.status=status;jqXHR.statusText=""+(nativeStatusText||statusText);if(isSuccess){deferred.resolveWith(callbackContext,[success,statusText,jqXHR]);}else{deferred.rejectWith(callbackContext,[jqXHR,statusText,error]);}jqXHR.statusCode(statusCode);statusCode=undefined;if(fireGlobals){globalEventContext.trigger("ajax"+(isSuccess?"Success":"Error"),[jqXHR,s,isSuccess?
     113success:error]);}completeDeferred.fireWith(callbackContext,[jqXHR,statusText]);if(fireGlobals){globalEventContext.trigger("ajaxComplete",[jqXHR,s]);if(!(--jQuery.active)){jQuery.event.trigger("ajaxStop");}}}deferred.promise(jqXHR);jqXHR.success=jqXHR.done;jqXHR.error=jqXHR.fail;jqXHR.complete=completeDeferred.add;jqXHR.statusCode=function(map){if(map){var tmp;if(state<2){for(tmp in map){statusCode[tmp]=[statusCode[tmp],map[tmp]];}}else{tmp=map[jqXHR.status];jqXHR.then(tmp,tmp);}}return this;};s.url=((url||s.url)+"").replace(rhash,"").replace(rprotocol,ajaxLocParts[1]+"//");s.dataTypes=jQuery.trim(s.dataType||"*").toLowerCase().split(rspacesAjax);if(s.crossDomain==null){parts=rurl.exec(s.url.toLowerCase());s.crossDomain=!!(parts&&(parts[1]!=ajaxLocParts[1]||parts[2]!=ajaxLocParts[2]||(parts[3]||(parts[1]==="http:"?80:443))!=(ajaxLocParts[3]||(ajaxLocParts[1]==="http:"?80:443))));}if(s.data&&s.processData&&typeof s.data!=="string"){s.data=jQuery.param(s.data,s.traditional);}
     114inspectPrefiltersOrTransports(prefilters,s,options,jqXHR);if(state===2){return false;}fireGlobals=s.global;s.type=s.type.toUpperCase();s.hasContent=!rnoContent.test(s.type);if(fireGlobals&&jQuery.active++===0){jQuery.event.trigger("ajaxStart");}if(!s.hasContent){if(s.data){s.url+=(rquery.test(s.url)?"&":"?")+s.data;delete s.data;}ifModifiedKey=s.url;if(s.cache===false){var ts=jQuery.now(),ret=s.url.replace(rts,"$1_="+ts);s.url=ret+((ret===s.url)?(rquery.test(s.url)?"&":"?")+"_="+ts:"");}}if(s.data&&s.hasContent&&s.contentType!==false||options.contentType){jqXHR.setRequestHeader("Content-Type",s.contentType);}if(s.ifModified){ifModifiedKey=ifModifiedKey||s.url;if(jQuery.lastModified[ifModifiedKey]){jqXHR.setRequestHeader("If-Modified-Since",jQuery.lastModified[ifModifiedKey]);}if(jQuery.etag[ifModifiedKey]){jqXHR.setRequestHeader("If-None-Match",jQuery.etag[ifModifiedKey]);}}jqXHR.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+(s.dataTypes[
     1150]!=="*"?", "+allTypes+"; q=0.01":""):s.accepts["*"]);for(i in s.headers){jqXHR.setRequestHeader(i,s.headers[i]);}if(s.beforeSend&&(s.beforeSend.call(callbackContext,jqXHR,s)===false||state===2)){jqXHR.abort();return false;}for(i in{success:1,error:1,complete:1}){jqXHR[i](s[i]);}transport=inspectPrefiltersOrTransports(transports,s,options,jqXHR);if(!transport){done(-1,"No Transport");}else{jqXHR.readyState=1;if(fireGlobals){globalEventContext.trigger("ajaxSend",[jqXHR,s]);}if(s.async&&s.timeout>0){timeoutTimer=setTimeout(function(){jqXHR.abort("timeout");},s.timeout);}try{state=1;transport.send(requestHeaders,done);}catch(e){if(state<2){done(-1,e);}else{throw e;}}}return jqXHR;},param:function(a,traditional){var s=[],add=function(key,value){value=jQuery.isFunction(value)?value():value;s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(value);};if(traditional===undefined){traditional=jQuery.ajaxSettings.traditional;}if(jQuery.isArray(a)||(a.jquery&&!jQuery.isPlainObject(a))){
     116jQuery.each(a,function(){add(this.name,this.value);});}else{for(var prefix in a){buildParams(prefix,a[prefix],traditional,add);}}return s.join("&").replace(r20,"+");}});function buildParams(prefix,obj,traditional,add){if(jQuery.isArray(obj)){jQuery.each(obj,function(i,v){if(traditional||rbracket.test(prefix)){add(prefix,v);}else{buildParams(prefix+"["+(typeof v==="object"||jQuery.isArray(v)?i:"")+"]",v,traditional,add);}});}else if(!traditional&&obj!=null&&typeof obj==="object"){for(var name in obj){buildParams(prefix+"["+name+"]",obj[name],traditional,add);}}else{add(prefix,obj);}}jQuery.extend({active:0,lastModified:{},etag:{}});function ajaxHandleResponses(s,jqXHR,responses){var contents=s.contents,dataTypes=s.dataTypes,responseFields=s.responseFields,ct,type,finalDataType,firstDataType;for(type in responseFields){if(type in responses){jqXHR[responseFields[type]]=responses[type];}}while(dataTypes[0]==="*"){dataTypes.shift();if(ct===undefined){ct=s.mimeType||jqXHR.getResponseHeader(
     117"content-type");}}if(ct){for(type in contents){if(contents[type]&&contents[type].test(ct)){dataTypes.unshift(type);break;}}}if(dataTypes[0]in responses){finalDataType=dataTypes[0];}else{for(type in responses){if(!dataTypes[0]||s.converters[type+" "+dataTypes[0]]){finalDataType=type;break;}if(!firstDataType){firstDataType=type;}}finalDataType=finalDataType||firstDataType;}if(finalDataType){if(finalDataType!==dataTypes[0]){dataTypes.unshift(finalDataType);}return responses[finalDataType];}}function ajaxConvert(s,response){if(s.dataFilter){response=s.dataFilter(response,s.dataType);}var dataTypes=s.dataTypes,converters={},i,key,length=dataTypes.length,tmp,current=dataTypes[0],prev,conversion,conv,conv1,conv2;for(i=1;i<length;i++){if(i===1){for(key in s.converters){if(typeof key==="string"){converters[key.toLowerCase()]=s.converters[key];}}}prev=current;current=dataTypes[i];if(current==="*"){current=prev;}else if(prev!=="*"&&prev!==current){conversion=prev+" "+current;conv=converters[
     118conversion]||converters["* "+current];if(!conv){conv2=undefined;for(conv1 in converters){tmp=conv1.split(" ");if(tmp[0]===prev||tmp[0]==="*"){conv2=converters[tmp[1]+" "+current];if(conv2){conv1=converters[conv1];if(conv1===true){conv=conv2;}else if(conv2===true){conv=conv1;}break;}}}}if(!(conv||conv2)){jQuery.error("No conversion from "+conversion.replace(" "," to "));}if(conv!==true){response=conv?conv(response):conv2(conv1(response));}}}return response;}var jsc=jQuery.now(),jsre=/(\=)\?(&|$)|\?\?/i;jQuery.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return jQuery.expando+"_"+(jsc++);}});jQuery.ajaxPrefilter("json jsonp",function(s,originalSettings,jqXHR){var inspectData=s.contentType==="application/x-www-form-urlencoded"&&(typeof s.data==="string");if(s.dataTypes[0]==="jsonp"||s.jsonp!==false&&(jsre.test(s.url)||inspectData&&jsre.test(s.data))){var responseContainer,jsonpCallback=s.jsonpCallback=jQuery.isFunction(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,previous=
     119window[jsonpCallback],url=s.url,data=s.data,replace="$1"+jsonpCallback+"$2";if(s.jsonp!==false){url=url.replace(jsre,replace);if(s.url===url){if(inspectData){data=data.replace(jsre,replace);}if(s.data===data){url+=(/\?/.test(url)?"&":"?")+s.jsonp+"="+jsonpCallback;}}}s.url=url;s.data=data;window[jsonpCallback]=function(response){responseContainer=[response];};jqXHR.always(function(){window[jsonpCallback]=previous;if(responseContainer&&jQuery.isFunction(previous)){window[jsonpCallback](responseContainer[0]);}});s.converters["script json"]=function(){if(!responseContainer){jQuery.error(jsonpCallback+" was not called");}return responseContainer[0];};s.dataTypes[0]="json";return"script";}});jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(text){jQuery.globalEval(text);return text;}}});jQuery.ajaxPrefilter("script",function(s){if(s.cache
     120===undefined){s.cache=false;}if(s.crossDomain){s.type="GET";s.global=false;}});jQuery.ajaxTransport("script",function(s){if(s.crossDomain){var script,head=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return{send:function(_,callback){script=document.createElement("script");script.async="async";if(s.scriptCharset){script.charset=s.scriptCharset;}script.src=s.url;script.onload=script.onreadystatechange=function(_,isAbort){if(isAbort||!script.readyState||/loaded|complete/.test(script.readyState)){script.onload=script.onreadystatechange=null;if(head&&script.parentNode){head.removeChild(script);}script=undefined;if(!isAbort){callback(200,"success");}}};head.insertBefore(script,head.firstChild);},abort:function(){if(script){script.onload(0,1);}}};}});var xhrOnUnloadAbort=window.ActiveXObject?function(){for(var key in xhrCallbacks){xhrCallbacks[key](0,1);}}:false,xhrId=0,xhrCallbacks;function createStandardXHR(){try{return new window.XMLHttpRequest();}catch
     121(e){}}function createActiveXHR(){try{return new window.ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}jQuery.ajaxSettings.xhr=window.ActiveXObject?function(){return!this.isLocal&&createStandardXHR()||createActiveXHR();}:createStandardXHR;(function(xhr){jQuery.extend(jQuery.support,{ajax:!!xhr,cors:!!xhr&&("withCredentials"in xhr)});})(jQuery.ajaxSettings.xhr());if(jQuery.support.ajax){jQuery.ajaxTransport(function(s){if(!s.crossDomain||jQuery.support.cors){var callback;return{send:function(headers,complete){var xhr=s.xhr(),handle,i;if(s.username){xhr.open(s.type,s.url,s.async,s.username,s.password);}else{xhr.open(s.type,s.url,s.async);}if(s.xhrFields){for(i in s.xhrFields){xhr[i]=s.xhrFields[i];}}if(s.mimeType&&xhr.overrideMimeType){xhr.overrideMimeType(s.mimeType);}if(!s.crossDomain&&!headers["X-Requested-With"]){headers["X-Requested-With"]="XMLHttpRequest";}try{for(i in headers){xhr.setRequestHeader(i,headers[i]);}}catch(_){}xhr.send((s.hasContent&&s.data)||null);callback=function(_,
     122isAbort){var status,statusText,responseHeaders,responses,xml;try{if(callback&&(isAbort||xhr.readyState===4)){callback=undefined;if(handle){xhr.onreadystatechange=jQuery.noop;if(xhrOnUnloadAbort){delete xhrCallbacks[handle];}}if(isAbort){if(xhr.readyState!==4){xhr.abort();}}else{status=xhr.status;responseHeaders=xhr.getAllResponseHeaders();responses={};xml=xhr.responseXML;if(xml&&xml.documentElement){responses.xml=xml;}responses.text=xhr.responseText;try{statusText=xhr.statusText;}catch(e){statusText="";}if(!status&&s.isLocal&&!s.crossDomain){status=responses.text?200:404;}else if(status===1223){status=204;}}}}catch(firefoxAccessException){if(!isAbort){complete(-1,firefoxAccessException);}}if(responses){complete(status,statusText,responses,responseHeaders);}};if(!s.async||xhr.readyState===4){callback();}else{handle=++xhrId;if(xhrOnUnloadAbort){if(!xhrCallbacks){xhrCallbacks={};jQuery(window).unload(xhrOnUnloadAbort);}xhrCallbacks[handle]=callback;}xhr.onreadystatechange=callback;}},
     123abort:function(){if(callback){callback(0,1);}}};}});}var elemdisplay={},iframe,iframeDoc,rfxtypes=/^(?:toggle|show|hide)$/,rfxnum=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,timerId,fxAttrs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],fxNow;jQuery.fn.extend({show:function(speed,easing,callback){var elem,display;if(speed||speed===0){return this.animate(genFx("show",3),speed,easing,callback);}else{for(var i=0,j=this.length;i<j;i++){elem=this[i];if(elem.style){display=elem.style.display;if(!jQuery._data(elem,"olddisplay")&&display==="none"){display=elem.style.display="";}if(display===""&&jQuery.css(elem,"display")==="none"){jQuery._data(elem,"olddisplay",defaultDisplay(elem.nodeName));}}}for(i=0;i<j;i++){elem=this[i];if(elem.style){display=elem.style.display;if(display===""||display==="none"){elem.style.display=jQuery._data(elem,"olddisplay")||"";}}}return this;}},hide:function(speed,easing,
     124callback){if(speed||speed===0){return this.animate(genFx("hide",3),speed,easing,callback);}else{var elem,display,i=0,j=this.length;for(;i<j;i++){elem=this[i];if(elem.style){display=jQuery.css(elem,"display");if(display!=="none"&&!jQuery._data(elem,"olddisplay")){jQuery._data(elem,"olddisplay",display);}}}for(i=0;i<j;i++){if(this[i].style){this[i].style.display="none";}}return this;}},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2,callback){var bool=typeof fn==="boolean";if(jQuery.isFunction(fn)&&jQuery.isFunction(fn2)){this._toggle.apply(this,arguments);}else if(fn==null||bool){this.each(function(){var state=bool?fn:jQuery(this).is(":hidden");jQuery(this)[state?"show":"hide"]();});}else{this.animate(genFx("toggle",3),fn,fn2,callback);}return this;},fadeTo:function(speed,to,easing,callback){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:to},speed,easing,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);
     125if(jQuery.isEmptyObject(prop)){return this.each(optall.complete,[false]);}prop=jQuery.extend({},prop);function doAnimation(){if(optall.queue===false){jQuery._mark(this);}var opt=jQuery.extend({},optall),isElement=this.nodeType===1,hidden=isElement&&jQuery(this).is(":hidden"),name,val,p,e,parts,start,end,unit,method;opt.animatedProperties={};for(p in prop){name=jQuery.camelCase(p);if(p!==name){prop[name]=prop[p];delete prop[p];}val=prop[name];if(jQuery.isArray(val)){opt.animatedProperties[name]=val[1];val=prop[name]=val[0];}else{opt.animatedProperties[name]=opt.specialEasing&&opt.specialEasing[name]||opt.easing||'swing';}if(val==="hide"&&hidden||val==="show"&&!hidden){return opt.complete.call(this);}if(isElement&&(name==="height"||name==="width")){opt.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(jQuery.css(this,"display")==="inline"&&jQuery.css(this,"float")==="none"){if(!jQuery.support.inlineBlockNeedsLayout||defaultDisplay(this.nodeName)==="inline"){this
     126.style.display="inline-block";}else{this.style.zoom=1;}}}}if(opt.overflow!=null){this.style.overflow="hidden";}for(p in prop){e=new jQuery.fx(this,opt,p);val=prop[p];if(rfxtypes.test(val)){method=jQuery._data(this,"toggle"+p)||(val==="toggle"?hidden?"show":"hide":0);if(method){jQuery._data(this,"toggle"+p,method==="show"?"hide":"show");e[method]();}else{e[val]();}}else{parts=rfxnum.exec(val);start=e.cur();if(parts){end=parseFloat(parts[2]);unit=parts[3]||(jQuery.cssNumber[p]?"":"px");if(unit!=="px"){jQuery.style(this,p,(end||1)+unit);start=((end||1)/e.cur())*start;jQuery.style(this,p,start+unit);}if(parts[1]){end=((parts[1]==="-="?-1:1)*end)+start;}e.custom(start,end,unit);}else{e.custom(start,val,"");}}}return true;}return optall.queue===false?this.each(doAnimation):this.queue(optall.queue,doAnimation);},stop:function(type,clearQueue,gotoEnd){if(typeof type!=="string"){gotoEnd=clearQueue;clearQueue=type;type=undefined;}if(clearQueue&&type!==false){this.queue(type||"fx",[]);}return this
     127.each(function(){var index,hadTimers=false,timers=jQuery.timers,data=jQuery._data(this);if(!gotoEnd){jQuery._unmark(true,this);}function stopQueue(elem,data,index){var hooks=data[index];jQuery.removeData(elem,index,true);hooks.stop(gotoEnd);}if(type==null){for(index in data){if(data[index]&&data[index].stop&&index.indexOf(".run")===index.length-4){stopQueue(this,data,index);}}}else if(data[index=type+".run"]&&data[index].stop){stopQueue(this,data,index);}for(index=timers.length;index--;){if(timers[index].elem===this&&(type==null||timers[index].queue===type)){if(gotoEnd){timers[index](true);}else{timers[index].saveState();}hadTimers=true;timers.splice(index,1);}}if(!(gotoEnd&&hadTimers)){jQuery.dequeue(this,type);}});}});function createFxNow(){setTimeout(clearFxNow,0);return(fxNow=jQuery.now());}function clearFxNow(){fxNow=undefined;}function genFx(type,num){var obj={};jQuery.each(fxAttrs.concat.apply([],fxAttrs.slice(0,num)),function(){obj[this]=type;});return obj;}jQuery.each({
     128slideDown:genFx("show",1),slideUp:genFx("hide",1),slideToggle:genFx("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(name,props){jQuery.fn[name]=function(speed,easing,callback){return this.animate(props,speed,easing,callback);};});jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&typeof speed==="object"?jQuery.extend({},speed):{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};opt.duration=jQuery.fx.off?0:typeof opt.duration==="number"?opt.duration:opt.duration in jQuery.fx.speeds?jQuery.fx.speeds[opt.duration]:jQuery.fx.speeds._default;if(opt.queue==null||opt.queue===true){opt.queue="fx";}opt.old=opt.complete;opt.complete=function(noUnmark){if(jQuery.isFunction(opt.old)){opt.old.call(this);}if(opt.queue){jQuery.dequeue(this,opt.queue);}else if(noUnmark!==false){jQuery._unmark(this);}};return opt;},easing:{linear:function(p,n,firstNum,
     129diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;options.orig=options.orig||{};}});jQuery.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);}(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}var parsed,r=jQuery.css(this.elem,this.prop);return isNaN(parsed=parseFloat(r))?!r||r==="auto"?0:r:parsed;},custom:function(from,to,unit){var self=this,fx=jQuery.fx;this.startTime=fxNow||createFxNow();this.end=to;this.now=this.start=from;this.pos=this.state=0;this.unit=unit||this.unit||(jQuery.cssNumber[this.prop]?"":"px");function t(gotoEnd){return self.step(gotoEnd);}t.queue=this.options.queue;t.elem=this.elem;t.saveState=function(){if(self.options.
     130hide&&jQuery._data(self.elem,"fxshow"+self.prop)===undefined){jQuery._data(self.elem,"fxshow"+self.prop,self.start);}};if(t()&&jQuery.timers.push(t)&&!timerId){timerId=setInterval(fx.tick,fx.interval);}},show:function(){var dataShow=jQuery._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=dataShow||jQuery.style(this.elem,this.prop);this.options.show=true;if(dataShow!==undefined){this.custom(this.cur(),dataShow);}else{this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());}jQuery(this.elem).show();},hide:function(){this.options.orig[this.prop]=jQuery._data(this.elem,"fxshow"+this.prop)||jQuery.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(gotoEnd){var p,n,complete,t=fxNow||createFxNow(),done=true,elem=this.elem,options=this.options;if(gotoEnd||t>=options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();options.animatedProperties[this.prop]=true;for(p in options.animatedProperties){
     131if(options.animatedProperties[p]!==true){done=false;}}if(done){if(options.overflow!=null&&!jQuery.support.shrinkWrapBlocks){jQuery.each(["","X","Y"],function(index,value){elem.style["overflow"+value]=options.overflow[index];});}if(options.hide){jQuery(elem).hide();}if(options.hide||options.show){for(p in options.animatedProperties){jQuery.style(elem,p,options.orig[p]);jQuery.removeData(elem,"fxshow"+p,true);jQuery.removeData(elem,"toggle"+p,true);}}complete=options.complete;if(complete){options.complete=false;complete.call(elem);}}return false;}else{if(options.duration==Infinity){this.now=t;}else{n=t-this.startTime;this.state=n/options.duration;this.pos=jQuery.easing[options.animatedProperties[this.prop]](this.state,n,0,1,options.duration);this.now=this.start+((this.end-this.start)*this.pos);}this.update();}return true;}};jQuery.extend(jQuery.fx,{tick:function(){var timer,timers=jQuery.timers,i=0;for(;i<timers.length;i++){timer=timers[i];if(!timer()&&timers[i]===timer){timers.splice(i--
     132,1);}}if(!timers.length){jQuery.fx.stop();}},interval:13,stop:function(){clearInterval(timerId);timerId=null;},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(fx){jQuery.style(fx.elem,"opacity",fx.now);},_default:function(fx){if(fx.elem.style&&fx.elem.style[fx.prop]!=null){fx.elem.style[fx.prop]=fx.now+fx.unit;}else{fx.elem[fx.prop]=fx.now;}}}});jQuery.each(["width","height"],function(i,prop){jQuery.fx.step[prop]=function(fx){jQuery.style(fx.elem,prop,Math.max(0,fx.now)+fx.unit);};});if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem;}).length;};}function defaultDisplay(nodeName){if(!elemdisplay[nodeName]){var body=document.body,elem=jQuery("<"+nodeName+">").appendTo(body),display=elem.css("display");elem.remove();if(display==="none"||display===""){if(!iframe){iframe=document.createElement("iframe");iframe.frameBorder=iframe.width=iframe.height=0;}body.appendChild(iframe);if
     133(!iframeDoc||!iframe.createElement){iframeDoc=(iframe.contentWindow||iframe.contentDocument).document;iframeDoc.write((document.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");iframeDoc.close();}elem=iframeDoc.createElement(nodeName);iframeDoc.body.appendChild(elem);display=jQuery.css(elem,"display");body.removeChild(iframe);}elemdisplay[nodeName]=display;}return elemdisplay[nodeName];}var rtable=/^t(?:able|d|h)$/i,rroot=/^(?:body|html)$/i;if("getBoundingClientRect"in document.documentElement){jQuery.fn.offset=function(options){var elem=this[0],box;if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i);});}if(!elem||!elem.ownerDocument){return null;}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem);}try{box=elem.getBoundingClientRect();}catch(e){}var doc=elem.ownerDocument,docElem=doc.documentElement;if(!box||!jQuery.contains(docElem,elem)){return box?{top:box.top,left:box.left}:{top:0,left:0};}var body=doc.body,win=
     134getWindow(doc),clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,scrollTop=win.pageYOffset||jQuery.support.boxModel&&docElem.scrollTop||body.scrollTop,scrollLeft=win.pageXOffset||jQuery.support.boxModel&&docElem.scrollLeft||body.scrollLeft,top=box.top+scrollTop-clientTop,left=box.left+scrollLeft-clientLeft;return{top:top,left:left};};}else{jQuery.fn.offset=function(options){var elem=this[0];if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i);});}if(!elem||!elem.ownerDocument){return null;}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem);}var computedStyle,offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle,top=elem.offsetTop,left=elem.offsetLeft;while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){if(
     135jQuery.support.fixedPosition&&prevComputedStyle.position==="fixed"){break;}computedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle;top-=elem.scrollTop;left-=elem.scrollLeft;if(elem===offsetParent){top+=elem.offsetTop;left+=elem.offsetLeft;if(jQuery.support.doesNotAddBorder&&!(jQuery.support.doesAddBorderForTableAndCells&&rtable.test(elem.nodeName))){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0;}prevOffsetParent=offsetParent;offsetParent=elem.offsetParent;}if(jQuery.support.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible"){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0;}prevComputedStyle=computedStyle;}if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static"){top+=body.offsetTop;left+=body.offsetLeft;}if(jQuery.support.fixedPosition&&prevComputedStyle.position==="fixed"){top+=Math.max(docElem.scrollTop,
     136body.scrollTop);left+=Math.max(docElem.scrollLeft,body.scrollLeft);}return{top:top,left:left};};}jQuery.offset={bodyOffset:function(body){var top=body.offsetTop,left=body.offsetLeft;if(jQuery.support.doesNotIncludeMarginInBodyOffset){top+=parseFloat(jQuery.css(body,"marginTop"))||0;left+=parseFloat(jQuery.css(body,"marginLeft"))||0;}return{top:top,left:left};},setOffset:function(elem,options,i){var position=jQuery.css(elem,"position");if(position==="static"){elem.style.position="relative";}var curElem=jQuery(elem),curOffset=curElem.offset(),curCSSTop=jQuery.css(elem,"top"),curCSSLeft=jQuery.css(elem,"left"),calculatePosition=(position==="absolute"||position==="fixed")&&jQuery.inArray("auto",[curCSSTop,curCSSLeft])>-1,props={},curPosition={},curTop,curLeft;if(calculatePosition){curPosition=curElem.position();curTop=curPosition.top;curLeft=curPosition.left;}else{curTop=parseFloat(curCSSTop)||0;curLeft=parseFloat(curCSSLeft)||0;}if(jQuery.isFunction(options)){options=options.call(elem,i,
     137curOffset);}if(options.top!=null){props.top=(options.top-curOffset.top)+curTop;}if(options.left!=null){props.left=(options.left-curOffset.left)+curLeft;}if("using"in options){options.using.call(elem,props);}else{curElem.css(props);}}};jQuery.fn.extend({position:function(){if(!this[0]){return null;}var elem=this[0],offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=rroot.test(offsetParent[0].nodeName)?{top:0,left:0}:offsetParent.offset();offset.top-=parseFloat(jQuery.css(elem,"marginTop"))||0;offset.left-=parseFloat(jQuery.css(elem,"marginLeft"))||0;parentOffset.top+=parseFloat(jQuery.css(offsetParent[0],"borderTopWidth"))||0;parentOffset.left+=parseFloat(jQuery.css(offsetParent[0],"borderLeftWidth"))||0;return{top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};},offsetParent:function(){return this.map(function(){var offsetParent=this.offsetParent||document.body;while(offsetParent&&(!rroot.test(offsetParent.nodeName)&&jQuery.css(offsetParent,"position")
     138==="static")){offsetParent=offsetParent.offsetParent;}return offsetParent;});}});jQuery.each(["Left","Top"],function(i,name){var method="scroll"+name;jQuery.fn[method]=function(val){var elem,win;if(val===undefined){elem=this[0];if(!elem){return null;}win=getWindow(elem);return win?("pageXOffset"in win)?win[i?"pageYOffset":"pageXOffset"]:jQuery.support.boxModel&&win.document.documentElement[method]||win.document.body[method]:elem[method];}return this.each(function(){win=getWindow(this);if(win){win.scrollTo(!i?val:jQuery(win).scrollLeft(),i?val:jQuery(win).scrollTop());}else{this[method]=val;}});};});function getWindow(elem){return jQuery.isWindow(elem)?elem:elem.nodeType===9?elem.defaultView||elem.parentWindow:false;}jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn["inner"+name]=function(){var elem=this[0];return elem?elem.style?parseFloat(jQuery.css(elem,type,"padding")):this[type]():null;};jQuery.fn["outer"+name]=function(margin){var elem=this[0];
     139return elem?elem.style?parseFloat(jQuery.css(elem,type,margin?"margin":"border")):this[type]():null;};jQuery.fn[type]=function(size){var elem=this[0];if(!elem){return size==null?null:this;}if(jQuery.isFunction(size)){return this.each(function(i){var self=jQuery(this);self[type](size.call(this,i,self[type]()));});}if(jQuery.isWindow(elem)){var docElemProp=elem.document.documentElement["client"+name],body=elem.document.body;return elem.document.compatMode==="CSS1Compat"&&docElemProp||body&&body["client"+name]||docElemProp;}else if(elem.nodeType===9){return Math.max(elem.documentElement["client"+name],elem.body["scroll"+name],elem.documentElement["scroll"+name],elem.body["offset"+name],elem.documentElement["offset"+name]);}else if(size===undefined){var orig=jQuery.css(elem,type),ret=parseFloat(orig);return jQuery.isNumeric(ret)?ret:orig;}else{return this.css(type,typeof size==="string"?size:size+"px");}};});window.jQuery=window.$=jQuery;if(typeof define==="function"&&define.amd&&define.
     140amd.jQuery){define("jquery",[],function(){return jQuery;});}})(window);;var mw=(function($,undefined){"use strict";var hasOwn=Object.prototype.hasOwnProperty;function Map(global){this.values=global===true?window:{};return this;}Map.prototype={get:function(selection,fallback){var results,i;if($.isArray(selection)){selection=$.makeArray(selection);results={};for(i=0;i<selection.length;i+=1){results[selection[i]]=this.get(selection[i],fallback);}return results;}else if(typeof selection==='string'){if(this.values[selection]===undefined){if(fallback!==undefined){return fallback;}return null;}return this.values[selection];}if(selection===undefined){return this.values;}else{return null;}},set:function(selection,value){var s;if($.isPlainObject(selection)){for(s in selection){this.values[s]=selection[s];}return true;}else if(typeof selection==='string'&&value!==undefined){this.values[selection]=value;return true;}return false;},exists:function(selection){var s;if($.isArray(selection)){for(s=0;s
     141<selection.length;s+=1){if(this.values[selection[s]]===undefined){return false;}}return true;}else{return this.values[selection]!==undefined;}}};function Message(map,key,parameters){this.format='plain';this.map=map;this.key=key;this.parameters=parameters===undefined?[]:$.makeArray(parameters);return this;}Message.prototype={parser:function(){var parameters=this.parameters;return this.map.get(this.key).replace(/\$(\d+)/g,function(str,match){var index=parseInt(match,10)-1;return parameters[index]!==undefined?parameters[index]:'$'+match;});},params:function(parameters){var i;for(i=0;i<parameters.length;i+=1){this.parameters.push(parameters[i]);}return this;},toString:function(){var text;if(!this.exists()){if(this.format!=='plain'){return mw.html.escape('<'+this.key+'>');}return'<'+this.key+'>';}if(this.format==='plain'){text=this.parser();}if(this.format==='escaped'){text=this.parser();text=mw.html.escape(text);}if(this.format==='parse'){text=this.parser();}return text;},parse:function(){
     142this.format='parse';return this.toString();},plain:function(){this.format='plain';return this.toString();},escaped:function(){this.format='escaped';return this.toString();},exists:function(){return this.map.exists(this.key);}};return{log:function(){},Map:Map,Message:Message,config:null,libs:{},legacy:{},messages:new Map(),message:function(key,parameter_1){var parameters;if(parameter_1!==undefined){parameters=$.makeArray(arguments);parameters.shift();}else{parameters=[];}return new Message(mw.messages,key,parameters);},msg:function(key,parameters){return mw.message.apply(mw.message,arguments).toString();},loader:(function(){var registry={},sources={},batch=[],queue=[],jobs=[],ready=false,$marker=null;$(document).ready(function(){ready=true;});function getMarker(){if($marker){return $marker;}else{$marker=$('meta[name="ResourceLoaderDynamicStyles"]');if($marker.length){return $marker;}mw.log('getMarker> No <meta name="ResourceLoaderDynamicStyles"> found, inserting dynamically.');$marker=$
     143('<meta>').attr('name','ResourceLoaderDynamicStyles').appendTo('head');return $marker;}}function addInlineCSS(css,media){var $style=getMarker().prev(),$newStyle,attrs={'type':'text/css','media':media};if($style.is('style')&&$style.data('ResourceLoaderDynamicStyleTag')===true){try{css=$(mw.html.element('style',{},new mw.html.Cdata("\n\n"+css))).html();$style.append(css);}catch(e){css=$style.html()+"\n\n"+css;$newStyle=$(mw.html.element('style',attrs,new mw.html.Cdata(css))).data('ResourceLoaderDynamicStyleTag',true);$style.after($newStyle);$style.remove();}}else{$style=$(mw.html.element('style',attrs,new mw.html.Cdata(css)));$style.data('ResourceLoaderDynamicStyleTag',true);getMarker().before($style);}}function compare(a,b){var i;if(a.length!==b.length){return false;}for(i=0;i<b.length;i+=1){if($.isArray(a[i])){if(!compare(a[i],b[i])){return false;}}if(a[i]!==b[i]){return false;}}return true;}function formatVersionNumber(timestamp){var pad=function(a,b,c){return[a<10?'0'+a:a,b<10?'0'+b:
     144b,c<10?'0'+c:c].join('');},d=new Date();d.setTime(timestamp*1000);return[pad(d.getUTCFullYear(),d.getUTCMonth()+1,d.getUTCDate()),'T',pad(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds()),'Z'].join('');}function recurse(module,resolved,unresolved){var n,deps,len;if(registry[module]===undefined){throw new Error('Unknown dependency: '+module);}if($.isFunction(registry[module].dependencies)){registry[module].dependencies=registry[module].dependencies();if(typeof registry[module].dependencies!=='object'){registry[module].dependencies=[registry[module].dependencies];}}deps=registry[module].dependencies;len=deps.length;for(n=0;n<len;n+=1){if($.inArray(deps[n],resolved)===-1){if($.inArray(deps[n],unresolved)!==-1){throw new Error('Circular reference detected: '+module+' -> '+deps[n]);}unresolved[unresolved.length]=module;recurse(deps[n],resolved,unresolved);unresolved.pop();}}resolved[resolved.length]=module;}function resolve(module){var modules,m,deps,n,resolved;if($.isArray(module)){
     145modules=[];for(m=0;m<module.length;m+=1){deps=resolve(module[m]);for(n=0;n<deps.length;n+=1){modules[modules.length]=deps[n];}}return modules;}else if(typeof module==='string'){resolved=[];recurse(module,resolved,[]);return resolved;}throw new Error('Invalid module argument: '+module);}function filter(states,modules){var list,module,s,m;if(typeof states==='string'){states=[states];}list=[];if(modules===undefined){modules=[];for(module in registry){modules[modules.length]=module;}}for(s=0;s<states.length;s+=1){for(m=0;m<modules.length;m+=1){if(registry[modules[m]]===undefined){if(states[s]==='unregistered'){list[list.length]=modules[m];}}else{if(registry[modules[m]].state===states[s]){list[list.length]=modules[m];}}}}return list;}function handlePending(module){var j,r;try{for(j=0;j<jobs.length;j+=1){if(compare(filter('ready',jobs[j].dependencies),jobs[j].dependencies)){var callback=jobs[j].ready;jobs.splice(j,1);j-=1;if($.isFunction(callback)){callback();}}}for(r in registry){if(
     146registry[r].state==='loaded'){if(compare(filter(['ready'],registry[r].dependencies),registry[r].dependencies)){execute(r);}}}}catch(e){for(j=0;j<jobs.length;j+=1){if($.inArray(module,jobs[j].dependencies)!==-1){if($.isFunction(jobs[j].error)){jobs[j].error(e,module);}jobs.splice(j,1);j-=1;}}throw e;}}function addScript(src,callback,async){var done=false,script,head;if(ready||async){script=document.createElement('script');script.setAttribute('src',src);script.setAttribute('type','text/javascript');if($.isFunction(callback)){script.onload=script.onreadystatechange=function(){if(!done&&(!script.readyState||/loaded|complete/.test(script.readyState))){done=true;callback();try{script.onload=script.onreadystatechange=null;if(script.parentNode){script.parentNode.removeChild(script);}script=undefined;}catch(e){}}};}if(window.opera){$(function(){document.body.appendChild(script);});}else{head=document.getElementsByTagName('head')[0];(document.body||head).appendChild(script);}}else{document.write
     147(mw.html.element('script',{'type':'text/javascript','src':src},''));if($.isFunction(callback)){callback();}}}function execute(module,callback){var style,media,i,script,markModuleReady,nestedAddScript;if(registry[module]===undefined){throw new Error('Module has not been registered yet: '+module);}else if(registry[module].state==='registered'){throw new Error('Module has not been requested from the server yet: '+module);}else if(registry[module].state==='loading'){throw new Error('Module has not completed loading yet: '+module);}else if(registry[module].state==='ready'){throw new Error('Module has already been loaded: '+module);}if($.isPlainObject(registry[module].style)){for(media in registry[module].style){style=registry[module].style[media];if($.isArray(style)){for(i=0;i<style.length;i+=1){getMarker().before(mw.html.element('link',{'type':'text/css','media':media,'rel':'stylesheet','href':style[i]}));}}else if(typeof style==='string'){addInlineCSS(style,media);}}}if($.isPlainObject(
     148registry[module].messages)){mw.messages.set(registry[module].messages);}try{script=registry[module].script;markModuleReady=function(){registry[module].state='ready';handlePending(module);if($.isFunction(callback)){callback();}};nestedAddScript=function(arr,callback,async,i){if(i>=arr.length){callback();return;}addScript(arr[i],function(){nestedAddScript(arr,callback,async,i+1);},async);};if($.isArray(script)){registry[module].state='loading';nestedAddScript(script,markModuleReady,registry[module].async,0);}else if($.isFunction(script)){script($);markModuleReady();}}catch(e){if(window.console&&typeof window.console.log==='function'){console.log('mw.loader::execute> Exception thrown by '+module+': '+e.message);}registry[module].state='error';}}function request(dependencies,ready,error,async){var regItemDeps,regItemDepLen,n;if(typeof dependencies==='string'){dependencies=[dependencies];if(registry[dependencies[0]]!==undefined){regItemDeps=registry[dependencies[0]].dependencies;
     149regItemDepLen=regItemDeps.length;for(n=0;n<regItemDepLen;n+=1){dependencies[dependencies.length]=regItemDeps[n];}}}if(arguments.length>1){jobs[jobs.length]={'dependencies':filter(['registered','loading','loaded'],dependencies),'ready':ready,'error':error};}dependencies=filter(['registered'],dependencies);for(n=0;n<dependencies.length;n+=1){if($.inArray(dependencies[n],queue)===-1){queue[queue.length]=dependencies[n];if(async){registry[dependencies[n]].async=true;}}}mw.loader.work();}function sortQuery(o){var sorted={},key,a=[];for(key in o){if(hasOwn.call(o,key)){a.push(key);}}a.sort();for(key=0;key<a.length;key+=1){sorted[a[key]]=o[a[key]];}return sorted;}function buildModulesString(moduleMap){var arr=[],p,prefix;for(prefix in moduleMap){p=prefix===''?'':prefix+'.';arr.push(p+moduleMap[prefix].join(','));}return arr.join('|');}function doRequest(moduleMap,currReqBase,sourceLoadScript,async){var request=$.extend({'modules':buildModulesString(moduleMap)},currReqBase);request=sortQuery(
     150request);addScript(sourceLoadScript+'?'+$.param(request)+'&*',null,async);}return{work:function(){var reqBase,splits,maxQueryLength,q,b,bSource,bGroup,bSourceGroup,source,group,g,i,modules,maxVersion,sourceLoadScript,currReqBase,currReqBaseLength,moduleMap,l,lastDotIndex,prefix,suffix,bytesAdded,async;reqBase={skin:mw.config.get('skin'),lang:mw.config.get('wgUserLanguage'),debug:mw.config.get('debug')};splits={};maxQueryLength=mw.config.get('wgResourceLoaderMaxQueryLength',-1);for(q=0;q<queue.length;q+=1){if(registry[queue[q]]!==undefined&&registry[queue[q]].state==='registered'){if($.inArray(queue[q],batch)===-1){batch[batch.length]=queue[q];registry[queue[q]].state='loading';}}}if(!batch.length){return;}queue=[];batch.sort();for(b=0;b<batch.length;b+=1){bSource=registry[batch[b]].source;bGroup=registry[batch[b]].group;if(splits[bSource]===undefined){splits[bSource]={};}if(splits[bSource][bGroup]===undefined){splits[bSource][bGroup]=[];}bSourceGroup=splits[bSource][bGroup];
     151bSourceGroup[bSourceGroup.length]=batch[b];}batch=[];for(source in splits){sourceLoadScript=sources[source].loadScript;for(group in splits[source]){modules=splits[source][group];maxVersion=0;for(g=0;g<modules.length;g+=1){if(registry[modules[g]].version>maxVersion){maxVersion=registry[modules[g]].version;}}currReqBase=$.extend({'version':formatVersionNumber(maxVersion)},reqBase);currReqBaseLength=$.param(currReqBase).length;async=true;l=currReqBaseLength+9;moduleMap={};for(i=0;i<modules.length;i+=1){lastDotIndex=modules[i].lastIndexOf('.');prefix=modules[i].substr(0,lastDotIndex);suffix=modules[i].substr(lastDotIndex+1);bytesAdded=moduleMap[prefix]!==undefined?suffix.length+3:modules[i].length+3;if(maxQueryLength>0&&!$.isEmptyObject(moduleMap)&&l+bytesAdded>maxQueryLength){doRequest(moduleMap,currReqBase,sourceLoadScript,async);moduleMap={};async=true;l=currReqBaseLength+9;}if(moduleMap[prefix]===undefined){moduleMap[prefix]=[];}moduleMap[prefix].push(suffix);if(!registry[modules[i]].
     152async){async=false;}l+=bytesAdded;}if(!$.isEmptyObject(moduleMap)){doRequest(moduleMap,currReqBase,sourceLoadScript,async);}}}},addSource:function(id,props){var source;if(typeof id==='object'){for(source in id){mw.loader.addSource(source,id[source]);}return true;}if(sources[id]!==undefined){throw new Error('source already registered: '+id);}sources[id]=props;return true;},register:function(module,version,dependencies,group,source){var m;if(typeof module==='object'){for(m=0;m<module.length;m+=1){if(typeof module[m]==='string'){mw.loader.register(module[m]);}else if(typeof module[m]==='object'){mw.loader.register.apply(mw.loader,module[m]);}}return;}if(typeof module!=='string'){throw new Error('module must be a string, not a '+typeof module);}if(registry[module]!==undefined){throw new Error('module already registered: '+module);}registry[module]={'version':version!==undefined?parseInt(version,10):0,'dependencies':[],'group':typeof group==='string'?group:null,'source':typeof source===
     153'string'?source:'local','state':'registered'};if(typeof dependencies==='string'){registry[module].dependencies=[dependencies];}else if(typeof dependencies==='object'||$.isFunction(dependencies)){registry[module].dependencies=dependencies;}},implement:function(module,script,style,msgs){if(typeof module!=='string'){throw new Error('module must be a string, not a '+typeof module);}if(!$.isFunction(script)&&!$.isArray(script)){throw new Error('script must be a function or an array, not a '+typeof script);}if(!$.isPlainObject(style)){throw new Error('style must be an object, not a '+typeof style);}if(!$.isPlainObject(msgs)){throw new Error('msgs must be an object, not a '+typeof msgs);}if(registry[module]===undefined){mw.loader.register(module);}if(registry[module]!==undefined&&registry[module].script!==undefined){throw new Error('module already implemented: '+module);}registry[module].state='loaded';registry[module].script=script;registry[module].style=style;registry[module].messages=msgs;
     154if(compare(filter(['ready'],registry[module].dependencies),registry[module].dependencies)){execute(module);}},using:function(dependencies,ready,error){var tod=typeof dependencies;if(tod!=='object'&&tod!=='string'){throw new Error('dependencies must be a string or an array, not a '+tod);}if(tod==='string'){dependencies=[dependencies];}dependencies=resolve(dependencies);if(compare(filter(['ready'],dependencies),dependencies)){if($.isFunction(ready)){ready();}}else if(filter(['error'],dependencies).length){if($.isFunction(error)){error(new Error('one or more dependencies have state "error"'),dependencies);}}else{request(dependencies,ready,error);}},load:function(modules,type,async){var filtered,m;if(typeof modules!=='object'&&typeof modules!=='string'){throw new Error('modules must be a string or an array, not a '+typeof modules);}if(typeof modules==='string'){if(/^(https?:)?\/\//.test(modules)){if(async===undefined){async=true;}if(type==='text/css'){$('head').append($('<link>',{rel:
     155'stylesheet',type:'text/css',href:modules}));return;}else if(type==='text/javascript'||type===undefined){addScript(modules,null,async);return;}throw new Error('invalid type for external url, must be text/css or text/javascript. not '+type);}modules=[modules];}for(filtered=[],m=0;m<modules.length;m+=1){if(registry[modules[m]]!==undefined){filtered[filtered.length]=modules[m];}}filtered=resolve(filtered);if(compare(filter(['ready'],filtered),filtered)){return;}else if(filter(['error'],filtered).length){return;}else{request(filtered,null,null,async);return;}},state:function(module,state){var m;if(typeof module==='object'){for(m in module){mw.loader.state(m,module[m]);}return;}if(registry[module]===undefined){mw.loader.register(module);}registry[module].state=state;},getVersion:function(module){if(registry[module]!==undefined&&registry[module].version!==undefined){return formatVersionNumber(registry[module].version);}return null;},version:function(){return mw.loader.getVersion.apply(mw.
     156loader,arguments);},getState:function(module){if(registry[module]!==undefined&&registry[module].state!==undefined){return registry[module].state;}return null;},getModuleNames:function(){return $.map(registry,function(i,key){return key;});},go:function(){mw.loader.load('mediawiki.user');}};}()),html:(function(){function escapeCallback(s){switch(s){case"'":return'&#039;';case'"':return'&quot;';case'<':return'&lt;';case'>':return'&gt;';case'&':return'&amp;';}}return{escape:function(s){return s.replace(/['"<>&]/g,escapeCallback);},Raw:function(value){this.value=value;},Cdata:function(value){this.value=value;},element:function(name,attrs,contents){var v,attrName,s='<'+name;for(attrName in attrs){v=attrs[attrName];if(v===true){v=attrName;}else if(v===false){continue;}s+=' '+attrName+'="'+this.escape(String(v))+'"';}if(contents===undefined||contents===null){s+='/>';return s;}s+='>';switch(typeof contents){case'string':s+=this.escape(contents);break;case'number':case'boolean':s+=String(
     157contents);break;default:if(contents instanceof this.Raw){s+=contents.value;}else if(contents instanceof this.Cdata){if(/<\/[a-zA-z]/.test(contents.value)){throw new Error('mw.html.element: Illegal end tag found in CDATA');}s+=contents.value;}else{throw new Error('mw.html.element: Invalid type of contents');}}s+='</'+name+'>';return s;}};})(),user:{options:new Map(),tokens:new Map()}};})(jQuery);window.$j=jQuery;window.mw=window.mediaWiki=mw;if(typeof startUp!=='undefined'&&jQuery.isFunction(startUp)){startUp();startUp=undefined;};mw.loader.state({"jquery":"ready","mediawiki":"ready"});
    2158
    3 /* cache key: oni_wiki:resourceloader:filter:minify-js:7:0fcba82177db6429d02096ea1f0465ed */
     159/* cache key: oni_wiki:resourceloader:filter:minify-js:7:8f87392541be422f5616ba0b0d90b5dd */
  • Vago/trunk/Vago/help/XMLSNDD_files/load(4).php

    r771 r1054  
    1 mw.loader.implement("jquery.checkboxShiftClick",function($){(function($){$.fn.checkboxShiftClick=function(text){var prevCheckbox=null;var $box=this;$box.click(function(e){if(prevCheckbox!==null&&e.shiftKey){$box.slice(Math.min($box.index(prevCheckbox),$box.index(e.target)),Math.max($box.index(prevCheckbox),$box.index(e.target))+1).prop('checked',e.target.checked?true:false);}prevCheckbox=e.target;});return $box;};})(jQuery);;},{},{});mw.loader.implement("jquery.makeCollapsible",function($){(function($,mw){$.fn.makeCollapsible=function(){return this.each(function(){var _fn='jquery.makeCollapsible> ';var $that=$(this).addClass('mw-collapsible'),that=this,collapsetext=$(this).attr('data-collapsetext'),expandtext=$(this).attr('data-expandtext'),toggleElement=function($collapsible,action,$defaultToggle,instantHide){if(!$collapsible.jquery){return;}if(action!='expand'&&action!='collapse'){return;}if(typeof $defaultToggle=='undefined'){$defaultToggle=null;}if($defaultToggle!==null&&!(
    2 $defaultToggle instanceof $)){return;}var $containers=null;if(action=='collapse'){if($collapsible.is('table')){$containers=$collapsible.find('>tbody>tr');if($defaultToggle){$containers.not($defaultToggle.closest('tr')).stop(true,true).fadeOut();}else{if(instantHide){$containers.hide();}else{$containers.stop(true,true).fadeOut();}}}else if($collapsible.is('ul')||$collapsible.is('ol')){$containers=$collapsible.find('> li');if($defaultToggle){$containers.not($defaultToggle.parent()).stop(true,true).slideUp();}else{if(instantHide){$containers.hide();}else{$containers.stop(true,true).slideUp();}}}else{var $collapsibleContent=$collapsible.find('> .mw-collapsible-content');if($collapsibleContent.length){if(instantHide){$collapsibleContent.hide();}else{$collapsibleContent.slideUp();}}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeOut();}else{$collapsible.slideUp();}}}}else{if($collapsible.is('table')){$containers=$collapsible.find('>tbody>tr');if(
    3 $defaultToggle){$containers.not($defaultToggle.parent().parent()).stop(true,true).fadeIn();}else{$containers.stop(true,true).fadeIn();}}else if($collapsible.is('ul')||$collapsible.is('ol')){$containers=$collapsible.find('> li');if($defaultToggle){$containers.not($defaultToggle.parent()).stop(true,true).slideDown();}else{$containers.stop(true,true).slideDown();}}else{var $collapsibleContent=$collapsible.find('> .mw-collapsible-content');if($collapsibleContent.length){$collapsibleContent.slideDown();}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeIn();}else{$collapsible.slideDown();}}}}},toggleLinkDefault=function(that,e){var $that=$(that),$collapsible=$that.closest('.mw-collapsible.mw-made-collapsible').toggleClass('mw-collapsed');e.preventDefault();e.stopPropagation();if(!$that.hasClass('mw-collapsible-toggle-collapsed')){$that.removeClass('mw-collapsible-toggle-expanded').addClass('mw-collapsible-toggle-collapsed');if($that.find('> a').
    4 length){$that.find('> a').text(expandtext);}else{$that.text(expandtext);}toggleElement($collapsible,'collapse',$that);}else{$that.removeClass('mw-collapsible-toggle-collapsed').addClass('mw-collapsible-toggle-expanded');if($that.find('> a').length){$that.find('> a').text(collapsetext);}else{$that.text(collapsetext);}toggleElement($collapsible,'expand',$that);}return;},toggleLinkPremade=function($that,e){var $collapsible=$that.eq(0).closest('.mw-collapsible.mw-made-collapsible').toggleClass('mw-collapsed');if($(e.target).is('a')){return true;}e.preventDefault();e.stopPropagation();if(!$that.hasClass('mw-collapsible-toggle-collapsed')){$that.removeClass('mw-collapsible-toggle-expanded').addClass('mw-collapsible-toggle-collapsed');toggleElement($collapsible,'collapse',$that);}else{$that.removeClass('mw-collapsible-toggle-collapsed').addClass('mw-collapsible-toggle-expanded');toggleElement($collapsible,'expand',$that);}return;},toggleLinkCustom=function($that,e,$collapsible){if(e){e.
    5 preventDefault();e.stopPropagation();}var action=$collapsible.hasClass('mw-collapsed')?'expand':'collapse';$collapsible.toggleClass('mw-collapsed');toggleElement($collapsible,action,$that);};if(!collapsetext){collapsetext=mw.msg('collapsible-collapse');}if(!expandtext){expandtext=mw.msg('collapsible-expand');}var $toggleLink=$('<a href="#"></a>').text(collapsetext).wrap('<span class="mw-collapsible-toggle"></span>').parent().prepend('&nbsp;[').append(']&nbsp;').bind('click.mw-collapse',function(e){toggleLinkDefault(this,e);});if($that.hasClass('mw-made-collapsible')){return;}else{$that.addClass('mw-made-collapsible');}if(($that.attr('id')||'').indexOf('mw-customcollapsible-')===0){var thatId=$that.attr('id'),$customTogglers=$('.'+thatId.replace('mw-customcollapsible','mw-customtoggle'));mw.log(_fn+'Found custom collapsible: #'+thatId);if($customTogglers.length){$customTogglers.bind('click.mw-collapse',function(e){toggleLinkCustom($(this),e,$that);});}else{mw.log(_fn+'#'+thatId+
    6 ': Missing toggler!');}if($that.hasClass('mw-collapsed')){$that.removeClass('mw-collapsed');toggleLinkCustom($customTogglers,null,$that);}}else{if($that.is('table')){var $firstRowCells=$('tr:first th, tr:first td',that),$toggle=$firstRowCells.find('> .mw-collapsible-toggle');if(!$toggle.length){$firstRowCells.eq(-1).prepend($toggleLink);}else{$toggleLink=$toggle.unbind('click.mw-collapse').bind('click.mw-collapse',function(e){toggleLinkPremade($toggle,e);});}}else if($that.is('ul')||$that.is('ol')){var $firstItem=$('li:first',$that),$toggle=$firstItem.find('> .mw-collapsible-toggle');if(!$toggle.length){var firstval=$firstItem.attr('value');if(firstval===undefined||!firstval||firstval=='-1'){$firstItem.attr('value','1');}$that.prepend($toggleLink.wrap('<li class="mw-collapsible-toggle-li"></li>').parent());}else{$toggleLink=$toggle.unbind('click.mw-collapse').bind('click.mw-collapse',function(e){toggleLinkPremade($toggle,e);});}}else{var $toggle=$that.find('> .mw-collapsible-toggle');
    7 if(!$that.find('> .mw-collapsible-content').length){$that.wrapInner('<div class="mw-collapsible-content"></div>');}if(!$toggle.length){$that.prepend($toggleLink);}else{$toggleLink=$toggle.unbind('click.mw-collapse').bind('click.mw-collapse',function(e){toggleLinkPremade($toggle,e);});}}}if($that.hasClass('mw-collapsed')&&($that.attr('id')||'').indexOf('mw-customcollapsible-')!==0){$that.removeClass('mw-collapsed');toggleElement($that,'collapse',$toggleLink.eq(0),true);$toggleLink.eq(0).click();}});};})(jQuery,mediaWiki);;},{"all":".mw-collapsible-toggle{float:right} li .mw-collapsible-toggle{float:none} .mw-collapsible-toggle-li{list-style:none}\n\n/* cache key: oni_wiki:resourceloader:filter:minify-css:7:4250852ed2349a0d4d0fc6509a3e7d4c */\n"},{"collapsible-expand":"Expand","collapsible-collapse":"Collapse"});mw.loader.implement("jquery.mw-jump",function($){jQuery(function($){$('.mw-jump').delegate('a','focus blur',function(e){if(e.type==="blur"||e.type==="focusout"){$(this).closest(
    8 '.mw-jump').css({height:'0'});}else{$(this).closest('.mw-jump').css({height:'auto'});}});});;},{},{});mw.loader.implement("jquery.placeholder",function($){(function($){$.fn.placeholder=function(){return this.each(function(){if(this.placeholder&&'placeholder'in document.createElement(this.tagName)){return;}var placeholder=this.getAttribute('placeholder');var $input=$(this);if(this.value===''||this.value===placeholder){$input.addClass('placeholder').val(placeholder);}$input.blur(function(){if(this.value===''){this.value=placeholder;$input.addClass('placeholder');}}).bind('focus drop keydown paste',function(e){if($input.hasClass('placeholder')){if(e.type=='drop'&&e.originalEvent.dataTransfer){try{this.value=e.originalEvent.dataTransfer.getData('text/plain');}catch(exception){this.value=e.originalEvent.dataTransfer.getData('text');}e.preventDefault();}else{this.value='';}$input.removeClass('placeholder');}});if(this.form){$(this.form).submit(function(){if($input.hasClass('placeholder')){
    9 $input.val('').removeClass('placeholder');}});}});};})(jQuery);;},{},{});mw.loader.implement("mediawiki.legacy.mwsuggest",function($){if(!mw.config.exists('wgMWSuggestTemplate')){mw.config.set('wgMWSuggestTemplate',mw.config.get('wgServer')+mw.config.get('wgScriptPath')+"/api.php?action=opensearch\x26search={searchTerms}\x26namespace={namespaces}\x26suggest");}window.os_map={};window.os_cache={};window.os_cur_keypressed=0;window.os_keypressed_count=0;window.os_timer=null;window.os_mouse_pressed=false;window.os_mouse_num=-1;window.os_mouse_moved=false;window.os_search_timeout=250;window.os_autoload_inputs=['searchInput','searchInput2','powerSearchText','searchText'];window.os_autoload_forms=['searchform','searchform2','powersearch','search'];window.os_is_stopped=false;window.os_max_lines_per_suggest=7;window.os_animation_steps=6;window.os_animation_min_step=2;window.os_animation_delay=30;window.os_container_max_width=2;window.os_animation_timer=null;window.os_enabled=true;window.
    10 os_use_datalist=false;window.os_Timer=function(id,r,query){this.id=id;this.r=r;this.query=query;};window.os_Results=function(name,formname){this.searchform=formname;this.searchbox=name;this.container=name+'Suggest';this.resultTable=name+'Result';this.resultText=name+'ResultText';this.toggle=name+'Toggle';this.query=null;this.results=null;this.resultCount=0;this.original=null;this.selected=-1;this.containerCount=0;this.containerRow=0;this.containerTotal=0;this.visible=false;this.stayHidden=false;};window.os_AnimationTimer=function(r,target){this.r=r;var current=document.getElementById(r.container).offsetWidth;this.inc=Math.round((target-current)/os_animation_steps);if(this.inc<os_animation_min_step&&this.inc>=0){this.inc=os_animation_min_step;}if(this.inc>-os_animation_min_step&&this.inc<0){this.inc=-os_animation_min_step;}this.target=target;};window.os_MWSuggestInit=function(){if(!window.os_enabled){return;}for(var i=0;i<os_autoload_inputs.length;i++){var id=os_autoload_inputs[i];var
    11 form=os_autoload_forms[i];element=document.getElementById(id);if(element!=null){os_initHandlers(id,form,element);}}};window.os_MWSuggestTeardown=function(){for(var i=0;i<os_autoload_inputs.length;i++){var id=os_autoload_inputs[i];var form=os_autoload_forms[i];element=document.getElementById(id);if(element!=null){os_teardownHandlers(id,form,element);}}};window.os_MWSuggestDisable=function(){window.os_MWSuggestTeardown();window.os_enabled=false;}
    12 window.os_initHandlers=function(name,formname,element){var r=new os_Results(name,formname);var formElement=document.getElementById(formname);if(!formElement){return;}os_hookEvent(element,'keyup',os_eventKeyup);os_hookEvent(element,'keydown',os_eventKeydown);os_hookEvent(element,'keypress',os_eventKeypress);if(!os_use_datalist){os_hookEvent(element,'blur',os_eventBlur);os_hookEvent(element,'focus',os_eventFocus);element.setAttribute('autocomplete','off');}os_hookEvent(formElement,'submit',os_eventOnsubmit);os_map[name]=r;if(document.getElementById(r.toggle)==null){}};window.os_teardownHandlers=function(name,formname,element){var formElement=document.getElementById(formname);if(!formElement){return;}os_unhookEvent(element,'keyup',os_eventKeyup);os_unhookEvent(element,'keydown',os_eventKeydown);os_unhookEvent(element,'keypress',os_eventKeypress);if(!os_use_datalist){os_unhookEvent(element,'blur',os_eventBlur);os_unhookEvent(element,'focus',os_eventFocus);element.removeAttribute(
    13 'autocomplete');}os_unhookEvent(formElement,'submit',os_eventOnsubmit);};window.os_hookEvent=function(element,hookName,hookFunct){if(element.addEventListener){element.addEventListener(hookName,hookFunct,false);}else if(window.attachEvent){element.attachEvent('on'+hookName,hookFunct);}};window.os_unhookEvent=function(element,hookName,hookFunct){if(element.removeEventListener){element.removeEventListener(hookName,hookFunct,false);}else if(element.detachEvent){element.detachEvent('on'+hookName,hookFunct);}}
    14 window.os_eventKeyup=function(e){var targ=os_getTarget(e);var r=os_map[targ.id];if(r==null){return;}if(os_keypressed_count==0){os_processKey(r,os_cur_keypressed,targ);}var query=targ.value;os_fetchResults(r,query,os_search_timeout);};window.os_processKey=function(r,keypressed,targ){if(keypressed==40&&!r.visible&&os_timer==null){r.query='';os_fetchResults(r,targ.value,0);}if(os_use_datalist){return;}if(keypressed==40){if(r.visible){os_changeHighlight(r,r.selected,r.selected+1,true);}}else if(keypressed==38){if(r.visible){os_changeHighlight(r,r.selected,r.selected-1,true);}}else if(keypressed==27){document.getElementById(r.searchbox).value=r.original;r.query=r.original;os_hideResults(r);}else if(r.query!=document.getElementById(r.searchbox).value){}};window.os_eventKeypress=function(e){var targ=os_getTarget(e);var r=os_map[targ.id];if(r==null){return;}var keypressed=os_cur_keypressed;os_keypressed_count++;os_processKey(r,keypressed,targ);};window.os_eventKeydown=function(e){if(!e){e=
    15 window.event;}var targ=os_getTarget(e);var r=os_map[targ.id];if(r==null){return;}os_mouse_moved=false;os_cur_keypressed=(e.keyCode==undefined)?e.which:e.keyCode;os_keypressed_count=0;};window.os_eventOnsubmit=function(e){var targ=os_getTarget(e);os_is_stopped=true;if(os_timer!=null&&os_timer.id!=null){clearTimeout(os_timer.id);os_timer=null;}for(i=0;i<os_autoload_inputs.length;i++){var r=os_map[os_autoload_inputs[i]];if(r!=null){var b=document.getElementById(r.searchform);if(b!=null&&b==targ){r.query=document.getElementById(r.searchbox).value;}os_hideResults(r);}}return true;};window.os_hideResults=function(r){if(os_use_datalist){document.getElementById(r.searchbox).setAttribute('list','');}else{var c=document.getElementById(r.container);if(c!=null){c.style.visibility='hidden';}}r.visible=false;r.selected=-1;};window.os_decodeValue=function(value){if(decodeURIComponent){return decodeURIComponent(value);}if(unescape){return unescape(value);}return null;};window.os_encodeQuery=function(
    16 value){if(encodeURIComponent){return encodeURIComponent(value);}if(escape){return escape(value);}return null;};window.os_updateResults=function(r,query,text,cacheKey){os_cache[cacheKey]=text;r.query=query;r.original=query;if(text==''){r.results=null;r.resultCount=0;os_hideResults(r);}else{try{var p=eval('('+text+')');if(p.length<2||p[1].length==0){r.results=null;r.resultCount=0;os_hideResults(r);return;}if(os_use_datalist){os_setupDatalist(r,p[1]);}else{os_setupDiv(r,p[1]);}}catch(e){os_hideResults(r);os_cache[cacheKey]=null;}}};window.os_setupDatalist=function(r,results){var s=document.getElementById(r.searchbox);var c=document.getElementById(r.container);if(c==null){c=document.createElement('datalist');c.setAttribute('id',r.container);document.body.appendChild(c);}else{c.innerHTML='';}s.setAttribute('list',r.container);r.results=[];r.resultCount=results.length;r.visible=true;for(i=0;i<results.length;i++){var title=os_decodeValue(results[i]);var opt=document.createElement('option');
    17 opt.value=title;r.results[i]=title;c.appendChild(opt);}};window.os_getNamespaces=function(r){var namespaces='';var elements=document.forms[r.searchform].elements;for(i=0;i<elements.length;i++){var name=elements[i].name;if(typeof name!='undefined'&&name.length>2&&name[0]=='n'&&name[1]=='s'&&((elements[i].type=='checkbox'&&elements[i].checked)||(elements[i].type=='hidden'&&elements[i].value=='1'))){if(namespaces!=''){namespaces+='|';}namespaces+=name.substring(2);}}if(namespaces==''){namespaces=mw.config.get('wgSearchNamespaces').join('|');}return namespaces;};window.os_updateIfRelevant=function(r,query,text,cacheKey){var t=document.getElementById(r.searchbox);if(t!=null&&t.value==query){os_updateResults(r,query,text,cacheKey);}r.query=query;};window.os_delayedFetch=function(){if(os_timer==null){return;}var r=os_timer.r;var query=os_timer.query;os_timer=null;var path=mw.config.get('wgMWSuggestTemplate').replace("{namespaces}",os_getNamespaces(r)).replace("{dbname}",mw.config.get(
    18 'wgDBname')).replace("{searchTerms}",os_encodeQuery(query));var cached=os_cache[path];if(cached!=null&&cached!=undefined){os_updateIfRelevant(r,query,cached,path);}else{var xmlhttp=sajax_init_object();if(xmlhttp){try{xmlhttp.open('GET',path,true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4&&typeof os_updateIfRelevant=='function'){os_updateIfRelevant(r,query,xmlhttp.responseText,path);}};xmlhttp.send(null);}catch(e){if(window.location.hostname=='localhost'){alert("Your browser blocks XMLHttpRequest to 'localhost', try using a real hostname for development/testing.");}throw e;}}}};window.os_fetchResults=function(r,query,timeout){if(query==''){r.query='';os_hideResults(r);return;}else if(query==r.query){return;}os_is_stopped=false;if(os_timer!=null&&os_timer.id!=null){clearTimeout(os_timer.id);}if(timeout!=0){os_timer=new os_Timer(setTimeout("os_delayedFetch()",timeout),r,query);}else{os_timer=new os_Timer(null,r,query);os_delayedFetch();}};window.os_getTarget=function(
    19 e){if(!e){e=window.event;}if(e.target){return e.target;}else if(e.srcElement){return e.srcElement;}else{return null;}};window.os_isNumber=function(x){if(x==''||isNaN(x)){return false;}for(var i=0;i<x.length;i++){var c=x.charAt(i);if(!(c>='0'&&c<='9')){return false;}}return true;};window.os_enableSuggestionsOn=function(inputId,formName){os_initHandlers(inputId,formName,document.getElementById(inputId));};window.os_disableSuggestionsOn=function(inputId){r=os_map[inputId];if(r!=null){os_timer=null;os_hideResults(r);document.getElementById(inputId).setAttribute('autocomplete','on');os_map[inputId]=null;}var index=os_autoload_inputs.indexOf(inputId);if(index>=0){os_autoload_inputs[index]=os_autoload_forms[index]='';}};window.os_eventBlur=function(e){var targ=os_getTarget(e);var r=os_map[targ.id];if(r==null){return;}if(!os_mouse_pressed){os_hideResults(r);r.stayHidden=true;if(os_timer!=null&&os_timer.id!=null){clearTimeout(os_timer.id);}os_timer=null;}};window.os_eventFocus=function(e){var
    20 targ=os_getTarget(e);var r=os_map[targ.id];if(r==null){return;}r.stayHidden=false;};window.os_setupDiv=function(r,results){var c=document.getElementById(r.container);if(c==null){c=os_createContainer(r);}c.innerHTML=os_createResultTable(r,results);var t=document.getElementById(r.resultTable);r.containerTotal=t.offsetHeight;r.containerRow=t.offsetHeight/r.resultCount;os_fitContainer(r);os_trimResultText(r);os_showResults(r);};window.os_createResultTable=function(r,results){var c=document.getElementById(r.container);var width=c.offsetWidth-os_operaWidthFix(c.offsetWidth);var html='<table class="os-suggest-results" id="'+r.resultTable+'" style="width: '+width+'px;">';r.results=[];r.resultCount=results.length;for(i=0;i<results.length;i++){var title=os_decodeValue(results[i]);r.results[i]=title;html+='<tr><td class="os-suggest-result" id="'+r.resultTable+i+'"><span id="'+r.resultText+i+'">'+title+'</span></td></tr>';}html+='</table>';return html;};window.os_showResults=function(r){if(
    21 os_is_stopped){return;}if(r.stayHidden){return;}os_fitContainer(r);var c=document.getElementById(r.container);r.selected=-1;if(c!=null){c.scrollTop=0;c.style.visibility='visible';r.visible=true;}};window.os_operaWidthFix=function(x){if(typeof document.body.style.overflowX!='string'){return 30;}return 0;};window.f_clientWidth=function(){return f_filterResults(window.innerWidth?window.innerWidth:0,document.documentElement?document.documentElement.clientWidth:0,document.body?document.body.clientWidth:0);};window.f_clientHeight=function(){return f_filterResults(window.innerHeight?window.innerHeight:0,document.documentElement?document.documentElement.clientHeight:0,document.body?document.body.clientHeight:0);};window.f_scrollLeft=function(){return f_filterResults(window.pageXOffset?window.pageXOffset:0,document.documentElement?document.documentElement.scrollLeft:0,document.body?document.body.scrollLeft:0);};window.f_scrollTop=function(){return f_filterResults(window.pageYOffset?window.
    22 pageYOffset:0,document.documentElement?document.documentElement.scrollTop:0,document.body?document.body.scrollTop:0);};window.f_filterResults=function(n_win,n_docel,n_body){var n_result=n_win?n_win:0;if(n_docel&&(!n_result||(n_result>n_docel))){n_result=n_docel;}return n_body&&(!n_result||(n_result>n_body))?n_body:n_result;};window.os_availableHeight=function(r){var absTop=document.getElementById(r.container).style.top;var px=absTop.lastIndexOf('px');if(px>0){absTop=absTop.substring(0,px);}return f_clientHeight()-(absTop-f_scrollTop());};window.os_getElementPosition=function(elemID){var offsetTrail=document.getElementById(elemID);var offsetLeft=0;var offsetTop=0;while(offsetTrail){offsetLeft+=offsetTrail.offsetLeft;offsetTop+=offsetTrail.offsetTop;offsetTrail=offsetTrail.offsetParent;}if(navigator.userAgent.indexOf('Mac')!=-1&&typeof document.body.leftMargin!='undefined'){offsetLeft+=document.body.leftMargin;offsetTop+=document.body.topMargin;}return{left:offsetLeft,top:offsetTop};};
    23 window.os_createContainer=function(r){var c=document.createElement('div');var s=document.getElementById(r.searchbox);var pos=os_getElementPosition(r.searchbox);var left=pos.left;var top=pos.top+s.offsetHeight;c.className='os-suggest';c.setAttribute('id',r.container);document.body.appendChild(c);c=document.getElementById(r.container);c.style.top=top+'px';c.style.left=left+'px';c.style.width=s.offsetWidth+'px';c.onmouseover=function(event){os_eventMouseover(r.searchbox,event);};c.onmousemove=function(event){os_eventMousemove(r.searchbox,event);};c.onmousedown=function(event){return os_eventMousedown(r.searchbox,event);};c.onmouseup=function(event){os_eventMouseup(r.searchbox,event);};return c;};window.os_fitContainer=function(r){var c=document.getElementById(r.container);var h=os_availableHeight(r)-20;var inc=r.containerRow;h=parseInt(h/inc)*inc;if(h<(2*inc)&&r.resultCount>1){h=2*inc;}if((h/inc)>os_max_lines_per_suggest){h=inc*os_max_lines_per_suggest;}if(h<r.containerTotal){c.style.
    24 height=h+'px';r.containerCount=parseInt(Math.round(h/inc));}else{c.style.height=r.containerTotal+'px';r.containerCount=r.resultCount;}};window.os_trimResultText=function(r){var maxW=0;for(var i=0;i<r.resultCount;i++){var e=document.getElementById(r.resultText+i);if(e.offsetWidth>maxW){maxW=e.offsetWidth;}}var w=document.getElementById(r.container).offsetWidth;var fix=0;if(r.containerCount<r.resultCount){fix=20;}else{fix=os_operaWidthFix(w);}if(fix<4){fix=4;}maxW+=fix;var normW=document.getElementById(r.searchbox).offsetWidth;var prop=maxW/normW;if(prop>os_container_max_width){prop=os_container_max_width;}else if(prop<1){prop=1;}var newW=Math.round(normW*prop);if(w!=newW){w=newW;if(os_animation_timer!=null){clearInterval(os_animation_timer.id);}os_animation_timer=new os_AnimationTimer(r,w);os_animation_timer.id=setInterval("os_animateChangeWidth()",os_animation_delay);w-=fix;}if(w<10){return;}for(var i=0;i<r.resultCount;i++){var e=document.getElementById(r.resultText+i);var replace=1;
    25 var lastW=e.offsetWidth+1;var iteration=0;var changedText=false;while(e.offsetWidth>w&&(e.offsetWidth<lastW||iteration<2)){changedText=true;lastW=e.offsetWidth;var l=e.innerHTML;e.innerHTML=l.substring(0,l.length-replace)+'...';iteration++;replace=4;}if(changedText){document.getElementById(r.resultTable+i).setAttribute('title',r.results[i]);}}};window.os_animateChangeWidth=function(){var r=os_animation_timer.r;var c=document.getElementById(r.container);var w=c.offsetWidth;var normW=document.getElementById(r.searchbox).offsetWidth;var normL=os_getElementPosition(r.searchbox).left;var inc=os_animation_timer.inc;var target=os_animation_timer.target;var nw=w+inc;if((inc>0&&nw>=target)||(inc<=0&&nw<=target)){c.style.width=target+'px';clearInterval(os_animation_timer.id);os_animation_timer=null;}else{c.style.width=nw+'px';if(document.documentElement.dir=='rtl'){c.style.left=(normL+normW+(target-nw)-os_animation_timer.target-1)+'px';}}};window.os_changeHighlight=function(r,cur,next,
    26 updateSearchBox){if(next>=r.resultCount){next=r.resultCount-1;}if(next<-1){next=-1;}r.selected=next;if(cur==next){return;}if(cur>=0){var curRow=document.getElementById(r.resultTable+cur);if(curRow!=null){curRow.className='os-suggest-result';}}var newText;if(next>=0){var nextRow=document.getElementById(r.resultTable+next);if(nextRow!=null){nextRow.className=os_HighlightClass();}newText=r.results[next];}else{newText=r.original;}if(r.containerCount<r.resultCount){var c=document.getElementById(r.container);var vStart=c.scrollTop/r.containerRow;var vEnd=vStart+r.containerCount;if(next<vStart){c.scrollTop=next*r.containerRow;}else if(next>=vEnd){c.scrollTop=(next-r.containerCount+1)*r.containerRow;}}if(updateSearchBox){os_updateSearchQuery(r,newText);}};window.os_HighlightClass=function(){var match=navigator.userAgent.match(/AppleWebKit\/(\d+)/);if(match){var webKitVersion=parseInt(match[1]);if(webKitVersion<523){return'os-suggest-result-hl-webkit';}}return'os-suggest-result-hl';};window.
    27 os_updateSearchQuery=function(r,newText){document.getElementById(r.searchbox).value=newText;r.query=newText;};window.os_eventMouseover=function(srcId,e){var targ=os_getTarget(e);var r=os_map[srcId];if(r==null||!os_mouse_moved){return;}var num=os_getNumberSuffix(targ.id);if(num>=0){os_changeHighlight(r,r.selected,num,false);}};window.os_getNumberSuffix=function(id){var num=id.substring(id.length-2);if(!(num.charAt(0)>='0'&&num.charAt(0)<='9')){num=num.substring(1);}if(os_isNumber(num)){return parseInt(num);}else{return-1;}};window.os_eventMousemove=function(srcId,e){os_mouse_moved=true;};window.os_eventMousedown=function(srcId,e){var targ=os_getTarget(e);var r=os_map[srcId];if(r==null){return;}var num=os_getNumberSuffix(targ.id);os_mouse_pressed=true;if(num>=0){os_mouse_num=num;}document.getElementById(r.searchbox).focus();return false;};window.os_eventMouseup=function(srcId,e){var targ=os_getTarget(e);var r=os_map[srcId];if(r==null){return;}var num=os_getNumberSuffix(targ.id);if(num>=0
    28 &&os_mouse_num==num){os_updateSearchQuery(r,r.results[num]);os_hideResults(r);document.getElementById(r.searchform).submit();}os_mouse_pressed=false;document.getElementById(r.searchbox).focus();};window.os_createToggle=function(r,className){var t=document.createElement('span');t.className=className;t.setAttribute('id',r.toggle);var link=document.createElement('a');link.setAttribute('href','javascript:void(0);');link.onclick=function(){os_toggle(r.searchbox,r.searchform);};var msg=document.createTextNode(wgMWSuggestMessages[0]);link.appendChild(msg);t.appendChild(link);return t;};window.os_toggle=function(inputId,formName){r=os_map[inputId];var msg='';if(r==null){os_enableSuggestionsOn(inputId,formName);r=os_map[inputId];msg=wgMWSuggestMessages[0];}else{os_disableSuggestionsOn(inputId,formName);msg=wgMWSuggestMessages[1];}var link=document.getElementById(r.toggle).firstChild;link.replaceChild(document.createTextNode(msg),link.firstChild);};hookEvent('load',os_MWSuggestInit);;},{},{
    29 "search-mwsuggest-enabled":"with suggestions","search-mwsuggest-disabled":"no suggestions"});mw.loader.implement("mediawiki.page.ready",function($){jQuery(document).ready(function($){if(!('placeholder'in document.createElement('input'))){$('input[placeholder]').placeholder();}$('.mw-collapsible').makeCollapsible();if($('table.sortable').length){mw.loader.using('jquery.tablesorter',function(){$('table.sortable').tablesorter();});}$('input[type=checkbox]:not(.noshiftselect)').checkboxShiftClick();mw.util.updateTooltipAccessKeys();});;},{},{});mw.loader.implement("mediawiki.user",function($){(function($){function User(options,tokens){var that=this;this.options=options||new mw.Map();this.tokens=tokens||new mw.Map();function generateId(){var id='';var seed='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';for(var i=0,r;i<32;i++){r=Math.floor(Math.random()*seed.length);id+=seed.substring(r,r+1);}return id;}this.name=function(){return mw.config.get('wgUserName');};this.
    30 anonymous=function(){return that.name()?false:true;};this.sessionId=function(){var sessionId=$.cookie('mediaWiki.user.sessionId');if(typeof sessionId=='undefined'||sessionId===null){sessionId=generateId();$.cookie('mediaWiki.user.sessionId',sessionId,{'expires':null,'path':'/'});}return sessionId;};this.id=function(){var name=that.name();if(name){return name;}var id=$.cookie('mediaWiki.user.id');if(typeof id=='undefined'||id===null){id=generateId();}$.cookie('mediaWiki.user.id',id,{'expires':365,'path':'/'});return id;};this.bucket=function(key,options){options=$.extend({'buckets':{},'version':0,'tracked':false,'expires':30},options||{});var cookie=$.cookie('mediaWiki.user.bucket:'+key);var bucket=null;var version=0;if(typeof cookie==='string'&&cookie.length>2&&cookie.indexOf(':')>0){var parts=cookie.split(':');if(parts.length>1&&parts[0]==options.version){version=Number(parts[0]);bucket=String(parts[1]);}}if(bucket===null){if(!$.isPlainObject(options.buckets)){throw'Invalid buckets error. Object expected for options.buckets.'
    31 ;}version=Number(options.version);var range=0,k;for(k in options.buckets){range+=options.buckets[k];}var rand=Math.random()*range;var total=0;for(k in options.buckets){bucket=k;total+=options.buckets[k];if(total>=rand){break;}}if(options.tracked){mw.loader.using('jquery.clickTracking',function(){$.trackAction('mediaWiki.user.bucket:'+key+'@'+version+':'+bucket);});}$.cookie('mediaWiki.user.bucket:'+key,version+':'+bucket,{'path':'/','expires':Number(options.expires)});}return bucket;};}mw.user=new User(mw.user.options,mw.user.tokens);})(jQuery);;},{},{});
     1mw.loader.implement("jquery.client",function($){(function($){var profileCache={};$.client={profile:function(nav){if(nav===undefined){nav=window.navigator;}if(profileCache[nav.userAgent]===undefined){var uk='unknown';var x='x';var wildUserAgents=['Opera','Navigator','Minefield','KHTML','Chrome','PLAYSTATION 3'];var userAgentTranslations=[[/(Firefox|MSIE|KHTML,\slike\sGecko|Konqueror)/,''],['Chrome Safari','Chrome'],['KHTML','Konqueror'],['Minefield','Firefox'],['Navigator','Netscape'],['PLAYSTATION 3','PS3']];var versionPrefixes=['camino','chrome','firefox','netscape','netscape6','opera','version','konqueror','lynx','msie','safari','ps3'];var versionSuffix='(\\/|\\;?\\s|)([a-z0-9\\.\\+]*?)(\\;|dev|rel|\\)|\\s|$)';var names=['camino','chrome','firefox','netscape','konqueror','lynx','msie','opera','safari','ipod','iphone','blackberry','ps3'];var nameTranslations=[];var layouts=['gecko','konqueror','msie','opera','webkit'];var layoutTranslations=[['konqueror','khtml'],['msie','trident'],[
     2'opera','presto']];var layoutVersions=['applewebkit','gecko'];var platforms=['win','mac','linux','sunos','solaris','iphone'];var platformTranslations=[['sunos','solaris']];var translate=function(source,translations){for(var i=0;i<translations.length;i++){source=source.replace(translations[i][0],translations[i][1]);}return source;};var ua=nav.userAgent,match,name=uk,layout=uk,layoutversion=uk,platform=uk,version=x;if(match=new RegExp('('+wildUserAgents.join('|')+')').exec(ua)){ua=translate(ua,userAgentTranslations);}ua=ua.toLowerCase();if(match=new RegExp('('+names.join('|')+')').exec(ua)){name=translate(match[1],nameTranslations);}if(match=new RegExp('('+layouts.join('|')+')').exec(ua)){layout=translate(match[1],layoutTranslations);}if(match=new RegExp('('+layoutVersions.join('|')+')\\\/(\\d+)').exec(ua)){layoutversion=parseInt(match[2],10);}if(match=new RegExp('('+platforms.join('|')+')').exec(nav.platform.toLowerCase())){platform=translate(match[1],platformTranslations);}if(match=new
     3RegExp('('+versionPrefixes.join('|')+')'+versionSuffix).exec(ua)){version=match[3];}if(name.match(/safari/)&&version>400){version='2.0';}if(name==='opera'&&version>=9.8){version=ua.match(/version\/([0-9\.]*)/i)[1]||10;}var versionNumber=parseFloat(version,10)||0.0;profileCache[nav.userAgent]={'name':name,'layout':layout,'layoutVersion':layoutversion,'platform':platform,'version':version,'versionBase':(version!==x?Math.floor(versionNumber).toString():x),'versionNumber':versionNumber};}return profileCache[nav.userAgent];},test:function(map,profile){profile=$.isPlainObject(profile)?profile:$.client.profile();var dir=$('body').is('.rtl')?'rtl':'ltr';if(typeof map[dir]!=='object'||typeof map[dir][profile.name]==='undefined'){return true;}var conditions=map[dir][profile.name];for(var i=0;i<conditions.length;i++){var op=conditions[i][0];var val=conditions[i][1];if(val===false){return false;}else if(typeof val=='string'){if(!(eval('profile.version'+op+'"'+val+'"'))){return false;}}else if(
     4typeof val=='number'){if(!(eval('profile.versionNumber'+op+val))){return false;}}}return true;}};})(jQuery);;},{},{});mw.loader.implement("jquery.cookie",function($){jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1;}var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}expires='; expires='+date.toUTCString();}var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(
     5cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}return cookieValue;}};;},{},{});mw.loader.implement("jquery.messageBox",function($){(function($){$.messageBoxNew=function(options){options=$.extend({'id':'js-messagebox','parent':'body','insert':'prepend'},options);var $curBox=$('#'+options.id);if($curBox.length>0){if($curBox.hasClass('js-messagebox')){return $curBox;}else{return $curBox.addClass('js-messagebox');}}else{var $newBox=$('<div>',{'id':options.id,'class':'js-messagebox','css':{'display':'none'}});if($(options.parent).length<1){options.parent='body';}if(options.insert==='append'){$newBox.appendTo(options.parent);return $newBox;}else{$newBox.prependTo(options.parent);return $newBox;}}};$.messageBox=function(options){options=$.extend({'message':'','group':'default','replace':false,'target':'js-messagebox'},options);var $target=$.messageBoxNew({id:options.target});var groupID=options.target+'-'+
     6options.group;var $group=$('#'+groupID);if($group.length<1){$group=$('<div>',{'id':groupID,'class':'js-messagebox-group'});$target.prepend($group);}if(options.replace===true){$group.empty();}if(options.message===''||options.message===null){$group.hide();}else{$group.prepend($('<p>').append(options.message)).show();$target.slideDown();}if($target.find('> *:visible').length===0){$group.show();$target.slideUp();$group.hide();}else{$target.slideDown();}return $group;};})(jQuery);;},{"all":".js-messagebox{margin:1em 5%;padding:0.5em 2.5%;border:1px solid #ccc;background-color:#fcfcfc;font-size:0.8em}.js-messagebox .js-messagebox-group{margin:1px;padding:0.5em 2.5%;border-bottom:1px solid #ddd}.js-messagebox .js-messagebox-group:last-child{border-bottom:thin none transparent}\n\n/* cache key: oni_wiki:resourceloader:filter:minify-css:7:8b08bdc91c52a9ffba396dccfb5b473c */\n"},{});mw.loader.implement("jquery.mwExtension",function($){(function($){$.extend({trimLeft:function(str){return str===
     7null?'':str.toString().replace(/^\s+/,'');},trimRight:function(str){return str===null?'':str.toString().replace(/\s+$/,'');},ucFirst:function(str){return str.charAt(0).toUpperCase()+str.substr(1);},escapeRE:function(str){return str.replace(/([\\{}()|.?*+\-^$\[\]])/g,"\\$1");},isDomElement:function(el){return!!el&&!!el.nodeType;},isEmpty:function(v){if(v===''||v===0||v==='0'||v===null||v===false||v===undefined){return true;}if(v.length===0){return true;}if(typeof v==='object'){for(var key in v){return false;}return true;}return false;},compareArray:function(arrThis,arrAgainst){if(arrThis.length!=arrAgainst.length){return false;}for(var i=0;i<arrThis.length;i++){if($.isArray(arrThis[i])){if(!$.compareArray(arrThis[i],arrAgainst[i])){return false;}}else if(arrThis[i]!==arrAgainst[i]){return false;}}return true;},compareObject:function(objectA,objectB){if(typeof objectA==typeof objectB){if(typeof objectA=='object'){if(objectA===objectB){return true;}else{var prop;for(prop in objectA){if(
     8prop in objectB){var type=typeof objectA[prop];if(type==typeof objectB[prop]){switch(type){case'object':if(!$.compareObject(objectA[prop],objectB[prop])){return false;}break;case'function':if(objectA[prop].toString()!==objectB[prop].toString()){return false;}break;default:if(objectA[prop]!==objectB[prop]){return false;}break;}}else{return false;}}else{return false;}}for(prop in objectB){if(!(prop in objectA)){return false;}}}}}else{return false;}return true;}});})(jQuery);;},{},{});mw.loader.implement("mediawiki.legacy.ajax",function($){window.sajax_debug_mode=false;window.sajax_request_type='GET';window.sajax_debug=function(text){if(!sajax_debug_mode)return false;var e=document.getElementById('sajax_debug');if(!e){e=document.createElement('p');e.className='sajax_debug';e.id='sajax_debug';var b=document.getElementsByTagName('body')[0];if(b.firstChild){b.insertBefore(e,b.firstChild);}else{b.appendChild(e);}}var m=document.createElement('div');m.appendChild(document.createTextNode(text))
     9;e.appendChild(m);return true;};window.sajax_init_object=function(){sajax_debug('sajax_init_object() called..');var A;try{A=new XMLHttpRequest();}catch(e){try{A=new ActiveXObject('Msxml2.XMLHTTP');}catch(e){try{A=new ActiveXObject('Microsoft.XMLHTTP');}catch(oc){A=null;}}}if(!A){sajax_debug('Could not create connection object.');}return A;};window.sajax_do_call=function(func_name,args,target){var i,x,n;var uri;var post_data;uri=mw.util.wikiScript()+'?action=ajax';if(sajax_request_type=='GET'){if(uri.indexOf('?')==-1){uri=uri+'?rs='+encodeURIComponent(func_name);}else{uri=uri+'&rs='+encodeURIComponent(func_name);}for(i=0;i<args.length;i++){uri=uri+'&rsargs[]='+encodeURIComponent(args[i]);}post_data=null;}else{post_data='rs='+encodeURIComponent(func_name);for(i=0;i<args.length;i++){post_data=post_data+'&rsargs[]='+encodeURIComponent(args[i]);}}x=sajax_init_object();if(!x){alert('AJAX not supported');return false;}try{x.open(sajax_request_type,uri,true);}catch(e){if(window.location.
     10hostname=='localhost'){alert("Your browser blocks XMLHttpRequest to 'localhost', try using a real hostname for development/testing.");}throw e;}if(sajax_request_type=='POST'){x.setRequestHeader('Method','POST '+uri+' HTTP/1.1');x.setRequestHeader('Content-Type','application/x-www-form-urlencoded');}x.setRequestHeader('Pragma','cache=yes');x.setRequestHeader('Cache-Control','no-transform');x.onreadystatechange=function(){if(x.readyState!=4){return;}sajax_debug('received ('+x.status+' '+x.statusText+') '+x.responseText);if(typeof(target)=='function'){target(x);}else if(typeof(target)=='object'){if(target.tagName=='INPUT'){if(x.status==200){target.value=x.responseText;}}else{if(x.status==200){target.innerHTML=x.responseText;}else{target.innerHTML='<div class="error">Error: '+x.status+' '+x.statusText+' ('+x.responseText+')</div>';}}}else{alert('bad target for sajax_do_call: not a function or object: '+target);}};sajax_debug(func_name+' uri = '+uri+' / post = '+post_data);x.send(post_data)
     11;sajax_debug(func_name+' waiting..');delete x;return true;};window.wfSupportsAjax=function(){var request=sajax_init_object();var supportsAjax=request?true:false;delete request;return supportsAjax;};;},{},{});mw.loader.implement("mediawiki.legacy.wikibits",function($){(function(){window.clientPC=navigator.userAgent.toLowerCase();window.is_gecko=/gecko/.test(clientPC)&&!/khtml|spoofer|netscape\/7\.0/.test(clientPC);window.is_safari=window.is_safari_win=window.webkit_version=window.is_chrome=window.is_chrome_mac=false;window.webkit_match=clientPC.match(/applewebkit\/(\d+)/);if(webkit_match){window.is_safari=clientPC.indexOf('applewebkit')!=-1&&clientPC.indexOf('spoofer')==-1;window.is_safari_win=is_safari&&clientPC.indexOf('windows')!=-1;window.webkit_version=parseInt(webkit_match[1]);window.is_chrome=clientPC.indexOf('chrome')!==-1&&clientPC.indexOf('spoofer')===-1;window.is_chrome_mac=is_chrome&&clientPC.indexOf('mac')!==-1}window.is_ff2=/firefox\/[2-9]|minefield\/3/.test(clientPC);
     12window.ff2_bugs=/firefox\/2/.test(clientPC);window.is_ff2_win=is_ff2&&clientPC.indexOf('windows')!=-1;window.is_ff2_x11=is_ff2&&clientPC.indexOf('x11')!=-1;window.is_opera=window.is_opera_preseven=window.is_opera_95=window.opera6_bugs=window.opera7_bugs=window.opera95_bugs=false;if(clientPC.indexOf('opera')!=-1){window.is_opera=true;window.is_opera_preseven=window.opera&&!document.childNodes;window.is_opera_seven=window.opera&&document.childNodes;window.is_opera_95=/opera\/(9\.[5-9]|[1-9][0-9])/.test(clientPC);window.opera6_bugs=is_opera_preseven;window.opera7_bugs=is_opera_seven&&!is_opera_95;window.opera95_bugs=/opera\/(9\.5)/.test(clientPC);}window.ie6_bugs=false;if(/msie ([0-9]{1,}[\.0-9]{0,})/.exec(clientPC)!=null&&parseFloat(RegExp.$1)<=6.0){ie6_bugs=true;}window.doneOnloadHook=undefined;if(!window.onloadFuncts){window.onloadFuncts=[];}window.addOnloadHook=function(hookFunct){if(!doneOnloadHook){onloadFuncts[onloadFuncts.length]=hookFunct;}else{hookFunct();}};window.importScript=
     13function(page){var uri=mw.config.get('wgScript')+'?title='+mw.util.wikiUrlencode(page)+'&action=raw&ctype=text/javascript';return importScriptURI(uri);};window.loadedScripts={};window.importScriptURI=function(url){if(loadedScripts[url]){return null;}loadedScripts[url]=true;var s=document.createElement('script');s.setAttribute('src',url);s.setAttribute('type','text/javascript');document.getElementsByTagName('head')[0].appendChild(s);return s;};window.importStylesheet=function(page){return importStylesheetURI(mw.config.get('wgScript')+'?action=raw&ctype=text/css&title='+mw.util.wikiUrlencode(page));};window.importStylesheetURI=function(url,media){var l=document.createElement('link');l.type='text/css';l.rel='stylesheet';l.href=url;if(media){l.media=media;}document.getElementsByTagName('head')[0].appendChild(l);return l;};window.appendCSS=function(text){var s=document.createElement('style');s.type='text/css';s.rel='stylesheet';if(s.styleSheet){s.styleSheet.cssText=text;}else{s.appendChild(
     14document.createTextNode(text+''));}document.getElementsByTagName('head')[0].appendChild(s);return s;};var skinpath=mw.config.get('stylepath')+'/'+mw.config.get('skin');if(mw.config.get('skin')==='monobook'){if(opera6_bugs){importStylesheetURI(skinpath+'/Opera6Fixes.css');}else if(opera7_bugs){importStylesheetURI(skinpath+'/Opera7Fixes.css');}else if(opera95_bugs){importStylesheetURI(skinpath+'/Opera9Fixes.css');}else if(ff2_bugs){importStylesheetURI(skinpath+'/FF2Fixes.css');}}if(mw.config.get('wgBreakFrames')){if(window.top!=window){window.top.location=window.location;}}window.changeText=function(el,newText){if(el.innerText){el.innerText=newText;}else if(el.firstChild&&el.firstChild.nodeValue){el.firstChild.nodeValue=newText;}};window.killEvt=function(evt){evt=evt||window.event||window.Event;if(typeof(evt.preventDefault)!='undefined'){evt.preventDefault();evt.stopPropagation();}else{evt.cancelBubble=true;}return false;};window.mwEditButtons=[];window.mwCustomEditButtons=[];window.
     15escapeQuotes=function(text){var re=new RegExp("'","g");text=text.replace(re,"\\'");re=new RegExp("\\n","g");text=text.replace(re,"\\n");return escapeQuotesHTML(text);};window.escapeQuotesHTML=function(text){var re=new RegExp('&',"g");text=text.replace(re,"&amp;");re=new RegExp('"',"g");text=text.replace(re,"&quot;");re=new RegExp('<',"g");text=text.replace(re,"&lt;");re=new RegExp('>',"g");text=text.replace(re,"&gt;");return text;};window.tooltipAccessKeyPrefix='alt-';if(is_opera){tooltipAccessKeyPrefix='shift-esc-';}else if(is_chrome){tooltipAccessKeyPrefix=is_chrome_mac?'ctrl-option-':'alt-';}else if(!is_safari_win&&is_safari&&webkit_version>526){tooltipAccessKeyPrefix='ctrl-alt-';}else if(!is_safari_win&&(is_safari||clientPC.indexOf('mac')!=-1||clientPC.indexOf('konqueror')!=-1)){tooltipAccessKeyPrefix='ctrl-';}else if(is_ff2){tooltipAccessKeyPrefix='alt-shift-';}window.tooltipAccessKeyRegexp=/\[(ctrl-)?(alt-)?(shift-)?(esc-)?(.)\]$/;window.updateTooltipAccessKeys=function(nodeList)
     16{if(!nodeList){var linkContainers=['column-one','mw-head','mw-panel','p-logo'];for(var i in linkContainers){var linkContainer=document.getElementById(linkContainers[i]);if(linkContainer){updateTooltipAccessKeys(linkContainer.getElementsByTagName('a'));}}updateTooltipAccessKeys(document.getElementsByTagName('input'));updateTooltipAccessKeys(document.getElementsByTagName('label'));return;}for(var i=0;i<nodeList.length;i++){var element=nodeList[i];var tip=element.getAttribute('title');if(tip&&tooltipAccessKeyRegexp.exec(tip)){tip=tip.replace(tooltipAccessKeyRegexp,'['+tooltipAccessKeyPrefix+"$5]");element.setAttribute('title',tip);}}};window.addPortletLink=function(portlet,href,text,id,tooltip,accesskey,nextnode){var root=document.getElementById(portlet);if(!root){return null;}var uls=root.getElementsByTagName('ul');var node;if(uls.length>0){node=uls[0];}else{node=document.createElement('ul');var lastElementChild=null;for(var i=0;i<root.childNodes.length;++i){if(root.childNodes[i].
     17nodeType==1){lastElementChild=root.childNodes[i];}}if(lastElementChild&&lastElementChild.nodeName.match(/div/i)){lastElementChild.appendChild(node);}else{root.appendChild(node);}}if(!node){return null;}root.className=root.className.replace(/(^| )emptyPortlet( |$)/,"$2");var link=document.createElement('a');link.appendChild(document.createTextNode(text));link.href=href;var span=document.createElement('span');span.appendChild(link);var item=document.createElement('li');item.appendChild(span);if(id){item.id=id;}if(accesskey){link.setAttribute('accesskey',accesskey);tooltip+=' ['+accesskey+']';}if(tooltip){link.setAttribute('title',tooltip);}if(accesskey&&tooltip){updateTooltipAccessKeys([link]);}if(nextnode&&nextnode.parentNode==node){node.insertBefore(item,nextnode);}else{node.appendChild(item);}return item;};window.getInnerText=function(el){if(typeof el=='string'){return el;}if(typeof el=='undefined'){return el;}if(el.nodeType&&el.getAttribute('data-sort-value')!==null){return el.
     18getAttribute('data-sort-value');}if(el.textContent){return el.textContent;}if(el.innerText){return el.innerText;}var str='';var cs=el.childNodes;var l=cs.length;for(var i=0;i<l;i++){switch(cs[i].nodeType){case 1:str+=getInnerText(cs[i]);break;case 3:str+=cs[i].nodeValue;break;}}return str;};window.checkboxes=undefined;window.lastCheckbox=undefined;window.setupCheckboxShiftClick=function(){checkboxes=[];lastCheckbox=null;var inputs=document.getElementsByTagName('input');addCheckboxClickHandlers(inputs);};window.addCheckboxClickHandlers=function(inputs,start){if(!start){start=0;}var finish=start+250;if(finish>inputs.length){finish=inputs.length;}for(var i=start;i<finish;i++){var cb=inputs[i];if(!cb.type||cb.type.toLowerCase()!='checkbox'||(' '+cb.className+' ').indexOf(' noshiftselect ')!=-1){continue;}var end=checkboxes.length;checkboxes[end]=cb;cb.index=end;addClickHandler(cb,checkboxClickHandler);}if(finish<inputs.length){setTimeout(function(){addCheckboxClickHandlers(inputs,finish);}
     19,200);}};window.checkboxClickHandler=function(e){if(typeof e=='undefined'){e=window.event;}if(!e.shiftKey||lastCheckbox===null){lastCheckbox=this.index;return true;}var endState=this.checked;var start,finish;if(this.index<lastCheckbox){start=this.index+1;finish=lastCheckbox;}else{start=lastCheckbox;finish=this.index-1;}for(var i=start;i<=finish;++i){checkboxes[i].checked=endState;if(i>start&&typeof checkboxes[i].onchange=='function'){checkboxes[i].onchange();}}lastCheckbox=this.index;return true;};window.getElementsByClassName=function(oElm,strTagName,oClassNames){var arrReturnElements=[];if(typeof(oElm.getElementsByClassName)=='function'){var arrNativeReturn=oElm.getElementsByClassName(oClassNames);if(strTagName=='*'){return arrNativeReturn;}for(var h=0;h<arrNativeReturn.length;h++){if(arrNativeReturn[h].tagName.toLowerCase()==strTagName.toLowerCase()){arrReturnElements[arrReturnElements.length]=arrNativeReturn[h];}}return arrReturnElements;}var arrElements=(strTagName=='*'&&oElm.all)
     20?oElm.all:oElm.getElementsByTagName(strTagName);var arrRegExpClassNames=[];if(typeof oClassNames=='object'){for(var i=0;i<oClassNames.length;i++){arrRegExpClassNames[arrRegExpClassNames.length]=new RegExp("(^|\\s)"+oClassNames[i].replace(/\-/g,"\\-")+"(\\s|$)");}}else{arrRegExpClassNames[arrRegExpClassNames.length]=new RegExp("(^|\\s)"+oClassNames.replace(/\-/g,"\\-")+"(\\s|$)");}var oElement;var bMatchesAll;for(var j=0;j<arrElements.length;j++){oElement=arrElements[j];bMatchesAll=true;for(var k=0;k<arrRegExpClassNames.length;k++){if(!arrRegExpClassNames[k].test(oElement.className)){bMatchesAll=false;break;}}if(bMatchesAll){arrReturnElements[arrReturnElements.length]=oElement;}}return(arrReturnElements);};window.redirectToFragment=function(fragment){var match=navigator.userAgent.match(/AppleWebKit\/(\d+)/);if(match){var webKitVersion=parseInt(match[1]);if(webKitVersion<420){return;}}if(window.location.hash==''){window.location.hash=fragment;if(is_gecko){addOnloadHook(function(){if(
     21window.location.hash==fragment){window.location.hash=fragment;}});}}};window.jsMsg=function(message,className){if(!document.getElementById){return false;}var messageDiv=document.getElementById('mw-js-message');if(!messageDiv){messageDiv=document.createElement('div');if(document.getElementById('column-content')&&document.getElementById('content')){document.getElementById('content').insertBefore(messageDiv,document.getElementById('content').firstChild);}else if(document.getElementById('content')&&document.getElementById('article')){document.getElementById('article').insertBefore(messageDiv,document.getElementById('article').firstChild);}else{return false;}}messageDiv.setAttribute('id','mw-js-message');messageDiv.style.display='block';if(className){messageDiv.setAttribute('class','mw-js-message-'+className);}if(typeof message==='object'){while(messageDiv.hasChildNodes()){messageDiv.removeChild(messageDiv.firstChild);}messageDiv.appendChild(message);}else{messageDiv.innerHTML=message;}
     22return true;};window.injectSpinner=function(element,id){var spinner=document.createElement('img');spinner.id='mw-spinner-'+id;spinner.src=mw.config.get('stylepath')+'/common/images/spinner.gif';spinner.alt=spinner.title='...';if(element.nextSibling){element.parentNode.insertBefore(spinner,element.nextSibling);}else{element.parentNode.appendChild(spinner);}};window.removeSpinner=function(id){var spinner=document.getElementById('mw-spinner-'+id);if(spinner){spinner.parentNode.removeChild(spinner);}};window.runOnloadHook=function(){if(doneOnloadHook||!(document.getElementById&&document.getElementsByTagName)){return;}doneOnloadHook=true;for(var i=0;i<onloadFuncts.length;i++){onloadFuncts[i]();}};window.addHandler=function(element,attach,handler){if(element.addEventListener){element.addEventListener(attach,handler,false);}else if(element.attachEvent){element.attachEvent('on'+attach,handler);}};window.hookEvent=function(hookName,hookFunct){addHandler(window,hookName,hookFunct);};window.
     23addClickHandler=function(element,handler){addHandler(element,'click',handler);};window.removeHandler=function(element,remove,handler){if(window.removeEventListener){element.removeEventListener(remove,handler,false);}else if(window.detachEvent){element.detachEvent('on'+remove,handler);}};hookEvent('load',runOnloadHook);if(ie6_bugs){importScriptURI(mw.config.get('stylepath')+'/common/IEFixes.js');}})();;},{},{});mw.loader.implement("mediawiki.page.startup",function($){(function($){mw.page={};$('html').addClass('client-js').removeClass('client-nojs');$(mw.util.init);})(jQuery);;},{},{});mw.loader.implement("mediawiki.util",function($){(function($,mw){"use strict";var util={init:function(){var profile,$tocTitle,$tocToggleLink,hideTocCookie;$.messageBoxNew({id:'mw-js-message',parent:'#content'});profile=$.client.profile();if(profile.name==='opera'){util.tooltipAccessKeyPrefix='shift-esc-';}else if(profile.name==='chrome'){util.tooltipAccessKeyPrefix=(profile.platform==='mac'?'ctrl-option-':
     24profile.platform==='win'?'alt-shift-':'alt-');}else if(profile.platform!=='win'&&profile.name==='safari'&&profile.layoutVersion>526){util.tooltipAccessKeyPrefix='ctrl-alt-';}else if(!(profile.platform==='win'&&profile.name==='safari')&&(profile.name==='safari'||profile.platform==='mac'||profile.name==='konqueror')){util.tooltipAccessKeyPrefix='ctrl-';}else if(profile.name==='firefox'&&profile.versionBase>'1'){util.tooltipAccessKeyPrefix='alt-shift-';}if($('#bodyContent').length){util.$content=$('#bodyContent');}else if($('#mw_contentholder').length){util.$content=$('#mw_contentholder');}else if($('#article').length){util.$content=$('#article');}else{util.$content=$('#content');}$tocTitle=$('#toctitle');$tocToggleLink=$('#togglelink');if($('#toc').length&&$tocTitle.length&&!$tocToggleLink.length){hideTocCookie=$.cookie('mw_hidetoc');$tocToggleLink=$('<a href="#" class="internal" id="togglelink"></a>').text(mw.msg('hidetoc')).click(function(e){e.preventDefault();util.toggleToc($(this));}
     25);$tocTitle.append($tocToggleLink.wrap('<span class="toctoggle"></span>').parent().prepend('&nbsp;[').append(']&nbsp;'));if(hideTocCookie==='1'){util.toggleToc($tocToggleLink);}}},rawurlencode:function(str){str=String(str);return encodeURIComponent(str).replace(/!/g,'%21').replace(/'/g,'%27').replace(/\(/g,'%28').replace(/\)/g,'%29').replace(/\*/g,'%2A').replace(/~/g,'%7E');},wikiUrlencode:function(str){return util.rawurlencode(str).replace(/%20/g,'_').replace(/%3A/g,':').replace(/%2F/g,'/');},wikiGetlink:function(str){return mw.config.get('wgArticlePath').replace('$1',util.wikiUrlencode(typeof str==='string'?str:mw.config.get('wgPageName')));},wikiScript:function(str){return mw.config.get('wgScriptPath')+'/'+(str||'index')+mw.config.get('wgScriptExtension');},addCSS:function(text){var s=document.createElement('style');s.type='text/css';s.rel='stylesheet';document.getElementsByTagName('head')[0].appendChild(s);if(s.styleSheet){s.styleSheet.cssText=text;}else{s.appendChild(document.
     26createTextNode(String(text)));}return s.sheet||s;},toggleToc:function($toggleLink,callback){var $tocList=$('#toc ul:first');if($tocList.length){if($tocList.is(':hidden')){$tocList.slideDown('fast',callback);$toggleLink.text(mw.msg('hidetoc'));$('#toc').removeClass('tochidden');$.cookie('mw_hidetoc',null,{expires:30,path:'/'});return true;}else{$tocList.slideUp('fast',callback);$toggleLink.text(mw.msg('showtoc'));$('#toc').addClass('tochidden');$.cookie('mw_hidetoc','1',{expires:30,path:'/'});return false;}}else{return null;}},getParamValue:function(param,url){url=url||document.location.href;var re=new RegExp('^[^#]*[&?]'+$.escapeRE(param)+'=([^&#]*)'),m=re.exec(url);if(m&&m.length>1){return decodeURIComponent(m[1].replace(/\+/g,'%20'));}return null;},tooltipAccessKeyPrefix:'alt-',tooltipAccessKeyRegexp:/\[(ctrl-)?(alt-)?(shift-)?(esc-)?(.)\]$/,updateTooltipAccessKeys:function($nodes){if(!$nodes){$nodes=$('#column-one a, #mw-head a, #mw-panel a, #p-logo a, input, label');}else if(!(
     27$nodes instanceof $)){$nodes=$($nodes);}$nodes.attr('title',function(i,val){if(val&&util.tooltipAccessKeyRegexp.exec(val)){return val.replace(util.tooltipAccessKeyRegexp,'['+util.tooltipAccessKeyPrefix+'$5]');}return val;});},$content:null,addPortletLink:function(portlet,href,text,id,tooltip,accesskey,nextnode){var $item,$link,$portlet,$ul;if(arguments.length<3){return null;}$link=$('<a>').attr('href',href).text(text);if(tooltip){$link.attr('title',tooltip);}switch(mw.config.get('skin')){case'standard':case'cologneblue':$('#quickbar').append($link.after('<br/>'));return $link[0];case'nostalgia':$('#searchform').before($link).before(' &#124; ');return $link[0];default:$portlet=$('#'+portlet);if($portlet.length===0){return null;}$ul=$portlet.find('ul');if($ul.length===0){if($portlet.find('div:first').length===0){$portlet.append('<ul></ul>');}else{$portlet.find('div').eq(-1).append('<ul></ul>');}$ul=$portlet.find('ul').eq(0);}if($ul.length===0){return null;}$portlet.removeClass(
     28'emptyPortlet');if($portlet.hasClass('vectorTabs')){$item=$link.wrap('<li><span></span></li>').parent().parent();}else{$item=$link.wrap('<li></li>').parent();}if(id){$item.attr('id',id);}if(accesskey){$link.attr('accesskey',accesskey);tooltip+=' ['+accesskey+']';$link.attr('title',tooltip);}if(accesskey&&tooltip){util.updateTooltipAccessKeys($link);}if(nextnode&&nextnode.parentNode===$ul[0]){$(nextnode).before($item);}else if(typeof nextnode==='string'&&$ul.find(nextnode).length!==0){$ul.find(nextnode).eq(0).before($item);}else{$ul.append($item);}return $item[0];}},jsMessage:function(message,className){if(!arguments.length||message===''||message===null){$('#mw-js-message').empty().hide();return true;}else{var $messageDiv=$('#mw-js-message');if(!$messageDiv.length){$messageDiv=$('<div id="mw-js-message"></div>');if(util.$content.parent().length){util.$content.parent().prepend($messageDiv);}else{return false;}}if(className){$messageDiv.prop('class','mw-js-message-'+className);}if(typeof
     29message==='object'){$messageDiv.empty();$messageDiv.append(message);}else{$messageDiv.html(message);}$messageDiv.slideDown();return true;}},validateEmail:function(mailtxt){var rfc5322_atext,rfc1034_ldh_str,HTML5_email_regexp;if(mailtxt===''){return null;}rfc5322_atext="a-z0-9!#$%&'*+\\-/=?^_`{|}~";rfc1034_ldh_str="a-z0-9\\-";HTML5_email_regexp=new RegExp('^'+'['+rfc5322_atext+'\\.]+'+'@'+'['+rfc1034_ldh_str+']+'+'(?:\\.['+rfc1034_ldh_str+']+)*'+'$','i');return(null!==mailtxt.match(HTML5_email_regexp));},isIPv4Address:function(address,allowBlock){if(typeof address!=='string'){return false;}var block=allowBlock?'(?:\\/(?:3[0-2]|[12]?\\d))?':'',RE_IP_BYTE='(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|0?[0-9]?[0-9])',RE_IP_ADD='(?:'+RE_IP_BYTE+'\\.){3}'+RE_IP_BYTE;return address.search(new RegExp('^'+RE_IP_ADD+block+'$'))!==-1;},isIPv6Address:function(address,allowBlock){if(typeof address!=='string'){return false;}var block=allowBlock?'(?:\\/(?:12[0-8]|1[01][0-9]|[1-9]?\\d))?':'',RE_IPV6_ADD='(?:'+
     30':(?::|(?::'+'[0-9A-Fa-f]{1,4}'+'){1,7})'+'|'+'[0-9A-Fa-f]{1,4}'+'(?::'+'[0-9A-Fa-f]{1,4}'+'){0,6}::'+'|'+'[0-9A-Fa-f]{1,4}'+'(?::'+'[0-9A-Fa-f]{1,4}'+'){7}'+')';if(address.search(new RegExp('^'+RE_IPV6_ADD+block+'$'))!==-1){return true;}RE_IPV6_ADD='[0-9A-Fa-f]{1,4}'+'(?:::?'+'[0-9A-Fa-f]{1,4}'+'){1,6}';return address.search(new RegExp('^'+RE_IPV6_ADD+block+'$'))!==-1&&address.search(/::/)!==-1&&address.search(/::.*::/)===-1;}};mw.util=util;})(jQuery,mediaWiki);;},{},{"showtoc":"show","hidetoc":"hide"});
    3231
    33 /* cache key: oni_wiki:resourceloader:filter:minify-js:7:d3fb03f9b61ada0e0e6ae2e20c3f4edc */
     32/* cache key: oni_wiki:resourceloader:filter:minify-js:7:1aa4243ba1ca1aec859d6ce378a84443 */
  • Vago/trunk/Vago/help/XMLSNDD_files/load(5).php

    r771 r1054  
    1 function getURLParamValue(paramName,url){if(typeof(url)=='undefined'||url===null)url=document.location.href;var cmdRe=RegExp('[&?]'+paramName+'=([^&#]*)');var m=cmdRe.exec(url);if(m&&m.length>1)return decodeURIComponent(m[1]);return null;}var extraJS=getURLParamValue("withJS");if(extraJS&&extraJS.match("^MediaWiki:[^&<>=%]*\.js$")){importScript(extraJS);}if(wgAction=="edit"||wgAction=="submit"||wgPageName=="Special:Upload"){importScript("MediaWiki:Common.js/edit.js")}else if(wgPageName=="Special:Search"){importScript("MediaWiki:Common.js/search.js")}if(navigator.appName=='Microsoft Internet Explorer'){var oldWidth;var docEl=document.documentElement;var fixIEScroll=function(){if(!oldWidth||docEl.clientWidth>oldWidth){doFixIEScroll();}else{setTimeout(doFixIEScroll,1);}oldWidth=docEl.clientWidth;};var doFixIEScroll=function(){docEl.style.overflowX=(docEl.scrollWidth-docEl.clientWidth<4)?"hidden":"";};document.attachEvent("onreadystatechange",fixIEScroll);document.attachEvent("onresize",
    2 fixIEScroll);appendCSS('@media print { sup, sub, p, .documentDescription { line-height: normal; }}');appendCSS('div.overflowbugx { overflow-x: scroll !important; overflow-y: hidden !important; } div.overflowbugy { overflow-y: scroll !important; overflow-x: hidden !important; }');appendCSS('.iezoomfix div, .iezoomfix table { zoom: 1;}');if(navigator.appVersion.substr(22,1)=='6'){importScript('MediaWiki:Common.js/IE60Fixes.js');}}var hasClass=(function(){var reCache={};return function(element,className){return(reCache[className]?reCache[className]:(reCache[className]=new RegExp("(?:\\s|^)"+className+"(?:\\s|$)"))).test(element.className);};})();function showDescrip(typeID,show_or_not){var DescripPanel=document.getElementsByClassName("hovertable_descrip")[0];var Descrips=DescripPanel.getElementsByTagName("span");if(!DescripPanel||!Descrips)return false;for(var i=0;i<Descrips.length;i++){if(Descrips[i].id==typeID){if(show_or_not)Descrips[i].style.display="block";else Descrips[i].style.
    3 display="none";}}}function initHoverTables(){var Tables=document.getElementsByClassName("hovertable");if(!Tables)return false;for(var i=0;i<Tables.length;i++){var Cells=Tables[i].getElementsByTagName("td");if(!Cells)continue;for(var j=0;j<Cells.length;j++){if(hasClass(Cells[j],"hovercell")){addHandler(Cells[j],"mouseover",new Function("evt","showDescrip(this.id, true);"));addHandler(Cells[j],"mouseout",new Function("evt","showDescrip(this.id, false);"));}}}}addOnloadHook(initHoverTables);var autoCollapse=2;var collapseCaption="hide";var expandCaption="show";function collapseTable(tableIndex){var Button=document.getElementById("collapseButton"+tableIndex);var Table=document.getElementById("collapsibleTable"+tableIndex);if(!Table||!Button){return false;}var Rows=Table.rows;if(Button.firstChild.data==collapseCaption){for(var i=1;i<Rows.length;i++){Rows[i].style.display="none";}Button.firstChild.data=expandCaption;}else{for(var i=1;i<Rows.length;i++){Rows[i].style.display=Rows[0].style.
    4 display;}Button.firstChild.data=collapseCaption;}}function createCollapseButtons(){var tableIndex=0;var NavigationBoxes=new Object();var Tables=document.getElementsByTagName("table");for(var i=0;i<Tables.length;i++){if(hasClass(Tables[i],"collapsible")){var HeaderRow=Tables[i].getElementsByTagName("tr")[0];if(!HeaderRow)continue;var Header=HeaderRow.getElementsByTagName("th")[0];if(!Header)continue;NavigationBoxes[tableIndex]=Tables[i];Tables[i].setAttribute("id","collapsibleTable"+tableIndex);var Button=document.createElement("span");var ButtonLink=document.createElement("a");var ButtonText=document.createTextNode(collapseCaption);Button.className="collapseButton";ButtonLink.style.color=Header.style.color;ButtonLink.setAttribute("id","collapseButton"+tableIndex);ButtonLink.setAttribute("href","#");addHandler(ButtonLink,"click",new Function("evt","collapseTable("+tableIndex+" ); return killEvt( evt );"));ButtonLink.appendChild(ButtonText);Button.appendChild(document.createTextNode("[")
    5 );Button.appendChild(ButtonLink);Button.appendChild(document.createTextNode("]"));Header.insertBefore(Button,Header.childNodes[0]);tableIndex++;}}for(var i=0;i<tableIndex;i++){if(hasClass(NavigationBoxes[i],"collapsed")||(tableIndex>=autoCollapse&&hasClass(NavigationBoxes[i],"autocollapse"))){collapseTable(i);}else if(hasClass(NavigationBoxes[i],"innercollapse")){var element=NavigationBoxes[i];while(element=element.parentNode){if(hasClass(element,"outercollapse")){collapseTable(i);break;}}}}}addOnloadHook(createCollapseButtons);var NavigationBarHide='['+collapseCaption+']';var NavigationBarShow='['+expandCaption+']';function toggleNavigationBar(indexNavigationBar){var NavToggle=document.getElementById("NavToggle"+indexNavigationBar);var NavFrame=document.getElementById("NavFrame"+indexNavigationBar);if(!NavFrame||!NavToggle){return false;}if(NavToggle.firstChild.data==NavigationBarHide){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if(hasClass(
    6 NavChild,'NavContent')||hasClass(NavChild,'NavPic')){NavChild.style.display='none';}}NavToggle.firstChild.data=NavigationBarShow;}else if(NavToggle.firstChild.data==NavigationBarShow){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if(hasClass(NavChild,'NavContent')||hasClass(NavChild,'NavPic')){NavChild.style.display='block';}}NavToggle.firstChild.data=NavigationBarHide;}}function createNavigationBarToggleButton(){var indexNavigationBar=0;var divs=document.getElementsByTagName("div");for(var i=0;NavFrame=divs[i];i++){if(hasClass(NavFrame,"NavFrame")){indexNavigationBar++;var NavToggle=document.createElement("a");NavToggle.className='NavToggle';NavToggle.setAttribute('id','NavToggle'+indexNavigationBar);NavToggle.setAttribute('href','javascript:toggleNavigationBar('+indexNavigationBar+');');var isCollapsed=hasClass(NavFrame,"collapsed");for(var NavChild=NavFrame.firstChild;NavChild!=null&&!isCollapsed;NavChild=NavChild.nextSibling){if(hasClass(
    7 NavChild,'NavPic')||hasClass(NavChild,'NavContent')){if(NavChild.style.display=='none'){isCollapsed=true;}}}if(isCollapsed){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if(hasClass(NavChild,'NavPic')||hasClass(NavChild,'NavContent')){NavChild.style.display='none';}}}var NavToggleText=document.createTextNode(isCollapsed?NavigationBarShow:NavigationBarHide);NavToggle.appendChild(NavToggleText);for(var j=0;j<NavFrame.childNodes.length;j++){if(hasClass(NavFrame.childNodes[j],"NavHead")){NavToggle.style.color=NavFrame.childNodes[j].style.color;NavFrame.childNodes[j].appendChild(NavToggle);}}NavFrame.setAttribute('id','NavFrame'+indexNavigationBar);}}}addOnloadHook(createNavigationBarToggleButton);function ModifySidebar(action,section,name,link){try{switch(section){case"languages":var target="p-lang";break;case"toolbox":var target="p-tb";break;case"navigation":var target="p-navigation";break;default:var target="p-"+section;break;}if(action=="add"){var
    8 node=document.getElementById(target).getElementsByTagName('div')[0].getElementsByTagName('ul')[0];var aNode=document.createElement('a');var liNode=document.createElement('li');aNode.appendChild(document.createTextNode(name));aNode.setAttribute('href',link);liNode.appendChild(aNode);liNode.className='plainlinks';node.appendChild(liNode);}if(action=="sep"){var node=document.getElementById(target).getElementsByTagName('div')[0].getElementsByTagName('ul')[0];var liNode=document.createElement('li');liNode.style.listStyleImage="url('http://wiki.oni2.net/w/images/1/10/Separator.png')";liNode.style.listStylePosition='inside';node.appendChild(liNode);}if(action=="remove"){var list=document.getElementById(target).getElementsByTagName('div')[0].getElementsByTagName('ul')[0];var listelements=list.getElementsByTagName('li');for(var i=0;i<listelements.length;i++){if(listelements[i].getElementsByTagName('a')[0].innerHTML==name||listelements[i].getElementsByTagName('a')[0].href==link){list.removeChild
    9 (listelements[i]);}}}}catch(e){return;}}ts_alternate_row_colors=false;function uploadwizard_newusers(){if(wgNamespaceNumber==4&&wgTitle=="Upload"&&wgAction=="view"){var oldDiv=document.getElementById("autoconfirmedusers"),newDiv=document.getElementById("newusers");if(oldDiv&&newDiv){if(typeof wgUserGroups=="object"&&wgUserGroups){for(i=0;i<wgUserGroups.length;i++){if(wgUserGroups[i]=="autoconfirmed"){oldDiv.style.display="block";newDiv.style.display="none";return;}}}oldDiv.style.display="none";newDiv.style.display="block";return;}}}addOnloadHook(uploadwizard_newusers);;mw.loader.state({"site":"ready"});
     1jQuery(function($){$('div.vectorMenu').each(function(){var self=this;$('h5:first a:first',this).click(function(e){$('.menu:first',self).toggleClass('menuForceShow');e.preventDefault();}).focus(function(){$(self).addClass('vectorMenuFocus');}).blur(function(){$(self).removeClass('vectorMenuFocus');});});});;mw.loader.state({"skins.vector":"ready"});
    102
    11 /* cache key: oni_wiki:resourceloader:filter:minify-js:7:f19298355b677001e66b656017f2289c */
     3/* cache key: oni_wiki:resourceloader:filter:minify-js:7:0fcba82177db6429d02096ea1f0465ed */
  • Vago/trunk/Vago/help/XMLSNDD_files/load.php

    r771 r1054  
    1 var isCompatible=function(){if(navigator.appVersion.indexOf('MSIE')!==-1&&parseFloat(navigator.appVersion.split('MSIE')[1])<6){return false;}return true;};var startUp=function(){mw.config=new mw.Map(true);mw.loader.addSource({"local":{"loadScript":"/w/load.php","apiScript":"/w/api.php"}});mw.loader.register([["site","1359255738",[],"site"],["noscript","1351900467",[],"noscript"],["startup","1364655189",[],"startup"],["user","1351900467",[],"user"],["user.groups","1351900467",[],"user"],["user.options","1364655189",[],"private"],["user.cssprefs","1364655189",["mediawiki.user"],"private"],["user.tokens","1351900467",[],"private"],["filepage","1351900467",[]],["skins.chick","1351900467",[]],["skins.cologneblue","1351900467",[]],["skins.modern","1351900467",[]],["skins.monobook","1351900467",[]],["skins.nostalgia","1351900467",[]],["skins.simple","1351900467",[]],["skins.standard","1351900467",[]],["skins.vector","1351900467",[]],["jquery","1351900467",[]],["jquery.appear","1351900467",[]]
    2 ,["jquery.arrowSteps","1351900467",[]],["jquery.async","1351900467",[]],["jquery.autoEllipsis","1351900467",["jquery.highlightText"]],["jquery.byteLength","1351900467",[]],["jquery.byteLimit","1351900467",["jquery.byteLength"]],["jquery.checkboxShiftClick","1351900467",[]],["jquery.client","1351900467",[]],["jquery.collapsibleTabs","1351900467",[]],["jquery.color","1351900467",["jquery.colorUtil"]],["jquery.colorUtil","1351900467",[]],["jquery.cookie","1351900467",[]],["jquery.delayedBind","1351900467",[]],["jquery.expandableField","1351900467",["jquery.delayedBind"]],["jquery.farbtastic","1351900467",["jquery.colorUtil"]],["jquery.footHovzer","1351900467",[]],["jquery.form","1351900467",[]],["jquery.getAttrs","1351900467",[]],["jquery.highlightText","1351900467",[]],["jquery.hoverIntent","1351900467",[]],["jquery.json","1351900467",[]],["jquery.localize","1351900467",[]],["jquery.makeCollapsible","1360519376",[]],["jquery.messageBox","1351900467",[]],["jquery.mockjax","1351900467",[]]
    3 ,["jquery.mw-jump","1351900467",[]],["jquery.mwExtension","1351900467",[]],["jquery.placeholder","1351900467",[]],["jquery.qunit","1351900467",[]],["jquery.qunit.completenessTest","1351900467",["jquery.qunit"]],["jquery.spinner","1351900467",[]],["jquery.suggestions","1351900467",["jquery.autoEllipsis"]],["jquery.tabIndex","1351900467",[]],["jquery.tablesorter","1351900467",[]],["jquery.textSelection","1351900467",[]],["jquery.validate","1351900467",[]],["jquery.xmldom","1351900467",[]],["jquery.tipsy","1351900467",[]],["jquery.ui.core","1351900467",["jquery"],"jquery.ui"],["jquery.ui.widget","1351900467",[],"jquery.ui"],["jquery.ui.mouse","1351900467",["jquery.ui.widget"],"jquery.ui"],["jquery.ui.position","1351900467",[],"jquery.ui"],["jquery.ui.draggable","1351900467",["jquery.ui.core","jquery.ui.mouse","jquery.ui.widget"],"jquery.ui"],["jquery.ui.droppable","1351900467",["jquery.ui.core","jquery.ui.mouse","jquery.ui.widget","jquery.ui.draggable"],"jquery.ui"],["jquery.ui.resizable"
    4 ,"1351900467",["jquery.ui.core","jquery.ui.widget","jquery.ui.mouse"],"jquery.ui"],["jquery.ui.selectable","1351900467",["jquery.ui.core","jquery.ui.widget","jquery.ui.mouse"],"jquery.ui"],["jquery.ui.sortable","1351900467",["jquery.ui.core","jquery.ui.widget","jquery.ui.mouse"],"jquery.ui"],["jquery.ui.accordion","1351900467",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.ui.autocomplete","1351900467",["jquery.ui.core","jquery.ui.widget","jquery.ui.position"],"jquery.ui"],["jquery.ui.button","1351900467",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.ui.datepicker","1351900467",["jquery.ui.core"],"jquery.ui"],["jquery.ui.dialog","1351900467",["jquery.ui.core","jquery.ui.widget","jquery.ui.button","jquery.ui.draggable","jquery.ui.mouse","jquery.ui.position","jquery.ui.resizable"],"jquery.ui"],["jquery.ui.progressbar","1351900467",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.ui.slider","1351900467",["jquery.ui.core","jquery.ui.widget",
    5 "jquery.ui.mouse"],"jquery.ui"],["jquery.ui.tabs","1351900467",["jquery.ui.core","jquery.ui.widget"],"jquery.ui"],["jquery.effects.core","1351900467",["jquery"],"jquery.ui"],["jquery.effects.blind","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.bounce","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.clip","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.drop","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.explode","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.fade","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.fold","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.highlight","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.pulsate","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.scale","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.shake","1351900467",["jquery.effects.core"],"jquery.ui"],[
    6 "jquery.effects.slide","1351900467",["jquery.effects.core"],"jquery.ui"],["jquery.effects.transfer","1351900467",["jquery.effects.core"],"jquery.ui"],["mediawiki","1351900467",[]],["mediawiki.api","1351900467",["mediawiki.util"]],["mediawiki.api.category","1351900467",["mediawiki.api","mediawiki.Title"]],["mediawiki.api.edit","1351900467",["mediawiki.api","mediawiki.Title"]],["mediawiki.api.parse","1351900467",["mediawiki.api"]],["mediawiki.api.titleblacklist","1351900467",["mediawiki.api","mediawiki.Title"]],["mediawiki.api.watch","1351900467",["mediawiki.api","mediawiki.user"]],["mediawiki.debug","1351900467",["jquery.footHovzer"]],["mediawiki.debug.init","1351900467",["mediawiki.debug"]],["mediawiki.feedback","1351900467",["mediawiki.api.edit","mediawiki.Title","mediawiki.jqueryMsg","jquery.ui.dialog"]],["mediawiki.htmlform","1351900467",[]],["mediawiki.Title","1351900467",["mediawiki.util"]],["mediawiki.Uri","1351900467",[]],["mediawiki.user","1351900467",["jquery.cookie"]],[
    7 "mediawiki.util","1360519374",["jquery.client","jquery.cookie","jquery.messageBox","jquery.mwExtension"]],["mediawiki.action.edit","1351900467",["jquery.textSelection","jquery.byteLimit"]],["mediawiki.action.history","1351900467",["jquery.ui.button"],"mediawiki.action.history"],["mediawiki.action.history.diff","1351900467",[],"mediawiki.action.history"],["mediawiki.action.view.dblClickEdit","1351900467",["mediawiki.util"]],["mediawiki.action.view.metadata","1360635088",[]],["mediawiki.action.view.rightClickEdit","1351900467",[]],["mediawiki.action.watch.ajax","1360527471",["mediawiki.api.watch","mediawiki.util"]],["mediawiki.language","1351900467",[]],["mediawiki.jqueryMsg","1351900467",["mediawiki.language","mediawiki.util"]],["mediawiki.libs.jpegmeta","1351900467",[]],["mediawiki.page.ready","1351900467",["jquery.checkboxShiftClick","jquery.makeCollapsible","jquery.placeholder","jquery.mw-jump","mediawiki.util"]],["mediawiki.page.startup","1351900467",["jquery.client",
    8 "mediawiki.util"]],["mediawiki.special","1351900467",[]],["mediawiki.special.block","1351900467",["mediawiki.util"]],["mediawiki.special.changeemail","1351900467",["mediawiki.util"]],["mediawiki.special.changeslist","1351900467",["jquery.makeCollapsible"]],["mediawiki.special.movePage","1351900467",["jquery.byteLimit"]],["mediawiki.special.preferences","1351900467",[]],["mediawiki.special.recentchanges","1351900467",["mediawiki.special"]],["mediawiki.special.search","1351900467",[]],["mediawiki.special.undelete","1351900467",[]],["mediawiki.special.upload","1363886229",["mediawiki.libs.jpegmeta","mediawiki.util"]],["mediawiki.special.javaScriptTest","1351900467",["jquery.qunit"]],["mediawiki.tests.qunit.testrunner","1351900467",["jquery.qunit","jquery.qunit.completenessTest","mediawiki.page.startup","mediawiki.page.ready"]],["mediawiki.legacy.ajax","1351900467",["mediawiki.util","mediawiki.legacy.wikibits"]],["mediawiki.legacy.commonPrint","1351900467",[]],["mediawiki.legacy.config",
    9 "1351900467",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.IEFixes","1351900467",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.mwsuggest","1360519376",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.preview","1351900467",["mediawiki.legacy.wikibits"]],["mediawiki.legacy.protect","1351900467",["mediawiki.legacy.wikibits","jquery.byteLimit"]],["mediawiki.legacy.shared","1351900467",[]],["mediawiki.legacy.oldshared","1351900467",[]],["mediawiki.legacy.upload","1351900467",["mediawiki.legacy.wikibits","mediawiki.util"]],["mediawiki.legacy.wikibits","1351900467",["mediawiki.util"]],["mediawiki.legacy.wikiprintable","1351900467",[]],["ext.categoryTree","1360521476",[]],["ext.categoryTree.css","1351900467",[]],["ext.confirmAccount","1351900467",[]],["ext.cite","1351900467",["jquery.tooltip"]],["jquery.tooltip","1351900467",[]]]);mw.config.set({"wgLoadScript":"/w/load.php","debug":false,"skin":"vector","stylepath":"/w/skins","wgUrlProtocols":
    10 "http\\:\\/\\/|https\\:\\/\\/|ftp\\:\\/\\/|irc\\:\\/\\/|ircs\\:\\/\\/|gopher\\:\\/\\/|telnet\\:\\/\\/|nntp\\:\\/\\/|worldwind\\:\\/\\/|mailto\\:|news\\:|svn\\:\\/\\/|git\\:\\/\\/|mms\\:\\/\\/|\\/\\/","wgArticlePath":"/$1","wgScriptPath":"/w","wgScriptExtension":".php","wgScript":"/w/index.php","wgVariantArticlePath":false,"wgActionPaths":{},"wgServer":"http://wiki.oni2.net","wgUserLanguage":"en","wgContentLanguage":"en","wgVersion":"1.19.2","wgEnableAPI":true,"wgEnableWriteAPI":true,"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgMainPageTitle":"Main Page","wgFormattedNamespaces":{"-2":"Media","-1":"Special","0":"","1":"Talk","2":"User","3":"User talk","4":"OniGalore","5":"OniGalore talk","6":"File","7":"File talk","8":"MediaWiki","9":"MediaWiki talk","10":"Template","11":
    11 "Template talk","12":"Help","13":"Help talk","14":"Category","15":"Category talk","100":"BSL","101":"BSL talk","102":"OBD","103":"OBD talk","104":"AE","105":"AE talk","108":"Oni2","109":"Oni2 talk","110":"XML","111":"XML talk"},"wgNamespaceIds":{"media":-2,"special":-1,"":0,"talk":1,"user":2,"user_talk":3,"onigalore":4,"onigalore_talk":5,"file":6,"file_talk":7,"mediawiki":8,"mediawiki_talk":9,"template":10,"template_talk":11,"help":12,"help_talk":13,"category":14,"category_talk":15,"bsl":100,"bsl_talk":101,"obd":102,"obd_talk":103,"ae":104,"ae_talk":105,"oni2":108,"oni2_talk":109,"xml":110,"xml_talk":111,"image":6,"image_talk":7,"project":4,"project_talk":5},"wgSiteName":"OniGalore","wgFileExtensions":["png","gif","jpg","jpeg"],"wgDBname":"oni_wiki","wgFileCanRotate":true,"wgAvailableSkins":{"chick":"Chick","monobook":"MonoBook","modern":"Modern","vector":"Vector","myskin":"MySkin","cologneblue":"CologneBlue","standard":"Standard","simple":"Simple","nostalgia":"Nostalgia"},
    12 "wgExtensionAssetsPath":"/w/extensions","wgCookiePrefix":"oni_wiki","wgResourceLoaderMaxQueryLength":-1,"wgCaseSensitiveNamespaces":[],"wgMWSuggestTemplate":"http://wiki.oni2.net/w/api.php?action=opensearch\x26search={searchTerms}\x26namespace={namespaces}\x26suggest"});};if(isCompatible()){document.write("\x3cscript src=\"/w/load.php?debug=false\x26amp;lang=en\x26amp;modules=jquery%2Cmediawiki\x26amp;only=scripts\x26amp;skin=vector\x26amp;version=20120830T222535Z\"\x3e\x3c/script\x3e");}delete isCompatible;;
     1@media print{  a.stub,a.new{color:#ba0000;text-decoration:none}#toc{border:1px solid #aaaaaa;background-color:#f9f9f9;padding:5px} div.floatright{float:right;clear:right;position:relative;margin:0.5em 0 0.8em 1.4em}div.floatright p{font-style:italic}div.floatleft{float:left;clear:left;position:relative;margin:0.5em 1.4em 0.8em 0}div.floatleft p{font-style:italic}div.center{text-align:center} div.thumb{border:none;width:auto;margin-top:0.5em;margin-bottom:0.8em;background-color:transparent}div.thumbinner{border:1px solid #cccccc;padding:3px !important;background-color:White;font-size:94%;text-align:center;overflow:hidden}html .thumbimage{border:1px solid #cccccc}html .thumbcaption{border:none;text-align:left;line-height:1.4em;padding:3px !important;font-size:94%}div.magnify{display:none} div.tright{float:right;clear:right;margin:0.5em 0 0.8em 1.4em} div.tleft{float:left;clear:left;margin:0.5em 1.4em 0.8em 0}img.thumbborder{border:1px solid #dddddd} table.rimage{float:right;width:1pt;position:relative;margin-left:1em;margin-bottom:1em;text-align:center}body{background:white;color:black;margin:0;padding:0}.noprint,div#jump-to-nav,.mw-jump,div.top,div#column-one,#colophon,.editsection,.toctoggle,.tochidden,div#f-poweredbyico,div#f-copyrightico,li#viewcount,li#about,li#disclaimer,li#mobileview,li#privacy,#footer-places,.mw-hidden-catlinks,tr.mw-metadata-show-hide-extended,span.mw-filepage-other-resolutions,#filetoc{ display:none}ul{list-style-type:square}#content{background:none;border:none !important;padding:0 !important;margin:0 !important;direction:ltr}#footer{background :white;color :black;margin-top:1em;border-top:1px solid #AAA;direction:ltr}h1,h2,h3,h4,h5,h6{font-weight:bold}p{margin:1em 0;line-height:1.2em}pre{border:1pt dashed black;white-space:pre;font-size:8pt;overflow:auto;padding:1em 0;background:white;color:black}table.listing,table.listing td{border:1pt solid black;border-collapse:collapse}a{color:black !important;background:none !important;padding:0 !important}a:link,a:visited{color:#520;background:transparent;text-decoration:underline}#content a.external.text:after,#content a.external.autonumber:after{ content:" (" attr(href) ") "}#globalWrapper{width:100% !important;min-width:0 !important}#content{background:white;color:black}#column-content{margin:0 !important}#column-content #content{padding:1em;margin:0 !important} a,a.external,a.new,a.stub{color:black !important;text-decoration:none !important} a,a.external,a.new,a.stub{color:inherit !important;text-decoration:inherit !important}img{border:none;vertical-align:middle} span.texhtml{font-family:serif}#siteNotice{display:none} li.gallerybox{vertical-align:top;border:solid 2px white;display:-moz-inline-box;display:inline-block}ul.gallery,li.gallerybox{zoom:1;*display:inline}ul.gallery{margin:2px;padding:2px;display:block}li.gallerycaption{font-weight:bold;text-align:center;display:block;word-wrap:break-word}li.gallerybox div.thumb{text-align:center;border:1px solid #ccc;margin:2px}div.gallerytext{overflow:hidden;font-size:94%;padding:2px 4px;word-wrap:break-word} table.diff{background:white}td.diff-otitle{background:#ffffff}td.diff-ntitle{background:#ffffff}td.diff-addedline{background:#ccffcc;font-size:smaller;border:solid 2px black}td.diff-deletedline{background:#ffffaa;font-size:smaller;border:dotted 2px black}td.diff-context{background:#eeeeee;font-size:smaller}.diffchange{color:silver;font-weight:bold;text-decoration:underline} table.wikitable,table.mw_metadata{margin:1em 1em 1em 0;border:1px #aaa solid;background:white;border-collapse:collapse}table.wikitable > tr > th,table.wikitable > tr > td,table.wikitable > * > tr > th,table.wikitable > * > tr > td,.mw_metadata th,.mw_metadata td{border:1px #aaa solid;padding:0.2em}table.wikitable > tr > th,table.wikitable > * > tr > th,.mw_metadata th{text-align:center;background:white;font-weight:bold}table.wikitable > caption,.mw_metadata caption{font-weight:bold}a.sortheader{margin:0 0.3em} .wikitable,.thumb,img{page-break-inside:avoid}h2,h3,h4,h5,h6,h7{page-break-after:avoid}p{widows:3;orphans:3} .catlinks ul{display:inline;margin:0;padding:0;list-style:none;list-style-type:none;list-style-image:none;vertical-align:middle !ie}.catlinks li{display:inline-block;line-height:1.15em;padding:0 .4em;border-left:1px solid #AAA;margin:0.1em 0;zoom:1;display:inline !ie}.catlinks li:first-child{padding-left:.2em;border-left:none}}@media screen{   .mw-content-ltr{ direction:ltr}.mw-content-rtl{ direction:rtl} .sitedir-ltr textarea,.sitedir-ltr input{ direction:ltr}.sitedir-rtl textarea,.sitedir-rtl input{ direction:rtl}  input[type="submit"],input[type="button"],input[type="reset"],input[type="file"]{direction:ltr} textarea[dir="ltr"],input[dir="ltr"]{ direction:ltr}textarea[dir="rtl"],input[dir="rtl"]{ direction:rtl} abbr,acronym,.explain{border-bottom:1px dotted;cursor:help} .mw-plusminus-pos{color:#006400; }.mw-plusminus-neg{color:#8b0000; }.mw-plusminus-null{color:#aaa; } .allpagesredirect,.redirect-in-category,.watchlistredir{font-style:italic} span.comment{font-style:italic}span.changedby{font-size:95%} .texvc{direction:ltr;unicode-bidi:embed}img.tex{vertical-align:middle}span.texhtml{font-family:serif} #wikiPreview.ontop{margin-bottom:1em} #editform,#toolbar,#wpTextbox1{clear:both}#toolbar img{cursor:pointer}div#mw-js-message{margin:1em 5%;padding:0.5em 2.5%;border:solid 1px #ddd;background-color:#fcfcfc} .editsection{float:right;margin-left:5px} .mw-content-ltr .editsection,.mw-content-rtl .mw-content-ltr .editsection{ float:right}.mw-content-rtl .editsection,.mw-content-ltr .mw-content-rtl .editsection{ float:left} div.mw-filepage-resolutioninfo{font-size:smaller} h2#filehistory{clear:both}table.filehistory th,table.filehistory td{vertical-align:top}table.filehistory th{text-align:left}table.filehistory td.mw-imagepage-filesize,table.filehistory th.mw-imagepage-filesize{white-space:nowrap}table.filehistory td.filehistory-selected{font-weight:bold} .filehistory a img,#file img:hover{background:white url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGElEQVQYV2N4DwX/oYBhgARgDJjEAAkAAEC99wFuu0VFAAAAAElFTkSuQmCC) repeat;background:white url(http://wiki.oni2.net/w/skins/common/images/Checker-16x16.png?2012-08-30T22:25:00Z) repeat!ie} li span.deleted,span.history-deleted{text-decoration:line-through;color:#888;font-style:italic} .not-patrolled{background-color:#ffa}.unpatrolled{font-weight:bold;color:red}div.patrollink{font-size:75%;text-align:right} td.mw-label{text-align:right}td.mw-input{text-align:left}td.mw-submit{text-align:left}td.mw-label{vertical-align:top}.prefsection td.mw-label{width:20%}.prefsection table{width:100%}td.mw-submit{white-space:nowrap}table.mw-htmlform-nolabel td.mw-label{width:1px}tr.mw-htmlform-vertical-label td.mw-label{text-align:left !important}.mw-htmlform-invalid-input td.mw-input input{border-color:red}.mw-htmlform-flatlist div.mw-htmlform-flatlist-item{display:inline;margin-right:1em;white-space:nowrap}input#wpSummary{width:80%} .thumbcaption{text-align:left}.magnify{float:right} #catlinks{ text-align:left}.catlinks ul{display:inline;margin:0;padding:0;list-style:none;list-style-type:none;list-style-image:none;vertical-align:middle !ie}.catlinks li{display:inline-block;line-height:1.25em;border-left:1px solid #AAA;margin:0.125em 0;padding:0 0.5em;zoom:1;display:inline !ie}.catlinks li:first-child{padding-left:0.25em;border-left:none} .mw-hidden-cats-hidden{display:none}.catlinks-allhidden{display:none} p.mw-ipb-conveniencelinks,p.mw-protect-editreasons,p.mw-filedelete-editreasons,p.mw-delete-editreasons,p.mw-revdel-editreasons{font-size:90%;text-align:right} .os-suggest{overflow:auto;overflow-x:hidden;position:absolute;top:0;left:0;width:0;background-color:white;border-style:solid;border-color:#AAAAAA;border-width:1px;z-index:99;font-size:95%}table.os-suggest-results{font-size:95%;cursor:pointer;border:0;border-collapse:collapse;width:100%}.os-suggest-result,.os-suggest-result-hl{white-space:nowrap;background-color:white;color:black;padding:2px}.os-suggest-result-hl,.os-suggest-result-hl-webkit{background-color:#4C59A6;color:white}.os-suggest-toggle{position:relative;left:1ex;font-size:65%}.os-suggest-toggle-def{position:absolute;top:0;left:0;font-size:65%;visibility:hidden}  .autocomment{color:gray}#pagehistory .history-user{margin-left:0.4em;margin-right:0.2em}#pagehistory span.minor{font-weight:bold}#pagehistory li{border:1px solid white}#pagehistory li.selected{background-color:#f9f9f9;border:1px dashed #aaa}.mw-history-revisiondelete-button,#mw-fileduplicatesearch-icon{float:right} .newpage,.minoredit,.botedit{font-weight:bold}#shared-image-dup,#shared-image-conflict{font-style:italic} div.mw-warning-with-logexcerpt{padding:3px;margin-bottom:3px;border:2px solid #2F6FAB;clear:both}div.mw-warning-with-logexcerpt ul li{font-size:90%} span.mw-revdelundel-link,strong.mw-revdelundel-link{font-size:90%}span.mw-revdelundel-hidden,input.mw-revdelundel-hidden{visibility:hidden}td.mw-revdel-checkbox,th.mw-revdel-checkbox{padding-right:10px;text-align:center} a.feedlink{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH2AkOCjkSL9xYhAAAAc9JREFUKJE90LFrU1EYQPHzffe+l/iSVkXTmNiANBU7iE5OLrbSVYKIiy5dnARB3FwEB5dOOhQKuthJEEHRsUXBoosO0lKKEYRa29LWQk3S5L53r0PVv+D8OPJlolrrr1ZmI7F1BFEjqBXECGJAjSBCaLddc7u5Mmb7q5U5007rWh5E9rYR/xsTBBXBWMVEglqRpGiGhcE5G6kdyugxcGsGyRdJ15ZwC29IF55jNEWt8K+aFOMhc+dC7Z6SITjC7ga2MkI8cpH41Dhh7RPa20Gt4toZac+IqhFMTpG0hVt8RetJg967SaTvGLnGNKZ0EtfOcB1P5jyqVjCRkIzfpnjtMYXrT2FrCff6JqhFRx/gnCXtZHgXUFHQSGg/u4Gbf4T2lYkvTaFGce8fIgePY09fwXU8Pg3sk2JFu5v4lQ+4FxPge+j5u3Q+v8TvrBKfbZB1PT4LqJh9Uv7yFLmrM2i+gPs4jRyqIaUz7C2+xZZOEA4cJaSgaAhqhbC1DK0N3K9NusvzAHB4GLf+HQBJBsiCD7J6/9zXI2VbVyv/b6Sdv1e6nrTryboB7wVbyjXt1rcfo0Frs4UkqvtUJHMBjyVEAcSjFiQJwRvf3F3/OfYH/dDFWrCooaIAAAAASUVORK5CYII=) center left no-repeat;background:url(http://wiki.oni2.net/w/skins/common/images/feed-icon.png?2012-08-30T22:25:00Z) center left no-repeat!ie;padding-left:16px} .plainlinks a{background:none !important;padding:0 !important}  .rtl a.external.free,.rtl a.external.autonumber{direction:ltr;unicode-bidi:embed} table.wikitable{margin:1em 1em 1em 0;background-color:#f9f9f9;border:1px #aaa solid;border-collapse:collapse;color:black}table.wikitable > tr > th,table.wikitable > tr > td,table.wikitable > * > tr > th,table.wikitable > * > tr > td{border:1px #aaa solid;padding:0.2em}table.wikitable > tr > th,table.wikitable > * > tr > th{background-color:#f2f2f2;text-align:center}table.wikitable > caption{font-weight:bold} table.collapsed tr.collapsable{display:none} .success{color:green;font-size:larger}.warning{color:#FFA500; font-size:larger}.error{color:red;font-size:larger}.errorbox,.warningbox,.successbox{font-size:larger;border:2px solid;padding:.5em 1em;float:left;margin-bottom:2em;color:#000}.errorbox{border-color:red;background-color:#fff2f2}.warningbox{border-color:#FF8C00; background-color:#FFFFC0}.successbox{border-color:green;background-color:#dfd}.errorbox h2,.warningbox h2,.successbox h2{font-size:1em;font-weight:bold;display:inline;margin:0 .5em 0 0;border:none} .mw-infobox{border:2px solid #ff7f00;margin:0.5em;clear:left;overflow:hidden}.mw-infobox-left{margin:7px;float:left;width:35px}.mw-infobox-right{margin:0.5em 0.5em 0.5em 49px} .previewnote{color:#c00;margin-bottom:1em}.previewnote p{text-indent:3em;margin:0.8em 0}.visualClear{clear:both}#mw_trackbacks{border:solid 1px #bbbbff;background-color:#eeeeff;padding:0.2em} .mw-datatable{border-collapse:collapse}.mw-datatable,.mw-datatable td,.mw-datatable th{border:1px solid #aaaaaa;padding:0 0.15em 0 0.15em}.mw-datatable th{background-color:#ddddff}.mw-datatable td{background-color:#ffffff}.mw-datatable tr:hover td{background-color:#eeeeff} .TablePager{min-width:80%}.TablePager_nav{margin:0 auto}.TablePager_nav td{padding:3px;text-align:center}.TablePager_nav a{text-decoration:none}.imagelist td,.imagelist th{white-space:nowrap}.imagelist .TablePager_col_links{background-color:#eeeeff}.imagelist .TablePager_col_img_description{white-space:normal}.imagelist th.TablePager_sort{background-color:#ccccff} ul#filetoc{text-align:center;border:1px solid #aaaaaa;background-color:#f9f9f9;padding:5px;font-size:95%;margin-bottom:0.5em;margin-left:0;margin-right:0}#filetoc li{display:inline;list-style-type:none;padding-right:2em} table.mw_metadata{font-size:0.8em;margin-left:0.5em;margin-bottom:0.5em;width:400px}table.mw_metadata caption{font-weight:bold}table.mw_metadata th{font-weight:normal}table.mw_metadata td{padding:0.1em}table.mw_metadata{border:none;border-collapse:collapse}table.mw_metadata td,table.mw_metadata th{text-align:center;border:1px solid #aaaaaa;padding-left:5px;padding-right:5px}table.mw_metadata th{background-color:#f9f9f9}table.mw_metadata td{background-color:#fcfcfc}table.mw_metadata ul.metadata-langlist{list-style-type:none;list-style-image:none;padding-right:5px;padding-left:5px;margin:0} .mw-content-ltr ul,.mw-content-rtl .mw-content-ltr ul{ margin:0.3em 0 0 1.6em;padding:0}.mw-content-rtl ul,.mw-content-ltr .mw-content-rtl ul{ margin:0.3em 1.6em 0 0;padding:0}.mw-content-ltr ol,.mw-content-rtl .mw-content-ltr ol{ margin:0.3em 0 0 3.2em;padding:0}.mw-content-rtl ol,.mw-content-ltr .mw-content-rtl ol{ margin:0.3em 3.2em 0 0;padding:0} .mw-content-ltr dd,.mw-content-rtl .mw-content-ltr dd{margin-left:1.6em;margin-right:0} .mw-content-rtl dd,.mw-content-ltr .mw-content-rtl dd{margin-right:1.6em;margin-left:0}   li.gallerybox{vertical-align:top;border:solid 2px white;display:-moz-inline-box;display:inline-block}ul.gallery,li.gallerybox{zoom:1;*display:inline}ul.gallery{margin:2px;padding:2px;display:block}li.gallerycaption{font-weight:bold;text-align:center;display:block;word-wrap:break-word}li.gallerybox div.thumb{text-align:center;border:1px solid #ccc;background-color:#f9f9f9;margin:2px}li.gallerybox div.thumb img{display:block;margin:0 auto}div.gallerytext{overflow:hidden;font-size:94%;padding:2px 4px;word-wrap:break-word}.mw-ajax-loader{background-image:url(data:image/gif;base64,R0lGODlhIAAgAPMAAP///wAAAMbGxoSEhLa2tpqamjY2NlZWVtjY2OTk5Ly8vB4eHgQEBAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHRLYKhKP1oZmADdEAAAh+QQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDUolIGw5RUYhhHukqFu8DsrEyqnWThGvAmhVlteBvojpTDDBUEIFwMFBRAmBkSgOrBFZogCASwBDEY/CZSg7GSE0gSCjQBMVG023xWBhklAnoEdhQEfyNqMIcKjhRsjEdnezB+A4k8gTwJhFuiW4dokXiloUepBAp5qaKpp6+Ho7aWW54wl7obvEe0kRuoplCGepwSx2jJvqHEmGt6whJpGpfJCHmOoNHKaHx61WiSR92E4lbFoq+B6QDtuetcaBPnW6+O7wDHpIiK9SaVK5GgV543tzjgGcghAgAh+QQJCgAAACwAAAAAIAAgAAAE7hDISSkxpOrN5zFHNWRdhSiVoVLHspRUMoyUakyEe8PTPCATW9A14E0UvuAKMNAZKYUZCiBMuBakSQKG8G2FzUWox2AUtAQFcBKlVQoLgQReZhQlCIJesQXI5B0CBnUMOxMCenoCfTCEWBsJColTMANldx15BGs8B5wlCZ9Po6OJkwmRpnqkqnuSrayqfKmqpLajoiW5HJq7FL1Gr2mMMcKUMIiJgIemy7xZtJsTmsM4xHiKv5KMCXqfyUCJEonXPN2rAOIAmsfB3uPoAK++G+w48edZPK+M6hLJpQg484enXIdQFSS1u6UhksENEQAAIfkECQoAAAAsAAAAACAAIAAABOcQyEmpGKLqzWcZRVUQnZYg1aBSh2GUVEIQ2aQOE+G+cD4ntpWkZQj1JIiZIogDFFyHI0UxQwFugMSOFIPJftfVAEoZLBbcLEFhlQiqGp1Vd140AUklUN3eCA51C1EWMzMCezCBBmkxVIVHBWd3HHl9JQOIJSdSnJ0TDKChCwUJjoWMPaGqDKannasMo6WnM562R5YluZRwur0wpgqZE7NKUm+FNRPIhjBJxKZteWuIBMN4zRMIVIhffcgojwCF117i4nlLnY5ztRLsnOk+aV+oJY7V7m76PdkS4trKcdg0Zc0tTcKkRAAAIfkECQoAAAAsAAAAACAAIAAABO4QyEkpKqjqzScpRaVkXZWQEximw1BSCUEIlDohrft6cpKCk5xid5MNJTaAIkekKGQkWyKHkvhKsR7ARmitkAYDYRIbUQRQjWBwJRzChi9CRlBcY1UN4g0/VNB0AlcvcAYHRyZPdEQFYV8ccwR5HWxEJ02YmRMLnJ1xCYp0Y5idpQuhopmmC2KgojKasUQDk5BNAwwMOh2RtRq5uQuPZKGIJQIGwAwGf6I0JXMpC8C7kXWDBINFMxS4DKMAWVWAGYsAdNqW5uaRxkSKJOZKaU3tPOBZ4DuK2LATgJhkPJMgTwKCdFjyPHEnKxFCDhEAACH5BAkKAAAALAAAAAAgACAAAATzEMhJaVKp6s2nIkolIJ2WkBShpkVRWqqQrhLSEu9MZJKK9y1ZrqYK9WiClmvoUaF8gIQSNeF1Er4MNFn4SRSDARWroAIETg1iVwuHjYB1kYc1mwruwXKC9gmsJXliGxc+XiUCby9ydh1sOSdMkpMTBpaXBzsfhoc5l58Gm5yToAaZhaOUqjkDgCWNHAULCwOLaTmzswadEqggQwgHuQsHIoZCHQMMQgQGubVEcxOPFAcMDAYUA85eWARmfSRQCdcMe0zeP1AAygwLlJtPNAAL19DARdPzBOWSm1brJBi45soRAWQAAkrQIykShQ9wVhHCwCQCACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiRMDjI0Fd30/iI2UA5GSS5UDj2l6NoqgOgN4gksEBgYFf0FDqKgHnyZ9OX8HrgYHdHpcHQULXAS2qKpENRg7eAMLC7kTBaixUYFkKAzWAAnLC7FLVxLWDBLKCwaKTULgEwbLA4hJtOkSBNqITT3xEgfLpBtzE/jiuL04RGEBgwWhShRgQExHBAAh+QQJCgAAACwAAAAAIAAgAAAE7xDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfZiCqGk5dTESJeaOAlClzsJsqwiJwiqnFrb2nS9kmIcgEsjQydLiIlHehhpejaIjzh9eomSjZR+ipslWIRLAgMDOR2DOqKogTB9pCUJBagDBXR6XB0EBkIIsaRsGGMMAxoDBgYHTKJiUYEGDAzHC9EACcUGkIgFzgwZ0QsSBcXHiQvOwgDdEwfFs0sDzt4S6BK4xYjkDOzn0unFeBzOBijIm1Dgmg5YFQwsCMjp1oJ8LyIAACH5BAkKAAAALAAAAAAgACAAAATwEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GGl6NoiPOH16iZKNlH6KmyWFOggHhEEvAwwMA0N9GBsEC6amhnVcEwavDAazGwIDaH1ipaYLBUTCGgQDA8NdHz0FpqgTBwsLqAbWAAnIA4FWKdMLGdYGEgraigbT0OITBcg5QwPT4xLrROZL6AuQAPUS7bxLpoWidY0JtxLHKhwwMJBTHgPKdEQAACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GAULDJCRiXo1CpGXDJOUjY+Yip9DhToJA4RBLwMLCwVDfRgbBAaqqoZ1XBMHswsHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd+MFCN6HAAIKgNggY0KtEBAAh+QQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1+vsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d+jYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg+ygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0+bm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h+Kr0SJ8MFihpNbx+4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX+BP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA==);background-image:url(http://wiki.oni2.net/w/skins/common/images/ajax-loader.gif?2012-08-30T22:25:00Z)!ie;background-position:center center;background-repeat:no-repeat;padding:16px;position:relative;top:-16px}.mw-small-spinner{padding:10px !important;margin-right:0.6em;background-image:url(data:image/gif;base64,R0lGODlhFAAUAPUyAAEBAQICAgMDAwQEBAcHBwkJCSIiIigoKCwsLDQ0ND8/P0REREVFRU1NTVJSUlVVVVZWVl1dXWNjY25ubnBwcHR0dHh4eISEhIWFhYeHh4mJiZKSkpaWlpubm6Wlpaqqqra2tre3t7i4uLm5ubq6uru7u7+/v8DAwMLCwsPDw8TExMbGxsfHx8jIyMnJycrKys7OztDQ0P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkKADIAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAFAAUAAAGlUCZcDhMOIhIImcyJBSEqVRy6EBUhIGADEYyTYcHhZCgTZG+w4fBIgsQZCSp8Cx8NIYKCbElXJFIMXUMDBEeX38pMEgPDBRfKytfG2hJHxoXGRmUIJwgKx2ZmJudipSmfXxTfolEMGZ0U69yMX+RMqlCLbAmcnBDZjKcMn62aHHBIFCwUyYkisJbf2hRQtAygadbxUlBACH5BAkKADcALAAAAAAUABQAhRISEhQUFBYWFh0dHR4eHiEhISIiIiMjIykpKSwsLC0tLS8vLzY2Njo6Oj8/P0FBQUhISEpKSlRUVFdXV2RkZGZmZm1tbW9vb3Nzc35+fn9/f4eHh4mJiYyMjJGRkZSUlJiYmJ2dnZ6enqOjo6SkpLa2tre3t7i4uLm5ubq6uru7u7y8vL+/v8DAwMLCwsPDw8TExMbGxsfHx8jIyMrKys7OztDQ0P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaQwJtwOIxciEhiKDMsFISLRXJYeTBvBIIQgJgOHxJh9rYAeKmNDbZwCTCGqiHIM5RgiBFhTKWyCUkdHCExXnwvNUgfHSNeMy+FZ0k1KiWVkZWVMTGYJZeYiJGhQi8zXnuHRDUvKitnqyuPN5MqhDelQ3tDsHBDqzeWe7VnrL+dN76uKoiWsnyutcw3fqKywklBACH5BAkKADkALAAAAAAUABQAhQoKChAQEBERESgoKCoqKiwsLC4uLjU1NTY2Njc3Nzo6Ojw8PD09PT4+PkBAQENDQ0RERElJSVBQUFlZWWFhYWJiYmVlZXx8fIKCgoaGhoqKioyMjI+Pj5GRkZWVlZiYmJ6enqSkpKenp7Ozs7a2tre3t7i4uLm5ubq6uru7u7y8vL+/v8DAwMLCwsPDw8TExMXFxcbGxsfHx8jIyMrKys7OztDQ0NTU1NnZ2f///wAAAAAAAAAAAAAAAAAAAAAAAAaZwJxwOKRciEgibDRUMIQRSHII4pSEiYSw8JwKNR2sllHwDkMaZkLBOUSGDoywtRp6QsSJJ8cQCChzKSkwOF4EAAQWSC0pM14QgFM3Zkk1JZdXZpglMDCblJgpNZSkQy2OUzApK6NDNYx1XowpLUI2gjBCqLopQyu1Qr2BOZc5qrmUq8SZK8JezaPFObfOSS3AKZnTpUI1yFNBACH5BAkKADoALAAAAAAUABQAhQAAAAICAgMDAwQEBAcHBwkJCSIiIigoKCsrKzQ0ND4+Pj8/P0REREVFRU1NTVJSUlNTU1RUVFVVVVZWVlxcXGNjY25ubnFxcXR0dHh4eIODg4SEhIWFhYeHh4mJiZGRkZaWlpubm6Wlpaqqqra2tre3t7i4uLm5ubq6uru7u7y8vL+/v8DAwMLCwsPDw8TExMbGxsfHx8jIyMrKys7Ozs/Pz9DQ0NTU1NfX19nZ2f///wAAAAAAAAAAAAAAAAAAAAaZQJ1wOAyNiEhizjbseIQSSXLYSjF1Go2Q4ZgOUythp6OTMLxDWIqG7XwYlKEEJGyFhasZ8SIqHxAWdSkpMDheCwYMF0hVMF4VGV6GaEg0JJcklAEDnAkwmJloAaMFD5SnaY5TM2BsQzYtJHdTVSktQjaDqnppKUMrt0K+gjqXOmqqaGDFoVWUK2vMQjSDaC3BKaE6V6g0yUlBACH5BAkKADoALAAAAAAUABQAhRISEhQUFBYWFhwcHB0dHR4eHiEhISIiIiMjIysrKy8vLzc3Nzo6Oj8/P0FBQUhISFJSUlZWVldXV2VlZW1tbX9/f4KCgoeHh4mJiYuLi4yMjJCQkJSUlJiYmJmZmZqampycnJ2dnZ6enqOjo7CwsLa2tre3t7i4uLm5ubq6uru7u7y8vL+/v8DAwMLCwsPDw8TExMbGxsfHx8jIyMrKys7OztDQ0NTU1NfX19nZ2f///wAAAAAAAAAAAAAAAAAAAAaaQJ1wOCSViEhirjYMfYSfZ1LoUjF1UWFGMx2qXNAnJ9MdxqzYj0oTGk7aOhdryKIRRzHdxNGwUFUqMThdEAwRFUhVeVMUF12DZUg1JZRHZQMImA8xlZZdmZgUkUh+UzGLSQ4CChFENS4lc10LAAAKQjaAi3ZmKkMIt0K+fzqUOmeoXSpzxnHDXSxozTWAZS5gOiqeNqNDNclIQQAh+QQJCgBFACwAAAAAFAAUAIYKCgoQEBAREREnJycqKiosLCwuLi40NDQ1NTU2NjY3Nzc5OTk6Ojo8PDw9PT0+Pj4/Pz9ERERJSUlRUVFYWFhhYWFlZWVmZmZvb298fHyCgoKGhoaHh4eKioqNjY2SkpKVlZWenp6fn5+hoaGioqKjo6Onp6epqamrq6usrKyurq6vr6+xsbGzs7O2tra3t7e4uLi5ubm6urq7u7u8vLy/v7/AwMDCwsLDw8PExMTFxcXGxsbHx8fIyMjKysrOzs7Q0NDU1NTV1dXX19fZ2dn///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHqYBFgoODOz+EiIREh4IvL4IqKomDNzOMjoIkKJODMzeNjyginIWWRY47JJKCIjuCNzWDNT6EN0NFIhsdq5UzO7eTIBsfLYiVrpMmxZPApIQ/jpikBwvUFTvRj6TVBxAZzogenDe0kxQGEBjPNy+xkyQTBAYSgkAzvoLlghEEgxARnSjNOPXIAoAF4GbEkkZAgLMapqRZEACB1I1PRWZoK1JBAzhBP5BNCgQAIfkECQoAOgAsAAAAABQAFACFAQEBAgICAwMDBAQEBwcHCQkJIiIiKCgoLCwsNDQ0Pz8/RERERUVFTU1NUlJSVVVVVlZWXV1dY2Njbm5ucHBwdHR0eHh4gICAg4ODhISEhYWFh4eHiYmJkpKSlpaWm5ubpaWlqqqqtra2t7e3uLi4ubm5urq6u7u7vLy8v7+/wMDAwsLCw8PDxMTExsbGx8fHyMjIysrKy8vLzs7Oz8/P0NDQ1NTU1dXV19fX2dnZ////AAAAAAAAAAAAAAAAAAAABptAnXA4dM2ISGLuKByNhKtVcrg61ZpP3Uk6FW6xumq3ODo6cScXNQdNDVMxYgync52s0LuLPk2NVkxUaV0xgUh8Y0QzTk6JGBuPHy6MWV0bkBwhiUgdXStxUxQMDxiKKyNuUyARDKNCNXpCoEISCkMND0MngjoDAToWBrmJJ24BA0IKB4kpJ0cBvzoVCA5jUUIFBUMTHptCDgljQQAh+QQJCgA9ACwAAAAAFAAUAIUSEhIUFBQVFRUdHR0eHh4fHx8hISEiIiIjIyMpKSksLCwtLS0vLy82NjY6Ojo/Pz9BQUFISEhUVFRWVlZkZGRmZmZtbW1xcXFzc3N8fHx/f3+Hh4eJiYmLi4uMjIyQkJCUlJSYmJidnZ2enp6jo6Orq6u2tra3t7e4uLi5ubm6urq7u7u8vLy/v7/AwMDCwsLDw8PExMTGxsbHx8fIyMjKysrLy8vOzs7Q0NDU1NTV1dXX19fZ2dn///8AAAAAAAAGmsCecDiU3YhIIu8oPJ2Er1dy+Frhms/eSjoVbrG9ard4Ojp3KxmVB20NWzVibdeTrazQu4w+bZ1eTFRpXTWBSHxjRDdOTomMJzIyj45OK4aJWl0vcVMkHh8lii8nblMyIh0dIUI4ekIQRBgSQx+rXkMNARgHAz0bDhWYAAo9A709E7BjCQFCvEIaD8FdCsQ9CAdDGiKYQhYRY0EAIfkECQoAPQAsAAAAABQAFACFCgoKEBAQERERKCgoKioqLCwsLi4uNTU1NjY2Nzc3Ojo6PDw8PT09Pj4+QEBAQ0NDRERESUlJUVFRWlpaW1tbYWFhYmJiZWVlfHx8goKChoaGh4eHioqKjIyMlZWVmZmZnp6en5+foaGhp6enr6+vsrKys7Oztra2t7e3uLi4ubm5urq6u7u7v7+/wMDAwsLCw8PDxMTExcXFxsbGyMjIysrKy8vLzs7O0NDQ1NTU1dXV19fX2dnZ////AAAAAAAABpjAnnA4nN2ISCLvKEShhK9Xcvhi4ZrPHks6FW6xvWq3iDo6d6wZlQdtDVs1Ym3Xm7Gs0PuMPm2hXkxUaV01gUh8Y0Q3Tk6JjCgzM4+OjIaJPYhIFg+EW4YXAwADXTt2Xz0UAgIKPSITRCMeb1wZnEISBh0KBz0mGiGXBg09B7w9HxqJDQZCxU0cwF0QEUINrEIkapc9GK9dQQAh+QQJCgA8ACwAAAAAFAAUAIUCAgIDAwMEBAQGBgYHBwcJCQkiIiIoKCgrKys0NDQ+Pj4/Pz9ERERFRUVNTU1SUlJTU1NUVFRVVVVWVlZcXFxjY2Nubm5xcXF0dHR4eHiDg4OEhISFhYWHh4eJiYmRkZGWlpabm5ulpaWqqqq2tra3t7e4uLi5ubm6urq7u7u/v7/AwMDCwsLDw8PExMTFxcXGxsbIyMjKysrLy8vOzs7Pz8/Q0NDU1NTV1dXX19fY2NjZ2dn///8AAAAAAAAAAAAGlUCecDiE0YhI4u4oLJWELFZyyErZmk9eSjoVbrG8ardYOjpzKRh1B1UNVTKiLMeDpazQO4w+VZVYTFRpXTKBSGxjSBAFAAADiU5OMAkDA42QkYaJPHxJGRWEW4YYCwYLXTl2XzwWCAcRPCIXcm5CKlwgEEMUDR8dGjw0g4kNsL95iQ4NQsfBq1MRsDweHkM2iJsjIWNBACH5BAkKADkALAAAAAAUABQAhQICAgMDAwQEBAcHBwgICAkJCRISEhQUFBYWFiIiIisrKy8vLzQ0NDU1NTo6Oj8/P0FBQVJSUldXV2VlZW1tbX9/f4ODg4iIiImJiYyMjJGRkZSUlJWVlZeXl52dnZ6enqOjo7a2tre3t7i4uLm5ubq6uru7u7+/v8DAwMLCwsPDw8TExMXFxcbGxsfHx8jIyMrKysvLy87OztDQ0NTU1NXV1dfX19jY2NnZ2f///wAAAAAAAAAAAAAAAAAAAAAAAAaYwJxwOGzJiEgi7igUiYQoVHKIOs2az9xIOhVusblqtzg6Om2nVhEnXCSGJxgRZsu1RqNrbnEwNDhdJ1t6Q3wQXTBMSRZjSREEAgIEjU5OLQ2RAgCUTnmNSHVTFxSIW4o5FhIOEV04dydcFQ8QE3YgcydUXB+1Qh8ZeE8yI2qNF4BOUCONGhlgOTOwYx23OclCM2yfOTLFU0EAIfkECQoAPgAsAAAAABQAFACFCgoKEBAQERERJycnKioqLCwsLi4uNDQ0NTU1NjY2Nzc3OTk5Ojo6PDw8PT09Pj4+Pz8/Q0NDRERESUlJUVFRWFhYYWFhYmJiZWVlfHx8goKChoaGioqKi4uLjY2NkZGRlZWVnp6eoaGhp6enr6+vsbGxs7Oztra2t7e3uLi4ubm5urq6u7u7v7+/wMDAwsLCw8PDxMTExcXFxsbGyMjIysrKy8vLzs7O0NDQ1NTU1dXV19fX2NjY2dnZ////AAAABplAn3A4nN2ISKLmMkShhDBYcvgIYIRO4ao1HQYI2Cds1R0yAEznbjUbwnpCCWM4kBBrO99stTr6JgYGFCJdLSgwflQGFV01iUgeZUkZDwcMc2VOTjMXDAefkpooj5I+eVMmI40riEQmHxsgXTt7rEIkHBwhpjV3XEItUnq7Qns7WTdspbZZPi1kZc9hQji2XVHT1HClPjdtXUEAOw==);background-image:url(http://wiki.oni2.net/w/skins/common/images/spinner.gif?2012-08-30T22:25:00Z)!ie;background-position:center center;background-repeat:no-repeat}  h1:lang(as),h1:lang(bn),h1:lang(gu),h1:lang(hi),h1:lang(kn),h1:lang(ml),h1:lang(mr),h1:lang(or),h1:lang(pa),h1:lang(sa),h1:lang(ta),h1:lang(te){line-height:1.5em !important}h2:lang(as),h3:lang(as),h4:lang(as),h5:lang(as),h6:lang(as),h2:lang(bn),h3:lang(bn),h4:lang(bn),h5:lang(bn),h6:lang(bn),h2:lang(gu),h3:lang(gu),h4:lang(gu),h5:lang(gu),h6:lang(gu),h2:lang(hi),h3:lang(hi),h4:lang(hi),h5:lang(hi),h6:lang(hi),h2:lang(kn),h3:lang(kn),h4:lang(kn),h5:lang(kn),h6:lang(kn),h2:lang(ml),h3:lang(ml),h4:lang(ml),h5:lang(ml),h6:lang(ml),h2:lang(mr),h3:lang(mr),h4:lang(mr),h5:lang(mr),h6:lang(mr),h2:lang(or),h3:lang(or),h4:lang(or),h5:lang(or),h6:lang(or),h2:lang(pa),h3:lang(pa),h4:lang(pa),h5:lang(pa),h6:lang(pa),h2:lang(sa),h3:lang(sa),h4:lang(sa),h5:lang(sa),h6:lang(sa),h2:lang(ta),h3:lang(ta),h4:lang(ta),h5:lang(ta),h6:lang(ta),h2:lang(te),h3:lang(te),h4:lang(te),h5:lang(te),h6:lang(te){line-height:1.2em} ol:lang(bcc) li,ol:lang(bqi) li,ol:lang(fa) li,ol:lang(glk) li,ol:lang(kk-arab) li,ol:lang(mzn) li{list-style-type:-moz-persian;list-style-type:persian}ol:lang(ckb) li{list-style-type:-moz-arabic-indic;list-style-type:arabic-indic}ol:lang(as) li,ol:lang(bn) li{list-style-type:-moz-bengali;list-style-type:bengali}ol:lang(or) li{list-style-type:-moz-oriya;list-style-type:oriya}#toc ul,.toc ul{margin:.3em 0}  .mw-content-ltr .toc ul,.mw-content-ltr #toc ul,.mw-content-rtl .mw-content-ltr .toc ul,.mw-content-rtl .mw-content-ltr #toc ul{text-align:left} .mw-content-rtl .toc ul,.mw-content-rtl #toc ul,.mw-content-ltr .mw-content-rtl .toc ul,.mw-content-ltr .mw-content-rtl #toc ul{text-align:right} .mw-content-ltr .toc ul ul,.mw-content-ltr #toc ul ul,.mw-content-rtl .mw-content-ltr .toc ul ul,.mw-content-rtl .mw-content-ltr #toc ul ul{margin:0 0 0 2em} .mw-content-rtl .toc ul ul,.mw-content-rtl #toc ul ul,.mw-content-ltr .mw-content-rtl .toc ul ul,.mw-content-ltr .mw-content-rtl #toc ul ul{margin:0 2em 0 0}#toc #toctitle,.toc #toctitle,#toc .toctitle,.toc .toctitle{direction:ltr} .mw-help-field-hint{display:none;margin-left:2px;margin-bottom:-8px;padding:0 0 0 15px;background-image:url(data:image/gif;base64,R0lGODlhCwALALMAAP///01NTZOTk1lZWefn57i4uJSUlPPz82VlZdDQ0HFxcaysrNvb28TExAAAAAAAACH5BAAAAAAALAAAAAALAAsAAAQrUIRJqQQ455nNNBgHJANBDAwgZsVwqIG2IEQYYwXy2lq/Kg3NqqeSVCqCCAA7);background-image:url(http://wiki.oni2.net/w/skins/common/images/help-question.gif?2012-08-30T22:25:00Z)!ie;background-position:left center;background-repeat:no-repeat;cursor:pointer;font-size:.8em;text-decoration:underline;color:#0645ad}.mw-help-field-hint:hover{background-image:url(data:image/gif;base64,R0lGODlhCwALALMAAAtop+7z+GCWwpW51oStz8rb6yZzrafF3bnR5Nzn8QBcoD91oABQmf///wAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjAyODAxMTc0MDcyMDY4MTE5NkQ0QUQzRjI0NzRCNUQwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjJBN0FFQTQwQjlGQzExREY5RDlBQTRBODQyMkJCMkFDIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjJBN0FFQTNGQjlGQzExREY5RDlBQTRBODQyMkJCMkFDIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RkM3RjExNzQwNzIwNjgxMTk1RkVBQ0ZBOEQxNTU5MkUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDI4MDExNzQwNzIwNjgxMTk2RDRBRDNGMjQ3NEI1RDAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQAAAAAACwAAAAACwALAAAEK3CxSalsOOeZxRQY1yBKkihFI2aDEqiMRgBJGGMD8NpavxoHzaqnklQqiwgAOw==);background-image:url(http://wiki.oni2.net/w/skins/common/images/help-question-hover.gif?2012-08-30T22:25:00Z)!ie}.mw-help-field-data{display:block;background-color:#d6f3ff;padding:5px 8px 4px 8px;border:1px solid #5dc9f4;margin-left:20px}.tipsy{padding:5px 5px 10px;font-size:12px;position:absolute;z-index:100000;overflow:visible}.tipsy-inner{padding:5px 8px 4px 8px;background-color:#d6f3ff;color:black;border:1px solid #5dc9f4;max-width:300px;text-align:left}.tipsy-arrow{position:absolute;background:url(data:image/gif;base64,R0lGODlhDQANAMQAAPf399bz/9vu9m/O9NXy/8Pm9svp9pfd+YLW943X9LTn++z093XQ9WnM9OLw9p/c9YTU9InY9/T292DK9Jre+afj+rvq/Nzv9rjk9brl9cPt/ZLb+GbL9MLs/ZHb+KLh+iH5BAAAAAAALAAAAAANAA0AAAVK4BGMZBkcg2WW1lBEKxkVAFTFFQQAwkSYhIlgB3hQTJQHEbBodEiaxmIJyHhIGwwVIGEoAgqGZAswIAIIA3mX+CTWOwfHAd9dtiEAOw==) no-repeat top left;background:url(http://wiki.oni2.net/w/skins/common/images/tipsy-arrow.gif?2012-08-30T22:25:00Z) no-repeat top left!ie;width:13px;height:13px}.tipsy-se .tipsy-arrow{bottom:-2px;right:10px;background-position:0% 100%}#mw-clearyourcache,#mw-sitecsspreview,#mw-sitejspreview,#mw-usercsspreview,#mw-userjspreview{direction:ltr;unicode-bidi:embed} .diff-currentversion-title,.diff{direction:ltr;unicode-bidi:embed} .diff-contentalign-right td{direction:rtl;unicode-bidi:embed} .diff-contentalign-left td{direction:ltr;unicode-bidi:embed}.diff-otitle,.diff-ntitle,.diff-lineno{direction:ltr !important;unicode-bidi:embed}#mw-revision-info,#mw-revision-info-current,#mw-revision-nav{direction:ltr;display:inline}  div.tright,div.floatright,table.floatright{clear:right;float:right} div.tleft,div.floatleft,table.floatleft{float:left;clear:left}div.floatright,table.floatright,div.floatleft,table.floatleft{position:relative} #mw-credits a{unicode-bidi:embed} .mw-jump,#jump-to-nav{overflow:hidden;height:0;zoom:1; } .xdebug-error{position:absolute;z-index:99}}@media screen{  a{text-decoration:none;color:#0645ad;background:none}a:visited{color:#0b0080}a:active{color:#faa700}a:hover,a:focus{text-decoration:underline}a.stub{color:#772233}a.new,#p-personal a.new{color:#ba0000}a.new:visited,#p-personal a.new:visited{color:#a55858} .mw-body a.extiw,.mw-body a.extiw:active{color:#36b}.mw-body a.extiw:visited{color:#636}.mw-body a.extiw:active{color:#b63} .mw-body a.external{color:#36b}.mw-body a.external:visited{color:#636; }.mw-body a.external:active{color:#b63} img{border:none;vertical-align:middle}hr{height:1px;color:#aaa;background-color:#aaa;border:0;margin:.2em 0} h1,h2,h3,h4,h5,h6{color:black;background:none;font-weight:normal;margin:0;overflow:hidden;padding-top:.5em;padding-bottom:.17em;border-bottom:1px solid #aaa;width:auto}h1{font-size:188%}h1 .editsection{font-size:53%}h2{font-size:150%}h2 .editsection{font-size:67%}h3,h4,h5,h6{border-bottom:none;font-weight:bold}h3{font-size:132%}h3 .editsection{font-size:76%;font-weight:normal}h4{font-size:116%}h4 .editsection{font-size:86%;font-weight:normal}h5{font-size:100%}h5 .editsection{font-weight:normal}h6{font-size:80%}h6 .editsection{font-size:125%;font-weight:normal} h1,h2{margin-bottom:.6em}h3,h4,h5{margin-bottom:.3em}p{margin:.4em 0 .5em 0;line-height:1.5em}p img{margin:0}ul{line-height:1.5em;list-style-type:square;margin:.3em 0 0 1.6em;padding:0}ol{line-height:1.5em;margin:.3em 0 0 3.2em;padding:0;list-style-image:none}li{margin-bottom:.1em}dt{font-weight:bold;margin-bottom:.1em}dl{margin-top:.2em;margin-bottom:.5em}dd{line-height:1.5em;margin-left:1.6em;margin-bottom:.1em}q{font-family:Times,"Times New Roman",serif;font-style:italic} pre,code,tt,kbd,samp{ font-family:monospace,Courier}code{background-color:#f9f9f9}pre{padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9} table{font-size:100%} fieldset{border:1px solid #2f6fab;margin:1em 0 1em 0;padding:0 1em 1em;line-height:1.5em}fieldset.nested{margin:0 0 0.5em 0;padding:0 0.5em 0.5em}legend{padding:.5em;font-size:95%}form{border:none;margin:0}textarea{width:100%;padding:.1em}select{vertical-align:top} .center{width:100%;text-align:center}*.center *{margin-left:auto;margin-right:auto} .small{font-size:94%}table.small{font-size:100%}  #toc,.toc,.mw-warning{border:1px solid #aaa;background-color:#f9f9f9;padding:5px;font-size:95%}#toc h2,.toc h2{display:inline;border:none;padding:0;font-size:100%;font-weight:bold}#toc #toctitle,.toc #toctitle,#toc .toctitle,.toc .toctitle{text-align:center}#toc ul,.toc ul{list-style-type:none;list-style-image:none;margin-left:0;padding:0;text-align:left}#toc ul ul,.toc ul ul{margin:0 0 0 2em}#toc .toctoggle,.toc .toctoggle{font-size:94%}.toccolours{border:1px solid #aaa;background-color:#f9f9f9;padding:5px;font-size:95%} .mw-warning{margin-left:50px;margin-right:50px;text-align:center} div.floatright,table.floatright{margin:0 0 .5em .5em;border:0}div.floatright p{font-style:italic}div.floatleft,table.floatleft{margin:0 .5em .5em 0;border:0}div.floatleft p{font-style:italic} div.thumb{margin-bottom:.5em;width:auto;background-color:transparent}div.thumbinner{border:1px solid #ccc;padding:3px !important;background-color:#f9f9f9;font-size:94%;text-align:center;overflow:hidden}html .thumbimage{border:1px solid #ccc}html .thumbcaption{border:none;text-align:left;line-height:1.4em;padding:3px !important;font-size:94%}div.magnify{float:right;border:none !important;background:none !important}div.magnify a,div.magnify img{display:block;border:none !important;background:none !important}div.tright{margin:.5em 0 1.3em 1.4em}div.tleft{margin:.5em 1.4em 1.3em 0}img.thumbborder{border:1px solid #dddddd} #userlogin,#userloginForm{border:solid 1px #cccccc;padding:1.2em;margin:.5em;float:left}  .catlinks{border:1px solid #aaa;background-color:#f9f9f9;padding:5px;margin-top:1em;clear:both} .usermessage{background-color:#ffce7b;border:1px solid #ffa500;color:black;font-weight:bold;margin:2em 0 1em;padding:.5em 1em;vertical-align:middle} #siteNotice{position:relative;text-align:center;margin:0}#localNotice{margin-bottom:0.9em} .firstHeading,#firstHeading{margin-bottom:.1em; line-height:1.2em;padding-bottom:0} #siteSub{display:none}#jump-to-nav{ margin-top:-1.4em;margin-bottom:1.4em }#contentSub,#contentSub2{font-size:84%;line-height:1.2em;margin:0 0 1.4em 1em;color:#7d7d7d;width:auto}span.subpages{display:block}  html,body{height:100%;margin:0;padding:0;font-family:sans-serif;font-size:1em}body{background-color:#f3f3f3;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUeF4FwTEBAAAAwJD1D+weGQD4APc0a6VeAAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/page-base.png?2012-08-30T22:25:00Z)!ie} div#content{margin-left:10em;padding:1em;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeF4FwTEBAAAAgjD7FzESWfjYdgwEoAJ4lTsaxgAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/border.png?2012-08-30T22:25:00Z)!ie;background-position:top left;background-repeat:repeat-y;background-color:white;color:black;direction:ltr} #mw-page-base{height:5em;background-color:white;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADpJREFUeF5VjUkOAEAIwoD//7lzGJd4MJHGSoBImkFETP67CdLldUd7KC6f8fv3+psd8znbtU5x354HaWQjOx76v7MAAAAASUVORK5CYII=);background-image:url(http://wiki.oni2.net/w/skins/vector/images/page-fade.png?2012-08-30T22:25:00Z)!ie;background-position:bottom left;background-repeat:repeat-x}#mw-head-base{margin-top:-5em;margin-left:10em;height:5em;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeF4FwTEBAAAAgjD7FzESWfjYdgwEoAJ4lTsaxgAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/border.png?2012-08-30T22:25:00Z)!ie;background-position:bottom left;background-repeat:repeat-x}div#mw-head{position:absolute;top:0;right:0;width:100%}div#mw-head h5{margin:0;padding:0} div.emptyPortlet{display:none} #p-personal{position:absolute;top:0;right:0.75em}#p-personal h5{display:none}#p-personal ul{list-style:none;margin:0;padding-left:10em; } #p-personal li{line-height:1.125em;float:left} #p-personal li{margin-left:0.75em;margin-top:0.5em;font-size:0.75em;white-space:nowrap} #left-navigation{position:absolute;left:10em;top:2.5em}#right-navigation{float:right;margin-top:2.5em} div.vectorTabs h5,div.vectorMenu h5 span{display:none}  div.vectorTabs{float:left;height:2.5em}div.vectorTabs{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAuCAIAAABmjeQ9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAERJREFUeF5lTtEKgEAMMv//j/O0IxlH9CA6N2WURAA/OHl5GeWAwUUHBcKV795FtTePxpmV3t9uv8Z3/cmvM88vzbbrAV/dQdX+eas3AAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/tab-break.png?2012-08-30T22:25:00Z)!ie;background-position:bottom left;background-repeat:no-repeat;padding-left:1px} div.vectorTabs ul{float:left}div.vectorTabs ul{height:100%;list-style:none;margin:0;padding:0} div.vectorTabs ul li{float:left} div.vectorTabs ul li{line-height:1.125em;display:inline-block;height:100%;margin:0;padding:0;background-color:#f3f3f3;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeF7litsRACAMwrD77+Q0rtGoV98r+MEFchhgkr4NnZyb3bk/LM/yMCjiH4wots/++hYR3iXLJVWUBS1AtOi2fwAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/tab-normal-fade.png?2012-08-30T22:25:00Z)!ie;background-position:bottom left;background-repeat:repeat-x;white-space:nowrap} div.vectorTabs ul > li{display:block}div.vectorTabs li.selected{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkAQAAAABvV2fNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUeF7dwQEBAAAAQCDTTfdD4WOJ5TIB3ib9EgAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/tab-current-fade.png?2012-08-30T22:25:00Z)!ie} div.vectorTabs li a{display:inline-block;height:1.9em;padding-left:0.5em;padding-right:0.5em;color:#0645ad;cursor:pointer;font-size:0.8em} div.vectorTabs li > a{display:block}div.vectorTabs li.icon a{background-position:bottom right;background-repeat:no-repeat} div.vectorTabs span a{display:inline-block;padding-top:1.25em}  div.vectorTabs span > a{float:left;display:block}div.vectorTabs span{display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAuCAIAAABmjeQ9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAERJREFUeF5lTtEKgEAMMv//j/O0IxlH9CA6N2WURAA/OHl5GeWAwUUHBcKV795FtTePxpmV3t9uv8Z3/cmvM88vzbbrAV/dQdX+eas3AAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/tab-break.png?2012-08-30T22:25:00Z)!ie;background-position:bottom right;background-repeat:no-repeat}div.vectorTabs li.selected a,div.vectorTabs li.selected a:visited{color:#333333;text-decoration:none}div.vectorTabs li.new a,div.vectorTabs li.new a:visited{color:#a55858}  div.vectorMenu{direction:ltr;float:left;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAMAAAAlM38UAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9QTFRFsbGxmpqa3d3deXl58/n79CzHcQAAAAV0Uk5T/////wD7tg5TAAAAMklEQVR42mJgwQoYBkqYiZEZAhiZUFRDxWGicEPA4nBRhNlAcYQokpVMDEwD6kuAAAMAyGMFQVv5ldcAAAAASUVORK5CYII=);background-image:url(http://wiki.oni2.net/w/skins/vector/images/arrow-down-icon.png?2012-08-30T22:25:00Z)!ie;background-position:100% 60%;background-repeat:no-repeat;cursor:pointer}div.vectorMenuFocus{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQBAMAAADgw5IVAAAAAXNSR0IArs4c6QAAABVQTFRFmpqakpKSra2tsbGxv7+/3d3d4+PjZlmM5AAAAAF0Uk5TAEDm2GYAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAmSURBVAjXY2CgGmBTFBQUVINykgQFhRIQEmpwVUlwYaCEG8WWAgARKQL1ECU8IAAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/arrow-down-focus-icon.png?2012-08-30T22:25:00Z)!ie;background-position:100% 60%} body.rtl div.vectorMenu{direction:rtl}  div#mw-head div.vectorMenu h5{float:left;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAuCAIAAABmjeQ9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAERJREFUeF5lTtEKgEAMMv//j/O0IxlH9CA6N2WURAA/OHl5GeWAwUUHBcKV795FtTePxpmV3t9uv8Z3/cmvM88vzbbrAV/dQdX+eas3AAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/tab-break.png?2012-08-30T22:25:00Z)!ie;background-repeat:no-repeat} div#mw-head div.vectorMenu h5{background-position:bottom left;margin-left:-1px} div#mw-head div.vectorMenu > h5{background-image:none}div#mw-head div.vectorMenu h4{display:inline-block;float:left;font-size:0.8em;padding-left:0.5em;padding-top:1.375em;font-weight:normal;border:none}  div.vectorMenu h5 a{display:inline-block;width:24px;height:2.5em;text-decoration:none;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAuCAIAAABmjeQ9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAERJREFUeF5lTtEKgEAMMv//j/O0IxlH9CA6N2WURAA/OHl5GeWAwUUHBcKV795FtTePxpmV3t9uv8Z3/cmvM88vzbbrAV/dQdX+eas3AAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/tab-break.png?2012-08-30T22:25:00Z)!ie;background-repeat:no-repeat} div.vectorMenu h5 a{background-position:bottom right} div.vectorMenu h5 > a{display:block}div.vectorMenu div.menu{position:relative;display:none;clear:both;text-align:left}  body.rtl div.vectorMenu div.menu{margin-left:24px}  body.rtl div.vectorMenu > div.menu{margin-left:auto}   body.rtl div.vectorMenu > div.menu,x:-moz-any-link{margin-left:23px} div.vectorMenu:hover div.menu,div.vectorMenu div.menuForceShow{display:block}div.vectorMenu ul{position:absolute;background-color:white;border:solid 1px silver;border-top-width:0;list-style:none;list-style-image:none;list-style-type:none;padding:0;margin:0;margin-left:-1px;text-align:left} div.vectorMenu ul,x:-moz-any-link{min-width:5em} div.vectorMenu ul,x:-moz-any-link,x:default{min-width:0}div.vectorMenu li{padding:0;margin:0;text-align:left;line-height:1em} div.vectorMenu li a{display:inline-block;padding:0.5em;white-space:nowrap;color:#0645ad;cursor:pointer;font-size:0.8em} div.vectorMenu li > a{display:block}div.vectorMenu li.selected a,div.vectorMenu li.selected a:visited{color:#333333;text-decoration:none} #p-search h5{display:none} #p-search{float:left}#p-search{margin-right:0.5em;margin-left:0.5em}#p-search form,#p-search input{margin:0;margin-top:0.4em}div#simpleSearch{display:block;width:14em;height:1.4em;margin-top:0.65em;position:relative;min-height:1px; border:solid 1px #AAAAAA;color:black;background-color:white;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAIAAABY/YLgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUeF5diqERACAQgID95/3s+cFg4CDQzASkXl4jidvrCPzfA7puAx52W1pnAAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/search-fade.png?2012-08-30T22:25:00Z)!ie;background-position:top left;background-repeat:repeat-x}div#simpleSearch label{ font-size:13px;top:0.25em;direction:ltr}div#simpleSearch input{color:black;direction:ltr}div#simpleSearch input:focus{outline:none}div#simpleSearch input.placeholder{color:#999999}div#simpleSearch input::-webkit-input-placeholder{color:#999999}div#simpleSearch input#searchInput{position:absolute;top:0;left:0;width:90%;margin:0;padding:0;padding-left:0.2em;padding-top:0.2em;padding-bottom:0.2em;outline:none;border:none; font-size:13px;background-color:transparent;direction:ltr}div#simpleSearch button#searchButton{position:absolute;width:10%;right:0;top:0;padding:0;padding-top:0.3em;padding-bottom:0.2em;padding-right:0.4em;margin:0;border:none;cursor:pointer;background-color:transparent;background-image:none} div#simpleSearch button#searchButton img{border:none;margin:0;margin-top:-3px;padding:0} div#simpleSearch button#searchButton > img{margin:0} div#mw-panel{position:absolute;top:160px;padding-top:1em;width:10em;left:0}div#mw-panel div.portal{padding-bottom:1.5em;direction:ltr}div#mw-panel div.portal h5{font-weight:normal;color:#444444;padding:0.25em;padding-top:0;padding-left:1.75em;cursor:default;border:none;font-size:0.75em}div#mw-panel div.portal div.body{margin:0;padding-top:0.5em;margin-left:1.25em;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeF61yMEJACAQxMCN/Xfr/yIsaAfOJxC2UTPWS6f5gABhUTedBz7fGPSonIP/AAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/portal-break.png?2012-08-30T22:25:00Z)!ie;background-repeat:no-repeat;background-position:top left}div#mw-panel div.portal div.body ul{list-style:none;list-style-image:none;list-style-type:none;padding:0;margin:0}div#mw-panel div.portal div.body ul li{line-height:1.125em;padding:0;padding-bottom:0.5em;margin:0;overflow:hidden;font-size:0.75em}div#mw-panel div.portal div.body ul li a{color:#0645ad}div#mw-panel div.portal div.body ul li a:visited{color:#0b0080} div#footer{margin-left:10em;margin-top:0;padding:0.75em;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeF4FwTEBAAAAgjD7FzESWfjYdgwEoAJ4lTsaxgAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/border.png?2012-08-30T22:25:00Z)!ie;background-position:top left;background-repeat:repeat-x;direction:ltr}div#footer ul{list-style:none;list-style-image:none;list-style-type:none;margin:0;padding:0}div#footer ul li{margin:0;padding:0;padding-top:0.5em;padding-bottom:0.5em;color:#333333;font-size:0.7em}div#footer #footer-icons{float:right} body.ltr div#footer #footer-places{float:left}div#footer #footer-info li{line-height:1.4em}div#footer #footer-icons li{float:left;margin-left:0.5em;line-height:2em;text-align:right}div#footer #footer-places li{float:left;margin-right:1em;line-height:2em} #p-logo{position:absolute;top:-160px;left:0;width:10em;height:160px}#p-logo a{display:block;width:10em;height:160px;background-repeat:no-repeat;background-position:center center;text-decoration:none}  #preftoc{ width:100%;float:left;clear:both;margin:0 !important;padding:0 !important;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAhCAQAAACysAk0AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAIQBSEXtPAAAAAmJLR0QA/vCI/CkAAAAmSURBVAjXY2BgYPj3n+k/AwL9g5Fwxl8GJgYGpr+ogmgITQuSgQA1QiAL/go8LAAAACV0RVh0Y3JlYXRlLWRhdGUAMjAwOS0wOC0wOVQxOTowNTo0MSswMDowMCYO2tEAAAAldEVYdG1vZGlmeS1kYXRlADIwMDktMDgtMDlUMTk6MDU6NDErMDA6MDB5v6zlAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/preferences-break.png?2012-08-30T22:25:00Z)!ie;background-position:bottom left;background-repeat:no-repeat}#preftoc li{ float:left;margin:0;padding:0;padding-right:1px;height:2.25em;white-space:nowrap;list-style-type:none;list-style-image:none;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAhCAQAAACysAk0AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAABAAAAIQBSEXtPAAAAAmJLR0QA/vCI/CkAAAAmSURBVAjXY2BgYPj3n+k/AwL9g5Fwxl8GJgYGpr+ogmgITQuSgQA1QiAL/go8LAAAACV0RVh0Y3JlYXRlLWRhdGUAMjAwOS0wOC0wOVQxOTowNTo0MSswMDowMCYO2tEAAAAldEVYdG1vZGlmeS1kYXRlADIwMDktMDgtMDlUMTk6MDU6NDErMDA6MDB5v6zlAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==);background-image:url(http://wiki.oni2.net/w/skins/vector/images/preferences-break.png?2012-08-30T22:25:00Z)!ie;background-position:bottom right;background-repeat:no-repeat} #preftoc li:first-child{margin-left:1px}#preftoc a,#preftoc a:active{display:inline-block;position:relative;color:#0645ad;padding:0.5em;text-decoration:none;background-image:none;font-size:0.9em}#preftoc a:hover,#preftoc a:focus{text-decoration:underline}#preftoc li.selected a{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAhCAQAAACysAk0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeF5twskJAAAMAjD3H7mXfYogCQiQeun68Z2WPk0SQHDa/pxXAAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/preferences-fade.png?2012-08-30T22:25:00Z)!ie;background-position:bottom;background-repeat:repeat-x;color:#333333;text-decoration:none}#preferences{float:left;width:100%;margin:0;margin-top:-2px;clear:both;border:solid 1px #cccccc;background-color:#f9f9f9;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUeF4FwTEBAAAAwJD1j+waGQD8APvyfoZlAAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/preferences-base.png?2012-08-30T22:25:00Z)!ie}#preferences fieldset{border:none;border-top:solid 1px #cccccc}#preferences fieldset.prefsection{border:none;padding:0;margin:1em}#preferences legend{color:#666666}#preferences fieldset.prefsection legend.mainLegend{display:none}#preferences td{padding-left:0.5em;padding-right:0.5em}#preferences td.htmlform-tip{font-size:x-small;padding:.2em 2em;color:#666666}#preferences div.mw-prefs-buttons{padding:1em}#preferences div.mw-prefs-buttons input{margin-right:0.25em} div#content{line-height:1.5em}#bodyContent{font-size:0.8em}.editsection{float:right}ul{list-style-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAANCAMAAABW4lS6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFAFKM////QIUK9QAAAAJ0Uk5T/wDltzBKAAAAGklEQVR42mJgBAEGokgGBjBGBxBxsBqAAAMACHwALd5r8ygAAAAASUVORK5CYII=);list-style-image:url(http://wiki.oni2.net/w/skins/vector/images/bullet-icon.png?2012-08-30T22:25:00Z)!ie}pre{line-height:1.3em} #siteNotice{font-size:0.8em}#firstHeading{padding-top:0;margin-top:0;padding-top:0;font-size:1.6em}div#content a.external,div#content a.external[href ^="gopher://"]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/external-link-ltr-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href ^="https://"],.link-https{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeF6tjzsKg0AQhi09mimsFJLCzpNYCGKbK3gAtfUIljaCoKCCZIs8MMV2v+yCg8siWlh8zOtjhjEAEFmeIopDQtTrTJNEZIxhWysiNfULJFJjDzGnba/aBt4+wAuBzD+tg6a8SVkXf4GET96xmDxNzP39IvE/PPDtXIyVpYinv14A5F0laJ8oYFgAAAAASUVORK5CYII=) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/lock-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href ^="mailto:"],.link-mailto{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKBAMAAAB/HNKOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBQTFRF////////iIqF9vb26urpycfDvb275eXj2djV+/v4srKy6efio6GcqKejsa6q8fDtVM9qIQAAAAF0Uk5TAEDm2GYAAABOSURBVHheBcExDkAwGIDRL43NpJOt6a9hMdVilP8gklqsHMJmt4qeyeI03oNSNkCrAIU/7YTWbwp0zz4rTXZHxF/9YA15HTG4+4NFRNofUBMMOBBNZngAAAAASUVORK5CYII=) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/mail-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href ^="news:"]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHtJREFUeF6NkEEKgCAQRT2w1wiiUxgk0SKiTe6i9oKeQXDhKSZmYAJRKeHh4j//DIp+6OAPJH6cXJRSZqSUQClViBjUKER8zXAbUhev+6Q7hMA0G1msNtIo5zxhrX3xzlNG4ravYMwBMUZsKsBsXjQIABCTHlsfTXuj8wCN3T2QBjtcwQAAAABJRU5ErkJggg==) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/news-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href ^="ftp://"],.link-ftp{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAExJREFUeF5VyEEKwCAMAMH83o/0LT6kFHqQYqkevG1jIITs3kaQgn+A7A29ujnw5NKrsaPCrTegBBrRMzYeXkbGzsdkZRwsPWMUmEd+CkSgVeVp2OkAAAAASUVORK5CYII=) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/file-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href ^="irc://"],div#content a.external[href ^="ircs://"],.link-irc{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUeF590E0KgCAQBWAvH0TXigI3ZccQ/8H91ExqKNrAW8j7kFG27SvMyzQM9s8whuBnENdQSllFKdWFWFC01pQQwhASMMaAtXYIMQScc/0dxSXyIaPq1ZzzF6JOsKBTHOC9hxgjoQLbf2tRgekWKka5AShBSepvauUSAAAAAElFTkSuQmCC) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/talk-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href $=".ogg"],div#content a.external[href $=".OGG"],div#content a.external[href $=".mid"],div#content a.external[href $=".MID"],div#content a.external[href $=".midi"],div#content a.external[href $=".MIDI"],div#content a.external[href $=".mp3"],div#content a.external[href $=".MP3"],div#content a.external[href $=".wav"],div#content a.external[href $=".WAV"],div#content a.external[href $=".wma"],div#content a.external[href $=".WMA"],.link-audio{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKBAMAAAB/HNKOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBQTFRF////dX8qyNF7eYMzwsxrsr9G8PHrm6Jrt7uakJVmn6OB1duat8NQi5YzhI4ykZR07gQraQAAAAF0Uk5TAEDm2GYAAABJSURBVHheNcSxDUBQFIbR727glxvKl3dHsIHCGESrNIIR7KE1hQ1MoDSCiMhJDixSDWVEhuZbei/sf/Jqbdn28+jxYe4u7CaND+p5C05J6bE1AAAAAElFTkSuQmCC) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/audio-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href $=".ogm"],div#content a.external[href $=".OGM"],div#content a.external[href $=".avi"],div#content a.external[href $=".AVI"],div#content a.external[href $=".mpeg"],div#content a.external[href $=".MPEG"],div#content a.external[href $=".mpg"],div#content a.external[href $=".MPG"],.link-video{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAP9bkSK1AAAAXElEQVR4Xi2NMQoFMQgFvbpgHUj5LvF6K7sFQXKFsOew2G/xuylmGPn62Wb76U+ayHsTbDnrQMNrHdkZRChyi730KvK1QUWVD47gzoCOMBkXPSZrIuumseW/iKU/eKdG9xXBa10AAAAASUVORK5CYII=) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/video-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content a.external[href $=".pdf"],div#content a.external[href $=".PDF"],div#content a.external[href *=".pdf#"],div#content a.external[href *=".PDF#"],div#content a.external[href *=".pdf?"],div#content a.external[href *=".PDF?"],.link-document{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeF5lykEKgDAMBdF/+17Es/QkiosiCBURXIzJooZohmweX6gwmkCeI+Oqc2C1FnvnF2ejlQYU0tLK2NjY6f/l8V12Ti7uhFFgDj19b58EwXuqkAAAAABJRU5ErkJggg==) center right no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/document-icon.png?2012-08-30T22:25:00Z) center right no-repeat!ie;padding-right:13px}div#content .printfooter{display:none} #pt-userpage,#pt-anonuserpage,#pt-login{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAANCAYAAACQN/8FAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAACxMAAAsTAQCanBgAAAHOSURBVCjPY2BAAjtLxLmPN4pFn2gSTdrfICDAgA2c65C0uznf6erT9dH/H6/0+39zut6d051SfiiK9jcwsFyfa3v21Z7S/++Odf1/uSP7/6OF1v+vT9O7ub9BlAdJoajBw+W+P98crPv/8eLC/6/2lPx/vNj+/705xv+PNwsHwRUerOFTvTXX9sfzjTFg056tC/v/YJbu//tzjP4eaxR3hiv8z8DAuKPF4N7DuUb/H84z/X9/hsb/BzM1/x/qMnxwJo2BFa5QP3rKpMjSiT/XtTr+vzzV+P+Vacb/N7fb/48v6fikHTYhFaxII3iSr0vRmm/muZv++9du/L969Yr/Wzeu+O9Tvvq/Rcay//aZC15reHXoMtimz91ulrnyv1n22v/muRv/960693/Fniv/TdKX/zdKXvDfPHX+f9PYySsYbFJnXDWIm/nfOG0pWDKkdsP/oonbgYoW/jdImPNfL2bKf+v4SRcZTCK6D5gkTAcLGibO/W+aMu+/b8mS//pxM8CKdAPr/xtFdB9lkDQNszOP7r1tnTLzr03qzP/WQGyVAqRTpv+3Tprxzzi88560VZo3xNui2jxi+oFB4oYRNaL6Ic0gDGEHh4HkQEoAjALoHv5slukAAAAASUVORK5CYII=) left top no-repeat;background:url(http://wiki.oni2.net/w/skins/vector/images/user-icon.png?2012-08-30T22:25:00Z) left top no-repeat!ie;padding-left:15px !important;text-transform:none}.redirectText{font-size:140%}.redirectMsg img{vertical-align:text-bottom}#bodyContent{position:relative;width:100%}#mw-js-message{font-size:0.8em}div#bodyContent{line-height:1.5em} #ca-unwatch.icon a,#ca-watch.icon a{margin:0;padding:0;outline:none;display:block;width:26px; padding-top:3.1em;margin-top:0; margin-top:-0.8em !ie;height:0;overflow:hidden;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAQCAMAAAClQEgHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAwBQTFRFoNb/+vr52tXLdcP/ltL/ysKt39rPrdz/xtDT8vLwwrJxodr/vqxjzdnr8v7+ntb/uuX/i87/ytTV9fb3zuz+8eOU+fr8zvH/wuX/ecT/hbrnj7XBltb/m9T/h8z/jtH+c8H/vq53lL/Ovq109vb1/v7rx8CuhcT0xLJlot3/2PL/kc//59N3s9//v7KGbL7/mNf//v395NSLmdr//Pz7ccT/wbOIZ7v/ybZk6OzzpNf/icPu0cm2g8n/p9n/9fTzva1ouuL/samQwu3/scfhfrbj8e/q4+bnyLJQ6u3tqtr/irbG7PH5fcz/0d7ww+r/zcuL6Obh9f7/hsv/s8+r+e2rw7J2rb3C+fj2icTy1O7/jrvO1s++vMyUz8zGocna6+rn8vDtlLK8aL3/d8X///vV7fz/vraklMr039nMtNjqp97/o9362ejN4vb/zcN7sN3/vfP/bsD/1dLNhK2+yLeIkrri28drz7tp5N7TiK26grXi3trTccP/vub/rd//+v//qM7fyeHMztmq5PT8u6t0/f3+/P39ksDwk8HQtMTH3fn/kdH/ltLpxb5o0dzsnND6ssXbzun5rdru2+Dh5+vsz9nadrrx1eLz+fLM7/z/w71z//zPgMz/8eWrwtKT9vn8jbPCf7vs1N3pua1terXo1O3tqtfWwOX51cV5dMH/vtmy28p8fLXR4efx9emq///8z9TbzrxowLOP5ea57///nq2xy7xo///5frrnwrSP9PX2+vv7ztzwvd3P2vH5r9z/8/X4nMrlsN//qLq9wa5zh7fikdf/tuL9zbpo3tnQ1u/kx8rL+/z8kq+6+vLGkqKq6f//oMrfxuf8xbVwqLvSh7vq8PP3ltD6d8P/v7Ngx7dqwbFt/PGyk8jv9vf3zLhofqy/wdPqyeTc0vH9//3kxun5i7O/x87X09mr1sRzmK3C3dnQz9XXmLvg///6uc7ozLpq7O7u//zc7evoyfT/+/z+mtf/9e25zcJt7ezowMXGu8nM+Pn5////8/n77InDmQAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAJbSURBVHjaYvgPAb+3/ccK4tKxi7+4SkA9A5SWnuyJVSGXDidWcSnN6/jVQw0+s//fBWzqin9scMImvtF/62us6rfwOaEYXPLvXyM2pzn8+7dGBYt4dZ5WhjA29d3i+Sowg/d4TjuX9+9fQwnH1L8oqhIrN5//909VOdPNBEXcZ8Y7CQlHEam9Pt/Q1O/KrXNcdhSsnuFIZ3zWpLR/QMAnkhWvJA1TxVqx0mheKkj883qjVx9LYeIukRkT2P3rCtgPCGTfiLTuQKjPD3iZK1DAzv64OWD27VIG9+h/SOASB0xhwklk8XImmLilOp+IhK6XFQODrCyD+D1euPoHF50FDoPFZWQKfzIx/N/9PAiuP3oKwmOMYU9hwu8tAhHiYteidO34WbRtFZg1d65DVn+6HiJem3MrEBTGZ6taIPqDvN1RwkxxJkRcVeMLivixEwwsgpLmRfKulqjqm/jB4r08vyCp4tMhiAFPOFCj2L4cIh7KhCp+UJ1bjjlZ/6Y8L5r6PmOQuGkIEzS5vV0BMWBWOKrCGlGIeCorqvhieTlm5pRVkgYuaOpj5zLXmiqkLGeFGhwOTBRRl4EmJKEqVJsDdC3Q8B16qOITs4MNegS/B3OXoanf53s8JNbYN0cPanDSPy3vP0JVz/4tRFVo9u+uRcwbZdF/d1DFy8S5Fz3qr5ZxdkVT/3W1Rsyp1vmFS6AGP1TqAolzSK+9j6KQZ5MNiGK64sGIIr7U+gOI4pWaLoaqfjtEPRdIPdDgdiFY5hRCyaWGbDDz2CKQxdv8YOb5LcCtnuE/jQBAgAEAQlFsBT+lqfQAAAAASUVORK5CYII=);background-image:url(http://wiki.oni2.net/w/skins/vector/images/watch-icons.png?2012-08-30T22:25:00Z)!ie}#ca-unwatch.icon a{background-position:-43px 60%}#ca-watch.icon a{background-position:5px 60%}#ca-unwatch.icon a:hover,#ca-unwatch.icon a:focus{background-position:-67px 60%}#ca-watch.icon a:hover,#ca-watch.icon a:focus{background-position:-19px 60%}#ca-unwatch.icon a.loading,#ca-watch.icon a.loading{background-image:url(data:image/gif;base64,R0lGODlhEAAQAMQfANra2uLi4vDw8PLy8ujo6Ozs7NbW1vj4+Pb29s7Oztzc3NTU1O7u7uDg4NHR0erq6v39/d7e3vz8/Pv7+/7+/tPT09jY2Pr6+tnZ2efn5/X19eXl5ebm5vT09P///////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAwAfACwAAAAAEAAQAAAFa+Anjl9QkShacVqabp2XuKjjecHhStrjHDdIgtORiCyWSEZwud0mg0zEUhkYnNhsY/O5OCRZrEEwgvzCkgqZhGiEB1wUgRGeAFKApqcjcJ5QCx4aFQEECX1/JAlJJBsVFRMkEBkXLhyVNJkhACH5BAkDAB8ALAAAAAAQABAAAAV74CeO4hUQZEoGhqGqWzQtEnlYRCYMGSB5BkTKQCgUOBGPkjBIdQDKqBLhaJI4D6l0gylMRg6IVkmhNBIjxWBM8XAwHNFAIdYWDA0SRhNtKy0CJAUVEAcRAQJkFikZDg4EBB0RDR4dGCkIEhAjFBsBDwovKo0BoioFQiMhACH5BAkDAB8ALAAAAAAQABAAAAWB4CeO5HeU33OVl5IIpYEFh/QR1rYNZSMUAYVBwfBYbKRJwwPxFDxQjAbloECvHgMEBUBgPZTApjSxeL+eQGDUsQwkaGhBcUBYinGI5GBIEBwEGhxwVwwLFgoRHQwECgIADRFXBgUfEygfEBEDTmuYIxAJFAYwnyMFABVbpiMYGSghACH5BAkDAB8ALAAAAAAQABAAAAV+4CdKjWieKOJs6De1U5Zhg4YcmaG0kXcElQDtEWkZPMgMBGlofQDIqK9pmhAADClSEDBtAICJROvR7EQGx5LsgQAOogKm0LhQ2IDRQRJRFKIHAh4XAXknEw5REQsRBgAOEigRFBQEERofAgJiKBoZAgsXTicUDgYDoygNXU4hACH5BAUDAB8ALAAAAAAQABAAAAV54Cd+EFBNY6p+hgCssOERGwSP3eZBgUIEG0xhdGFpPMjChjNoRD6XIGBDQVo9FIcogZnsrlbLQNRQfMEewVN0ERAaaE9AoDoECGj76lBBTxQwDlYBEQweGwwqEDIHCwIbBgAAFioUBgUOdCIaBRwrBhUHNykQY6MfIQA7);background-image:url(http://wiki.oni2.net/w/skins/vector/images/watch-icon-loading.gif?2012-08-30T22:25:00Z)!ie;background-position:5px 60%}#ca-unwatch.icon a span,#ca-watch.icon a span{display:none}div.vectorTabs ul{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAuCAIAAABmjeQ9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAERJREFUeF5lTtEKgEAMMv//j/O0IxlH9CA6N2WURAA/OHl5GeWAwUUHBcKV795FtTePxpmV3t9uv8Z3/cmvM88vzbbrAV/dQdX+eas3AAAAAElFTkSuQmCC);background-image:url(http://wiki.oni2.net/w/skins/vector/images/tab-break.png?2012-08-30T22:25:00Z)!ie;background-position:right bottom;background-repeat:no-repeat} .tipsy{font-size:0.8em}}
    132
    14 /* cache key: oni_wiki:resourceloader:filter:minify-js:7:063dccdbbacc414e0ed5e3fe7aa0f232 */
     3/* cache key: oni_wiki:resourceloader:filter:minify-css:7:71312b429efcab0364ff9ffe7312ef96 */
  • Vago/trunk/Vago/mainwindow.cpp

    r1052 r1054  
    7272        iniChanged=true;
    7373    }
    74     if(!this->vagoSettings->contains("ConfirmExit")){
    75         this->vagoSettings->setValue("ConfirmExit", false);
     74    if(!this->vagoSettings->contains("AskSaveProject")){
     75        this->vagoSettings->setValue("AskSaveProject", true);
     76        iniChanged=true;
     77    }
     78    if(!this->vagoSettings->contains("AskToOpenLastProject")){
     79        this->vagoSettings->setValue("AskToOpenLastProject", false);
    7680        iniChanged=true;
    7781    }
     
    180184void MainWindow::showEvent(QShowEvent *e)
    181185{
    182     #ifdef Q_OS_WIN
     186    // If we don't have a converter yet, application wasn't started.
     187    if(!this->applicationIsFullyLoaded)
     188    {
     189        // Apparently Qt doesn't contains a slot to when the application was fully load (mainwindow). So we do our own implementation instead.
     190        connect(this, SIGNAL(signalAppIsLoaded()), this, SLOT(applicationWasLoaded()), Qt::ConnectionType::QueuedConnection);
     191        emit signalAppIsLoaded();
     192    }
     193
     194    e->accept();
     195}
     196
     197// Called only when the MainWindow was fully loaded and painted on the screen. This slot is only called once.
     198void MainWindow::applicationWasLoaded(){
     199#ifdef Q_OS_WIN
    183200    // QProgressBar only works after the windows was shown
    184201    // http://stackoverflow.com/questions/24840941/qwintaskbarprogress-wont-show (Kervala answer)
     
    192209    //Create a thread for do the conversion in background
    193210    this->myConverter = new Converter(UtilVago::getAppPath(), this->myLogger, this->listToProccess, this->win7TaskBarProgress);
    194     #else
     211#else
    195212    this->myConverter = new Converter(UtilVago::getAppPath(), this->myLogger, this->listToProccess);
    196     #endif
     213#endif
    197214
    198215    connectSlots();
     
    200217    this->myLogger->writeString("Application started.");
    201218
    202     e->accept();
     219    this->applicationIsFullyLoaded = true;
     220
     221    QString lastSavedProject = this->vagoSettings->value("RecentProject1").toString();
     222
     223    if(!lastSavedProject.isEmpty() && this->vagoSettings->value("AskToOpenLastProject").toBool()){
     224        if(Util::showQuestionPopUp(this,"Do you want to load latest project?\n\nLatest project was '" + Util::cutNameWithoutBackSlash(lastSavedProject) + "'.")){
     225            loadProjectState(lastSavedProject);
     226        }
     227    }
    203228}
    204229
     
    225250{
    226251    SoundWizard myWizard (UtilVago::getAppPath(), this->workspaceWizardsLocation, this->myLogger, &this->commandMap);
     252    myWizard.exec();
     253}
     254
     255void MainWindow::on_actionBackground_Image_Wizard_triggered()
     256{
     257    BGImageWizard myWizard (UtilVago::getAppPath(), this->workspaceWizardsLocation, this->vagoSettings, this->myLogger);
    227258    myWizard.exec();
    228259}
     
    434465    }
    435466    updateItemsLoaded(myTable);
     467    rowsWereChangedInDropTableWidget();
    436468}
    437469
     
    736768        QString sNumErrors=QString::number(numErrors);
    737769        if(numErrors>1){
    738             UtilVago::showErrorPopUpLogButton(result+"\n This is the last of "+sNumErrors+" Errors.");
    739             showErrStatusMessage("Something gone wrong. Check log file ("+sNumErrors+" Errors).");
     770            UtilVago::showErrorPopUpLogButton(result+"\n This is the last of "+sNumErrors+" errors.");
     771            showErrStatusMessage("Something gone wrong. Check log file ("+sNumErrors+" errors).");
    740772        }
    741773        else{
     
    743775            showErrStatusMessage("Something gone wrong. Check log file.");
    744776        }
    745 
    746777    }
    747778    else{
     
    11081139        }
    11091140        updateItemsLoaded(myTable);
     1141        rowsWereChangedInDropTableWidget();
    11101142    }
    11111143}
     
    11311163    if(Util::showQuestionPopUp(this,"Are you sure you want to clear the content?",defaultButton)){
    11321164        clearTableNoPrompt(myTable);
    1133     }
    1134     updateItemsLoaded(myTable);
     1165        updateItemsLoaded(myTable);
     1166        rowsWereChangedInDropTableWidget();
     1167    }
     1168
    11351169}
    11361170
     
    11491183
    11501184void MainWindow::closeEvent(QCloseEvent *event){
    1151     if(this->vagoSettings->value("ConfirmExit").toBool()){
    1152         if(!Util::showQuestionPopUp(this,"Exit Vago?")){
     1185    if(this->vagoSettings->value("AskSaveProject").toBool() && this->unsavedChangesExist){
     1186        QMessageBox::StandardButton result = askToSaveCurrentProject();
     1187        if(result == QMessageBox::StandardButton::Cancel){
    11531188            event->ignore();
    11541189        }
    11551190    }
     1191}
     1192
     1193QMessageBox::StandardButton MainWindow::askToSaveCurrentProject(){
     1194    QMessageBox::StandardButton result =
     1195            Util::showQuestionPopUpWithCancel(this,"There are unsaved changes. Do you want to save the current project?", QMessageBox::StandardButton::Yes);
     1196
     1197    if(result == QMessageBox::StandardButton::Yes){
     1198        on_actionSave_triggered();
     1199    }
     1200
     1201    return result;
    11561202}
    11571203
     
    12501296}
    12511297
     1298void MainWindow::rowsWereChangedInDropTableWidget(){
     1299    // We have changed rows, we have now unsaved changes.
     1300    if(!this->unsavedChangesExist){
     1301        this->unsavedChangesExist = true;
     1302        setVagoWindowTitle();
     1303    }
     1304}
     1305
    12521306void MainWindow::on_tbCommand_clicked()
    12531307{
     
    13121366    }
    13131367
     1368}
     1369
     1370// New Project
     1371void MainWindow::on_actionNew_Project_triggered()
     1372{
     1373    if(this->vagoSettings->value("AskSaveProject").toBool() && this->unsavedChangesExist){
     1374        QMessageBox::StandardButton result = askToSaveCurrentProject();
     1375        if(result == QMessageBox::StandardButton::Cancel){
     1376            return;
     1377        }
     1378    }
     1379
     1380    QList<DropTableWidget*> myTables = getAllTableWidgets();
     1381
     1382    for(DropTableWidget* const currTable : myTables){
     1383        clearTableNoPrompt(currTable);
     1384    }
     1385
     1386    this->lastProjectFilePath=""; // clear last project file path
     1387    this->unsavedChangesExist = false;
     1388
     1389    setVagoWindowTitle(); // update vago title
    13141390}
    13151391
     
    14781554        qSort(selectedRows); //let's order the selections by the row number, so we know exactly how to swap it
    14791555        myTable->swapPositions(selectedRows,-1);
     1556        rowsWereChangedInDropTableWidget();
    14801557    }
    14811558    else if(selectedOption==moveDown.get()){
    14821559        qSort(selectedRows);
    14831560        myTable->swapPositions(selectedRows,+1);
     1561        rowsWereChangedInDropTableWidget();
    14841562    }
    14851563    else if(selectedOption==changeOptions.get()){
     
    15401618        }
    15411619
     1620        rowsWereChangedInDropTableWidget();
    15421621        showSuccessStatusMessage(result);
    15431622    }
     
    15651644    }
    15661645
     1646    rowsWereChangedInDropTableWidget();
    15671647    showSuccessStatusMessage(QString::number(rows.size()) + (rows.size()==1?" item ":" items ")+ "changed to the current settings");
    15681648}
     
    15881668    }
    15891669
     1670    rowsWereChangedInDropTableWidget();
    15901671    showSuccessStatusMessage(QString::number(rows.size()) + (rows.size()==1?" item ":" items ")+ "changed the output to "+(newOutput!=this->workspaceLocation?Util::cutName(newOutput):"Vago workspace"));
    15911672}
     
    16781759
    16791760    pugi::xml_node rootNode = doc.append_child("VagoProject");
    1680     rootNode.append_attribute("vagoVersion").set_value(GlobalVars::AppVersion.toUtf8().constData());
     1761    rootNode.append_attribute("vagoVersion").set_value(GlobalVars::LastCompatibleVersion.toUtf8().constData());
    16811762
    16821763    foreach(DropTableWidget* const &myTable, tableWidgets){
     
    16921773
    16931774    this->lastProjectFilePath = filePath;
     1775    this->unsavedChangesExist = false;
    16941776
    16951777    addNewRecentProject(filePath);
     
    18441926    }
    18451927
     1928    if(this->unsavedChangesExist){
     1929        vagoTitle += "*";
     1930    }
     1931
    18461932    setWindowTitle(vagoTitle);
    18471933}
     
    19152001void MainWindow::loadProjectState(const QString &filePath)
    19162002{
     2003
     2004    if(this->vagoSettings->value("AskSaveProject").toBool() && this->unsavedChangesExist){
     2005        QMessageBox::StandardButton result = askToSaveCurrentProject();
     2006        if(result == QMessageBox::StandardButton::Cancel){
     2007            return;
     2008        }
     2009    }
    19172010
    19182011    QString statusError = "Couldn't load project.";
     
    19712064
    19722065    this->lastProjectFilePath = filePath;
     2066    this->unsavedChangesExist = false;
    19732067
    19742068    addNewRecentProject(filePath);
  • Vago/trunk/Vago/mainwindow.h

    r1052 r1054  
    88#include "packagewizard.h"
    99#include "soundwizard.h"
     10#include "bgimagewizard.h"
    1011#include "converter.h"
    1112#include "droptablewidget.h"
     
    5455
    5556private slots:
     57    void applicationWasLoaded();
     58
    5659    void on_actionExit_triggered();
    5760
     
    191194
    192195    void on_actionProject5_triggered();
     196
     197    void on_actionBackground_Image_Wizard_triggered();
     198
     199    void on_actionNew_Project_triggered();
    193200
    194201private:
     
    209216    QHash<QString, QString> commandMap; //Map the commands for fast retreive
    210217    QStringList *listToProccess; //items to proccess
    211     Converter *myConverter;
     218    Converter *myConverter = nullptr;
    212219    QSettings *vagoSettings;
    213220    static const QString VagoSettingsName;
     
    219226    QWinTaskbarButton *win7TaskBarButton;
    220227#endif
     228    bool unsavedChangesExist = false;
     229    // Indicates that the application is fully loaded which includes painting the main window
     230    bool applicationIsFullyLoaded = false;
    221231
    222232    // anonymous enum
     
    247257    void reloadRecentProjectsMenu();
    248258    void showEvent(QShowEvent *e);
     259    void rowsWereChangedInDropTableWidget();
    249260    QString getFileOutputFolder(QString fromTo, QString myOutputFolder="");
    250261    QString fileParsingXML(QString tabTitle, QString myOutputFolder, QString from, QString to , QString file);
     
    264275    DropTableWidget* getTableWidgetByTabName(const QString &tabName);
    265276    QList<DropTableWidget*> getAllTableWidgets();
     277    QMessageBox::StandardButton askToSaveCurrentProject();
    266278
    267279signals:
    268280    void terminateCurrProcess();
     281    void signalAppIsLoaded();
    269282};
    270283
  • Vago/trunk/Vago/mainwindow.ui

    r1047 r1054  
    13821382     <addaction name="actionProject5"/>
    13831383    </widget>
    1384     <addaction name="actionPreferences"/>
     1384    <addaction name="actionNew_Project"/>
    13851385    <addaction name="actionSave"/>
    13861386    <addaction name="actionSave_Project"/>
     
    14211421    <addaction name="actionOpen_AE_folder"/>
    14221422    <addaction name="actionView_log"/>
     1423    <addaction name="separator"/>
     1424    <addaction name="actionPreferences"/>
    14231425   </widget>
    14241426   <widget class="QMenu" name="menuTools">
     
    14281430    <addaction name="actionAE_Package_Creator"/>
    14291431    <addaction name="actionSound_Wizard"/>
     1432    <addaction name="actionBackground_Image_Wizard"/>
    14301433   </widget>
    14311434   <addaction name="menuFile"/>
     
    15801583   </property>
    15811584   <property name="text">
    1582     <string>Save</string>
     1585    <string>Save Project</string>
    15831586   </property>
    15841587   <property name="shortcut">
     
    16141617   <property name="text">
    16151618    <string>Project5</string>
     1619   </property>
     1620  </action>
     1621  <action name="actionBackground_Image_Wizard">
     1622   <property name="icon">
     1623    <iconset resource="resources.qrc">
     1624     <normaloff>:/new/icons/background_image.png</normaloff>:/new/icons/background_image.png</iconset>
     1625   </property>
     1626   <property name="text">
     1627    <string>Background Image Wizard</string>
     1628   </property>
     1629  </action>
     1630  <action name="actionNew_Project">
     1631   <property name="text">
     1632    <string>New Project</string>
     1633   </property>
     1634   <property name="shortcut">
     1635    <string>Ctrl+N</string>
    16161636   </property>
    16171637  </action>
  • Vago/trunk/Vago/preferences.cpp

    r999 r1054  
    1717    ui->cbOniWindow->setChecked(this->vagoSettings->value("OniWindow").toBool());
    1818    ui->cbSeparate->setChecked(this->vagoSettings->value("SeparateInWorkspace").toBool());
    19     ui->cbVagoExit->setChecked(this->vagoSettings->value("ConfirmExit").toBool());
     19    ui->cbAskSaveProject->setChecked(this->vagoSettings->value("AskSaveProject").toBool());
     20    ui->cbAskOpenLastProject->setChecked(this->vagoSettings->value("AskToOpenLastProject").toBool());
    2021#ifdef Q_OS_MAC
    2122    ui->cbUseYesAsDefaultWhenRemovingItems->setChecked(this->vagoSettings->value("useYesAsDefaultWhenRemovingItems").toBool());
     
    6768    this->vagoSettings->setValue("OniWindow",ui->cbOniWindow->isChecked());
    6869    this->vagoSettings->setValue("SeparateInWorkspace",ui->cbSeparate->isChecked());
    69     this->vagoSettings->setValue("ConfirmExit",ui->cbVagoExit->isChecked());
     70    this->vagoSettings->setValue("AskSaveProject",ui->cbAskSaveProject->isChecked());
     71    this->vagoSettings->setValue("AskToOpenLastProject",ui->cbAskOpenLastProject->isChecked());
    7072#ifdef Q_OS_MAC
    7173    this->vagoSettings->setValue("useYesAsDefaultWhenRemovingItems",ui->cbUseYesAsDefaultWhenRemovingItems->isChecked());
    7274#endif
    73 
    7475
    7576    Util::showPopUp("You need to restart the application to all changes take effect.");
  • Vago/trunk/Vago/preferences.ui

    r1047 r1054  
    88    <y>0</y>
    99    <width>493</width>
    10     <height>258</height>
     10    <height>297</height>
    1111   </rect>
    1212  </property>
     
    121121       <widget class="QCheckBox" name="cbSeparate">
    122122        <property name="toolTip">
    123          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
    124 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
    125 p, li { white-space: pre-wrap; }
    126 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
    127 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Separate conversions by folders. For example: &amp;quot;Textures&amp;quot; -&amp;gt; &amp;quot;DAT_ONI - DDS&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
     123         <string>Separate conversions by folders. For example: &quot;Textures&quot; -&gt; &quot;DAT_ONI - DDS&quot;</string>
    128124        </property>
    129125        <property name="text">
     
    133129      </item>
    134130      <item>
    135        <widget class="QCheckBox" name="cbVagoExit">
    136         <property name="text">
    137          <string>Always confirm Vago exit</string>
    138         </property>
    139        </widget>
    140       </item>
    141       <item>
    142131       <widget class="QCheckBox" name="cbUseYesAsDefaultWhenRemovingItems">
    143132        <property name="text">
    144133         <string>Use Yes button as default when removing items</string>
     134        </property>
     135       </widget>
     136      </item>
     137      <item>
     138       <widget class="QCheckBox" name="cbAskSaveProject">
     139        <property name="toolTip">
     140         <string>Shows a questions prompt to save current project if any unsaved changes are found. Asked when user tries to create a new project, load a project or exit the application.</string>
     141        </property>
     142        <property name="text">
     143         <string>Ask to save project if there are unsaved changes</string>
     144        </property>
     145       </widget>
     146      </item>
     147      <item>
     148       <widget class="QCheckBox" name="cbAskOpenLastProject">
     149        <property name="text">
     150         <string>Ask to open last saved project at startup</string>
    145151        </property>
    146152       </widget>
  • Vago/trunk/Vago/readme.txt

    r1047 r1054  
    11Readme.txt
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3 Vago GUI v1.0
     3Vago GUI v1.1
    44~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55
     
    3737----------------------------------
    3838Change Log:
    39 
     39----------------------------------
     401.1, 12-10-2016
     41- Added wizard to create background images
     42- Added OSBD imp creation to Sound wizard page
     43- Added option to Vago ask at the startup if the user wants to load lastest saved project
     44- Added new project action to file menu
     45- Replaced "Always confirm Vago exit" option with an option to save the current
     46project (if there are unsaved changes)
     47- Fixed drag and drop bug wich caused the multiplication of the dropped files
     48- Moved preferences from file to options menu
     49- Fixed Max ElapsedTime property recognition in Sound Wizard (Amb page)
     50- Now the sound wizard drops all the files used in the user workspace
     51(including the XML files used to create the OSBD oni files)
    4052----------------------------------
    41531.0, 17-09-2016
  • Vago/trunk/Vago/resources.qrc

    r897 r1054  
    1515        <file>oni_icon_mac.png</file>
    1616        <file>abort.png</file>
     17        <file>background_image.png</file>
    1718    </qresource>
    1819    <qresource prefix="/new/about">
     
    2223        <file>sampleFiles/OSBDsample_file.amb.xml</file>
    2324        <file>sampleFiles/OSBDsample_file.grp.xml</file>
     25        <file>sampleFiles/OSBDsample_file.imp.xml</file>
    2426    </qresource>
    2527</RCC>
  • Vago/trunk/Vago/soundWizard/soundpagefinal.cpp

    r1047 r1054  
    4646    QString ambFile="OSBDsample_file.amb.xml";
    4747    QString grpFile="OSBDsample_file.grp.xml";
     48    QString impFile="OSBDsample_file.imp.xml";
    4849    QString ambFileLocation=GlobalVars::VagoTemporaryDir+"/"+ambFile;
    4950    QString grpFileLocation=GlobalVars::VagoTemporaryDir+"/"+grpFile;
     51    QString impFileLocation=GlobalVars::VagoTemporaryDir+"/"+impFile;
    5052
    5153    // Page 2 variables
     
    6971    bool stereo22=false, mono22=false, mono44Pc=false;
    7072
     73    // Page 5 variables
     74    QString minVolumeDistanceImp, maxVolumeDistanceImp, minAngleImp,
     75            maxAngleImp, minAttenuationImp, impactVelocityImp,
     76            minOcclusionImp, priorityImp;
     77    bool priorityLowImp = false, priorityNormalImp = false,
     78            priorityHighImp = false, priorityHighestImp = false;
     79
    7180    // Get data page 2
    7281    if(field("rbOther").toBool()){
     
    7685        outputFolder=this->soundsLocation;
    7786    }
    78 
    79     outputFolder = Util::insertQuotes(outputFolder); // for onisplit work correctly
    8087
    8188    // Get data page 3
     
    145152        numberChannels="1";
    146153    }
     154
     155    // Get data page 5
     156    priorityLowImp=field("rbPriorityLowImp").toBool();
     157    priorityNormalImp=field("rbPriorityNormalImp").toBool();
     158    priorityHighImp=field("rbPriorityHighImp").toBool();
     159    priorityHighestImp=field("rbPriorityHighestImp").toBool();
     160
     161    if(priorityNormalImp){
     162        priorityImp="Normal";
     163    }
     164    else if(priorityLowImp){
     165        priorityImp="Low";
     166    }
     167    else if(priorityHighImp){
     168        priorityImp="High";
     169    }
     170    else if(priorityHighestImp){
     171        priorityImp="Highest";
     172    }
     173
     174    minVolumeDistanceImp=Util::normalizeDecimalSeparator(field("leMinVolumeDistanceImp").toString());
     175    maxVolumeDistanceImp=Util::normalizeDecimalSeparator(field("leMaxVolumeDistanceImp").toString());
     176    minAngleImp=Util::normalizeDecimalSeparator(field("leMinAngleImp").toString());
     177    maxAngleImp=Util::normalizeDecimalSeparator(field("leMaxAngleImp").toString());
     178    minAttenuationImp=Util::normalizeDecimalSeparator(field("leMinAttenuationImp").toString());
     179    impactVelocityImp=Util::normalizeDecimalSeparator(field("leImpactVelocityImp").toString());
     180    minOcclusionImp=Util::normalizeDecimalSeparator(field("leMinOcclusionImp").toString());
     181
    147182    //######################################################### Starting xml processing
    148183
     
    160195    QFile::copy(":/new/sampleFiles/"+ambFile , ambFileLocation);
    161196    QFile::copy(":/new/sampleFiles/"+grpFile , grpFileLocation);
     197    QFile::copy(":/new/sampleFiles/"+impFile , impFileLocation);
    162198    QFile::setPermissions(ambFileLocation, QFile::ReadOwner | QFile::WriteOwner); //remove read only attribute that come from resources
    163199    QFile::setPermissions(grpFileLocation, QFile::ReadOwner | QFile::WriteOwner);
     200    QFile::setPermissions(impFileLocation, QFile::ReadOwner | QFile::WriteOwner);
    164201
    165202    (*this->xmlCommands)
     
    169206     << "--replace-all-values -e Treshold -n "+Util::insertQuotes(treshold)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose"
    170207     << "--replace-all-values -e MinOcclusion -n "+Util::insertQuotes(minOcclusion)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose"
     208     << "--replace-all-values --parent-element-name ElapsedTime -e  Max -n "+Util::insertQuotes(maxElapsedTime)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose"
    171209     << "--replace-all-values --parent-element-name ElapsedTime -e  Min -n "+Util::insertQuotes(minElapsedTime)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose"
    172210     << "--replace-all-values --parent-element-name Distance -e  Max -n "+Util::insertQuotes(maxVolumeDistance)+" -f "+Util::insertQuotes(ambFileLocation)+" --no-backups --no-verbose"
     
    179217     << "--replace-all-values --parent-element-name Pitch -e  Min -n "+Util::insertQuotes(minPitch)+" -f "+Util::insertQuotes(grpFileLocation)+" --no-backups --no-verbose"
    180218     << "--replace-all-values --parent-element-name Pitch -e  Max -n "+Util::insertQuotes(maxPitch)+" -f "+Util::insertQuotes(grpFileLocation)+" --no-backups --no-verbose"
    181      << "--replace-all-values -e  Weight -n "+Util::insertQuotes(weight)+" -f "+Util::insertQuotes(grpFileLocation)+" --no-backups --no-verbose";
     219     << "--replace-all-values -e  Weight -n "+Util::insertQuotes(weight)+" -f "+Util::insertQuotes(grpFileLocation)+" --no-backups --no-verbose"
     220     << "--replace-all-values -e  Priority -n "+Util::insertQuotes(priorityImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose"
     221     << "--replace-all-values --parent-element-name Distance -e  Min -n "+Util::insertQuotes(minVolumeDistanceImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose"
     222     << "--replace-all-values --parent-element-name Distance -e  Max -n "+Util::insertQuotes(maxVolumeDistanceImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose"
     223     << "--replace-all-values --parent-element-name Angle -e  Min -n "+Util::insertQuotes(minAngleImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose"
     224     << "--replace-all-values --parent-element-name Angle -e  Max -n "+Util::insertQuotes(maxAngleImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose"
     225     << "--replace-all-values -e  MinAttenuation -n "+Util::insertQuotes(minAttenuationImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose"
     226     << "--replace-all-values -e  ImpactVelocity -n "+Util::insertQuotes(impactVelocityImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose"
     227     << "--replace-all-values -e  MinOcclusion -n "+Util::insertQuotes(minOcclusionImp)+" -f "+Util::insertQuotes(impFileLocation)+" --no-backups --no-verbose";
    182228
    183229    if(preventRepeat){
     
    191237    QString currGrpFileLocation;
    192238    QString currAmbFileLocation;
     239    QString currImpFileLocation;
    193240
    194241    for(int i=0; i<this->page2Table->rowCount(); i++){
    195242
    196         (*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+outputFolder+" "+Util::insertQuotes(this->page2Table->item(i,1)->text()); // add location of sound file to convert
     243        (*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+Util::insertQuotes(outputFolder)+" "+Util::insertQuotes(this->page2Table->item(i,1)->text()); // add location of sound file to convert
    197244
    198245        currFileName=this->page2Table->item(i,0)->text(); // get current file name
    199         currAmbFileLocation = QString(ambFileLocation).replace("sample_file",currFileName); // get the new files, filenames
    200         currGrpFileLocation = QString(grpFileLocation).replace("sample_file",currFileName);
     246        currAmbFileLocation = outputFolder + "/" + QString(ambFile).replace("sample_file",currFileName); // get the new files, filenames
     247        currGrpFileLocation = outputFolder + "/" + QString(grpFile).replace("sample_file",currFileName);
     248        currImpFileLocation = outputFolder + "/" + QString(impFile).replace("sample_file",currFileName);
    201249
    202250        QFile::copy(ambFileLocation, currAmbFileLocation); // make a copy of the sample files that will be the real files
    203251        QFile::copy(grpFileLocation, currGrpFileLocation);
     252        QFile::copy(impFileLocation, currImpFileLocation);
    204253
    205254        (*this->xmlCommands) << "--replace-all-values -e BaseTrack1 -n "+Util::insertQuotes(currFileName)+" -f "+Util::insertQuotes(currAmbFileLocation)+" --no-backups --no-verbose" // process the xml
    206                              << "--replace-all-values -e Sound -n "+Util::insertQuotes(currFileName)+" -f "+Util::insertQuotes(currGrpFileLocation)+" --no-backups --no-verbose";
     255                             << "--replace-all-values -e Sound -n "+Util::insertQuotes(currFileName)+" -f "+Util::insertQuotes(currGrpFileLocation)+" --no-backups --no-verbose"
     256                             << "--replace-all-values -e Group -n "+Util::insertQuotes(currFileName)+" -f "+Util::insertQuotes(currImpFileLocation)+" --no-backups --no-verbose";
    207257
    208258        myXmlProcessor->start();
    209259        myXmlProcessor->wait(); // Wait until all xml is edited
    210     }
    211 
    212     (*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+outputFolder+" "+Util::insertQuotes(GlobalVars::VagoTemporaryDir+"/*.xml");
     260
     261        (*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+Util::insertQuotes(outputFolder)+" "+Util::insertQuotes(currAmbFileLocation);
     262        (*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+Util::insertQuotes(outputFolder)+" "+Util::insertQuotes(currGrpFileLocation);
     263        (*this->oniSplitCommands) << this->commandMap->value("xml->XML->ONI")+" "+Util::insertQuotes(outputFolder)+" "+Util::insertQuotes(currImpFileLocation);
     264    }
    213265
    214266    this->myConverter->start(); // finally process the onisplit commands
    215267    this->myConverter->wait(); // wait for it to complete
    216 
    217     // Finally remove the sample files, since not needed anymore
    218     QFile(ambFileLocation).remove();
    219     QFile(grpFileLocation).remove();
    220268}
    221269
     
    225273        QString sNumErrors=QString::number(numErrors);
    226274        if(numErrors>1){
    227             UtilVago::showErrorPopUpLogButton(result+"\n This is the last of " + sNumErrors + " Errors.");
     275            UtilVago::showErrorPopUpLogButton(result+"\n This is the last of " + sNumErrors + " errors.");
    228276        }
    229277        else{
  • Vago/trunk/Vago/soundWizard/soundwizard.cpp

    r998 r1054  
    1111
    1212int SoundWizard::exec(){
    13     this->myWizard = new QWizard();
     13    QPushButton *restartButton = new QPushButton("Restart");
     14    this->myWizard.setButton(QWizard::CustomButton1,restartButton);
     15    this->myWizard.setOption(QWizard::HaveCustomButton1, true);
    1416
    15     QPushButton *restartButton = new QPushButton("Restart");
    16     this->myWizard->setButton(QWizard::CustomButton1,restartButton);
    17     this->myWizard->setOption(QWizard::HaveCustomButton1, true);
    18 
    19     connect(this->myWizard, SIGNAL(currentIdChanged(int)), this, SLOT(pageChanged(int)));
     17    connect(&this->myWizard, SIGNAL(currentIdChanged(int)), this, SLOT(pageChanged(int)));
    2018    connect(restartButton, SIGNAL(clicked(bool)), this, SLOT(restartWizard()));
    2119
    22     this->myWizard->setWindowIcon(QIcon(":/new/icons/sound.png"));
     20    this->myWizard.setWindowIcon(QIcon(":/new/icons/sound.png"));
    2321
    2422    //Center and resize QWizard (http://www.thedazzlersinc.com/source/2012/06/04/qt-center-window-in-screen/)
    2523#ifdef Q_OS_WIN
    26     this->myWizard->resize(640,480);
     24    this->myWizard.resize(640,480);
    2725#else
    28     this->myWizard->resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better
     26    this->myWizard.resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better
    2927    // because the components on mac use more space
    3028#endif
    31     QRect position = this->myWizard->frameGeometry();
     29    QRect position =this->myWizard.frameGeometry();
    3230    position.moveCenter(QDesktopWidget().availableGeometry().center());
    33     this->myWizard->move(position.topLeft());
     31    this->myWizard.move(position.topLeft());
    3432    //
    3533
     
    3735    SoundPage3 *page3 = new SoundPage3();
    3836    SoundPage4 *page4 = new SoundPage4();
     37    SoundPage5 *page5 = new SoundPage5();
    3938    SoundPageFinal *pageFinal = new SoundPageFinal(this->appLocation, this->soundsLocation,page2->soundTable,this->myLogger, this->commandMap);
    4039
    41     this->myWizard->addPage(createIntroPage());
    42     this->myWizard->addPage(page2);
    43     this->myWizard->addPage(page3);
    44     this->myWizard->addPage(page4);
    45     this->myWizard->addPage(pageFinal);
     40    this->myWizard.addPage(createIntroPage());
     41    this->myWizard.addPage(page2);
     42    this->myWizard.addPage(page3);
     43    this->myWizard.addPage(page4);
     44    this->myWizard.addPage(page5);
     45    this->myWizard.addPage(pageFinal);
    4646
    47     this->myWizard->setWindowTitle("Sound wizard");
     47    this->myWizard.setWindowTitle("Sound wizard");
    4848
    4949    //If wizard finished with sucess
    50     if(this->myWizard->exec()){ //modal and wait for finalization
     50    if(myWizard.exec()){ //modal and wait for finalization
    5151        //createPackage(this->myWizard, page4);
    5252    }
    53 
    54     delete this->myWizard; // not needed anymore
    5553
    5654    return 0;
     
    7371
    7472void SoundWizard::restartWizard(){
    75     this->myWizard->restart();
     73    this->myWizard.restart();
    7674}
    7775
    7876void SoundWizard::pageChanged(int pageId){
    7977    // Last page?
    80     if(pageId==4){
    81         this->myWizard->setOption(QWizard::HaveCustomButton1, true); // set visible
    82         this->myWizard->button(QWizard::BackButton)->setEnabled(false); // disable back button, use restart if needed
     78    if(pageId==5){
     79        this->myWizard.setOption(QWizard::HaveCustomButton1, true); // set visible
     80        this->myWizard.button(QWizard::BackButton)->setEnabled(false); // disable back button, use restart if needed
    8381        return;
    8482    }
    85     this->myWizard->setOption(QWizard::HaveCustomButton1, false); // set invisible
    86     this->myWizard->button(QWizard::BackButton)->setEnabled(true); // set enable back button
     83    this->myWizard.setOption(QWizard::HaveCustomButton1, false); // set invisible
     84    this->myWizard.button(QWizard::BackButton)->setEnabled(true); // set enable back button
    8785}
  • Vago/trunk/Vago/soundWizard/soundwizard.h

    r801 r1054  
    1717#include "soundpage3.h"
    1818#include "soundpage4.h"
     19#include "soundpage5.h"
    1920#include "soundpagefinal.h"
    2021
     
    2627    int exec();
    2728private:
     29    QWizard myWizard;
    2830    QWizardPage* createIntroPage();
    2931
     
    3234    QString appLocation;
    3335    Logger *myLogger;
    34     QWizard *myWizard;
    3536    QHash<QString, QString> *commandMap;
    3637private slots:
  • Vago/trunk/Vago/util.cpp

    r1047 r1054  
    6161bool showQuestionPopUp(QWidget * parent, QString message, QMessageBox::StandardButton standardButton){
    6262    return QMessageBox::question (parent, "Are you sure?", message, QMessageBox::Yes | QMessageBox::No, standardButton)==QMessageBox::Yes;
     63}
     64
     65QMessageBox::StandardButton showQuestionPopUpWithCancel(QWidget * parent, QString message, QMessageBox::StandardButton standardButton){
     66    return QMessageBox::question (parent, "Are you sure?", message, QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, standardButton);
    6367}
    6468
  • Vago/trunk/Vago/util.h

    r1047 r1054  
    4343int indexOfBackward(QString myString, QString toSearch, int from = -1);
    4444bool showQuestionPopUp(QWidget * parent, QString message, QMessageBox::StandardButton standardButton=QMessageBox::NoButton);
     45QMessageBox::StandardButton showQuestionPopUpWithCancel(QWidget * parent, QString message, QMessageBox::StandardButton standardButton=QMessageBox::NoButton);
    4546bool checkEmptySpaces(QStringList toCheck);
    4647bool checkIfIntegers(QStringList toCheck);
  • Vago/trunk/Vago/utilvago.cpp

    r1053 r1054  
    55void openLogFile(){
    66    QDesktopServices::openUrl(QUrl("file:///"+getAppPath()+"/"+GlobalVars::AppLogName));
     7}
     8
     9void showAndLogWarningPopUp(Logger *logger, const QString &message){
     10    logger->writeString(message);
     11
     12    QMessageBox msgBox;
     13    msgBox.setIcon(QMessageBox::Warning);
     14    msgBox.setText(message);
     15    msgBox.exec();
     16}
     17
     18//Same of above but allow open log file (doesn't write in log file!!)
     19void showWarningPopUpLogButton(const QString &message){
     20    QMessageBox msgBox;
     21    msgBox.setIcon(QMessageBox::Warning);
     22    msgBox.setText(message);
     23    QPushButton *viewb = msgBox.addButton("View log", QMessageBox::ActionRole);
     24    msgBox.setStandardButtons(QMessageBox::Close);
     25    msgBox.exec();
     26    if(msgBox.clickedButton() == (QAbstractButton*)(viewb)){
     27        openLogFile();
     28    }
     29}
     30
     31//Same of above but also writtes directly to the log file the error
     32void showAndLogWarningPopUpLogButton(Logger *logger, const QString &message){
     33
     34    logger->writeString(message);
     35
     36    QMessageBox msgBox;
     37    msgBox.setIcon(QMessageBox::Warning);
     38    msgBox.setText(message);
     39    QPushButton *viewb = msgBox.addButton("View log", QMessageBox::ActionRole);
     40    msgBox.setStandardButtons(QMessageBox::Close);
     41    msgBox.exec();
     42    if(msgBox.clickedButton() == (QAbstractButton*)(viewb)){
     43        openLogFile();
     44    }
    745}
    846
  • Vago/trunk/Vago/utilvago.h

    r1052 r1054  
    77namespace GlobalVars{
    88
    9 const QString AppVersion="1.0";
     9const QString AppVersion="1.1";
    1010const QString LastCompatibleVersion = "1.0";
    1111const QString ToolsFolder = "tools";
     
    4646namespace UtilVago{
    4747void openLogFile();
     48void showAndLogWarningPopUp(Logger *logger, const QString &message);
     49void showWarningPopUpLogButton(const QString &message);
     50void showAndLogWarningPopUpLogButton(Logger *logger, const QString &message);
    4851void showAndLogErrorPopUp(Logger *logger, const QString &message);
    4952void showErrorPopUpLogButton(const QString &message);
Note: See TracChangeset for help on using the changeset viewer.