react 0.2.5 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/README.md +189 -114
  2. package/doc/alternate-dsls.md +103 -0
  3. package/doc/default-simple.dot +19 -0
  4. package/doc/default-simple.dot.png +0 -0
  5. package/{lib → dsl}/chain.js +5 -3
  6. package/{lib → dsl}/fstr.js +17 -6
  7. package/{lib → dsl}/pcode.js +19 -8
  8. package/examples/chain-events1.js +28 -7
  9. package/examples/chain1.js +2 -2
  10. package/examples/default-events1.js +33 -6
  11. package/examples/default-log-events.js +43 -0
  12. package/examples/default-simple.js +45 -0
  13. package/examples/fstr-events1.js +4 -17
  14. package/examples/fstr1.js +3 -2
  15. package/examples/pcode1.js +2 -2
  16. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia.html +675 -0
  17. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/37px-Wiktionary-logo-en.svg.png +0 -0
  18. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/closewindow.png +0 -0
  19. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/index(1).php +407 -0
  20. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/index.php +130 -0
  21. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(1).php +3 -0
  22. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(10).php +89 -0
  23. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(2).php +23 -0
  24. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(3).php +153 -0
  25. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(4).php +6 -0
  26. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(5).php +3 -0
  27. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(6).php +96 -0
  28. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(7).php +16 -0
  29. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(8).php +14 -0
  30. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load(9).php +123 -0
  31. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/load.php +3 -0
  32. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/poweredby_mediawiki_88x31.png +0 -0
  33. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/saved_resource +1 -0
  34. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/search-ltr.png +0 -0
  35. package/externalDocs/Dataflow - Wikipedia, the free encyclopedia_files/wikimedia-button.png +0 -0
  36. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's.html +1369 -0
  37. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/121911_DobbsDigest_Cover.jpg +0 -0
  38. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/160-x-600-IMU Impact 2012.jpg +0 -0
  39. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp= +68 -0
  40. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(1) +67 -0
  41. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(2) +2 -0
  42. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(3) +2 -0
  43. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(4) +8 -0
  44. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=(5) +2 -0
  45. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461 +2 -0
  46. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(1) +2 -0
  47. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(2) +2 -0
  48. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(3) +2 -0
  49. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(4) +2 -0
  50. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(5) +431 -0
  51. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(6) +2 -0
  52. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(7) +431 -0
  53. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(8) +2 -0
  54. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/231400148;kvarticleid=231400148;kauthor=Jim Falgout;loc=100;target=_blank;grp=500202461(9) +2 -0
  55. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/Ad0St1Sz6Sq0V0Id20628317.gif +0 -0
  56. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/Ad2331174St1Sz225Sq20825250V0Id4.gif +0 -0
  57. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/AdTracImage.gif +0 -0
  58. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/Default_Size_16_1x1.gif +0 -0
  59. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/FB.Share +9 -0
  60. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/addthis_widget.js +2 -0
  61. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/adlink_5242_1183459_0_154_AdId=2355270;BnId=1;itime=820768810;key=231400148+_database_231400148;link= +11 -0
  62. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/beacon.js +7 -0
  63. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/checkauth.js +18 -0
  64. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/colorbox.css +49 -0
  65. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/convert_data.js +1 -0
  66. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/count(1).js +5 -0
  67. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/count.js +5 -0
  68. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/count.json +1 -0
  69. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dataflow1.gif +0 -0
  70. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/def.html +126 -0
  71. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/defaults.css +1 -0
  72. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/detect.js +91 -0
  73. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/devtest_left-col-slim.css +30 -0
  74. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqus.js +327 -0
  75. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusHints.css +34 -0
  76. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusHints.js +8 -0
  77. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusLoggedOff(1).css +24 -0
  78. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/disqusLoggedOff.css +24 -0
  79. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dobbs_disqus_logo.gif +0 -0
  80. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dsqcd10c7f376188a4a2ca3e8fea2c03aeb.css +1 -0
  81. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/dsqcd10c7f376188a4a2ca3e8fea2c03aeb.js +1 -0
  82. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/elqCfg.js +55 -0
  83. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/elqImg.js +12 -0
  84. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/embed.js +76 -0
  85. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/experience_util.js +636 -0
  86. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/fastbutton.html +11 -0
  87. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/ga.js +51 -0
  88. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h-facebook_sm.png +0 -0
  89. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h-nav.css +798 -0
  90. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h-twitter_sm.png +0 -0
  91. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/h_s_code_remote.js +377 -0
  92. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/hintbox_info.jpg +0 -0
  93. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/hub.1326407570.html +3 -0
  94. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/in.js +76 -0
  95. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/insight.min.js +55 -0
  96. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery-1.2.6.min.js +32 -0
  97. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery-1.4.2.min.js +154 -0
  98. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery-ui-1.8rc3.custom.min.js +374 -0
  99. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery.colorbox-min.js +4 -0
  100. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/jquery.min.js +154 -0
  101. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/lib.js +212 -0
  102. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/like.html +214 -0
  103. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/noavatar32.png +0 -0
  104. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/nodetag.js +18 -0
  105. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/nonSecureAnonymousFramework +2913 -0
  106. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/p.json +1 -0
  107. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/plusone.js +32 -0
  108. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/popwindow.js +24 -0
  109. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/q4OyybLB0-A.js +91 -0
  110. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/quant.js +28 -0
  111. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/qxvZoiHdpAF.css +192 -0
  112. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/reply.html +160 -0
  113. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/rss.gif +0 -0
  114. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/s.js +1 -0
  115. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource +421 -0
  116. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource(1) +1 -0
  117. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource(2) +341 -0
  118. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/saved_resource(3) +127 -0
  119. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/script84.js +113 -0
  120. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/scripts.js +30 -0
  121. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/sh72.html +5 -0
  122. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shAutoloader.js +17 -0
  123. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushAS3.js +59 -0
  124. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushAppleScript.js +75 -0
  125. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushBash.js +59 -0
  126. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushCSharp.js +65 -0
  127. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushColdFusion.js +100 -0
  128. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushCpp.js +97 -0
  129. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushCss.js +91 -0
  130. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushDelphi.js +55 -0
  131. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushDiff.js +41 -0
  132. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushErlang.js +52 -0
  133. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushGroovy.js +67 -0
  134. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushJScript.js +52 -0
  135. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushJava.js +57 -0
  136. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushJavaFX.js +58 -0
  137. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPerl.js +72 -0
  138. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPhp.js +88 -0
  139. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPlain.js +33 -0
  140. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPowerShell.js +74 -0
  141. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushPython.js +64 -0
  142. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushRuby.js +55 -0
  143. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushSass.js +94 -0
  144. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushScala.js +51 -0
  145. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushSql.js +66 -0
  146. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushVb.js +56 -0
  147. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shBrushXml.js +69 -0
  148. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shCore.css +226 -0
  149. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shCoreDefault.css +333 -0
  150. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shCore_new.js +17 -0
  151. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shLegacy.js +17 -0
  152. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/shThemeDefault.css +117 -0
  153. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/share-button-css +67 -0
  154. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/share_email_icon.gif +0 -0
  155. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/share_print_icon.gif +0 -0
  156. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/sidebar.js +88 -0
  157. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/superfooter_936.css +186 -0
  158. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/svrGP.aspx +0 -0
  159. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/t.gif +0 -0
  160. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/thickbox.js +343 -0
  161. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/thread.js +128 -0
  162. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/togglediv.js +15 -0
  163. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/tweet_button.html +3 -0
  164. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/ubmtechweb_logo_sm.gif +0 -0
  165. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/upload.html +91 -0
  166. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/welcome.js +7 -0
  167. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/widget74.css +1 -0
  168. package/externalDocs/Dataflow Programming Handling Huge Data Loads Without Adding Complexity Dr Dobb's_files/widgets.js +40 -0
  169. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia.html +904 -0
  170. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/50px-Question_book-new.svg.png +0 -0
  171. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/closewindow.png +0 -0
  172. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/index(1).php +407 -0
  173. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/index.php +130 -0
  174. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(1).php +3 -0
  175. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(10).php +89 -0
  176. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(2).php +23 -0
  177. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(3).php +153 -0
  178. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(4).php +6 -0
  179. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(5).php +3 -0
  180. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(6).php +96 -0
  181. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(7).php +16 -0
  182. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(8).php +14 -0
  183. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load(9).php +123 -0
  184. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/load.php +3 -0
  185. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/poweredby_mediawiki_88x31.png +0 -0
  186. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/saved_resource +1 -0
  187. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/search-ltr.png +0 -0
  188. package/externalDocs/Reactive programming - Wikipedia, the free encyclopedia_files/wikimedia-button.png +0 -0
  189. package/externalDocs/The Step of the Conductor - How To Node - NodeJS.html +113 -0
  190. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/6654_111305815684_541245684_2583159_5383291_n_normal.jpg +0 -0
  191. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/MARC3_normal.jpg +2 -0
  192. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/beacon.js +7 -0
  193. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/c953ddd239707998340e1a6fbb3eeb46 +0 -0
  194. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/c953ddd239707998340e1a6fbb3eeb46_normal.jpeg +0 -0
  195. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/clouds2_normal.jpg +0 -0
  196. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/count.json +1 -0
  197. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/def.html +126 -0
  198. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/defaults.css +1 -0
  199. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/disqus.js +327 -0
  200. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/dsq7884a9652e94555c70f96b6be63be216.css +1 -0
  201. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/dsq7884a9652e94555c70f96b6be63be216.js +66 -0
  202. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/embed.js +76 -0
  203. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/example1.dot +0 -0
  204. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/ga.js +51 -0
  205. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/get_num_replies.js +79 -0
  206. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/hub.1326407570.html +3 -0
  207. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/lib.js +212 -0
  208. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/noavatar32.png +0 -0
  209. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/quant.js +28 -0
  210. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/reply.html +160 -0
  211. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/t.gif +0 -0
  212. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/thread.js +128 -0
  213. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/tweet_button.1326407570.html +3 -0
  214. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/twitter_normal.jpg +2 -0
  215. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/upload.html +91 -0
  216. package/externalDocs/The Step of the Conductor - How To Node - NodeJS_files/widgets.js +40 -0
  217. package/lib/base-task.js +8 -6
  218. package/lib/cb-task.js +14 -1
  219. package/lib/core.js +43 -12
  220. package/lib/dsl.js +14 -6
  221. package/lib/event-manager.js +29 -16
  222. package/lib/finalcb-first-task.js +16 -10
  223. package/lib/finalcb-task.js +17 -10
  224. package/lib/input-parser.js +7 -3
  225. package/lib/log-events.js +71 -0
  226. package/lib/parse.js +6 -3
  227. package/lib/promise-task.js +89 -0
  228. package/lib/ret-task.js +1 -1
  229. package/lib/task.js +32 -23
  230. package/lib/track-tasks.js +117 -0
  231. package/lib/validate.js +3 -3
  232. package/lib/vcon.js +6 -3
  233. package/lib/when-task.js +81 -0
  234. package/package.json +5 -3
  235. package/promise-resolve.js +35 -0
  236. package/react.js +0 -4
  237. package/test/core-deferred.test.js +134 -0
  238. package/test/core-promised.test.js +132 -0
  239. package/test/core-when.test.js +84 -0
  240. package/test/core.test.js +108 -60
  241. package/test/dsl.test.js +58 -6
  242. package/test/{chain.test.js → dsl/chain.test.js} +85 -1
  243. package/test/{fstr.test.js → dsl/fstr.test.js} +13 -1
  244. package/test/{pcode.test.js → dsl/pcode.test.js} +128 -1
  245. package/test/exec-options.test.js +2 -1
  246. package/test/finalcb-task.test.js +6 -5
  247. package/test/input-parser.test.js +10 -6
  248. package/test/module-use.test.js +13 -199
  249. package/test/promise-auto-resolve.test.js +51 -0
  250. package/test/validate.test.js +5 -2
  251. package/test/vcon.test.js +13 -0
  252. package/lib/.#event-manager.js +0 -1
  253. package/oldExamples/analyze.js +0 -29
  254. package/oldExamples/analyze2.js +0 -29
  255. package/oldExamples/example10-dsl.js +0 -63
  256. package/oldExamples/example11.js +0 -62
  257. package/oldExamples/example12.js +0 -63
  258. package/oldExamples/example13.js +0 -63
  259. package/oldExamples/example14.js +0 -63
  260. package/oldExamples/example15.js +0 -75
  261. package/oldExamples/example6-ast.js +0 -47
  262. package/oldExamples/example6-dsl.js +0 -49
  263. package/oldExamples/example8-ast.js +0 -55
  264. package/oldExamples/example8-dsl.js +0 -53
  265. package/oldExamples/example9-ast.js +0 -58
  266. package/oldExamples/example9-dsl.js +0 -57
  267. package/oldExamples/function-str-ex1.js +0 -33
  268. package/oldExamples/function-str-ex2.js +0 -67
  269. package/oldExamples/trait1.js +0 -41
  270. package/oldExamples/trait2.js +0 -44
@@ -0,0 +1,18 @@
1
+ (function(){
2
+ var d=document,w=window;
3
+ function r(){
4
+ var z=d.createElement('SCRIPT');
5
+ z.src='http://content.dl-rms.com/dt/s/19467/s.js';
6
+ d.getElementsByTagName('head')[0].appendChild(z);
7
+ }
8
+
9
+ if(Math.random()<1) {
10
+ if (w.DL_MN||d.readyState=="complete"){
11
+ r();
12
+ } else if (w.addEventListener){
13
+ w.addEventListener("load", r, false);
14
+ } else if (w.attachEvent){
15
+ w.attachEvent("onload", r);
16
+ }
17
+ }
18
+ })();
@@ -0,0 +1,2913 @@
1
+ (function(){
2
+ var l,
3
+ doAuth,
4
+ h = [],
5
+ valid = false,
6
+ a = "",
7
+ fwk = "http://platform.linkedin.com/js/framework?v=0.0.1143-RC1.16308-1337",
8
+ xtnreg = /extensions=([^&]*)&?/,
9
+ xtn = fwk.match(xtnreg),
10
+ dotRegex = /\./g,
11
+ starRegex = /\*/g,
12
+ selfUrl = window.location.host.replace(/:\d+$/,"").toLowerCase();
13
+
14
+ window.IN = window.IN || {};
15
+ IN.ENV = IN.ENV || {};
16
+ IN.ENV.js = IN.ENV.js || {};
17
+ IN.ENV.js.xtn = IN.ENV.js.xtn || {};
18
+
19
+ /*
20
+ if !ANONYMOUS_USERSPACE
21
+ endif
22
+ */
23
+
24
+ /*
25
+ if AUTH_USERSPACE
26
+ else if FULL_USERSPACE || ANONYMOUS_USERSPACE
27
+ */
28
+
29
+ l = IN.ENV.ui = IN.ENV.ui || {};
30
+ l.popup_window_width = 600;
31
+ l.window_width = 100;
32
+
33
+ l = IN.ENV.auth = IN.ENV.auth || {};
34
+ l.oauth_token = "";
35
+ l.oauth_expires_in = parseInt("0", 10);
36
+ l.anonymous_token = "";
37
+ l.anonymous_expires_in = parseInt("${ANONYMOUS_EXPIRES_IN}", 10);
38
+ l.member_id = "";
39
+ l.api_key = "";
40
+
41
+ l = IN.ENV.api = IN.ENV.api || {};
42
+ l.queue_interval = parseInt("300", 10);
43
+
44
+ l = IN.ENV.url = IN.ENV.url || {};
45
+ l.xd_html = "https://platform.linkedin.com/js/xdrpc.html?v=0.0.1143-RC1.16308-1337";
46
+ l.xd_us_html = "http://platform.linkedin.com/js/xdrpc.html?v=0.0.1143-RC1.16308-1337";
47
+ l.api_xd_html = "https://api.linkedin.com/uas/js/xdrpc.html?v=0.0.1143-RC1.16308-1337";
48
+ l.api = "https://api.linkedin.com/v1";
49
+ l.login = "https://www.linkedin.com/uas/connect/user-signin";
50
+ l.authorize = "https://www.linkedin.com/uas/oauth2/authorize?immediate=true";
51
+ l.logout = "https://www.linkedin.com/uas/connect/logout?oauth_token={OAUTH_TOKEN}&api_key={API_KEY}&callback={CALLBACK}";
52
+ l.userspace_renew = "https://www.linkedin.com/uas/js/authuserspace?v=0.0.1143-RC1.16308-1337&api_key={API_KEY}";
53
+ l.base_js_url = "http://static01.linkedin.com/scds/concat/common/js?v=build-1143_1_16308-prod&f=js%2Fconnect%2FPATH_INFO";
54
+ l.analytics_us_url = "http://www.linkedin.com/analytics/?type=__ETYPE__&trackingInfo=__TRKINFO__&trk=__TINFO__&or=__ORIGIN__&wt=__WTYPE__";
55
+ l.analytics_url = "http://www.linkedin.com/analytics/?type=__ETYPE__&trackingInfo=__TRKINFO__&trk=__TINFO__&or=__ORIGIN__&wt=__WTYPE__";
56
+
57
+ l = IN.ENV.widget = IN.ENV.widget || {};
58
+
59
+ l.settings_url = "http://www.linkedin.com/cws/settings";
60
+ l.share_url = "http://www.linkedin.com/cws/share";
61
+ l.share_counter_url = "http://www.linkedin.com/countserv/count/share";
62
+ l.recommend_product_url = "http://www.linkedin.com/company/{COMPANY_ID}/product?prdId={PRODUCT_ID}";
63
+ l.recommend_product_counter_url = "http://www.linkedin.com/company/api/recommendation/count?type=PDCT&id={PRODUCT_ID}&callback={CALLBACK}";
64
+ l.company_url = "http://www.linkedin.com/cws/company/profile";
65
+ l.member_profile_url = "http://www.linkedin.com/cws/member/public_profile";
66
+ l.full_member_profile_url = "http://www.linkedin.com/cws/member/full_profile";
67
+ l.referral_center_url= "http://www.linkedin.com/cws/referral";
68
+ l.apply_url= "${WIDGET_APPLY_URL}";
69
+ l.mail_url= "http://www.linkedin.com/cws/mail";
70
+ l.apply_counter_url = "${WIDGET_APPLY_COUNTER_URL}";
71
+ l.company_insider_url = "http://www.linkedin.com/cws/company/insider";
72
+ l.sfdc_member_url = "https://www.linkedin.com/cws/sfdc/member";
73
+ l.sfdc_company_url = "https://www.linkedin.com/cws/sfdc/company";
74
+ l.sfdc_signal_url = "https://www.linkedin.com/cws/sfdc/signal";
75
+ l.cap_recruiter_member_url = "${WIDGET_CAP_RECRUITER_MEMBER_URL}";
76
+ l.jymbii_url = "http://www.linkedin.com/cws/jymbii";
77
+ l.today_url = "http://www.linkedin.com/cws/today/today";
78
+
79
+ l = IN.ENV.images = IN.ENV.images || {};
80
+ l.sprite = "http://static02.linkedin.com/scds/common/u/img/sprite/sprite_connect_v13.png";
81
+
82
+ l.unsecure_xdswf = "http://platform.linkedin.com/js/easyXDM.swf?v=0.0.1143-RC1.16308-1337";
83
+ l.secure_xdswf = "https://platform.linkedin.com/js/easyXDM.swf?v=0.0.1143-RC1.16308-1337";
84
+
85
+ /*
86
+ # Client Side Extensions
87
+ # These are possibly in framework js and need to be loaded
88
+ # via IN.$extensions() instead. This also helps ensure we're under
89
+ # the 2048 limit for URL length in cases where a lot of extensions
90
+ # are being loaded
91
+ */
92
+ if (xtn && xtn[1] && IN.$extensions) {
93
+ IN.$extensions(decodeURIComponent(xtn[1]));
94
+ fwk = fwk.replace(xtn[0], "").replace(/&*$/, "");
95
+ }
96
+
97
+ /*
98
+ endif
99
+ */
100
+
101
+ /*
102
+ if FULL_USERSPACE
103
+ endif
104
+ */
105
+
106
+ /*
107
+ if !ANONYMOUS_USERSPACE
108
+ endif
109
+ */
110
+
111
+ })();
112
+
113
+
114
+ /* ANONYMOUS USER_SPACE */
115
+
116
+ /* Version Path: dev */
117
+
118
+ /* res://connect-min/dev/connect/_open.njs */
119
+
120
+ /**
121
+ * _open
122
+ * this allows us to ensure proper scoping of our variables while allowing private globals
123
+ */
124
+ /* begin anon function */
125
+ // sandbox undefined, catch a local reference to window and document (improves performance and minifcation)
126
+ (function(window, document, undefined) {
127
+ // private globals
128
+ var $_GLOBALS = {}, // a private global accessible throughout framework
129
+ $_PATTERNS = {}, // global regex patterns
130
+ $_STATISTICS = {}, // statistics container
131
+ $_CONSTANTS = {}, // constants
132
+ $_WIN = {}; // hold temporary references from the window scope for restoration
133
+
134
+ (function() {
135
+ // create a dummy STATISTICS interface
136
+ // this will ensure that calls to the $_STATISTICS methods will not throw errors if the statistics module is not included
137
+ var f = function(){};
138
+ $_STATISTICS = {
139
+ instance: f,
140
+ recordAction: f,
141
+ recordEvent: f,
142
+ profile: f,
143
+ firePing: f
144
+ };
145
+
146
+ // localize JSON and Sslac instances
147
+ // preserve current window scoped objects to restore later
148
+ // (we don't touch easyXDM here as we've already namespaced it in IN.Lib.easyXDM)
149
+ $_WIN = {
150
+ JSON: window.JSON,
151
+ Sslac: window.Sslac
152
+ };
153
+ // remove all window references that we will touch internally
154
+ for(var key in $_WIN) {
155
+ if($_WIN.hasOwnProperty(key)) {
156
+ window[key] = undefined;
157
+ }
158
+ }
159
+ })();
160
+
161
+ // TODO - this needs to be fixed on the UAS servlet. see PLFM-4913
162
+ // this is a temporary hack to make sure we are serving the sprite over https if secure=true
163
+ if(typeof IN !== "undefined" && IN.ENV && IN.ENV.js && IN.ENV.images && IN.ENV.js.secure) {
164
+ IN.ENV.images.sprite='https://www.linkedin.com/scds/common/u/img/sprite/'+IN.ENV.images.sprite.split('/').pop();
165
+ }
166
+
167
+
168
+ /* res://connect-min/dev/lib/json2.js */
169
+
170
+ var JSON;
171
+ if(!JSON){JSON={}
172
+ }(function(){function f(n){return n<10?"0"+n:n
173
+ }if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null
174
+ };
175
+ String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()
176
+ }
177
+ }var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;
178
+ function quote(string){escapable.lastIndex=0;
179
+ return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];
180
+ return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)
181
+ })+'"':'"'+string+'"'
182
+ }function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];
183
+ if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)
184
+ }if(typeof rep==="function"){value=rep.call(holder,key,value)
185
+ }switch(typeof value){case"string":return quote(value);
186
+ case"number":return isFinite(value)?String(value):"null";
187
+ case"boolean":case"null":return String(value);
188
+ case"object":if(!value){return"null"
189
+ }gap+=indent;
190
+ partial=[];
191
+ if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;
192
+ for(i=0;
193
+ i<length;
194
+ i+=1){partial[i]=str(i,value)||"null"
195
+ }v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";
196
+ gap=mind;
197
+ return v
198
+ }if(rep&&typeof rep==="object"){length=rep.length;
199
+ for(i=0;
200
+ i<length;
201
+ i+=1){if(typeof rep[i]==="string"){k=rep[i];
202
+ v=str(k,value);
203
+ if(v){partial.push(quote(k)+(gap?": ":":")+v)
204
+ }}}}else{for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=str(k,value);
205
+ if(v){partial.push(quote(k)+(gap?": ":":")+v)
206
+ }}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";
207
+ gap=mind;
208
+ return v
209
+ }}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;
210
+ gap="";
211
+ indent="";
212
+ if(typeof space==="number"){for(i=0;
213
+ i<space;
214
+ i+=1){indent+=" "
215
+ }}else{if(typeof space==="string"){indent=space
216
+ }}rep=replacer;
217
+ if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")
218
+ }return str("",{"":value})
219
+ }
220
+ }if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;
221
+ function walk(holder,key){var k,v,value=holder[key];
222
+ if(value&&typeof value==="object"){for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=walk(value,k);
223
+ if(v!==undefined){value[k]=v
224
+ }else{delete value[k]
225
+ }}}}return reviver.call(holder,key,value)
226
+ }text=String(text);
227
+ cx.lastIndex=0;
228
+ if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)
229
+ })
230
+ }if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");
231
+ return typeof reviver==="function"?walk({"":j},""):j
232
+ }throw new SyntaxError("JSON.parse")
233
+ }
234
+ }}());
235
+
236
+ /* res://connect-min/dev/lib/sslac.js */
237
+
238
+ (function(){var n=this,g="Sslac",m={},o=null,i=n[g];
239
+ n[g]=n[g]||{};
240
+ o=n[g];
241
+ function h(u,v,t){var s=function(){};
242
+ s.prototype=v.prototype;
243
+ u.prototype=new s();
244
+ u.prototype.constructor=u;
245
+ u.superclass=v.prototype;
246
+ if(v.prototype.constructor===Object.prototype.constructor){v.prototype.constructor=v
247
+ }if(t){for(var r in t){if(t.hasOwnProperty(t,r)){u.prototype[r]=t[r]
248
+ }}}}function j(w,s){var t,v,u=s||n,x=w.split(/\./),r=x.length;
249
+ for(t=0;
250
+ t<r;
251
+ t++){v=x[t];
252
+ if(t+1===r){return u
253
+ }u[v]=u[v]||{};
254
+ u=u[v]
255
+ }}function p(r){var t=r.split(/\./),s=t[t.length-1];
256
+ return s
257
+ }function k(r){m[r]=new b(r);
258
+ return m[r]
259
+ }function f(r){m[r]=new b(r,true);
260
+ return m[r]
261
+ }function d(t,s){var u=j(t);
262
+ var r=p(t);
263
+ u[r]=s
264
+ }function q(s){var t=j(s);
265
+ var r=p(s);
266
+ t[r]=t[r]||{}
267
+ }function e(s,r){return j(s,r)[p(s)]
268
+ }function l(r){return m[r]
269
+ }function c(){var r=o;
270
+ n[g]=i;
271
+ return r
272
+ }function a(){this.Identifier=function(){return{name:"Sslac.ClassObject",ext:""}
273
+ }
274
+ }function b(v,A){var z=null,t="",u=function(){},s={},x=j(v),y={};
275
+ function w(C,D){return function(){this.Parents.push(C);
276
+ var E=s[C].apply(D,arguments);
277
+ this.Parents.pop();
278
+ return E
279
+ }
280
+ }function r(C,D){return function(){this.Parents.push(C);
281
+ var E=D.apply(this,arguments);
282
+ this.Parents.pop();
283
+ return E
284
+ }
285
+ }function B(){var E=this,C=null,D=null;
286
+ this.Parents=[];
287
+ this.Parent=function(){var F=this.Parents[this.Parents.length-1],I=this.Identifier(),H=j(I.ext)[p(I.ext)],G=(z[F])?z[F]:(H.prototype&&H.prototype[F])?H.prototype[F]:function(){};
288
+ return G.apply(E,arguments)
289
+ };
290
+ s.Identifier=function(){return{name:v,ext:t}
291
+ };
292
+ for(C in s){if(s.hasOwnProperty(C)){this[C]=w(C,E)
293
+ }}this.Parents.push("constructor");
294
+ D=u.apply(this,arguments);
295
+ this.Parents.pop();
296
+ for(C in s){if(s.hasOwnProperty(C)){this[C]=w(C,E)
297
+ }}return D
298
+ }this.Implements=function(){var F=this;
299
+ function D(I){return function(){throw new Error("The interface defined requires "+I)
300
+ }
301
+ }for(var G=0,C=arguments.length;
302
+ G<C;
303
+ G++){if(Object.prototype.toString.call(arguments[G]).slice(8,-1).toLowerCase()==="array"){for(var E=0,H=arguments[G].length;
304
+ E<H;
305
+ E++){F.Implements(arguments[G][E])
306
+ }}else{if(arguments[G].indexOf(".")>=0){F.Implements(e(arguments[G]))
307
+ }else{if(!this.getMethod(arguments[G])){this.Method(arguments[G],D(arguments[G]))
308
+ }}}}return this
309
+ };
310
+ this.Constructor=function(C){u=C;
311
+ return this
312
+ };
313
+ this.getConstructor=function(){return u
314
+ };
315
+ this.Method=function(C,D){B.prototype[C]=r(C,D);
316
+ return this
317
+ };
318
+ this.getMethod=function(C){return B.prototype[C]
319
+ };
320
+ this.Static=function(C,D){B[C]=D;
321
+ y[C]=D;
322
+ return this
323
+ };
324
+ this.getStatic=function(C){return B[C]
325
+ };
326
+ this.Extends=function(C){var D=C;
327
+ if(typeof C==="string"){D=j(C)[p(C)];
328
+ t=C
329
+ }h(B,D);
330
+ z=B.superclass;
331
+ return this
332
+ };
333
+ this.getExtends=function(){return z
334
+ };
335
+ this.Extends(a);
336
+ if(A){x[p(v)]=y
337
+ }else{x[p(v)]=B
338
+ }}o.ClassObject=a;
339
+ o.Class=k;
340
+ o.Static=f;
341
+ o.Function=d;
342
+ o.Define=q;
343
+ o.namespaceOf=j;
344
+ o.nameOf=p;
345
+ o.valueOf=e;
346
+ o.definitionOf=l;
347
+ o.noConflict=c;
348
+ if(typeof module!=="undefined"&&module.exports){module.exports=o.noConflict()
349
+ }}());
350
+
351
+ /* res://connect-min/dev/lib/easyxdm.js */
352
+
353
+ (function(window,document,location,setTimeout,decodeURIComponent,encodeURIComponent){var global=this;
354
+ var channelId=Math.floor(Math.random()*10000);
355
+ var emptyFn=Function.prototype;
356
+ var reURI=/^((http.?:)\/\/([^:\/\s]+)(:\d+)*)/;
357
+ var reParent=/[\-\w]+\/\.\.\//;
358
+ var reDoubleSlash=/([^:])\/\//g;
359
+ var reFunction=/^function/;
360
+ var namespace="";
361
+ var easyXDM={};
362
+ var _easyXDM=window.easyXDM;
363
+ var IFRAME_PREFIX="easyXDM_";
364
+ var HAS_NAME_PROPERTY_BUG;
365
+ var HAS_FUNCTION_RECAST_BUG=false
366
+ /*@cc_on || ((ScriptEngineMajorVersion()+(ScriptEngineMinorVersion()/10)) <= 5.8)@*/
367
+ ;
368
+ var useHash=false;
369
+ var flashVersion;
370
+ var HAS_FLASH_THROTTLED_BUG;
371
+ function isCallableFunction(fn){if(typeof fn==="function"){return true
372
+ }if(HAS_FUNCTION_RECAST_BUG&&typeof fn==="object"&&typeof fn.call!=="undefined"&&typeof fn.apply!=="undefined"){try{return reFunction.test(fn.toString())
373
+ }catch(e){return false
374
+ }}return false
375
+ }function isHostMethod(object,property){var t=typeof object[property];
376
+ return t=="function"||(!!(t=="object"&&object[property]))||t=="unknown"
377
+ }function isHostObject(object,property){return !!(typeof(object[property])=="object"&&object[property])
378
+ }function isArray(o){return Object.prototype.toString.call(o)==="[object Array]"
379
+ }function hasFlash(){try{var activeX=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
380
+ flashVersion=Array.prototype.slice.call(activeX.GetVariable("$version").match(/(\d+),(\d+),(\d+),(\d+)/),1);
381
+ HAS_FLASH_THROTTLED_BUG=parseInt(flashVersion[0],10)>9&&parseInt(flashVersion[1],10)>0;
382
+ activeX=null;
383
+ return true
384
+ }catch(notSupportedException){return false
385
+ }}var on,un;
386
+ if(isHostMethod(window,"addEventListener")){on=function(target,type,listener){target.addEventListener(type,listener,false)
387
+ };
388
+ un=function(target,type,listener){target.removeEventListener(type,listener,false)
389
+ }
390
+ }else{if(isHostMethod(window,"attachEvent")){on=function(object,sEvent,fpNotify){object.attachEvent("on"+sEvent,fpNotify)
391
+ };
392
+ un=function(object,sEvent,fpNotify){object.detachEvent("on"+sEvent,fpNotify)
393
+ }
394
+ }else{throw new Error("Browser not supported")
395
+ }}var domIsReady=false,domReadyQueue=[],readyState;
396
+ if("readyState" in document){readyState=document.readyState;
397
+ domIsReady=readyState=="complete"||(~navigator.userAgent.indexOf("AppleWebKit/")&&(readyState=="loaded"||readyState=="interactive"))
398
+ }else{domIsReady=!!document.body
399
+ }function dom_onReady(){if(domIsReady){return
400
+ }domIsReady=true;
401
+ for(var i=0;
402
+ i<domReadyQueue.length;
403
+ i++){domReadyQueue[i]()
404
+ }domReadyQueue.length=0
405
+ }if(!domIsReady){if(isHostMethod(window,"addEventListener")){on(document,"DOMContentLoaded",dom_onReady)
406
+ }else{on(document,"readystatechange",function(){if(document.readyState=="complete"){dom_onReady()
407
+ }});
408
+ if(document.documentElement.doScroll&&window===top){var doScrollCheck=function(){if(domIsReady){return
409
+ }try{document.documentElement.doScroll("left")
410
+ }catch(e){setTimeout(doScrollCheck,1);
411
+ return
412
+ }dom_onReady()
413
+ };
414
+ doScrollCheck()
415
+ }}on(window,"load",dom_onReady)
416
+ }function whenReady(fn,scope){if(domIsReady){fn.call(scope);
417
+ return
418
+ }domReadyQueue.push(function(){fn.call(scope)
419
+ })
420
+ }function getParentObject(){var obj=parent;
421
+ if(namespace!==""){for(var i=0,ii=namespace.split(".");
422
+ i<ii.length;
423
+ i++){obj=obj[ii[i]]
424
+ }}return obj.easyXDM
425
+ }function noConflict(ns){window.easyXDM=_easyXDM;
426
+ namespace=ns;
427
+ if(namespace){IFRAME_PREFIX="easyXDM_"+namespace.replace(".","_")+"_"
428
+ }return easyXDM
429
+ }function getDomainName(url){return url.match(reURI)[3]
430
+ }function getPort(url){return url.match(reURI)[4]||""
431
+ }function getLocation(url){var m=url.toLowerCase().match(reURI);
432
+ var proto=m[2],domain=m[3],port=m[4]||"";
433
+ if((proto=="http:"&&port==":80")||(proto=="https:"&&port==":443")){port=""
434
+ }return proto+"//"+domain+port
435
+ }function resolveUrl(url){url=url.replace(reDoubleSlash,"$1/");
436
+ if(!url.match(/^(http||https):\/\//)){var path=(url.substring(0,1)==="/")?"":location.pathname;
437
+ if(path.substring(path.length-1)!=="/"){path=path.substring(0,path.lastIndexOf("/")+1)
438
+ }url=location.protocol+"//"+location.host+path+url
439
+ }while(reParent.test(url)){url=url.replace(reParent,"")
440
+ }return url
441
+ }function appendQueryParameters(url,parameters){var hash="",indexOf=url.indexOf("#");
442
+ if(indexOf!==-1){hash=url.substring(indexOf);
443
+ url=url.substring(0,indexOf)
444
+ }var q=[];
445
+ for(var key in parameters){if(parameters.hasOwnProperty(key)){q.push(key+"="+encodeURIComponent(parameters[key]))
446
+ }}return url+(useHash?"#":(url.indexOf("?")==-1?"?":"&"))+q.join("&")+(useHash?"&"+hash.substring(1):hash)
447
+ }var query=(function(input){input=input.substring(1).split("&");
448
+ var data={},pair,i=input.length;
449
+ while(i--){pair=input[i].split("=");
450
+ data[pair[0]]=decodeURIComponent(pair[1])
451
+ }return data
452
+ }(/xdm_e=/.test(location.search)?location.search:location.hash));
453
+ function undef(v){return typeof v==="undefined"
454
+ }var getJSON=function(){var cached={};
455
+ var obj={a:[1,2,3]},json='{"a":[1,2,3]}';
456
+ if(typeof JSON!="undefined"&&typeof JSON.stringify==="function"&&JSON.stringify(obj).replace((/\s/g),"")===json){return JSON
457
+ }if(Object.toJSON){if(Object.toJSON(obj).replace((/\s/g),"")===json){cached.stringify=Object.toJSON
458
+ }}if(typeof String.prototype.evalJSON==="function"){obj=json.evalJSON();
459
+ if(obj.a&&obj.a.length===3&&obj.a[2]===3){cached.parse=function(str){return str.evalJSON()
460
+ }
461
+ }}if(cached.stringify&&cached.parse){getJSON=function(){return cached
462
+ };
463
+ return cached
464
+ }return null
465
+ };
466
+ function apply(destination,source,noOverwrite){var member;
467
+ for(var prop in source){if(source.hasOwnProperty(prop)){if(prop in destination){member=source[prop];
468
+ if(typeof member==="object"){apply(destination[prop],member,noOverwrite)
469
+ }else{if(!noOverwrite){destination[prop]=source[prop]
470
+ }}}else{destination[prop]=source[prop]
471
+ }}}return destination
472
+ }function testForNamePropertyBug(){var form=document.body.appendChild(document.createElement("form")),input=form.appendChild(document.createElement("input"));
473
+ input.name=IFRAME_PREFIX+"TEST"+channelId;
474
+ HAS_NAME_PROPERTY_BUG=input!==form.elements[input.name];
475
+ document.body.removeChild(form)
476
+ }function createFrame(config){if(undef(HAS_NAME_PROPERTY_BUG)){testForNamePropertyBug()
477
+ }var frame;
478
+ if(HAS_NAME_PROPERTY_BUG){frame=document.createElement('<iframe name="'+config.props.name+'"/>')
479
+ }else{frame=document.createElement("IFRAME");
480
+ frame.name=config.props.name
481
+ }frame.id=frame.name=config.props.name;
482
+ delete config.props.name;
483
+ if(config.onLoad){on(frame,"load",config.onLoad)
484
+ }if(typeof config.container=="string"){config.container=document.getElementById(config.container)
485
+ }if(!config.container){apply(frame.style,{position:"absolute",top:"-2000px"});
486
+ config.container=document.body
487
+ }var src=config.props.src;
488
+ delete config.props.src;
489
+ apply(frame,config.props);
490
+ frame.border=frame.frameBorder=0;
491
+ frame.allowTransparency=true;
492
+ config.container.appendChild(frame);
493
+ frame.src=src;
494
+ config.props.src=src;
495
+ return frame
496
+ }function checkAcl(acl,domain){if(typeof acl=="string"){acl=[acl]
497
+ }var re,i=acl.length;
498
+ while(i--){re=acl[i];
499
+ re=new RegExp(re.substr(0,1)=="^"?re:("^"+re.replace(/(\*)/g,".$1").replace(/\?/g,".")+"$"));
500
+ if(re.test(domain)){return true
501
+ }}return false
502
+ }function prepareTransportStack(config){var protocol=config.protocol,stackEls;
503
+ config.isHost=config.isHost||undef(query.xdm_p);
504
+ useHash=config.hash||false;
505
+ if(!config.props){config.props={}
506
+ }if(!config.isHost){config.channel=query.xdm_c;
507
+ config.secret=query.xdm_s;
508
+ config.remote=query.xdm_e;
509
+ protocol=query.xdm_p;
510
+ if(config.acl&&!checkAcl(config.acl,config.remote)){throw new Error("Access denied for "+config.remote)
511
+ }}else{config.remote=resolveUrl(config.remote);
512
+ config.channel=config.channel||"default"+channelId++;
513
+ config.secret=Math.random().toString(16).substring(2);
514
+ if(undef(protocol)){if(getLocation(location.href)==getLocation(config.remote)){protocol="4"
515
+ }else{if(isHostMethod(window,"postMessage")||isHostMethod(document,"postMessage")){protocol="1"
516
+ }else{if(config.swf&&isHostMethod(window,"ActiveXObject")&&hasFlash()){protocol="6"
517
+ }else{if(navigator.product==="Gecko"&&"frameElement" in window&&navigator.userAgent.indexOf("WebKit")==-1){protocol="5"
518
+ }else{if(config.remoteHelper){config.remoteHelper=resolveUrl(config.remoteHelper);
519
+ protocol="2"
520
+ }else{protocol="0"
521
+ }}}}}}}config.protocol=protocol;
522
+ switch(protocol){case"0":apply(config,{interval:100,delay:2000,useResize:true,useParent:false,usePolling:false},true);
523
+ if(config.isHost){if(!config.local){var domain=location.protocol+"//"+location.host,images=document.body.getElementsByTagName("img"),image;
524
+ var i=images.length;
525
+ while(i--){image=images[i];
526
+ if(image.src.substring(0,domain.length)===domain){config.local=image.src;
527
+ break
528
+ }}if(!config.local){config.local=window
529
+ }}var parameters={xdm_c:config.channel,xdm_p:0};
530
+ if(config.local===window){config.usePolling=true;
531
+ config.useParent=true;
532
+ config.local=location.protocol+"//"+location.host+location.pathname+location.search;
533
+ parameters.xdm_e=config.local;
534
+ parameters.xdm_pa=1
535
+ }else{parameters.xdm_e=resolveUrl(config.local)
536
+ }if(config.container){config.useResize=false;
537
+ parameters.xdm_po=1
538
+ }config.remote=appendQueryParameters(config.remote,parameters)
539
+ }else{apply(config,{channel:query.xdm_c,remote:query.xdm_e,useParent:!undef(query.xdm_pa),usePolling:!undef(query.xdm_po),useResize:config.useParent?false:config.useResize})
540
+ }stackEls=[new easyXDM.stack.HashTransport(config),new easyXDM.stack.ReliableBehavior({}),new easyXDM.stack.QueueBehavior({encode:true,maxLength:4000-config.remote.length}),new easyXDM.stack.VerifyBehavior({initiate:config.isHost})];
541
+ break;
542
+ case"1":stackEls=[new easyXDM.stack.PostMessageTransport(config)];
543
+ break;
544
+ case"2":stackEls=[new easyXDM.stack.NameTransport(config),new easyXDM.stack.QueueBehavior(),new easyXDM.stack.VerifyBehavior({initiate:config.isHost})];
545
+ break;
546
+ case"3":stackEls=[new easyXDM.stack.NixTransport(config)];
547
+ break;
548
+ case"4":stackEls=[new easyXDM.stack.SameOriginTransport(config)];
549
+ break;
550
+ case"5":stackEls=[new easyXDM.stack.FrameElementTransport(config)];
551
+ break;
552
+ case"6":if(!flashVersion){hasFlash()
553
+ }stackEls=[new easyXDM.stack.FlashTransport(config)];
554
+ break
555
+ }stackEls.push(new easyXDM.stack.QueueBehavior({lazy:config.lazy,remove:true}));
556
+ return stackEls
557
+ }function chainStack(stackElements){var stackEl,defaults={incoming:function(message,origin){this.up.incoming(message,origin)
558
+ },outgoing:function(message,recipient){this.down.outgoing(message,recipient)
559
+ },callback:function(success){this.up.callback(success)
560
+ },init:function(){this.down.init()
561
+ },destroy:function(){this.down.destroy()
562
+ }};
563
+ for(var i=0,len=stackElements.length;
564
+ i<len;
565
+ i++){stackEl=stackElements[i];
566
+ apply(stackEl,defaults,true);
567
+ if(i!==0){stackEl.down=stackElements[i-1]
568
+ }if(i!==len-1){stackEl.up=stackElements[i+1]
569
+ }}return stackEl
570
+ }function removeFromStack(element){element.up.down=element.down;
571
+ element.down.up=element.up;
572
+ element.up=element.down=null
573
+ }apply(easyXDM,{version:"2.4.15.22",query:query,stack:{},apply:apply,getJSONObject:getJSON,whenReady:whenReady,noConflict:noConflict});
574
+ easyXDM.DomHelper={on:on,un:un,requiresJSON:function(path){if(!isHostObject(window,"JSON")){document.write("<"+'script type="text/javascript" src="'+path+'"><'+"/script>")
575
+ }}};
576
+ (function(){var _map={};
577
+ easyXDM.Fn={set:function(name,fn){_map[name]=fn
578
+ },get:function(name,del){var fn=_map[name];
579
+ if(del){delete _map[name]
580
+ }return fn
581
+ }}
582
+ }());
583
+ easyXDM.Socket=function(config){var stack=chainStack(prepareTransportStack(config).concat([{incoming:function(message,origin){config.onMessage(message,origin)
584
+ },callback:function(success){if(config.onReady){config.onReady(success)
585
+ }}}])),recipient=getLocation(config.remote);
586
+ this.origin=getLocation(config.remote);
587
+ this.destroy=function(){stack.destroy()
588
+ };
589
+ this.postMessage=function(message){stack.outgoing(message,recipient)
590
+ };
591
+ stack.init()
592
+ };
593
+ easyXDM.Rpc=function(config,jsonRpcConfig){if(jsonRpcConfig.local){for(var method in jsonRpcConfig.local){if(jsonRpcConfig.local.hasOwnProperty(method)){var member=jsonRpcConfig.local[method];
594
+ if(typeof member==="function"){jsonRpcConfig.local[method]={method:member}
595
+ }}}}var stack=chainStack(prepareTransportStack(config).concat([new easyXDM.stack.RpcBehavior(this,jsonRpcConfig),{callback:function(success){if(config.onReady){config.onReady(success)
596
+ }}}]));
597
+ this.origin=getLocation(config.remote);
598
+ this.destroy=function(){stack.destroy()
599
+ };
600
+ stack.init()
601
+ };
602
+ easyXDM.stack.SameOriginTransport=function(config){var pub,frame,send,targetOrigin;
603
+ return(pub={outgoing:function(message,domain,fn){send(message);
604
+ if(fn){fn()
605
+ }},destroy:function(){if(frame){frame.parentNode.removeChild(frame);
606
+ frame=null
607
+ }},onDOMReady:function(){targetOrigin=getLocation(config.remote);
608
+ if(config.isHost){apply(config.props,{src:appendQueryParameters(config.remote,{xdm_e:location.protocol+"//"+location.host+location.pathname,xdm_c:config.channel,xdm_p:4}),name:IFRAME_PREFIX+config.channel+"_provider"});
609
+ frame=createFrame(config);
610
+ easyXDM.Fn.set(config.channel,function(sendFn){send=sendFn;
611
+ setTimeout(function(){pub.up.callback(true)
612
+ },0);
613
+ return function(msg){pub.up.incoming(msg,targetOrigin)
614
+ }
615
+ })
616
+ }else{send=getParentObject().Fn.get(config.channel,true)(function(msg){pub.up.incoming(msg,targetOrigin)
617
+ });
618
+ setTimeout(function(){pub.up.callback(true)
619
+ },0)
620
+ }},init:function(){whenReady(pub.onDOMReady,pub)
621
+ }})
622
+ };
623
+ easyXDM.stack.FlashTransport=function(config){var pub,frame,send,targetOrigin,swf,swfContainer;
624
+ function onMessage(message,origin){setTimeout(function(){pub.up.incoming(message,targetOrigin)
625
+ },0)
626
+ }function addSwf(domain){var url=config.swf+"?host="+config.isHost;
627
+ var id="easyXDM_swf_"+Math.floor(Math.random()*10000);
628
+ easyXDM.Fn.set("flash_loaded"+domain.replace(/[\-.]/g,"_"),function(){easyXDM.stack.FlashTransport[domain].swf=swf=swfContainer.firstChild;
629
+ var queue=easyXDM.stack.FlashTransport[domain].queue;
630
+ for(var i=0;
631
+ i<queue.length;
632
+ i++){queue[i]()
633
+ }queue.length=0
634
+ });
635
+ if(config.swfContainer){swfContainer=(typeof config.swfContainer=="string")?document.getElementById(config.swfContainer):config.swfContainer
636
+ }else{swfContainer=document.createElement("div");
637
+ apply(swfContainer.style,HAS_FLASH_THROTTLED_BUG&&config.swfNoThrottle?{height:"20px",width:"20px",position:"fixed",right:0,top:0}:{height:"1px",width:"1px",position:"absolute",overflow:"hidden",right:0,top:0});
638
+ document.body.appendChild(swfContainer)
639
+ }var flashVars="callback=flash_loaded"+domain.replace(/[\-.]/g,"_")+"&proto="+global.location.protocol+"&domain="+getDomainName(global.location.href)+"&port="+getPort(global.location.href)+"&ns="+namespace;
640
+ swfContainer.innerHTML="<object height='20' width='20' type='application/x-shockwave-flash' id='"+id+"' data='"+url+"'>"+"<param name='allowScriptAccess' value='always'></param>"+"<param name='wmode' value='transparent'>"+"<param name='movie' value='"+url+"'></param>"+"<param name='flashvars' value='"+flashVars+"'></param>"+"<embed type='application/x-shockwave-flash' FlashVars='"+flashVars+"' allowScriptAccess='always' wmode='transparent' src='"+url+"' height='1' width='1'></embed>"+"</object>"
641
+ }return(pub={outgoing:function(message,domain,fn){swf.postMessage(config.channel,message.toString());
642
+ if(fn){fn()
643
+ }},destroy:function(){try{swf.destroyChannel(config.channel)
644
+ }catch(e){}swf=null;
645
+ if(frame){frame.parentNode.removeChild(frame);
646
+ frame=null
647
+ }},onDOMReady:function(){targetOrigin=config.remote;
648
+ easyXDM.Fn.set("flash_"+config.channel+"_init",function(){setTimeout(function(){pub.up.callback(true)
649
+ })
650
+ });
651
+ easyXDM.Fn.set("flash_"+config.channel+"_onMessage",onMessage);
652
+ config.swf=resolveUrl(config.swf);
653
+ var swfdomain=getDomainName(config.swf);
654
+ var fn=function(){easyXDM.stack.FlashTransport[swfdomain].init=true;
655
+ swf=easyXDM.stack.FlashTransport[swfdomain].swf;
656
+ swf.createChannel(config.channel,config.secret,getLocation(config.remote),config.isHost);
657
+ if(config.isHost){if(HAS_FLASH_THROTTLED_BUG&&config.swfNoThrottle){apply(config.props,{position:"fixed",right:0,top:0,height:"20px",width:"20px"})
658
+ }apply(config.props,{src:appendQueryParameters(config.remote,{xdm_e:getLocation(location.href),xdm_c:config.channel,xdm_p:6,xdm_s:config.secret}),name:IFRAME_PREFIX+config.channel+"_provider"});
659
+ frame=createFrame(config)
660
+ }};
661
+ if(easyXDM.stack.FlashTransport[swfdomain]&&easyXDM.stack.FlashTransport[swfdomain].init){fn()
662
+ }else{if(!easyXDM.stack.FlashTransport[swfdomain]){easyXDM.stack.FlashTransport[swfdomain]={queue:[fn]};
663
+ addSwf(swfdomain)
664
+ }else{easyXDM.stack.FlashTransport[swfdomain].queue.push(fn)
665
+ }}},init:function(){whenReady(pub.onDOMReady,pub)
666
+ }})
667
+ };
668
+ easyXDM.stack.PostMessageTransport=function(config){var pub,frame,callerWindow,targetOrigin;
669
+ function _getOrigin(event){if(event.origin){return getLocation(event.origin)
670
+ }if(event.uri){return getLocation(event.uri)
671
+ }if(event.domain){return location.protocol+"//"+event.domain
672
+ }throw"Unable to retrieve the origin of the event"
673
+ }function _window_onMessage(event){var origin=_getOrigin(event);
674
+ if(origin==targetOrigin&&event.data.substring(0,config.channel.length+1)==config.channel+" "){pub.up.incoming(event.data.substring(config.channel.length+1),origin)
675
+ }}return(pub={outgoing:function(message,domain,fn){callerWindow.postMessage(config.channel+" "+message,domain||targetOrigin);
676
+ if(fn){fn()
677
+ }},destroy:function(){un(window,"message",_window_onMessage);
678
+ if(frame){callerWindow=null;
679
+ frame.parentNode.removeChild(frame);
680
+ frame=null
681
+ }},onDOMReady:function(){targetOrigin=getLocation(config.remote);
682
+ if(config.isHost){var waitForReady=function(event){if(event.data==config.channel+"-ready"){callerWindow=("postMessage" in frame.contentWindow)?frame.contentWindow:frame.contentWindow.document;
683
+ un(window,"message",waitForReady);
684
+ on(window,"message",_window_onMessage);
685
+ setTimeout(function(){pub.up.callback(true)
686
+ },0)
687
+ }};
688
+ on(window,"message",waitForReady);
689
+ apply(config.props,{src:appendQueryParameters(config.remote,{xdm_e:getLocation(location.href),xdm_c:config.channel,xdm_p:1}),name:IFRAME_PREFIX+config.channel+"_provider"});
690
+ frame=createFrame(config)
691
+ }else{on(window,"message",_window_onMessage);
692
+ callerWindow=("postMessage" in window.parent)?window.parent:window.parent.document;
693
+ callerWindow.postMessage(config.channel+"-ready",targetOrigin);
694
+ setTimeout(function(){pub.up.callback(true)
695
+ },0)
696
+ }},init:function(){whenReady(pub.onDOMReady,pub)
697
+ }})
698
+ };
699
+ easyXDM.stack.FrameElementTransport=function(config){var pub,frame,send,targetOrigin;
700
+ return(pub={outgoing:function(message,domain,fn){send.call(this,message);
701
+ if(fn){fn()
702
+ }},destroy:function(){if(frame){frame.parentNode.removeChild(frame);
703
+ frame=null
704
+ }},onDOMReady:function(){targetOrigin=getLocation(config.remote);
705
+ if(config.isHost){apply(config.props,{src:appendQueryParameters(config.remote,{xdm_e:getLocation(location.href),xdm_c:config.channel,xdm_p:5}),name:IFRAME_PREFIX+config.channel+"_provider"});
706
+ frame=createFrame(config);
707
+ frame.fn=function(sendFn){delete frame.fn;
708
+ send=sendFn;
709
+ setTimeout(function(){pub.up.callback(true)
710
+ },0);
711
+ return function(msg){pub.up.incoming(msg,targetOrigin)
712
+ }
713
+ }
714
+ }else{if(document.referrer&&getLocation(document.referrer)!=query.xdm_e){window.top.location=query.xdm_e
715
+ }send=window.frameElement.fn(function(msg){pub.up.incoming(msg,targetOrigin)
716
+ });
717
+ pub.up.callback(true)
718
+ }},init:function(){whenReady(pub.onDOMReady,pub)
719
+ }})
720
+ };
721
+ easyXDM.stack.NameTransport=function(config){var pub;
722
+ var isHost,callerWindow,remoteWindow,readyCount,callback,remoteOrigin,remoteUrl;
723
+ function _sendMessage(message){var url=config.remoteHelper+(isHost?"#_3":"#_2")+config.channel;
724
+ callerWindow.contentWindow.sendMessage(message,url)
725
+ }function _onReady(){if(isHost){if(++readyCount===2||!isHost){pub.up.callback(true)
726
+ }}else{_sendMessage("ready");
727
+ pub.up.callback(true)
728
+ }}function _onMessage(message){pub.up.incoming(message,remoteOrigin)
729
+ }function _onLoad(){if(callback){setTimeout(function(){callback(true)
730
+ },0)
731
+ }}return(pub={outgoing:function(message,domain,fn){callback=fn;
732
+ _sendMessage(message)
733
+ },destroy:function(){callerWindow.parentNode.removeChild(callerWindow);
734
+ callerWindow=null;
735
+ if(isHost){remoteWindow.parentNode.removeChild(remoteWindow);
736
+ remoteWindow=null
737
+ }},onDOMReady:function(){isHost=config.isHost;
738
+ readyCount=0;
739
+ remoteOrigin=getLocation(config.remote);
740
+ config.local=resolveUrl(config.local);
741
+ if(isHost){easyXDM.Fn.set(config.channel,function(message){if(isHost&&message==="ready"){easyXDM.Fn.set(config.channel,_onMessage);
742
+ _onReady()
743
+ }});
744
+ remoteUrl=appendQueryParameters(config.remote,{xdm_e:config.local,xdm_c:config.channel,xdm_p:2});
745
+ apply(config.props,{src:remoteUrl+"#"+config.channel,name:IFRAME_PREFIX+config.channel+"_provider"});
746
+ remoteWindow=createFrame(config)
747
+ }else{config.remoteHelper=config.remote;
748
+ easyXDM.Fn.set(config.channel,_onMessage)
749
+ }var onLoad=function(){var w=callerWindow||this;
750
+ un(w,"load",onLoad);
751
+ easyXDM.Fn.set(config.channel+"_load",_onLoad);
752
+ (function test(){if(typeof w.contentWindow.sendMessage=="function"){_onReady()
753
+ }else{setTimeout(test,50)
754
+ }}())
755
+ };
756
+ callerWindow=createFrame({props:{src:config.local+"#_4"+config.channel},onLoad:onLoad})
757
+ },init:function(){whenReady(pub.onDOMReady,pub)
758
+ }})
759
+ };
760
+ easyXDM.stack.HashTransport=function(config){var pub;
761
+ var me=this,isHost,_timer,pollInterval,_lastMsg,_msgNr,_listenerWindow,_callerWindow;
762
+ var useParent,_remoteOrigin;
763
+ function _sendMessage(message){if(!_callerWindow){return
764
+ }var url=config.remote+"#"+(_msgNr++)+"_"+message;
765
+ ((isHost||!useParent)?_callerWindow.contentWindow:_callerWindow).location=url
766
+ }function _handleHash(hash){_lastMsg=hash;
767
+ pub.up.incoming(_lastMsg.substring(_lastMsg.indexOf("_")+1),_remoteOrigin)
768
+ }function _pollHash(){if(!_listenerWindow){return
769
+ }var href=_listenerWindow.location.href,hash="",indexOf=href.indexOf("#");
770
+ if(indexOf!=-1){hash=href.substring(indexOf)
771
+ }if(hash&&hash!=_lastMsg){_handleHash(hash)
772
+ }}function _attachListeners(){_timer=setInterval(_pollHash,pollInterval)
773
+ }return(pub={outgoing:function(message,domain){_sendMessage(message)
774
+ },destroy:function(){window.clearInterval(_timer);
775
+ if(isHost||!useParent){_callerWindow.parentNode.removeChild(_callerWindow)
776
+ }_callerWindow=null
777
+ },onDOMReady:function(){isHost=config.isHost;
778
+ pollInterval=config.interval;
779
+ _lastMsg="#"+config.channel;
780
+ _msgNr=0;
781
+ useParent=config.useParent;
782
+ _remoteOrigin=getLocation(config.remote);
783
+ if(isHost){config.props={src:config.remote,name:IFRAME_PREFIX+config.channel+"_provider"};
784
+ if(useParent){config.onLoad=function(){_listenerWindow=window;
785
+ _attachListeners();
786
+ pub.up.callback(true)
787
+ }
788
+ }else{var tries=0,max=config.delay/50;
789
+ (function getRef(){if(++tries>max){throw new Error("Unable to reference listenerwindow")
790
+ }try{_listenerWindow=_callerWindow.contentWindow.frames[IFRAME_PREFIX+config.channel+"_consumer"]
791
+ }catch(ex){}if(_listenerWindow){_attachListeners();
792
+ pub.up.callback(true)
793
+ }else{setTimeout(getRef,50)
794
+ }}())
795
+ }_callerWindow=createFrame(config)
796
+ }else{_listenerWindow=window;
797
+ _attachListeners();
798
+ if(useParent){_callerWindow=parent;
799
+ pub.up.callback(true)
800
+ }else{apply(config,{props:{src:config.remote+"#"+config.channel+new Date(),name:IFRAME_PREFIX+config.channel+"_consumer"},onLoad:function(){pub.up.callback(true)
801
+ }});
802
+ _callerWindow=createFrame(config)
803
+ }}},init:function(){whenReady(pub.onDOMReady,pub)
804
+ }})
805
+ };
806
+ easyXDM.stack.ReliableBehavior=function(config){var pub,callback;
807
+ var idOut=0,idIn=0,currentMessage="";
808
+ return(pub={incoming:function(message,origin){var indexOf=message.indexOf("_"),ack=message.substring(0,indexOf).split(",");
809
+ message=message.substring(indexOf+1);
810
+ if(ack[0]==idOut){currentMessage="";
811
+ if(callback){callback(true)
812
+ }}if(message.length>0){pub.down.outgoing(ack[1]+","+idOut+"_"+currentMessage,origin);
813
+ if(idIn!=ack[1]){idIn=ack[1];
814
+ pub.up.incoming(message,origin)
815
+ }}},outgoing:function(message,origin,fn){currentMessage=message;
816
+ callback=fn;
817
+ pub.down.outgoing(idIn+","+(++idOut)+"_"+message,origin)
818
+ }})
819
+ };
820
+ easyXDM.stack.QueueBehavior=function(config){var pub,queue=[],waiting=true,incoming="",destroying,maxLength=0,lazy=false,doFragment=false;
821
+ function dispatch(){if(config.remove&&queue.length===0){removeFromStack(pub);
822
+ return
823
+ }if(waiting||queue.length===0||destroying){return
824
+ }waiting=true;
825
+ var message=queue.shift();
826
+ pub.down.outgoing(message.data,message.origin,function(success){waiting=false;
827
+ if(message.callback){setTimeout(function(){message.callback(success)
828
+ },0)
829
+ }dispatch()
830
+ })
831
+ }return(pub={init:function(){if(undef(config)){config={}
832
+ }if(config.maxLength){maxLength=config.maxLength;
833
+ doFragment=true
834
+ }if(config.lazy){lazy=true
835
+ }else{pub.down.init()
836
+ }},callback:function(success){waiting=false;
837
+ var up=pub.up;
838
+ dispatch();
839
+ up.callback(success)
840
+ },incoming:function(message,origin){if(doFragment){var indexOf=message.indexOf("_"),seq=parseInt(message.substring(0,indexOf),10);
841
+ incoming+=message.substring(indexOf+1);
842
+ if(seq===0){if(config.encode){incoming=decodeURIComponent(incoming)
843
+ }pub.up.incoming(incoming,origin);
844
+ incoming=""
845
+ }}else{pub.up.incoming(message,origin)
846
+ }},outgoing:function(message,origin,fn){if(config.encode){message=encodeURIComponent(message)
847
+ }var fragments=[],fragment;
848
+ if(doFragment){while(message.length!==0){fragment=message.substring(0,maxLength);
849
+ message=message.substring(fragment.length);
850
+ fragments.push(fragment)
851
+ }while((fragment=fragments.shift())){queue.push({data:fragments.length+"_"+fragment,origin:origin,callback:fragments.length===0?fn:null})
852
+ }}else{queue.push({data:message,origin:origin,callback:fn})
853
+ }if(lazy){pub.down.init()
854
+ }else{dispatch()
855
+ }},destroy:function(){destroying=true;
856
+ pub.down.destroy()
857
+ }})
858
+ };
859
+ easyXDM.stack.VerifyBehavior=function(config){var pub,mySecret,theirSecret,verified=false;
860
+ function startVerification(){mySecret=Math.random().toString(16).substring(2);
861
+ pub.down.outgoing(mySecret)
862
+ }return(pub={incoming:function(message,origin){var indexOf=message.indexOf("_");
863
+ if(indexOf===-1){if(message===mySecret){pub.up.callback(true)
864
+ }else{if(!theirSecret){theirSecret=message;
865
+ if(!config.initiate){startVerification()
866
+ }pub.down.outgoing(message)
867
+ }}}else{if(message.substring(0,indexOf)===theirSecret){pub.up.incoming(message.substring(indexOf+1),origin)
868
+ }}},outgoing:function(message,origin,fn){pub.down.outgoing(mySecret+"_"+message,origin,fn)
869
+ },callback:function(success){if(config.initiate){startVerification()
870
+ }}})
871
+ };
872
+ easyXDM.stack.RpcBehavior=function(proxy,config){var pub,serializer=config.serializer||getJSON();
873
+ var _callbackCounter=0,_callbacks={};
874
+ function _send(data){data.jsonrpc="2.0";
875
+ pub.down.outgoing(serializer.stringify(data))
876
+ }function _createMethod(definition,method){var slice=Array.prototype.slice;
877
+ return function(){var l=arguments.length,callback,message={method:method};
878
+ if(l>0&&isCallableFunction(arguments[l-1])){if(l>1&&isCallableFunction(arguments[l-2])){callback={success:arguments[l-2],error:arguments[l-1]};
879
+ message.params=slice.call(arguments,0,l-2)
880
+ }else{callback={success:arguments[l-1]};
881
+ message.params=slice.call(arguments,0,l-1)
882
+ }_callbacks[""+(++_callbackCounter)]=callback;
883
+ message.id=_callbackCounter
884
+ }else{message.params=slice.call(arguments,0)
885
+ }if(definition.namedParams&&message.params.length===1){message.params=message.params[0]
886
+ }_send(message)
887
+ }
888
+ }function _executeMethod(method,id,fn,params){if(!fn){if(id){_send({id:id,error:{code:-32601,message:"Procedure not found."}})
889
+ }return
890
+ }var success,error;
891
+ if(id){success=function(result){success=emptyFn;
892
+ _send({id:id,result:result})
893
+ };
894
+ error=function(message,data){error=emptyFn;
895
+ var msg={id:id,error:{code:-32099,message:message}};
896
+ if(data){msg.error.data=data
897
+ }_send(msg)
898
+ }
899
+ }else{success=error=emptyFn
900
+ }if(!isArray(params)){params=[params]
901
+ }try{var result=fn.method.apply(fn.scope,params.concat([success,error]));
902
+ if(!undef(result)){success(result)
903
+ }}catch(ex1){error(ex1.message)
904
+ }}return(pub={incoming:function(message,origin){var data=serializer.parse(message);
905
+ if(data.method){if(config.handle){config.handle(data,_send)
906
+ }else{_executeMethod(data.method,data.id,config.local[data.method],data.params)
907
+ }}else{var callback=_callbacks[data.id];
908
+ if(data.error){if(callback.error){callback.error(data.error)
909
+ }}else{if(callback.success){callback.success(data.result)
910
+ }}delete _callbacks[data.id]
911
+ }},init:function(){if(config.remote){for(var method in config.remote){if(config.remote.hasOwnProperty(method)){proxy[method]=_createMethod(config.remote[method],method)
912
+ }}}pub.down.init()
913
+ },destroy:function(){for(var method in config.remote){if(config.remote.hasOwnProperty(method)&&proxy.hasOwnProperty(method)){delete proxy[method]
914
+ }}pub.down.destroy()
915
+ }})
916
+ };
917
+ global.easyXDM=easyXDM
918
+ })(window,document,location,window.setTimeout,decodeURIComponent,encodeURIComponent);
919
+
920
+ /* res://connect-min/dev/includes/constants.js */
921
+
922
+ (function(){$_CONSTANTS={events:{normal:"normal",success:"success",unSuccess:"unSuccess",click:"click",mouseOver:"mouseOver",mouseOut:"mouseOut",mouseDown:"mouseDown",hover:"hover",frameworkLoaded:"frameworkLoaded",systemReady:"systemReady",auth:"auth",logout:"logout",refresh:"refresh",resize:"resize",noAuth:"noAuth",beforeUnload:"beforeunload",unload:"unload",load:"load"},states:{normal:"normal",success:"success",error:"error",unSuccess:"unSuccess",hovered:"hovered",clicked:"clicked",down:"down",hidden:"hidden",visible:"visible",pending:"pending",ready:"ready"},prefixes:{klass:".",id:"#",psuedo:":",IN:"IN-"},suffixes:{important:" !important;"},stats:{trkKeyed:"cws-fwk-keyed",trkAnon:"cws-fwk-anonymous",eType:"widgetJSTracking",wType:"framework"},conversions:{times:{msPerSecond:1000,secondsPerMinute:60,minutesPerHour:60,hoursPerDay:24,daysPerWeek:7,weeksPerMonth:4.34812003968254,monthsPerYear:12}},types:{object:"object",string:"string",func:"function",number:"number",undef:"undefined",bool:"boolean",integer:"integer",regex:"regex",html:"html",uiObject:"uiObject",globalEvent:"globalEvent"},formats:{click:"click",hover:"hover",inline:"inline"},modes:{hovercard:"hovercard",embedded:"embedded",inline:"inline",invisible:"invisible",modal:"modal",popup:"popup",auto:"auto",window:"window",inlineIframe:"inline-iframe",iframe:"iframe"},resources:{spinner16x16:"data:image/gif;base64,R0lGODlhEAAQAKIAAP///+bm5s7OzpycnGNjYwAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAAACwAAAAADgAQAAADNAi6MMNQOReBEG0CQta92cZ11seMZBlxClh55lu6Mi23GBQEsL3vOBDwx8MBiMei7ndLQhIAIfkEBQoAAAAsAgAAAA4ADgAAAyUIqiL7rzUIpRuDsouzVp33AdgIEYQJoKjJpi4cBOo8mzaN62MCACH5BAUKAAAALAAAAgAQAAwAAAMmCLoMIi2q92Sj0LK6QtDAMACeZ4li+UnoaGoiqBCEPNO1jOc6nwAAIfkEBQoAAAAsAgACAA4ADgAAAyUIEdD+ajH45KRu4Y2F4I3ngeJHmtswgICqYgTRulQcz7DN3lQCACH5BAUKAAAALAIAAAAMABAAAAMmCKoR+6w5GBtd9urNu/8XQVCCAIjiU5boOAzAaqbvG5tPDWv2kwAAIfkEBQoAAAAsAAACAA4ADgAAAyUIugwRLb4X2YR1UUBIXl33ceFImsswmKo6tqsgZK4sj/aM60sCACH5BAUKAAAALAAAAgAQAAwAAAMmCEqk/o8xSIFsFc7sxuBAEACel4li+VXoaHLiIwigM881cNM5DiYAIfkECQoAAAAsAAAAABAAEAAAAygIukDEkDkX1xhtVnBv3lwHMt4ICIKpoKjKpi6sjkEw17WK2zo//5EEADs="}};
923
+ var a=$_CONSTANTS.conversions.times;
924
+ a.secondsPerHour=a.secondsPerMinute*a.minutesPerHour;
925
+ a.secondsPerDay=a.secondsPerHour*a.hoursPerDay;
926
+ a.secondsPerWeek=a.secondsPerDay*a.daysPerWeek;
927
+ a.secondsPerMonth=Math.floor(a.secondsPerWeek*a.weeksPerMonth);
928
+ a.secondsPerYear=a.secondsPerMonth*a.monthsPerYear
929
+ })();
930
+
931
+ /* res://connect-min/dev/includes/patterns.js */
932
+
933
+ $_PATTERNS={url:(/^(http(s?)):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/i),domain:(/^(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/i),email:(/^[a-z0-9._%-]+@[a-z0-9.-]+\.[a-z]{2,4}$/i),protocols:{generic:(/^http(s)?:\/\//i),secure:(/^https:\/\//i),nonSecure:(/^http:\/\//i)},userAgents:{webkit:(/Webkit|KHTML\//i),gecko:(/Gecko\/([^\s]*)/i),msie:(/MSIE\s([^;]*)/),opera:(/Opera[\s\/]([^\s]*)/)},context:{upperCase:(/([A-Z])/g),lowerCase:(/([a-z])/g)},types:{number:(/^[0-9\.,]+$/),htmlAttribute:(/^[a-z0-9\._\-]+$/i),token:(/^[a-z0-9\.\-\_%]+$/i),bool:(/^true|yes|1$/i),boolFalse:(/^false|no|0$/i)},readyState:(/loaded|complete/),tags:{initialized:(/\+init$/)},prefixes:{forwardSlash:(/^\//),urlEq:(/^url=/i)},chars:{tilde:(/^~$/),amp:(/&/g),lt:(/</g),gt:(/>/g),quot:(/"/g),squot:(/'/),dot:(/\./g),star:(/\*/g)}};
934
+
935
+ /* res://connect-min/dev/includes/globals.js */
936
+
937
+ $_GLOBALS={shadowBox:{theClass:"IN-shadowed",altOpacity:0.2},hovercardOffset:function(a){return[{fixed:"tr",movable:"tl",offsetY:-1*a},{fixed:"tl",movable:"tr",offsetY:-1*a},{fixed:"bl",movable:"br",offsetY:a},{fixed:"br",movable:"bl",offsetY:a},{fixed:"tl",movable:"br",offsetY:a},{fixed:"tr",movable:"bl",offsetY:a}]
938
+ }};
939
+
940
+ /* res://connect-min/dev/connect/core.js */
941
+
942
+ IN=window.IN||{};
943
+ if(!window.console){window.console={}
944
+ }if(typeof window.console.log!==$_CONSTANTS.types.func){window.console.log=function(){}
945
+ }if(typeof window.console.warn!==$_CONSTANTS.types.func){window.console.warn=function(){}
946
+ }window.JSON=JSON;
947
+ window.Sslac=Sslac;
948
+ (function(){if(!IN.ENV||!IN.ENV.js){return
949
+ }var g=IN.ENV.js.extensions||{},f,d=IN.ENV.url.base_js_url,a=/PATH_INFO/,e=IN.$extensions;
950
+ IN.$extensions=function(i,h){if(!h){return e(i)
951
+ }IN.Event.on(IN,$_CONSTANTS.events.frameworkLoaded,function(){h();
952
+ IN.ENV.js.extensions[i].loaded=true
953
+ })
954
+ };
955
+ for(var b in g){if(g.hasOwnProperty(b)){var c=g[b];
956
+ if(c.loaded){continue
957
+ }f=document.createElement("script");
958
+ f.type="text/javascript";
959
+ f.src=c.src||d.replace(a,"extensions/"+b);
960
+ document.getElementsByTagName("head")[0].appendChild(f)
961
+ }}})();
962
+ if(IN.ENV&&IN.ENV.js){var TYPES=$_CONSTANTS.types,key,paramsMap={authorize:{type:TYPES.bool},debug:{type:TYPES.bool},suppressWarnings:{type:TYPES.bool},deferParse:{type:TYPES.bool,defaultValue:false},statistics:{type:TYPES.bool,defaultValue:true},isFramed:{type:TYPES.bool,defaultValue:(window.self!==window.parent)}};
963
+ for(key in paramsMap){if(paramsMap.hasOwnProperty(key)){if(typeof IN.ENV.js[key]!==TYPES.undef){switch(paramsMap[key].type){case TYPES.bool:IN.ENV.js[key]=$_PATTERNS.types.bool.test(IN.ENV.js[key]);
964
+ break;
965
+ case TYPES.integer:IN.ENV.js[key]=parseInt(IN.ENV.js[key],10);
966
+ break;
967
+ case TYPES.number:IN.ENV.js[key]=Number(IN.ENV.js[key]);
968
+ break;
969
+ case TYPES.string:default:break
970
+ }}if((typeof IN.ENV.js[key]===TYPES.undef)&&(typeof paramsMap[key].defaultValue!==TYPES.undef)){IN.ENV.js[key]=paramsMap[key].defaultValue
971
+ }}}}Sslac.Function("IN.$Tag",function(b,a){a=a||document;
972
+ return a.getElementsByTagName(b)
973
+ });
974
+ Sslac.Function("IN.$Id",function(a){return(typeof(a)===$_CONSTANTS.types.string)?document.getElementById(a):a
975
+ });
976
+ Sslac.Function("IN.$Class",function(c,b,d){var a=function(f,e,g){if(document.getElementsByClassName){a=function(n,q,m){m=m||document;
977
+ var h=m.getElementsByClassName(n),p=(q)?new RegExp("\\b"+q+"\\b","i"):null,j=[],l;
978
+ for(var k=0,o=h.length;
979
+ k<o;
980
+ k+=1){l=h[k];
981
+ if(!p||p.test(l.nodeName)){j.push(l)
982
+ }}return j
983
+ }
984
+ }else{if(document.evaluate){a=function(r,u,q){u=u||"*";
985
+ q=q||document;
986
+ var k=r.split(" "),s="",o="http://www.w3.org/1999/xhtml",t=(document.documentElement.namespaceURI===o)?o:null,l=[],h,i;
987
+ for(var m=0,n=k.length;
988
+ m<n;
989
+ m+=1){s+="[contains(concat(' ', @class, ' '), ' "+k[m]+" ')]"
990
+ }try{h=document.evaluate(".//"+u+s,q,t,0,null)
991
+ }catch(p){h=document.evaluate(".//"+u+s,q,null,0,null)
992
+ }while((i=h.iterateNext())){l.push(i)
993
+ }return l
994
+ }
995
+ }else{a=function(v,y,u){y=y||"*";
996
+ u=u||document;
997
+ var o=v.split(" "),x=[],h=(y==="*"&&u.all)?u.all:u.getElementsByTagName(y),t,q=[],s;
998
+ for(var p=0,i=o.length;
999
+ p<i;
1000
+ p+=1){x.push(new RegExp("(^|\\s)"+o[p]+"(\\s|$)"))
1001
+ }for(var n=0,w=h.length;
1002
+ n<w;
1003
+ n+=1){t=h[n];
1004
+ s=false;
1005
+ for(var j=0,r=x.length;
1006
+ j<r;
1007
+ j+=1){s=x[j].test(t.className);
1008
+ if(!s){break
1009
+ }}if(s){q.push(t)
1010
+ }}return q
1011
+ }
1012
+ }}return a(f,e,g)
1013
+ };
1014
+ return a(c,b,d)
1015
+ });
1016
+ (function(){var b=0;
1017
+ var a="li_gen_";
1018
+ Sslac.Function("IN.$uid",function(d){var c=((d)?d+"_":"")+a+(new Date()).getTime()+"_"+(b++);
1019
+ return c
1020
+ })
1021
+ })();
1022
+ (function(){var a=function(b,c,e,d){return function(){if(c){window.setTimeout(function(){window[b]=undefined
1023
+ },50)
1024
+ }e.apply(d,arguments)
1025
+ }
1026
+ };
1027
+ Sslac.Function("IN.$fn",function(e,d,c){var b=IN.$uid("fn");
1028
+ window[b]=a(b,c,e,d);
1029
+ return b
1030
+ })
1031
+ })();
1032
+
1033
+ /* res://connect-min/dev/lib/easyxdm_noconflict.js */
1034
+
1035
+ IN.Lib=IN.Lib||{};
1036
+ IN.Lib.easyXDM=easyXDM.noConflict("IN.Lib");
1037
+
1038
+ /* res://connect-min/dev/statistics/statistics.js */
1039
+
1040
+ (function(){if(!IN.ENV.js.statistics){return
1041
+ }var p=IN.ENV.statsQueue||[],d=false,e=/([a-z_-])*\:\{\}(,)*/gi,o=/,\}/g,b=$_CONSTANTS.events,l={env:{},events:{},tags:{},apis:{}},n={types:{apis:"a",tags:"t",profiler:"p",env:"e",action:"a",count:"c"},actions:{click:"c"},apis:{raw:"r",profile:"p",group:"g",connections:"c",memberupdates:"m",networkupdates:"n",peoplesearch:"ps",comment:"co",post:"po"},tags:{share:"s",apply:"a",login:"l",recommendproduct:"r",companyprofile:"cp",companyinsider:"ci",memberdata:"md",memberprofile:"mp",fullmemberprofile:"fmp",jymbii:"j",mail:"m",wizard:"w",employeeprofilewidget:"xemp",coreg:"xcr",sfdc:"xsf"},profiler:{"bl":["bootstrapInit","bootstrapLoaded"],"be":["bootstrapInit","userspaceRequested"],"fl":["bootstrapInit",b.frameworkLoaded]}};
1042
+ function c(w,v){if(!w||!v){return NaN
1043
+ }var u=Math.min(w.length,v.length),x=0,t;
1044
+ t=u;
1045
+ for(;
1046
+ u--;
1047
+ ){x+=Math.abs(w[u]-v[u])
1048
+ }return Math.ceil(x/t)
1049
+ }function f(){var B=["tags","apis","profiler","env"],y={};
1050
+ for(var z=B.length;
1051
+ z--;
1052
+ ){var F,D=B[z],C=y[n.types[D]||D]={};
1053
+ if(D==="profiler"){for(F in n.profiler){if(n.profiler.hasOwnProperty(F)){var t=n.profiler[F],E=c(l.events[t[1]],l.events[t[0]]);
1054
+ if(!(E===0||isNaN(E)||!E)){C[F]=E
1055
+ }}}}else{if(D==="env"){if(IN.ENV.js.isFramed){C.f=1
1056
+ }if(IN.ENV.auth.api_key){C.a=IN.ENV.auth.api_key
1057
+ }}else{if(D==="apis"||D==="tags"){var A=l[D];
1058
+ for(F in A){if(A.hasOwnProperty(F)){var x=C[n[D][F]]={};
1059
+ x[n.types.count]=A[F].count;
1060
+ var w=null;
1061
+ for(var v in A[F].actions){if(A[F].actions.hasOwnProperty(v)){w=w||{};
1062
+ w[n.actions[v]||v]=A[F].actions[v].length
1063
+ }}if(w){x[n.types.action]=w
1064
+ }if(A[F].profiler){var u=c(A[F].profiler.end,A[F].profiler.start);
1065
+ if(!(u===0||isNaN(u)||!u)){x[n.types.profiler]=u
1066
+ }else{x[n.types.profiler]={}
1067
+ }}}}}}}}return JSON.stringify(y).replace($_PATTERNS.chars.quot,"").replace(e,"").replace(o,"")
1068
+ }function k(i){i=i.split(":");
1069
+ if(i.length<2){return{type:"tags",who:i[0].toLowerCase()}
1070
+ }return{type:i[0],who:i[1].toLowerCase()}
1071
+ }function a(u){var i=k(u);
1072
+ if(!l[i.type]){return
1073
+ }var t=l[i.type][i.who]=l[i.type][i.who]||{};
1074
+ t.count=1+(t.count||0)
1075
+ }function q(i,v,w){var t=k(v),u;
1076
+ if(!l[t.type]){return
1077
+ }u=l[t.type][t.who];
1078
+ if(u){if(!u[i]){u[i]={}
1079
+ }if(!u[i][w]){u[i][w]=[]
1080
+ }u[i][w].push(+new Date())
1081
+ }}function g(i,t){q("action",i,t)
1082
+ }function h(t,u){var i=l.events;
1083
+ if(!i[t]){i[t]=[]
1084
+ }i[t].push(u||+new Date())
1085
+ }function j(i,t){var u=(t)?"end":"start";
1086
+ q("profiler",i,u)
1087
+ }function r(){if(!d){var v=f(),u=$_PATTERNS.protocols.secure.test(location.href)?IN.ENV.url.analytics_url:IN.ENV.url.analytics_us_url,t=new Image(),i=$_CONSTANTS.stats;
1088
+ t.src=u.replace("__ETYPE__",i.eType).replace("__TINFO__",(IN.ENV.js.apiKey)?i.trkKeyed:i.trkAnon).replace("__WTYPE__",i.wType).replace("__TRKINFO__",encodeURIComponent(v)).replace("__ORIGIN__",encodeURIComponent(location.href))+"&"+(+new Date());
1089
+ d=true
1090
+ }}$_STATISTICS={instance:a,recordAction:g,recordEvent:h,profile:j,firePing:r};
1091
+ for(var m=p.length;
1092
+ m--;
1093
+ ){for(var s in p[m]){if(p[m].hasOwnProperty(s)){h(s,p[m][s])
1094
+ }}}IN.ENV.statsQueue=undefined;
1095
+ IN.Event.on(window,b.beforeUnload,$_STATISTICS.firePing);
1096
+ IN.Event.on(window,b.unload,$_STATISTICS.firePing)
1097
+ })();
1098
+
1099
+ /* res://connect-min/dev/event/custom.js */
1100
+
1101
+ Sslac.Class("IN.CustomEvent").Constructor(function(a,b){this.occursOnlyOnce=(b)?true:false;
1102
+ this.fired=false;
1103
+ this.firedArgs=[];
1104
+ this.name=a;
1105
+ this.events=[]
1106
+ }).Method("unsubscribe",function(f,h,c,b){var j=this.events;
1107
+ var a=[];
1108
+ for(var d=0,e=j.length;
1109
+ d<e;
1110
+ d++){var g=j[d];
1111
+ if(g.fn!==f||g.scope!==h||g.obj!==c||g.once!==b){a.push(g)
1112
+ }}this.events=a
1113
+ }).Method("subscribe",function(e,d,f,c){var a={fn:e,scope:d,obj:f,once:c};
1114
+ var b=this.firedArgs;
1115
+ if(this.fired&&this.occursOnlyOnce){b.push((a.obj||{}));
1116
+ a.fn.apply((a.scope||window),b)
1117
+ }else{this.events[this.events.length]=a
1118
+ }}).Method("fire",function(){if(this.fired&&this.occursOnlyOnce){return false
1119
+ }var e=[];
1120
+ this.firedArgs=[].slice.apply(arguments);
1121
+ this.fired=true;
1122
+ for(var d=0,a=this.events.length;
1123
+ d<a;
1124
+ d++){var b=this.events[d];
1125
+ var c=[].slice.apply(arguments);
1126
+ c.push((b.obj||{}));
1127
+ if(!b.once){e.push(b)
1128
+ }b.fn.apply((b.scope||window),c)
1129
+ }$_STATISTICS.recordEvent(this.name);
1130
+ this.events=e;
1131
+ return true
1132
+ });
1133
+
1134
+ /* res://connect-min/dev/event/global.js */
1135
+
1136
+ (function(){var a=$_CONSTANTS.events;
1137
+ Sslac.Static("IN.GlobalEvents");
1138
+ IN.GlobalEvents.auth=new IN.CustomEvent(a.auth);
1139
+ IN.GlobalEvents.noAuth=new IN.CustomEvent(a.noAuth);
1140
+ IN.GlobalEvents.logout=new IN.CustomEvent(a.logout);
1141
+ IN.GlobalEvents.refresh=new IN.CustomEvent(a.refresh);
1142
+ IN.GlobalEvents.systemReady=new IN.CustomEvent(a.systemReady,true);
1143
+ IN.GlobalEvents.frameworkLoaded=new IN.CustomEvent(a.frameworkLoaded,true)
1144
+ })();
1145
+
1146
+ /* res://connect-min/dev/event/event.js */
1147
+
1148
+ IN.Event=null;
1149
+ (function(){var h={};
1150
+ var g=null;
1151
+ function c(r,m,p){if(!p.preventDefault){p.preventDefault=function(){p.returnValue=false
1152
+ }
1153
+ }if(!p.stopPropagation){p.stopPropagation=function(){p.cancelBubble=true
1154
+ }
1155
+ }if(!p.stopEvent){p.stopEvent=function(){p.preventDefault();
1156
+ p.stopPropagation()
1157
+ }
1158
+ }var l=h[r][m];
1159
+ var k=l.el;
1160
+ var j=[];
1161
+ for(var n=0,o=l.length;
1162
+ n<o;
1163
+ n++){var q=l[n];
1164
+ q.fn.call((q.scope||k),p,q.obj);
1165
+ if(!q.fireOnce){j.push(q)
1166
+ }}h[r][m]=j
1167
+ }Sslac.Static("IN.Event").Static("remove",function(m,A,p,k,r,t){var j=$_CONSTANTS.types,o=IN.Event.getElType(m),q=A.toLowerCase();
1168
+ switch(o){case j.string:m=IN.$Id(m);
1169
+ case j.html:var v=IN.Event.getElKey(m);
1170
+ if(!h[v]||!h[v][q]){return
1171
+ }var u=h[v][q];
1172
+ var z=[];
1173
+ for(var w=0,x=u.length;
1174
+ w<x;
1175
+ w++){var l=u[w];
1176
+ if(l.el!==m||l.fn!==p||l.scope!==k||l.obj!==r||l.fireOnce!==t){z.push(l)
1177
+ }}h[v][q]=z;
1178
+ break;
1179
+ case j.uiObject:try{var n="un"+A.charAt(0).toUpperCase()+A.substr(1);
1180
+ if(m[n]){m[n](p,k,r,t)
1181
+ }else{m[n.toLowerCase()](p,k,r,t)
1182
+ }}catch(y){}break;
1183
+ case j.globalEvent:var s=IN.GlobalEvents[A];
1184
+ if(!s){throw new Error("Global Event "+A+" is not defined.")
1185
+ }return s.unsubscribe(p,k,r,t);
1186
+ break
1187
+ }}).Static("getElKey",function(i){if(!i.getAttribute){return i
1188
+ }var j=i.id||i.getAttribute("data-IN-event-id");
1189
+ if(!j){j=IN.$uid();
1190
+ i.setAttribute("data-IN-event-id",j)
1191
+ }return"k"+j
1192
+ }).Static("getElType",function(j){var i=$_CONSTANTS.types;
1193
+ if(typeof(j)===i.string){return i.string
1194
+ }if(j!==window&&(typeof(j)==i.func||typeof(j)==i.object)){try{var k=(j instanceof IN.Objects.Base);
1195
+ if(k){return i.uiObject
1196
+ }}catch(l){}}if(j===IN){return i.globalEvent
1197
+ }return i.html
1198
+ }).Static("onOnce",function(k,m,j,i,l){return IN.Event.on(k,m,j,i,l,true)
1199
+ }).Static("on",function(k,l,v,z,o,n){try{if(k&&k.constructor&&k.constructor.toString().indexOf("Array")>-1){for(var p=0,r=k.length;
1200
+ p<r;
1201
+ p++){IN.Event.on(k[p],l,v,z,o,n)
1202
+ }return
1203
+ }}catch(s){}var t=IN.Event.getElType(k),q=false,u=l.toLowerCase(),m=$_CONSTANTS.types;
1204
+ switch(t){case m.string:k=IN.$Id(k);
1205
+ case m.html:var y=IN.Event.getElKey(k);
1206
+ if(!h[y]){h[y]={el:k}
1207
+ }if(!h[y][u]){h[y][u]=[];
1208
+ q=true
1209
+ }h[y][u].push({fn:v,scope:z,obj:o,fireOnce:n});
1210
+ if(q){var x=function(i){c(y,u,i)
1211
+ };
1212
+ if(window.addEventListener){k.addEventListener(l,x,false)
1213
+ }else{k.attachEvent("on"+l,x)
1214
+ }}break;
1215
+ case m.uiObject:try{var j="on"+l.charAt(0).toUpperCase()+l.substr(1);
1216
+ if(k[j]){k[j](v,z,o,n)
1217
+ }else{k[j.toLowerCase()](v,z,o,n)
1218
+ }}catch(s){}break;
1219
+ case m.globalEvent:var w=IN.GlobalEvents[l];
1220
+ if(!w){throw new Error("Global Event "+l+" is not defined.")
1221
+ }return w.subscribe(v,z,o,n);
1222
+ break
1223
+ }}).Static("onDOMReady",function(){var k=[];
1224
+ var m=null;
1225
+ var l=false;
1226
+ function n(r,q){q=q||window;
1227
+ if(l){r.call(q);
1228
+ return
1229
+ }else{k[k.length]={fn:r,scope:q}
1230
+ }}function p(){var r;
1231
+ for(var s=0,q=k.length;
1232
+ s<q;
1233
+ s++){r=k[s];
1234
+ r.fn.call(r.scope)
1235
+ }}function j(q){if(q&&(q.type=="DOMContentLoaded"||q.type=="load")){i()
1236
+ }if(document.readyState){if(($_PATTERNS.readyState).test(document.readyState)){i()
1237
+ }}if(document.documentElement.doScroll&&window==window.top){try{l||document.documentElement.doScroll("left");
1238
+ i()
1239
+ }catch(q){}}}function i(){if(!l){l=true;
1240
+ if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",j,false)
1241
+ }document.onreadystatechange=null;
1242
+ clearInterval(timer);
1243
+ timer=null;
1244
+ p()
1245
+ }}if(document.addEventListener){document.addEventListener("DOMContentLoaded",j,false)
1246
+ }document.onreadystatechange=j;
1247
+ timer=setInterval(j,5);
1248
+ if(window.onload){var o=window.onload;
1249
+ if(IN.ENV.evtQueue){IN.ENV.evtQueue.push({type:"on",args:[window,"load",o]})
1250
+ }else{IN.Event.on(window,"load",o)
1251
+ }}window.onload=j;
1252
+ return n
1253
+ }());
1254
+ if(IN.ENV&&IN.ENV.evtQueue){for(var d=0,a=IN.ENV.evtQueue.length;
1255
+ d<a;
1256
+ d++){var f=IN.ENV.evtQueue[d],e=IN.Event[f.type],b=f.args;
1257
+ e.apply(window,b)
1258
+ }IN.ENV.evtQueue=null
1259
+ }})();
1260
+
1261
+ /* res://connect-min/dev/util/util.js */
1262
+
1263
+ Sslac.Function("IN.Util.trim",function(b,a){a=a||"\\s";
1264
+ return b.replace(new RegExp("^(?:"+a+")+|(?:"+a+")+$","g"),"")
1265
+ });
1266
+ Sslac.Function("IN.Util.findIn",function(f,e){var d=e.split(/\./),b=f;
1267
+ for(var c=0,a=d.length;
1268
+ c<a;
1269
+ c++){if(!b[d[c]]){throw new Error("not found")
1270
+ }b=b[d[c]]
1271
+ }return b
1272
+ });
1273
+ Sslac.Function("IN.Util.assembleRootURL",function(a){return a.protocol+"://"+a.host+((a.port)?":"+a.port:"")
1274
+ });
1275
+ Sslac.Function("IN.Util.getRootURL",function(a){var b=IN.Util.getRootURLObject(a);
1276
+ return IN.Util.assembleRootURL(b)
1277
+ });
1278
+ Sslac.Function("IN.Util.getRootDomain",function(a){var b=IN.Util.getRootURLObject(a);
1279
+ return b.host
1280
+ });
1281
+ Sslac.Function("IN.Util.getRootURLObject",function(b){b=b||location.href;
1282
+ if(b.indexOf("//")==0){b=window.location.protocol+b
1283
+ }if(b.indexOf("://")==-1){b=window.location.protocol+"//"+b
1284
+ }var c=b.substring(b.indexOf("://")+3);
1285
+ var e=b.substring(0,b.indexOf("://")).toLowerCase();
1286
+ c=(c.indexOf("/")!=-1)?c.substring(0,c.indexOf("/")):c;
1287
+ var d=c.indexOf(":");
1288
+ var a="";
1289
+ if(d>=0){a=c.substring(d+1);
1290
+ c=c.substring(0,d)
1291
+ }if((a==="80"&&e==="http")||(a==="443"&&e==="https")){a=""
1292
+ }return{protocol:e,host:c,port:a}
1293
+ });
1294
+ Sslac.Function("IN.Util.getDebuggerUrl",function(){try{return window.location.href.replace(window.location.hash,"").replace(document.domain,"").replace(/https?:\/\//g,"")
1295
+ }catch(a){return(window.opener)?"[spawned window]":(window.parent&&window.self!=window.parent)?"[spawned frame]":"[parent window]"
1296
+ }});
1297
+ (function(){var a;
1298
+ Sslac.Function("IN.Util.addCSS",function(c){if(document.createStyleSheet){try{document.createStyleSheet().cssText=c
1299
+ }catch(d){try{document.styleSheets[0].cssText+=c
1300
+ }catch(b){}}}else{if(!a){a=document.createElement("style");
1301
+ a.type="text/css";
1302
+ document.getElementsByTagName("head")[0].appendChild(a)
1303
+ }a.textContent=[a.textContent,c].join("")
1304
+ }})
1305
+ })();
1306
+ (function(){var b={};
1307
+ function a(c){if(!b[c]){b[c]=new RegExp("(\\s|^)"+c+"(\\s|$)")
1308
+ }return b[c]
1309
+ }Sslac.Function("IN.Util.hasClass",function(d,c){return(d&&d.className&&d.className.match(a(c)))
1310
+ });
1311
+ Sslac.Function("IN.Util.addClass",function(d,c){if(!IN.Util.hasClass(d,c)&&(typeof d.className!==$_CONSTANTS.types.undef)){d.className=IN.Util.trim(d.className+" "+c)
1312
+ }});
1313
+ Sslac.Function("IN.Util.removeClass",function(d,c){var e="";
1314
+ if(IN.Util.hasClass(d,c)){e=IN.Util.trim(d.className.replace(a(c)," "));
1315
+ if(e){d.className=e
1316
+ }else{d.className="";
1317
+ d.removeAttribute("class");
1318
+ d.removeAttribute("className")
1319
+ }}})
1320
+ })();
1321
+ Sslac.Function("IN.Util.isArray",function(a){if(!a||!a.constructor){return false
1322
+ }return !(a.constructor.toString().indexOf("Array")==-1)
1323
+ });
1324
+ Sslac.Function("IN.Util.isObject",function(a){return typeof a===$_CONSTANTS.types.object
1325
+ });
1326
+ Sslac.Function("IN.Util.isNode",function(b){var a=$_CONSTANTS.types;
1327
+ return(typeof Node===a.object?b instanceof Node:typeof b===a.object&&typeof b.nodeType===a.number&&typeof b.nodeName===a.string)
1328
+ });
1329
+ Sslac.Function("IN.Util.isElement",function(b){var a=$_CONSTANTS.types;
1330
+ return(typeof HTMLElement===a.object?b instanceof HTMLElement:typeof b===a.object&&b.nodeType===1&&typeof b.nodeName===a.string)
1331
+ });
1332
+ Sslac.Function("IN.Util.toObject",function(f,l,a){var d={},k,m,h,b=$_CONSTANTS.types;
1333
+ l=l||[];
1334
+ if(!f||f.legth<=0){return d
1335
+ }if(typeof(l)===b.string||typeof(l)===b.func){l=[l]
1336
+ }for(var e=0,g=f.length;
1337
+ e<g;
1338
+ e++){m=f[e];
1339
+ k=e;
1340
+ for(var c=l.length-1;
1341
+ c>=0;
1342
+ c--){h=m[l[c]];
1343
+ if(typeof(h)===b.func){h=h(e);
1344
+ if(h){k=h
1345
+ }}else{if(typeof h!==$_CONSTANTS.types.undef){k=h
1346
+ }}}k=""+k;
1347
+ if(a){k=a(e,k)
1348
+ }d[k]=m
1349
+ }return d
1350
+ });
1351
+ Sslac.Function("IN.Util.parseParams",function(h){var c={},j,d,a,g;
1352
+ for(var e=0,b=h.split("&"),f=b.length;
1353
+ e<f;
1354
+ e++){j=b[e];
1355
+ d=j.split("=");
1356
+ a=decodeURIComponent(d.splice(0,1));
1357
+ g=decodeURIComponent(d.join("="));
1358
+ c[a]=g
1359
+ }return c
1360
+ });
1361
+ Sslac.Function("IN.Util.validateAttributes",function(b,l){var f="isValid_"+(+new Date());
1362
+ function k(s){if(typeof l[s][f]!==$_CONSTANTS.types.undef){return l[s][f]
1363
+ }var m=l[s].transform;
1364
+ if(m){try{b[s]=m(b[s]);
1365
+ l[s][f]=true;
1366
+ return true
1367
+ }catch(p){var q=e.invalidError||s+" is not a valid "+s+" ({0})";
1368
+ throw new Error(IN.Util.formatString(q,b[s]))
1369
+ }}var r=b[s],o=l[s].match;
1370
+ if(!o||!r){return true
1371
+ }var i=typeof o,t=true,n=$_CONSTANTS.types;
1372
+ i=(o instanceof RegExp)?"regex":i;
1373
+ switch(i){case n.func:t=o(r);
1374
+ break;
1375
+ case n.string:o=new Regex(o);
1376
+ case n.regex:r=b[s];
1377
+ t=o.test(r);
1378
+ break;
1379
+ default:break
1380
+ }l[s][f]=t;
1381
+ return t
1382
+ }for(var j in l){if(l.hasOwnProperty(j)){var e=l[j];
1383
+ var a=k(j);
1384
+ if(!a){var h=e.invalidError||j+" is not a valid "+j+" ({0})";
1385
+ throw new Error(IN.Util.formatString(h,b[j]))
1386
+ }if(e.defaultValue&&(!a||!b[j])){b[j]=e.defaultValue;
1387
+ continue
1388
+ }if(e.required===true){if(b[j]&&a){continue
1389
+ }else{var d=true;
1390
+ if(e.exception){for(var c=e.exception.length;
1391
+ c--;
1392
+ ){var g=e.exception[c];
1393
+ if(b[g]&&k(g)){d=false;
1394
+ break
1395
+ }}}if(d){h=e.error||j+" was not provided";
1396
+ throw new Error(h)
1397
+ }}}}}return b
1398
+ });
1399
+ Sslac.Function("IN.Util.createParams",function(g){var d=[],f=0;
1400
+ for(var c in g){if(c==="type"&&IN.Util.isArray(g[c])){var e=g[c];
1401
+ for(var b=0,a=e.length;
1402
+ b<a;
1403
+ b++){d[f++]=encodeURIComponent(c)+"="+encodeURIComponent(e[b])
1404
+ }}else{d[f++]=encodeURIComponent(c)+"="+encodeURIComponent(g[c])
1405
+ }}return d.join("&")
1406
+ });
1407
+ Sslac.Function("IN.Util.base64decode",function(f,h){var a=(h)?"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
1408
+ var d=[],g,c,b,m,l,k,j;
1409
+ for(var e=0;
1410
+ e<f.length;
1411
+ ){m=a.indexOf(f.charAt(e++));
1412
+ l=a.indexOf(f.charAt(e++));
1413
+ k=a.indexOf(f.charAt(e++));
1414
+ j=a.indexOf(f.charAt(e++));
1415
+ g=(m<<2)+(l>>4);
1416
+ c=((l&15)<<4)+(k>>2);
1417
+ b=((k&3)<<6)+j;
1418
+ d[d.length]=String.fromCharCode(g);
1419
+ if(k!=64){d[d.length]=String.fromCharCode(c)
1420
+ }if(j!=64){d[d.length]=String.fromCharCode(b)
1421
+ }}return d.join("")
1422
+ });
1423
+ (function(){var a=["00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4","E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE","1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9","FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B","35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A","C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924","2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F","9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01","6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950","8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2","4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5","AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F","5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6","03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8","E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB","196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5","D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C","36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236","CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31","2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713","95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242","68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C","8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7","4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9","BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8","5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D"].join(" ");
1424
+ Sslac.Function("IN.Util.crc32",function(f){var e=0,g=0,c=0;
1425
+ e=e^(-1);
1426
+ for(var d=0,b=f.length;
1427
+ d<b;
1428
+ d++){g=(e^f.charCodeAt(d))&255;
1429
+ c="0x"+a.substr(g*9,8);
1430
+ e=(e>>>8)^c
1431
+ }return e^(-1)
1432
+ })
1433
+ })();
1434
+ Sslac.Function("IN.Util.RC4",function(r,n,d){var h=[];
1435
+ var l,k,m,a;
1436
+ var o=r.length,p=n.length;
1437
+ var g;
1438
+ var c="0123456789abcdef";
1439
+ var b=new Array();
1440
+ d=d||20;
1441
+ function e(j,q,i){var s=j[q];
1442
+ j[q]=j[i];
1443
+ j[i]=s
1444
+ }for(l=0;
1445
+ l<256;
1446
+ l++){h[l]=l;
1447
+ b[l]=((l<16)?"0":"")+l.toString(16)
1448
+ }for(l=0;
1449
+ l<256;
1450
+ l++){k=(k+h[l]+r.charCodeAt(l%o))%256;
1451
+ e(h,l,k)
1452
+ }l=0;
1453
+ k=0;
1454
+ g=[];
1455
+ for(a=0;
1456
+ a<d;
1457
+ a++){l=(l+1)%256;
1458
+ k=(k+h[l])%256;
1459
+ e(h,l,k)
1460
+ }for(a=0;
1461
+ a<p;
1462
+ a++){l=(l+1)%256;
1463
+ k=(k+h[l])%256;
1464
+ e(h,l,k);
1465
+ var f=String.fromCharCode(n.charCodeAt(a)^h[(h[l]+h[k])%256]);
1466
+ g[g.length]=b[f.charCodeAt(0)]
1467
+ }return g.join("")
1468
+ });
1469
+ Sslac.Function("IN.Util.getHashParams",function(){function g(j){var l=j+"=";
1470
+ var e=document.cookie.split(";");
1471
+ for(var k=0;
1472
+ k<e.length;
1473
+ k++){var m=e[k];
1474
+ while(m.charAt(0)==" "){m=m.substring(1,m.length)
1475
+ }if(m.indexOf(l)==0){return m.substring(l.length,m.length)
1476
+ }}return null
1477
+ }var a=window.name.replace(/[^a-z0-9]/gi,"_");
1478
+ var f=window.location.hash.substring(1);
1479
+ if(!f||f.indexOf("=")===-1){f=g("IN_HASH");
1480
+ if(f){f=decodeURIComponent(f)
1481
+ }}if(!f||f.indexOf("=")===-1){f=window.IN_HASH
1482
+ }if(!f||f.indexOf("=")===-1){return function(){return false
1483
+ }
1484
+ }document.cookie="IN_HASH="+encodeURIComponent(f);
1485
+ var h=IN.Util.parseParams(f);
1486
+ var i={};
1487
+ for(var b in h){var c=h[b];
1488
+ i[b]=c;
1489
+ if((b!="access_token")&&(b!="oauth_token")&&c.match(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/)){c=IN.Util.base64decode(c)
1490
+ }try{c=JSON.parse(c)
1491
+ }catch(d){}h[b]=c
1492
+ }return function(e){return(e)?i:h
1493
+ }
1494
+ }());
1495
+ Sslac.Function("IN.Util.throwWarning",function(a){if(!a||IN.ENV.js.suppressWarnings||!console||!console.warn){return
1496
+ }console.warn(a)
1497
+ });
1498
+ Sslac.Function("IN.Util.extendObject",function(){var f=arguments[0]||{};
1499
+ if(typeof f!==$_CONSTANTS.types.object){f={}
1500
+ }for(var b=1,c=arguments.length;
1501
+ b<c;
1502
+ b++){var e=arguments[b];
1503
+ if(e){for(key in e){var d=f[key];
1504
+ var a=e[key];
1505
+ if(f===a){continue
1506
+ }if(a&&(IN.Util.isObject(a)||IN.Util.isArray(a))){var g=d||{};
1507
+ f[key]=IN.Util.extendObject(g,a)
1508
+ }else{if(typeof a!==$_CONSTANTS.types.undef){f[key]=a
1509
+ }}}}}return f
1510
+ });
1511
+ Sslac.Function("IN.Util.clone",function(c){if(!IN.Util.isArray(c)){return IN.Util.extendObject({},c)
1512
+ }else{var d=[];
1513
+ for(var b=0,a=c.length;
1514
+ b--;
1515
+ ){d[b]=c[b]
1516
+ }return d
1517
+ }return c
1518
+ });
1519
+ Sslac.Function("IN.Util.toArray",function(c,b){if(IN.Util.isArray(c)){return c
1520
+ }else{if(IN.Util.isObject(c)&&!b){var d=[];
1521
+ for(var a in c){if(c.hasOwnProperty(a)){d.push(c[a])
1522
+ }}return d
1523
+ }else{return[c]
1524
+ }}});
1525
+ Sslac.Function("IN.Util.formatString",function(){var a=arguments;
1526
+ return a[0].replace(/{(\d+)}/g,function(b,c){c=Number(c);
1527
+ return(typeof a[1+c]!==$_CONSTANTS.types.undef)?a[1+c]:"{"+c+"}"
1528
+ })
1529
+ });
1530
+ Sslac.Function("IN.Util.computeGradientStyle",function(p,o){p=p.toLowerCase();
1531
+ o=IN.Util.toArray(o);
1532
+ var d=o.length,n={webkit:["-webkit-gradient(linear, left top, left bottom, {0})","-webkit-"],gecko:"-moz-",msieold:"progid:DXImageTransform.Microsoft.gradient({0}, GradientType=0)",msie:"-ms-",opera:"-o-",w3c:"linear-gradient(top, {0})"},l=IN.Util.toArray(n[p]||n.w3c),q=l.length,h={webkit:"color-stop({0}%,{1})",msieold:"startColorstr='{0}', endColorstr='{1}'",w3c:"{1} {0}%"},k,m,g;
1533
+ for(g=q;
1534
+ g--;
1535
+ ){if(l[g].length<10){l[g]=l[g]+n.w3c
1536
+ }}h.webkit=[h.webkit,h.w3c];
1537
+ h=h[p]||h.w3c;
1538
+ function c(j){var i=o[j].split(":");
1539
+ k={};
1540
+ if(i.length>1){k.stop=i[0];
1541
+ k.color=i[1]
1542
+ }else{k.color=i[0];
1543
+ k.stop=Math.round(j/(d-1)*100)
1544
+ }return k
1545
+ }if(p==="msieold"){var a=c(0).color,e=c(d-1).color;
1546
+ k=IN.Util.formatString(h,a,e);
1547
+ m=IN.Util.formatString(l[0],k)
1548
+ }else{h=IN.Util.toArray(h);
1549
+ m=[];
1550
+ for(g=0;
1551
+ g<q;
1552
+ g++){var b=[];
1553
+ for(var f=0;
1554
+ f<d;
1555
+ f++){k=c(f);
1556
+ b.push(IN.Util.formatString(h[g],k.stop,k.color))
1557
+ }b=b.join(", ");
1558
+ m.push(IN.Util.formatString(l[g],b))
1559
+ }m=m.join($_CONSTANTS.suffixes.important+" background-image: ")
1560
+ }return m
1561
+ });
1562
+ Sslac.Function("IN.Util.relativeTime",function(i){if(typeof i==="string"){i=+new Date(i)
1563
+ }if(!i){return""
1564
+ }var d=$_CONSTANTS.conversions.times,b=+new Date(),l=+new Date().getTimezoneOffset()*d.secondsPerMinute,e=b+l,a=Math.round((e-i)/d.msPerSecond);
1565
+ if(a>d.secondsPerYear){var g=new Date(i);
1566
+ var c=["January","February","March","April","May","June","July","August","September","October","November","December"];
1567
+ return IN.Util.formatString("on {0} {1}, {2}",c[g.getMonth()],g.getDate(),g.getFullYear())
1568
+ }else{if(a<=0){return""
1569
+ }}var k,f,h=[{unit:"minute",seconds:d.secondsPerMinute},{unit:"hour",seconds:d.secondsPerHour},{unit:"day",seconds:d.secondsPerDay},{unit:"week",seconds:d.secondsPerWeek},{unit:"month",seconds:d.secondsPerMonth}];
1570
+ for(k=h.length-1;
1571
+ (k>=0)&&((f=a/h[k].seconds)<=1);
1572
+ k--){}if(k<0){k=0
1573
+ }f=Math.floor(f);
1574
+ if(f<1){f=1
1575
+ }var j=(f===1)?"":"s";
1576
+ if(f===1){if(k===2){return"yesterday"
1577
+ }else{if(k>1){return"last "+h[k].unit
1578
+ }}}return[Math.floor(f),""+h[k].unit+j,"ago"].join(" ")
1579
+ });
1580
+ (function(){var a={},c="___JS_REPLACE___",g="___END_JS_REPLACE___",i=/^\n*/,d=/\n*$/,j=/"/g,h=/___JS_REPLACE___=(.+?)___END_JS_REPLACE___/g,e=/("(?:(?!___JS_REPLACE___).)*)___END_JS_REPLACE___/g,f=/[-[\]{}()*+?.,\\^$|#\s]/g;
1581
+ function k(l){return l.replace(j,"\r")
1582
+ }function b(l){return l.replace(f,"\\$&")
1583
+ }Sslac.Function("IN.Util.createJSTemplate",function(q,l){var m="t"+Math.abs(IN.Util.crc32(q));
1584
+ if(a[m]){return a[m]
1585
+ }if(!l&&IN.ENV&&IN.ENV.js&&IN.ENV.js.templateMarkers){l=IN.ENV.js.templateMarkers
1586
+ }l=l||"<?js ?>";
1587
+ l=l.split(" ");
1588
+ var p=l[0]||"<?js",o=l[1]||"?>";
1589
+ if(!p||!o){throw new Error("Template markers must be set.")
1590
+ }if(p==o){throw new Error("Start and end markers cannot be identical.")
1591
+ }p=new RegExp(b(p),"g");
1592
+ o=new RegExp(b(o),"g");
1593
+ var n=["","var p=[],","$=function(v) {",'return (v == "*") ? obj : obj[v];',"},","print=function() {","p.push.apply(p, arguments);","};","with(obj) {","try {",'p.push("',q.replace(p,c).replace(o,g).split("\r").join("").split("\t").join(" ").replace(i,"").replace(d,"").split("\n").join("\\n").replace(e,k).split('"').join('\\"').split("\r").join('"').replace(h,'",$1,"').split(c).join('");').split(g).join('p.push("'),'");',"}","catch(_tmplEx_) {",'p.push("Error: ", _tmplEx_.message)',"}","}",'return p.join("");',""].join("");
1594
+ a[m]=new Function("obj",n);
1595
+ return a[m]
1596
+ })
1597
+ })();
1598
+
1599
+ /* res://connect-min/dev/util/support.js */
1600
+
1601
+ Sslac.Static("IN.Util.support").Static("li_attributesSpecified",
1602
+ /*@cc_on true || @*/
1603
+ false).Static("li_createStyleSheet",
1604
+ /*@cc_on true || @*/
1605
+ false);
1606
+
1607
+ /* res://connect-min/dev/util/hashqueue.js */
1608
+
1609
+ Sslac.Class("IN.Util.HashQueue").Constructor(function(){this.queues={};
1610
+ this.queueKeys=[]
1611
+ }).Method("push",function(a,b){if(!this.queues[a]){this.queues[a]=[];
1612
+ this.queueKeys.push(a)
1613
+ }this.queues[a].push(b)
1614
+ }).Method("pop",function(a){if(this.queues[a]){return this.queues[a].pop()
1615
+ }}).Method("get",function(a){return this.queues[a]
1616
+ }).Method("set",function(b,a){this.queues[b]=a
1617
+ }).Method("size",function(){var b=0;
1618
+ for(var a in this.queues){b+=this.queues[a].length
1619
+ }return b
1620
+ }).Method("keys",function(){return this.queueKeys
1621
+ }).Method("clear",function(b){if(b){if(this.queues[b]){this.queues[b]=undefined
1622
+ }var d=[];
1623
+ for(var c=0,a=this.queueKeys.length;
1624
+ c<a;
1625
+ c++){if(this.queueKeys[c]!=b){d.push(this.queueKeys[c])
1626
+ }}this.queueKeys=d
1627
+ }else{this.queues={};
1628
+ this.queueKeys=[]
1629
+ }});
1630
+
1631
+ /* res://connect-min/dev/tagparser/tagparser.js */
1632
+
1633
+ Sslac.Class("IN.TagParser").Constructor(function(){this.tagRegistry={}
1634
+ }).Method("processTagMatch",function(m){var a=m.tagName.toLowerCase(),s,f=false,c=false;
1635
+ switch(a){case"in:tag":s=m.getAttribute("name").toLowerCase();
1636
+ c=true;
1637
+ if($_PATTERNS.tags.initialized.test(s)){return false
1638
+ }break;
1639
+ case"script":var b=m.type.toLowerCase();
1640
+ f=true;
1641
+ if($_PATTERNS.tags.initialized.test(b)){return false
1642
+ }var d=b.split("/");
1643
+ var g=d[0];
1644
+ if(g!="in"){return false
1645
+ }s=d[1];
1646
+ break
1647
+ }if(!this.tagRegistry[s]){return false
1648
+ }if(c){m.setAttribute("name",s+"+init")
1649
+ }if(f){m.type=m.type+"+init"
1650
+ }var h,j,q=m.innerHTML,l={},r=(IN.ENV.js.dataNamespace)?"data-"+(IN.ENV.js.dataNamespace.replace(/^data-/gi,"").toLowerCase())+"-":"data-";
1651
+ for(var o=0,k=m.attributes,p=k.length;
1652
+ o<p;
1653
+ o++){var e=k.item(o),n=e.nodeName;
1654
+ if(n.indexOf(r)===0){if(IN.Util.support.li_attributesSpecified||e.specified){n=n.replace(r,"").toLowerCase();
1655
+ l[n]=e.nodeValue
1656
+ }}}l.type=m.type;
1657
+ l.content=q;
1658
+ j=document.createElement("span");
1659
+ j.style.lineHeight="1";
1660
+ j.style.verticalAlign="baseline";
1661
+ j.style.display="inline-block";
1662
+ j.className="IN-widget";
1663
+ m.parentNode.insertBefore(j,m);
1664
+ $_STATISTICS.instance(s);
1665
+ h=new this.tagRegistry[s](j,l);
1666
+ return true
1667
+ }).Method("parse",function(e){var b=[],c,a,d;
1668
+ for(d=0,c=IN.$Tag("script",e),a=c.length;
1669
+ d<a;
1670
+ d++){if(c[d]){if(this.processTagMatch(c[d])){b.push(c[d])
1671
+ }}}for(d=0,c=IN.$Tag("in:tag",e),a=c.length;
1672
+ d<a;
1673
+ d++){if(c[d]){if(this.processTagMatch(c[d])){b.push(c[d])
1674
+ }}}}).Method("add",function(a,b){this.tagRegistry[a.toLowerCase()]=b
1675
+ });
1676
+ (function(){var a=new IN.TagParser();
1677
+ window.IN.addTag=function(){a.add.apply(a,arguments)
1678
+ };
1679
+ window.IN.parse=function(b){a.parse(b)
1680
+ };
1681
+ IN.Event.on(IN,$_CONSTANTS.events.systemReady,function(){a.parse(document.body)
1682
+ })
1683
+ })();
1684
+
1685
+ /* res://connect-min/dev/tags/base.js */
1686
+
1687
+ Sslac.Class("IN.Tags.Base").Constructor(function(b,a){this.el=function(){return b
1688
+ }
1689
+ }).Method("addCSS",function(a){return IN.Util.addCSS(a)
1690
+ }).Method("parseAttribute",function(b,d){if(!b){return[]
1691
+ }b=b.split(",");
1692
+ for(var c=0,a=b.length;
1693
+ c<a;
1694
+ c++){b[c]=IN.Util.trim(b[c]);
1695
+ if(d=="callback"){b[c]=Sslac.valueOf(b[c])
1696
+ }}return b
1697
+ }).Method("createTemplate",function(a){return IN.Util.createJSTemplate(a)
1698
+ }).Method("requireAuth",function(b,a){return IN.User.authorize(b,a)
1699
+ }).Method("validateAttributes",function(b,a){return IN.Util.validateAttributes(b,a)
1700
+ });
1701
+
1702
+ /* res://connect-min/dev/tags/share.js */
1703
+
1704
+ (function(){Sslac.Class("IN.Tags.Share").Extends("IN.Tags.Base").Constructor(function(i,h){$_STATISTICS.profile("Share");
1705
+ this.Parent(i,h);
1706
+ this.url=h.url||location.href;
1707
+ this.el().style.textAlign="center";
1708
+ this.successCallbacks=this.parseAttribute(h.onsuccess,"callback");
1709
+ this.errorCallbacks=this.parseAttribute(h.onerror,"callback");
1710
+ this.useCounter=h.counter||false;
1711
+ this.position=this.useCounter||"right";
1712
+ this.showZero=(h.showzero===true||h.showzero==="true")?true:false;
1713
+ this.counter=null;
1714
+ this.button=null;
1715
+ this.clickedOnce=false;
1716
+ this.count=0;
1717
+ this.makeButton();
1718
+ this.winObj=null;
1719
+ $_STATISTICS.profile("Share",true)
1720
+ }).Method("makeButton",function(){var i={state:(this.position=="right"&&!this.showZero)?"hidden":null,position:this.position,alwaysShow:this.showZero,content:0},k=(this.position=="right")?"after":"before",h=$_CONSTANTS.events;
1721
+ function l(){var o,m;
1722
+ if(!this.clickedOnce){this.clickedOnce=true;
1723
+ this.increaseCount()
1724
+ }if(this.winObj){this.successCallbacks.pop();
1725
+ this.winObj.remove();
1726
+ this.winObj=null
1727
+ }this.winObj=IN.UI.Share().params({url:this.url});
1728
+ var n=this;
1729
+ function p(){if(n.useCounter){if(!e){e=document.getElementsByTagName("head")[0]
1730
+ }var q=document.createElement("script");
1731
+ q.type="text/javascript";
1732
+ q.src=g(n.url)+"&cc="+(n.count);
1733
+ e.appendChild(q)
1734
+ }}this.successCallbacks.push(p);
1735
+ for(o=0,m=this.successCallbacks.length;
1736
+ o<m;
1737
+ o++){this.winObj.success(this.successCallbacks[o])
1738
+ }for(o=0,m=this.errorCallbacks.length;
1739
+ o<m;
1740
+ o++){this.winObj.error(this.errorCallbacks[o])
1741
+ }$_STATISTICS.recordAction("Share",h.click);
1742
+ this.winObj.place()
1743
+ }this.button=new IN.Objects.Button({title:"Share"});
1744
+ this.button.place(this.el());
1745
+ IN.Event.on(this.button,h.click,l,this);
1746
+ if(this.useCounter){f(this.url,this);
1747
+ this.counter=new IN.Objects.Callout(i);
1748
+ this.counter.place(k,this.button.el());
1749
+ if(this.position=="top"||this.position=="talltop"){var j=document.createElement("br");
1750
+ this.button.el().parentNode.insertBefore(j,this.button.el())
1751
+ }IN.Event.on(this.button,h.mouseOver,function(){this.counter.setState(h.mouseOver)
1752
+ },this);
1753
+ IN.Event.on(this.button,h.mouseOut,function(){this.counter.setState(h.mouseOut)
1754
+ },this);
1755
+ IN.Event.on(this.button,h.mouseDown,function(){this.counter.setState(h.mouseDown)
1756
+ },this);
1757
+ IN.Event.on(this.button,h.click,function(){this.counter.setState(h.click)
1758
+ },this);
1759
+ IN.Event.on(this.counter,h.mouseOver,function(){this.button.setState(h.mouseOver)
1760
+ },this);
1761
+ IN.Event.on(this.counter,h.mouseOut,function(){this.button.setState(h.mouseOut)
1762
+ },this);
1763
+ IN.Event.on(this.counter,h.mouseDown,function(){this.button.setState(h.mouseDown)
1764
+ },this);
1765
+ IN.Event.on(this.counter,h.click,function(){this.button.setState(h.click)
1766
+ },this);
1767
+ IN.Event.on(this.counter,h.click,l,this)
1768
+ }}).Method("setCount",function(h){if(this.counter&&(h!=""||this.position=="top"||this.position=="talltop")){h=h+"";
1769
+ if(!h.match(/^[\d]+$/)){return
1770
+ }h=h*1;
1771
+ this.count=h;
1772
+ this.counter.setState("visible");
1773
+ this.counter.setContent(d(h))
1774
+ }}).Method("increaseCount",function(h){h=h||1;
1775
+ this.setCount(this.count+h)
1776
+ }).Static("getCount",function(h,j,i){a(h,j,i)
1777
+ }).Static("handleCount",function(h){b(h)
1778
+ });
1779
+ var e,c={};
1780
+ function g(h){return IN.ENV.widget.share_counter_url+"?url="+encodeURIComponent(h)
1781
+ }function f(i,h){a(i,h.setCount,h)
1782
+ }function a(h,k,i){if(!e){e=document.getElementsByTagName("head")[0]
1783
+ }if(!c[h]){c[h]=[]
1784
+ }c[h].push({callback:k||function(){},scope:i||window});
1785
+ var j=document.createElement("script");
1786
+ j.type="text/javascript";
1787
+ j.src=g(h);
1788
+ e.appendChild(j)
1789
+ }function b(m){if(!e){e=document.getElementsByTagName("head")[0]
1790
+ }m=m||{};
1791
+ if((typeof m.url===$_CONSTANTS.types.undef)||(typeof m.count===$_CONSTANTS.types.undef)){return
1792
+ }var h=m.url,p=m.count,j=e.getElementsByTagName("script"),k,l,q=[],n,o;
1793
+ for(n=0,o=j.length;
1794
+ n<o;
1795
+ n++){k=j[n];
1796
+ if(k.src==g(h)){q.push(k)
1797
+ }}window.setTimeout(function(){for(var s=0,r=q.length;
1798
+ s<r;
1799
+ s++){if(q[s].parentNode){q[s].parentNode.removeChild(q[s])
1800
+ }}},100);
1801
+ for(n=0,o=c[h].length;
1802
+ n<o;
1803
+ n++){l=c[h][n];
1804
+ l.callback.call(l.scope,p)
1805
+ }}function d(j){var i=j+"";
1806
+ var h=/(\d+)(\d{3})/;
1807
+ if(j>10000){i=Math.floor(j/1000);
1808
+ return d(i)+" k"
1809
+ }else{if(j>1000){while(h.test(i)){i=i.replace(h,"$1"+","+"$2")
1810
+ }return i
1811
+ }else{return i
1812
+ }}}})();
1813
+ IN.addTag("Share",IN.Tags.Share);
1814
+
1815
+ /* res://connect-min/dev/tags/mail.js */
1816
+
1817
+ Sslac.Class("IN.Tags.Mail").Extends("IN.Tags.Base").Constructor(function(b,a){$_STATISTICS.profile("Mail");
1818
+ this.Parent(b,a);
1819
+ this.emails=a.emails;
1820
+ this.createFrame();
1821
+ $_STATISTICS.profile("Mail",true)
1822
+ }).Method("createFrame",function(){this.el().innerHTML="";
1823
+ var a={};
1824
+ a.api_key=IN.ENV.auth.api_key;
1825
+ a.emails=this.emails;
1826
+ var b=new IN.Objects.SmartWindow({mode:"embedded",url:IN.ENV.widget.mail_url}).params(a);
1827
+ b.place(this.el())
1828
+ });
1829
+ IN.addTag("Mail",IN.Tags.Mail);
1830
+
1831
+ /* res://connect-min/dev/tags/recommendproduct.js */
1832
+
1833
+ (function(){Sslac.Class("IN.Tags.RecommendProduct").Extends("IN.Tags.Base").Constructor(function(g,f){$_STATISTICS.profile("RecommendProduct");
1834
+ this.Parent(g,f);
1835
+ this.companyId=f.company||null;
1836
+ this.productId=f.product||null;
1837
+ this.url=f.url||null;
1838
+ if(!this.companyId&&!this.url){throw new Error("You must provide either a company ID, a company name, or a URL to a product item")
1839
+ }this.el().style.textAlign="center";
1840
+ this.useCounter=f.counter||false;
1841
+ this.position=this.useCounter||"right";
1842
+ this.counter=null;
1843
+ this.button=null;
1844
+ this.clickedOnce=false;
1845
+ this.count=0;
1846
+ this.makeButton();
1847
+ $_STATISTICS.profile("RecommendProduct",true)
1848
+ }).Method("makeButton",function(){var g={state:(this.position==="right")?"hidden":null,position:this.position},i=(this.position==="right")?"after":"before",f=$_CONSTANTS.events;
1849
+ function j(){var k;
1850
+ if(!this.clickedOnce){this.clickedOnce=true
1851
+ }if(this.url){k=this.url
1852
+ }else{k=a(this.companyId,this.productId)
1853
+ }$_STATISTICS.recordAction("RecommendProduct",f.click);
1854
+ window.open(k)
1855
+ }this.button=new IN.Objects.Button({title:"Recommend"});
1856
+ this.button.place(this.el());
1857
+ IN.Event.on(this.button,f.click,j,this);
1858
+ if(this.useCounter){d({url:this.url,companyId:this.companyId,productId:this.productId},this);
1859
+ this.counter=new IN.Objects.Callout(g);
1860
+ this.counter.place(i,this.button.el());
1861
+ if(this.position==="top"){var h=document.createElement("br");
1862
+ this.button.el().parentNode.insertBefore(h,this.button.el())
1863
+ }IN.Event.on(this.button,f.mouseOver,function(){this.counter.setState(f.mouseOver)
1864
+ },this);
1865
+ IN.Event.on(this.button,f.mouseOut,function(){this.counter.setState(f.mouseOut)
1866
+ },this);
1867
+ IN.Event.on(this.button,f.mouseDown,function(){this.counter.setState(f.mouseDown)
1868
+ },this);
1869
+ IN.Event.on(this.button,f.click,function(){this.counter.setState(f.click)
1870
+ },this);
1871
+ IN.Event.on(this.counter,f.mouseOver,function(){this.button.setState(f.mouseOver)
1872
+ },this);
1873
+ IN.Event.on(this.counter,f.mouseOut,function(){this.button.setState(f.mouseOut)
1874
+ },this);
1875
+ IN.Event.on(this.counter,f.mouseDown,function(){this.button.setState(f.mouseDown)
1876
+ },this);
1877
+ IN.Event.on(this.counter,f.click,function(){this.button.setState(f.click)
1878
+ },this);
1879
+ IN.Event.on(this.counter,f.click,j,this)
1880
+ }}).Method("setCount",function(f){if(this.counter&&(f!=""||this.position==="top")){this.counter.setState("visible");
1881
+ this.counter.setContent(b(f))
1882
+ }});
1883
+ var c;
1884
+ function e(f,g,h){return IN.ENV.widget.recommend_product_counter_url.replace(/\{PRODUCT_ID\}/g,g).replace(/\{CALLBACK\}/g,h)
1885
+ }function a(f,g){return IN.ENV.widget.recommend_product_url.replace(/\{COMPANY_ID\}/g,f).replace(/\{PRODUCT_ID\}/g,g)
1886
+ }function d(h,f){var i=document.createElement("script"),j=IN.$fn(function(k){if(i.parentNode){i.parentNode.removeChild(i)
1887
+ }k=k||{};
1888
+ if(typeof k.count===$_CONSTANTS.types.undef){return
1889
+ }this.setCount(k.count)
1890
+ },f,true),g=e(h.companyId,h.productId,j);
1891
+ if(!c){c=document.getElementsByTagName("head")[0]
1892
+ }i.type="text/javascript";
1893
+ i.src=g;
1894
+ c.appendChild(i)
1895
+ }function b(h){var g=h+"";
1896
+ var f=/(\d+)(\d{3})/;
1897
+ if(h>10000){g=Math.floor(h/1000);
1898
+ return b(g)+" k"
1899
+ }else{if(h>1000){while(f.test(g)){g=g.replace(f,"$1"+","+"$2")
1900
+ }return g
1901
+ }else{return g
1902
+ }}}})();
1903
+ IN.addTag("RecommendProduct",IN.Tags.RecommendProduct);
1904
+
1905
+ /* res://connect-min/dev/tags/companyprofile.js */
1906
+
1907
+ Sslac.Class("IN.Tags.CompanyProfile").Extends("IN.Tags.Base").Constructor(function(c,a){$_STATISTICS.profile("CompanyProfile");
1908
+ var d=300,b=(2*(5+2)),e=$_CONSTANTS.formats;
1909
+ this.Parent(c,a);
1910
+ if(!a.id){return
1911
+ }this.id=a.id;
1912
+ this.format=a.format||e.hover;
1913
+ if(this.format===e.inline){this.width=parseInt(a.width,10)-b;
1914
+ if(this.width>0&&this.width<(d-b)){this.width=(d-b)
1915
+ }}this.related=a.related||true;
1916
+ this.text=a.text||"";
1917
+ this.createFrame();
1918
+ $_STATISTICS.profile("CompanyProfile",true)
1919
+ }).Method("createFrame",function(){var b={companyIdentifier:this.id,format:this.format},g=$_CONSTANTS.events,j=$_CONSTANTS.states,d=$_CONSTANTS.formats,i=$_CONSTANTS.modes,a=$_GLOBALS.hovercardOffset(20),f,e;
1920
+ if(this.related==="false"){b.related=false
1921
+ }if(this.width>0){b.width=this.width
1922
+ }if(this.format===d.inline){this.el().innerHTML="";
1923
+ var c=new IN.Objects.SmartWindow({mode:i.embedded,url:IN.ENV.widget.company_url}).params(b);
1924
+ c.place(this.el())
1925
+ }else{var h=(this.format===d.click)?g.click:g.mouseOver;
1926
+ e=new IN.Objects.InLink({text:this.text});
1927
+ e.place(this.el());
1928
+ IN.Event.on(e,h,function(){if(this.open){return
1929
+ }this.open=true;
1930
+ e.setState(j.pending);
1931
+ f=new IN.Objects.SmartWindow({mode:i.hovercard,anchor:{fixed:e.el(),movable:null,context:a},url:IN.ENV.widget.company_url},this).params(b);
1932
+ f.ready(function(){e.setState(j.normal)
1933
+ });
1934
+ f.place(this.el());
1935
+ f.onWindowCreate.subscribe(function(){this.windowOpen=true
1936
+ })
1937
+ },this);
1938
+ IN.Event.on(document,g.click,function(){if(this.open){this.open=false;
1939
+ e.setState(j.normal)
1940
+ }},this)
1941
+ }});
1942
+ IN.addTag("CompanyProfile",IN.Tags.CompanyProfile);
1943
+
1944
+ /* res://connect-min/dev/tags/memberprofile.js */
1945
+
1946
+ Sslac.Class("IN.Tags.MemberProfile").Extends("IN.Tags.Base").Constructor(function(c,a){$_STATISTICS.profile("MemberProfile");
1947
+ var d=300,b=(2*(5+2)),e=$_CONSTANTS.formats;
1948
+ this.Parent(c,a);
1949
+ if(!a.id){return
1950
+ }this.id=a.id;
1951
+ this.format=a.format||e.hover;
1952
+ if(this.format===e.inline){this.width=parseInt(a.width,10)-b;
1953
+ if(this.width>0&&this.width<(d-b)){this.width=(d-b)
1954
+ }}this.related=a.related||true;
1955
+ this.text=a.text||"";
1956
+ this.createFrame();
1957
+ $_STATISTICS.profile("MemberProfile",true)
1958
+ }).Method("createFrame",function(){var b={public_profile_url:this.id,format:this.format},g=$_CONSTANTS.events,j=$_CONSTANTS.states,d=$_CONSTANTS.formats,i=$_CONSTANTS.modes,a=$_GLOBALS.hovercardOffset(20),f,e;
1959
+ if($_PATTERNS.types.boolFalse.test(this.related)){b.related=false
1960
+ }if(this.width>0){b.width=this.width
1961
+ }if(this.format===d.inline){this.el().innerHTML="";
1962
+ var c=new IN.Objects.SmartWindow({mode:i.embedded,url:IN.ENV.widget.member_profile_url}).params(b);
1963
+ c.place(this.el())
1964
+ }else{var h=(this.format===d.click)?g.click:g.mouseOver;
1965
+ this.open=false;
1966
+ e=new IN.Objects.InLink({text:this.text});
1967
+ e.place(this.el());
1968
+ IN.Event.on(e,h,function(){if(this.open){return
1969
+ }this.open=true;
1970
+ e.setState(j.pending);
1971
+ f=new IN.Objects.SmartWindow({mode:i.hovercard,anchor:{fixed:e.el(),movable:null,context:a},url:IN.ENV.widget.member_profile_url},this).params(b);
1972
+ f.ready(function(){e.setState(j.normal)
1973
+ });
1974
+ f.place(this.el());
1975
+ f.onWindowCreate.subscribe(function(){this.windowOpen=true
1976
+ })
1977
+ },this);
1978
+ IN.Event.on(document,g.click,function(){if(this.open){this.open=false;
1979
+ e.setState(j.normal)
1980
+ }},this)
1981
+ }});
1982
+ IN.addTag("MemberProfile",IN.Tags.MemberProfile);
1983
+
1984
+ /* res://connect-min/dev/tags/companyinsider.js */
1985
+
1986
+ Sslac.Class("IN.Tags.CompanyInsider").Extends("IN.Tags.Base").Constructor(function(b,a){$_STATISTICS.profile("CompanyInsider");
1987
+ this.Parent(b,a);
1988
+ if(!a.id){return
1989
+ }this.id=a.id;
1990
+ this.modules=a.modules||"";
1991
+ this.createFrame();
1992
+ $_STATISTICS.profile("CompanyInsider",true)
1993
+ }).Method("createFrame",function(){var a={companyIdentifier:this.id,modules:this.modules};
1994
+ this.el().innerHTML="";
1995
+ var b=new IN.Objects.SmartWindow({mode:"embedded",url:IN.ENV.widget.company_insider_url}).params(a);
1996
+ b.place(this.el())
1997
+ });
1998
+ IN.addTag("CompanyInsider",IN.Tags.CompanyInsider);
1999
+
2000
+ /* res://connect-min/dev/tags/wizard.js */
2001
+
2002
+ Sslac.Class("IN.Tags.Wizard").Extends("IN.Tags.Base").Constructor(function Wizard(c,b){$_STATISTICS.profile("Wizard");
2003
+ this.Parent(c,b);
2004
+ this.size=(b.size=="large")?"large":"small";
2005
+ var d={large:"pic_wizard_423x423.png",small:"pic_wizard_212x212.png"},e=IN.ENV.images.sprite.replace(/\/sprite\/.*/,"")+"/pic/"+d[this.size],a=document.createElement("img");
2006
+ a.src=e;
2007
+ a.style.border=0;
2008
+ c.appendChild(a);
2009
+ $_STATISTICS.profile("Wizard",true)
2010
+ });
2011
+ IN.addTag("Wizard",IN.Tags.Wizard);
2012
+
2013
+ /* res://connect-min/dev/tags/jymbii.js */
2014
+
2015
+ Sslac.Class("IN.Tags.jymbii").Extends("IN.Tags.Base").Constructor(function(b,e){$_STATISTICS.profile("JYMBII");
2016
+ this.Parent(b,e);
2017
+ var a=$_GLOBALS.hovercardOffset(20),j=e.format,i=$_CONSTANTS.events,m=$_CONSTANTS.states,d=$_CONSTANTS.formats,l=$_CONSTANTS.modes,h=e.embed?e.embed:false,c={companyId:e.companyid,industry:e.industry,jobFunction:e.jobfunction,country:e.country,max:h?3:e.max,title:e.title,embed:h};
2018
+ if(j===d.inline){var g=new IN.Objects.SmartWindow({mode:l.embedded,url:IN.ENV.widget.jymbii_url}).params(c);
2019
+ g.place(this.el())
2020
+ }else{var f=new IN.Objects.InLink({text:e.text}),k=(j===d.click)?i.click:i.mouseOver;
2021
+ f.place(this.el());
2022
+ IN.Event.on(f,k,function(){if(this.open){return
2023
+ }this.open=true;
2024
+ f.setState(m.pending);
2025
+ var n=new IN.Objects.SmartWindow({mode:l.hovercard,anchor:{fixed:f.el(),movable:null,context:a},url:IN.ENV.widget.jymbii_url},this).params(c);
2026
+ n.ready(function(){f.setState(m.normal)
2027
+ });
2028
+ n.place(f.el())
2029
+ },this);
2030
+ IN.Event.on(document,i.click,function(){if(this.open){this.open=false;
2031
+ f.setState(m.normal)
2032
+ }},this)
2033
+ }$_STATISTICS.profile("JYMBII",true)
2034
+ });
2035
+ IN.addTag("jymbii",IN.Tags.jymbii);
2036
+
2037
+ /* res://connect-min/dev/objects/lib.js */
2038
+
2039
+ Sslac.Function("IN.Objects.Lib.center",function(b){var a=IN.Objects.Lib.getCenter(b);
2040
+ b.style.top=a.top+"px";
2041
+ b.style.left=a.left+"px"
2042
+ });
2043
+ Sslac.Function("IN.Objects.Lib.anchor",function(f,d,g){var l=IN.Objects.Lib.getXY(f),o=IN.Objects.Lib.getDimensions(f),b=IN.Objects.Lib.getDimensions(d),y=IN.Objects.Lib.getViewport(),h=IN.Objects.Lib.getDimensions(document.body),t=Math.max(y.width||0,h.width||0,(l.x+l.width)||0),a=Math.max(y.height||0,h.height||0,h.scrollHeight||0,(l.y+l.height)||0),e=null,k=0,j=0,u=0,m=0,q=0,x=0,w=0,v=0,c=0,s=0,r=0;
2044
+ for(var n=0,p=g.length;
2045
+ n<p;
2046
+ n++){e=g[n];
2047
+ j=0;
2048
+ u=0;
2049
+ m=0;
2050
+ q=0;
2051
+ r=e.offsetY||0;
2052
+ s=e.offsetX||0;
2053
+ switch(e.fixed.toLowerCase()){case"tl":j=l.x;
2054
+ m=l.y;
2055
+ u=j+b.width;
2056
+ q=m+b.height;
2057
+ break;
2058
+ case"tr":j=l.x+o.width;
2059
+ m=l.y;
2060
+ u=j+b.width;
2061
+ q=m+b.height;
2062
+ break;
2063
+ case"bl":j=l.x;
2064
+ m=l.y+o.height;
2065
+ u=j+b.width;
2066
+ q=m+b.height;
2067
+ break;
2068
+ case"br":j=l.x+o.width;
2069
+ m=l.y+o.height;
2070
+ u=j+b.width;
2071
+ q=m+b.height;
2072
+ break
2073
+ }switch(e.movable.toLowerCase()){case"tl":break;
2074
+ case"tr":j=j-b.width;
2075
+ u=u-b.width;
2076
+ break;
2077
+ case"bl":m=m-b.height;
2078
+ q=q-b.height;
2079
+ break;
2080
+ case"br":j=j-b.width;
2081
+ u=u-b.width;
2082
+ m=m-b.height;
2083
+ q=q-b.height;
2084
+ break
2085
+ }j=j+s;
2086
+ u=u+s;
2087
+ m=m+r;
2088
+ q=q+r;
2089
+ if(n===0){k=e;
2090
+ x=j;
2091
+ w=u;
2092
+ v=m;
2093
+ c=q
2094
+ }if(u<=t&&q<=a&&j>=0&&m>=0){k=e;
2095
+ x=j;
2096
+ w=u;
2097
+ v=m;
2098
+ c=q;
2099
+ break
2100
+ }}d.style.left=x+"px";
2101
+ d.style.top=v+"px";
2102
+ return k
2103
+ });
2104
+ Sslac.Function("IN.Objects.Lib.getScrollOffsets",function(){var c=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,b=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;
2105
+ var a=[c,b];
2106
+ a.left=c;
2107
+ a.top=b;
2108
+ return a
2109
+ });
2110
+ Sslac.Function("IN.Objects.Lib.getXY",function(a){function b(d,c){c=c.substr(0,1).toUpperCase()+c.substr(1);
2111
+ var e=d["offset"+c]+d["scroll"+c];
2112
+ while((d=d.offsetParent)!==null){e+=d["offset"+c]
2113
+ }return e
2114
+ }return{x:b(a,"left"),y:b(a,"top")}
2115
+ });
2116
+ Sslac.Function("IN.Objects.Lib.UA",function(){var e=navigator.userAgent;
2117
+ var a=0;
2118
+ var f=0;
2119
+ var c=0;
2120
+ var b=0;
2121
+ var d=(document["compatMode"]==="BackCompat");
2122
+ (function(){var g;
2123
+ g=e.match($_PATTERNS.userAgents.webkit);
2124
+ if(g&&g[1]){a=1;
2125
+ return
2126
+ }g=e.match($_PATTERNS.userAgents.opera);
2127
+ if(g&&g[1]){c=1;
2128
+ return
2129
+ }g=e.match($_PATTERNS.userAgents.msie);
2130
+ if(g&&g[1]){f=1;
2131
+ return
2132
+ }g=e.match($_PATTERNS.userAgents.gecko);
2133
+ if(g&&g[1]){b=1;
2134
+ return
2135
+ }})();
2136
+ return{isIE:function(){return f
2137
+ },isWebkit:function(){return a
2138
+ },isOpera:function(){return c
2139
+ },isGecko:function(){return b
2140
+ },isQuirksMode:function(){return d
2141
+ }}
2142
+ }());
2143
+ (function(){Sslac.Function("IN.Objects.Lib.getViewport",function(){var c={};
2144
+ var a=document["compatMode"];
2145
+ var b="CSS1Compat";
2146
+ c={width:window.self.innerWidth,height:window.self.innerHeight};
2147
+ if(c.width&&c.height){return c
2148
+ }if(c.width&&c.height){return c
2149
+ }if((a||IN.Objects.Lib.UA.isIE())&&!IN.Objects.Lib.UA.isOpera()){if(a==b){c.height=document.documentElement.clientHeight
2150
+ }else{c.height=document.body.clientHeight
2151
+ }}if(a||IN.Objects.Lib.UA.isIE()){if(a==b){c.width=document.documentElement.clientWidth
2152
+ }else{c.width=document.body.clientWidth
2153
+ }}return c
2154
+ })
2155
+ })();
2156
+ Sslac.Function("IN.Objects.Lib.getDimensions",function(d){function c(){var j=document.body,f=0,i=0,g=j.style.overflow;
2157
+ if(IN.Objects.Lib.UA.isGecko()){j.style.overflow="auto"
2158
+ }f=j.scrollWidth;
2159
+ i=j.clientHeight;
2160
+ if(IN.Objects.Lib.UA.isGecko()){j.style.overflow=g
2161
+ }return{width:f,height:i,scrollHeight:j.scrollHeight}
2162
+ }if(d===document.body){return c()
2163
+ }var a=d.offsetWidth,b=(d.offsetHeight>d.clientHeight)?d.offsetHeight:d.clientHeight,e;
2164
+ e=[a,b];
2165
+ e.width=a;
2166
+ e.height=b;
2167
+ return e
2168
+ });
2169
+ Sslac.Function("IN.Objects.Lib.getCenter",function(c){var b=IN.Objects.Lib.getScrollOffsets(),d=IN.Objects.Lib.getViewport(),g=IN.Objects.Lib.getDimensions(c),f=b.left+((d.width-g.width)/2),e=b.top+((d.height-g.height)/2);
2170
+ if(e<0){e=0
2171
+ }if(f<0){f=0
2172
+ }var a={top:e,right:(f+g.width),bottom:(e+g.height),left:f};
2173
+ return a
2174
+ });
2175
+ Sslac.Function("IN.Objects.Lib.getCurrentPosition",function(b){var a={top:b.offsetTop||0,left:b.offsetLeft||0};
2176
+ while(b=b.offsetParent){a.top+=b.offsetTop;
2177
+ a.left+=b.offsetLeft
2178
+ }return a
2179
+ });
2180
+ Sslac.Function("IN.Objects.Lib.getAnimationInterval",function(c,b){b=b||45;
2181
+ var a={};
2182
+ a.interval=1000/b;
2183
+ a.total=c/a.interval;
2184
+ return a
2185
+ });
2186
+ Sslac.Function("IN.Objects.Lib.shake",function(c,b){b=b||{};
2187
+ b={duration:b.duration||300,frequency:b.frequency||2,cycles:b.cycles||Math.PI,amplitude:b.amplitude||20,decay:b.decay||3,axis:b.axis||"x"};
2188
+ var d=IN.Objects.Lib.getAnimationInterval(b.duration);
2189
+ var h=(b.axis==="x")?"left":"top";
2190
+ var g=IN.Objects.Lib.getCurrentPosition(c);
2191
+ function e(j){return b.amplitude*Math.cos(b.frequency*j*2*Math.PI)/Math.exp(b.decay*j)
2192
+ }var i=b.cycles/d.total;
2193
+ var f=0;
2194
+ function a(){if(d.total>0){c.style[h]=(g[h]+e(f))+"px";
2195
+ f+=i;
2196
+ d.total--;
2197
+ setTimeout(a,d.interval)
2198
+ }}a()
2199
+ });
2200
+ Sslac.Function("IN.Objects.Lib.slideTo",function(f,k,c){c=c||{};
2201
+ c={duration:c.duration||700,bounce:c.bounce||0.2};
2202
+ var g=IN.Objects.Lib.getAnimationInterval(c.duration);
2203
+ var e=IN.Objects.Lib.getCurrentPosition(f);
2204
+ var j={top:(k.top-e.top),left:(k.left-e.left)};
2205
+ var d=g.total;
2206
+ if(c.bounce){var a={top:(c.bounce*2*j.top),left:(c.bounce*2*j.left)};
2207
+ var i={top:0,left:0};
2208
+ j.top+=a.top;
2209
+ j.left+=a.left;
2210
+ if(j.top!==0){i.top=Math.abs(a.top/j.top)
2211
+ }if(j.left!==0){i.left=Math.abs(a.left/j.left)
2212
+ }i=Math.max(i.top,i.left);
2213
+ d=(1-i)*g.total
2214
+ }var h=(1+g.total)*(g.total/2);
2215
+ if(c.bounce){h=h*(1-(2*c.bounce))
2216
+ }j.top=j.top/h;
2217
+ j.left=j.left/h;
2218
+ function b(){if(g.total>0){e.top+=j.top*d;
2219
+ e.left+=j.left*d;
2220
+ f.style.top=e.top+"px";
2221
+ f.style.left=e.left+"px";
2222
+ g.total--;
2223
+ d--;
2224
+ setTimeout(b,g.interval)
2225
+ }}b()
2226
+ });
2227
+ Sslac.Function("IN.Objects.Lib.setShadowExempt",function(a){IN.Util.addClass(a,"IN-noshadow")
2228
+ });
2229
+ Sslac.Function("IN.Objects.Lib.setShadowBox",function(b,g){b=b||false;
2230
+ g=g||{};
2231
+ g={color:g.color||"#000000",opacity:(IN.ENV.js.isFramed)?0:(g.opacity||0.6),altOpacity:(IN.ENV.js.isFramed)?$_GLOBALS.shadowBox.altOpacity:1,zIndex:g.zIndex||"9990"};
2232
+ var j,n=$_GLOBALS.shadowBox.theClass,k="IN-shadow-enabled",f="IN-noshadow",m=$_CONSTANTS.suffixes.important;
2233
+ if(!$_GLOBALS.shadowBox.node){if(!b){return
2234
+ }var c=IN.$uid("li_ui_shadowbox");
2235
+ j=$_GLOBALS.shadowBox.node=document.createElement("div");
2236
+ j.id=c;
2237
+ IN.Objects.Lib.setShadowExempt(j);
2238
+ document.body.insertBefore(j,document.body.firstChild);
2239
+ IN.Util.addCSS(["","."+n+" { ",'-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity='+(g.altOpacity*100)+')"'+m,"filter: alpha(opacity="+(g.altOpacity*100)+")"+m,"-moz-opacity: "+(g.altOpacity)+m,"opacity: "+(g.altOpacity)+m,"}",""].join(""));
2240
+ IN.Util.addCSS(["","#"+c+" { ","position: "+((IN.Objects.Lib.UA.isQuirksMode()&&IN.Objects.Lib.UA.isIE())?"absolute":"fixed")+m,'-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity='+(g.opacity*100)+')"'+m,"filter: alpha(opacity="+(g.opacity*100)+")"+m,"-moz-opacity: "+(g.opacity)+m,"opacity: "+(g.opacity)+m,"background-color: "+g.color+m,"z-index: "+g.zIndex+m,"top: 0"+m,"left: 0"+m,"}",""].join(""))
2241
+ }else{j=$_GLOBALS.shadowBox.node
2242
+ }if(!b){IN.Util.removeClass(document.body,k);
2243
+ var a=IN.$Class(n);
2244
+ for(var h=0,l=a.length;
2245
+ h<l;
2246
+ h++){IN.Util.removeClass(a[h],n)
2247
+ }j.style.display="none";
2248
+ return
2249
+ }if(IN.ENV.js.isFramed){IN.Util.addClass(document.body,k);
2250
+ var e=document.body.firstChild;
2251
+ while(e){if(!IN.Util.hasClass(e,f)){IN.Util.addClass(e,n)
2252
+ }e=e.nextSibling
2253
+ }}function d(){var o=IN.Objects.Lib.getViewport(),i=IN.Objects.Lib.getDimensions(document.body);
2254
+ j.style.width=Math.max(i.width,o.width)+"px";
2255
+ j.style.height=Math.max(i.height,i.scrollHeight,o.height)+"px"
2256
+ }IN.Event.on(window,$_CONSTANTS.events.resize,d,j);
2257
+ d();
2258
+ j.style.display="block"
2259
+ });
2260
+
2261
+ /* res://connect-min/dev/objects/base.js */
2262
+
2263
+ (function(){var d;
2264
+ Sslac.Class("IN.Objects.Base").Constructor(function(i){var h=document.createElement("span"),j={"padding":"0","margin":"0","text-indent":"0","display":"inline-block","vertical-align":"baseline"};
2265
+ if(!i.suppressFont){j["font-size"]="1px"
2266
+ }h.style.cssText=this.createStyle(j);
2267
+ this.el=function(){return h
2268
+ };
2269
+ this.components={};
2270
+ this.componentId=null;
2271
+ this.placed=false;
2272
+ this.handlers=[]
2273
+ }).Method("removeHandler",function(i,h){return function(p,r,m,k){if(this.isPlaced()){IN.Event.remove(i,h,p,r,m,k)
2274
+ }else{var l=this.handlers;
2275
+ var j=[];
2276
+ for(var n=0,o=l.length;
2277
+ n<o;
2278
+ n++){var q=l[n];
2279
+ if(q.id!==i||q.on!==h||q.fn!==p||q.scope!==r||q.obj!==m||q.once!==k){j.push(q)
2280
+ }}this.handlers=j
2281
+ }}
2282
+ }).Method("addHandler",function(j,h){var i=function(m,l,n,k){var m=m;
2283
+ var o=function(p,q){if(!i.enabled){return false
2284
+ }if(q){m.call(this,p,q)
2285
+ }else{m.call(this,p)
2286
+ }};
2287
+ if(this.isPlaced()){IN.Event.on(j,h,o,l,n,k)
2288
+ }else{this.handlers[this.handlers.length]={id:j,on:h,fn:o,scope:l,obj:n,once:k}
2289
+ }};
2290
+ i.enabled=true;
2291
+ return i
2292
+ }).Method("createTemplate",function(h){return IN.Util.createJSTemplate(h)
2293
+ }).Method("place",function(){var k=[].slice.apply(arguments),j="",o=null,m=this.el();
2294
+ if(!k[0]){j="in";
2295
+ o=document.body
2296
+ }else{if(!k[1]){j="in";
2297
+ o=k[0]
2298
+ }else{j=k[0];
2299
+ o=k[1]
2300
+ }}switch(j){case"in":o.appendChild(m);
2301
+ break;
2302
+ case"before":o.parentNode.insertBefore(m,o);
2303
+ break;
2304
+ case"after":if(o.nextSibling){o.nextSibling.parentNode.insertBefore(m,o.nextSibling)
2305
+ }else{o.parentNode.appendChild(m)
2306
+ }break
2307
+ }this.placed=true;
2308
+ for(var l=0,h=this.handlers.length;
2309
+ l<h;
2310
+ l++){var n=this.handlers[l];
2311
+ IN.Event.on(n.id,n.on,n.fn,n.scope,n.obj,n.once)
2312
+ }this.handlers=[];
2313
+ return this
2314
+ }).Method("remove",function(){var h=this.el();
2315
+ if(h.parentNode){h.parentNode.removeChild(h)
2316
+ }this.placed=false
2317
+ }).Method("isPlaced",function(){return this.placed
2318
+ }).Method("createStyle",function(l){var j,i=[],k="",h;
2319
+ if(!d){j=navigator.userAgent;
2320
+ d=($_PATTERNS.userAgents.webkit.test(j))?"Webkit":($_PATTERNS.userAgents.gecko.test(j))?"Gecko":($_PATTERNS.userAgents.msie.test(j))?"MSIE":(window.opera)?"Opera":"other"
2321
+ }for(h in l){if(typeof(l[h])==$_CONSTANTS.types.object){k=l[h][d]||l[h]["other"]
2322
+ }else{k=l[h]
2323
+ }if(!k){continue
2324
+ }i[i.length]=h+":"+k+$_CONSTANTS.suffixes.important
2325
+ }return i.join("")
2326
+ }).Method("setComponentId",function g(h){this.componentId=h
2327
+ }).Method("registerComponent",function b(i,h,j){j=j||"normal";
2328
+ this.components[i]=h
2329
+ }).Method("getComponent",function a(i,k,j){var h=this.components[i]||"",k=k||"",j=j||"";
2330
+ h=h.replace(/\{ID\}/g,this.componentId).replace(/\{\.STATE\}/g,(k)?"."+k:"").replace(/\{\#STATE\}/g,(k)?"#"+k:"").replace(/\{:PSEUDO\}/g,(j)?":"+j:"");
2331
+ return h
2332
+ }).Method("createCSS",function c(m,l,n){if(!IN.Util.isArray(m)){m=[m]
2333
+ }var k=[],n=(typeof n===$_CONSTANTS.types.undef)?"":n+" ";
2334
+ for(var j=0,h=m.length;
2335
+ j<h;
2336
+ j++){k.push(n+this.getComponent(m[j].component,m[j].state,m[j].pseudo))
2337
+ }return[k.join(", "),"{",l,"}"].join("")
2338
+ }).Method("addCSS",function f(h){return IN.Util.addCSS(h)
2339
+ }).Method("computeGradientStyle",function e(i,h){return IN.Util.computeGradientStyle(i,h)
2340
+ }).Method("generateId",function(h){h=(h)?"li_ui_"+h:"li_ui";
2341
+ return IN.$uid(h)
2342
+ })
2343
+ })();
2344
+
2345
+ /* res://connect-min/dev/objects/button.js */
2346
+
2347
+ (function(){var a={};
2348
+ Sslac.Class("IN.Objects.Button").Extends("IN.Objects.Base").Constructor(function(c){c=c||{};
2349
+ this.config={titles:(typeof c.title===$_CONSTANTS.types.object)?c.title:{"normal":c.title||""},highlight:(c.highlight===false)?false:true,theme:(c.theme||"basic").toLowerCase(),size:(c.size||"small").toLowerCase(),useLogo:(c.useLogo===false||!IN.ENV.images||!IN.ENV.images.sprite)?false:true,showSuccessMark:c.showSuccessMark||false,normalizeSize:c.normalizeSize||false};
2350
+ if(!this.config.titles.normal){this.config.titles.normal=""
2351
+ }this.Parent(this.config);
2352
+ this.setButtonStyles();
2353
+ this.currentTitleText=this.config.titles.normal;
2354
+ var b=this.generateId(),h={},e=false,i=this,j=[],d=$_CONSTANTS.events,f;
2355
+ for(var g in this.config.titles){if(this.config.titles.hasOwnProperty(g)){j.push(""+g+":"+this.config.titles[g])
2356
+ }}f=[j.join("|"),this.config.showSuccessMark,this.config.useLogo,this.config.theme,this.config.size].join("::");
2357
+ this.memoizer=a[f]=a[f]||{};
2358
+ this.setComponentId(b);
2359
+ this.registerComponent("outer","#{0}{.STATE}");
2360
+ this.registerComponent("link","#{0}{.STATE} a#{0}-link{:PSEUDO}");
2361
+ this.registerComponent("logo","#{0}{.STATE} #{0}-logo");
2362
+ this.registerComponent("title","#{0}{.STATE} #{0}-title");
2363
+ this.registerComponent("titleText","#{0}{.STATE} #{0}-title-text");
2364
+ this.registerComponent("titleChild","#{0}{.STATE} #{0}-title-text *");
2365
+ this.registerComponent("titleChildBold","#{0}{.STATE} #{0}-title-text strong");
2366
+ this.registerComponent("titleChildItalic","#{0}{.STATE} #{0}-title-text em");
2367
+ this.registerComponent("mark","#{0}{.STATE} #{0}-title #{0}-mark");
2368
+ if(!this.memoizer.styles){this.memoizer.styles=["",this.getBaseStyles(),this.getLogoStyles(),this.getTitleStyles(),this.getSuccessStyles(),""].join("")
2369
+ }h=IN.Util.formatString(this.memoizer.styles,b);
2370
+ IN.Util.addCSS(h);
2371
+ if(!this.memoizer.markup){this.memoizer.markup=["",'<span id="{0}">','<a id="{0}-link" href="javascript:void(0);">',(this.config.useLogo)?'<span id="{0}-logo">in</span>':"",(this.config.titles.normal)?'<span id="{0}-title"><span id="{0}-mark"></span><span id="{0}-title-text">'+this.config.titles.normal+"</span></span>":"","</a>","</span>",""].join("")
2372
+ }this.el().innerHTML=IN.Util.formatString(this.memoizer.markup,b);
2373
+ this.mainNodeId=b;
2374
+ this.onClick=this.addHandler(b,d.click.toLowerCase());
2375
+ this.onMouseDown=this.addHandler(b,d.mouseDown.toLowerCase());
2376
+ this.onMouseOver=this.addHandler(b,d.mouseOver.toLowerCase());
2377
+ this.onMouseOut=this.addHandler(b,d.mouseOut.toLowerCase());
2378
+ this.onClick(function(k){this.setState(d.click)
2379
+ },this);
2380
+ this.onMouseDown(function(k){this.setState(d.mouseDown)
2381
+ },this);
2382
+ this.onMouseOver(function(k){this.setState(d.mouseOver)
2383
+ },this);
2384
+ this.onMouseOut(function(){this.setState(d.mouseOut)
2385
+ },this)
2386
+ }).Method("computeBoxShadow",function(d,c){if(c.off){return""
2387
+ }var b={w3c:c.horizontal+"px "+c.vertical+"px "+c.blur+"px "+c.color};
2388
+ return b[d]||b.w3c
2389
+ }).Method("setState",function(e){if(!this.mainNode){this.mainNode=IN.$Id(this.mainNodeId);
2390
+ if(!this.mainNode){return
2391
+ }}var d=this,c=$_CONSTANTS.events,b=$_CONSTANTS.states;
2392
+ switch(e){case c.mouseOver:IN.Util.addClass(this.mainNode,b.hovered);
2393
+ break;
2394
+ case c.mouseOut:IN.Util.removeClass(this.mainNode,b.hovered);
2395
+ IN.Util.removeClass(this.mainNode,b.down);
2396
+ break;
2397
+ case c.mouseDown:IN.Util.removeClass(this.mainNode,b.hovered);
2398
+ IN.Util.addClass(this.mainNode,b.down);
2399
+ break;
2400
+ case c.click:if(IN.Util.hasClass(this.mainNode,b.clicked)){return
2401
+ }IN.Util.addClass(this.mainNode,b.clicked);
2402
+ window.setTimeout(function(){d.setState(b.normal)
2403
+ },2000);
2404
+ break;
2405
+ case c.success:IN.Util.addClass(this.el(),b.success);
2406
+ this.success=true;
2407
+ break;
2408
+ case c.unSuccess:IN.Util.removeClass(this.el(),b.success);
2409
+ this.success=false;
2410
+ case"normal":IN.Util.removeClass(this.mainNode,b.hovered);
2411
+ IN.Util.removeClass(this.mainNode,b.down);
2412
+ IN.Util.removeClass(this.mainNode,b.clicked);
2413
+ break
2414
+ }var g=this.config.titles,f=((this.success)?g.success:g[e])||g.normal;
2415
+ this.setTitleText(f)
2416
+ }).Method("getSuccessStyles",function(){if(this.config.titles.normal===""){return""
2417
+ }var f=this.settings,c="",j="",h=$_CONSTANTS.events,i=$_CONSTANTS.states,e=$_CONSTANTS.prefixes.klass+i.success,b=$_CONSTANTS.prefixes.klass+$_GLOBALS.shadowBox.theClass+" "+e;
2418
+ function d(l,k){switch(l){case"title":return{"color":f.color.success[k],"border-top-color":f.border.color.success[k].top,"border-right-color":f.border.color.success[k].right,"border-bottom-color":f.border.color.success[k].bottom,"border-left-color":f.border.color.success[k].left,"background-color":f.background.success[k],"background-image":{Webkit:IN.Util.computeGradientStyle("webkit",f.gradient.success[k]),Gecko:IN.Util.computeGradientStyle("gecko",f.gradient.success[k]),MSIE:IN.Util.computeGradientStyle("msie",f.gradient.success[k]),Opera:IN.Util.computeGradientStyle("opera",f.gradient.success[k]),other:IN.Util.computeGradientStyle("w3c",f.gradient.success[k])},"filter":{MSIE:IN.Util.computeGradientStyle("msieold",f.gradient.success[k])}};
2419
+ break;
2420
+ case"text":return{"color":f.color.success[k]};
2421
+ break;
2422
+ case"shadowed":return{"filter":{MSIE:"alpha(opacity="+($_GLOBALS.shadowBox.altOpacity*100)+") "+IN.Util.computeGradientStyle("msieold",f.gradient.success[k])}};
2423
+ break
2424
+ }return""
2425
+ }if(this.config.showSuccessMark){var g=f.mark.margin;
2426
+ g=[g.top||"0",g.right||"0",g.bottom||"0",g.left||"0"].join("px ")+"px";
2427
+ c=this.createCSS({component:"mark"},this.createStyle({"width":f.mark.width+"px","height":f.mark.height+"px","background":"url("+IN.ENV.images.sprite+") "+f.mark.background.join("px ")+"px no-repeat","margin":g,"display":"inline-block"}),e);
2428
+ j=this.createCSS({component:"mark"},this.createStyle({"filter":{MSIE:"alpha(opacity="+($_GLOBALS.shadowBox.altOpacity*100)+")"}}),b)
2429
+ }return["",c,j,this.createCSS({component:"title"},this.createStyle(d("title",h.normal)),e),this.createCSS([{component:"titleText"},{component:"titleChild"}],this.createStyle(d("text",h.normal)),e),this.createCSS({component:"title"},this.createStyle(d("shadowed",h.normal)),b),this.createCSS({component:"title",state:i.hovered},this.createStyle(d("title",h.hover)),e),this.createCSS([{component:"titleText",state:i.hovered},{component:"titleChild",state:i.hovered}],this.createStyle(d("text",h.hover)),e),this.createCSS([{component:"title",state:i.clicked},{component:"title",state:i.down}],this.createStyle(d("title",h.click)),e),this.createCSS([{component:"titleText",state:i.clicked},{component:"titleText",state:i.down},{component:"titleChild",state:i.clicked},{component:"titleChild",state:i.down}],this.createStyle(d("text",h.click)),e),this.createCSS([{component:"title",state:i.clicked},{component:"title",state:i.down}],this.createStyle(d("shadowed",h.click)),b),""].join("")
2430
+ }).Method("getSetting",function(b){return this.settings[b]
2431
+ }).Method("place",function(){if(this.config.normalizeSize){if(!this.memoizer.width){this.Parent();
2432
+ if(!this.mainNode){this.mainNode=IN.$Id(this.mainNodeId)
2433
+ }if(!this.titleNode){this.titleNode=IN.$Id(this.mainNodeId+"-title")
2434
+ }if(!this.titleTextNode){this.titleTextNode=IN.$Id(this.mainNodeId+"-title-text")
2435
+ }var b={visibility:this.mainNode.style.visibility,position:this.mainNode.style.position,left:this.mainNode.style.left};
2436
+ this.mainNode.style.visibility="hidden";
2437
+ this.mainNode.style.position="absolute";
2438
+ this.mainNode.style.left="-9999em";
2439
+ var e=[];
2440
+ var g=this.config.titles;
2441
+ for(var d in g){if(g.hasOwnProperty(d)){this.setState(d);
2442
+ e.push(IN.Objects.Lib.getDimensions(this.titleTextNode).width)
2443
+ }}var h=Math.max.apply(Math,e);
2444
+ if(IN.Objects.Lib.UA.isQuirksMode()&&IN.Objects.Lib.UA.isIE()){var f=this.settings.title.padding.resolved.left+this.settings.title.padding.resolved.right;
2445
+ var c=this.settings.border.left+this.settings.border.right;
2446
+ h+=f
2447
+ }this.memoizer.width=++h;
2448
+ this.mainNode.style.visibility=b.visibility;
2449
+ this.mainNode.style.position=b.position;
2450
+ this.mainNode.style.left=b.left
2451
+ }}this.Parent(arguments[0],arguments[1]);
2452
+ this.setState("unSuccess");
2453
+ if(this.config.normalizeSize){if(!this.titleNode){this.titleNode=IN.$Id(this.mainNodeId+"-title")
2454
+ }this.titleNode.style.width=this.memoizer.width+"px"
2455
+ }}).Method("getBaseStyles",function(){return["",this.createCSS({component:"link"},this.createStyle({"height":"1%"}),"* html"),this.createCSS({component:"outer"},this.createStyle({"position":"relative","overflow":"visible","display":"block"})),this.createCSS({component:"link"},this.createStyle({"border":"0","height":this.getSetting("height")+"px","text-decoration":"none","padding":"0","margin":"0","zoom":{MSIE:"1"},"display":{MSIE:"inline",other:"inline-block"}})),this.createCSS([{component:"link",pseudo:"link"},{component:"link",pseudo:"visited"},{component:"link",pseudo:"hover"},{component:"link",pseudo:"active"}],this.createStyle({"border":"0","text-decoration":"none"})),this.createCSS({component:"link",pseudo:"after"},this.createStyle({"content":'"."',"display":"block","clear":"both","visibility":"hidden","line-height":"0","height":"0"})),""].join("")
2456
+ }).Method("getLogoStyles",function(){if(!this.config.useLogo){return""
2457
+ }var b=$_CONSTANTS.states;
2458
+ this.settings.logo.width=Math.ceil(this.settings.logo.height*this.settings.logo.ratio);
2459
+ var c=this.settings.logo.background.row+this.settings.logo.background.rowOffset;
2460
+ this.settings.logo.background.normal=[0,c];
2461
+ this.settings.logo.background.hover=[-1*this.settings.logo.width,c];
2462
+ this.settings.logo.background.click=[-2*this.settings.logo.width,c];
2463
+ return["",this.createCSS({component:"logo"},this.createStyle({"background":"url("+IN.ENV.images.sprite+") "+this.settings.logo.background.normal.join("px ")+"px no-repeat","cursor":"pointer","border":"0","text-indent":"-9999em","overflow":"hidden","padding":"0","margin":"0","position":(this.config.titles.normal)?"absolute":"","left":(this.config.titles.normal)?this.settings.logo.position.left:"","right":(this.config.titles.normal)?this.settings.logo.position.right:"","top":(this.config.titles.normal)?this.settings.logo.position.top:"","display":"block","width":this.settings.logo.width+"px","height":this.settings.logo.height+"px","float":(this.settings.logo.position.floated)?"right":"left"})),this.createCSS({component:"logo",state:b.hovered},this.createStyle({"background-position":this.settings.logo.background.hover.join("px ")+"px"})),this.createCSS([{component:"logo",state:b.clicked},{component:"logo",state:b.down}],this.createStyle({"background-position":this.settings.logo.background.click.join("px ")+"px"})),this.createCSS({component:"logo"},this.createStyle({"filter":{MSIE:"alpha(opacity="+($_GLOBALS.shadowBox.altOpacity*100)+")"}}),"."+$_GLOBALS.shadowBox.theClass),""].join("")
2464
+ }).Method("getTitleStyles",function(){if(this.config.titles.normal===""){return""
2465
+ }var d=this.settings,b=$_CONSTANTS.states;
2466
+ var f={left:Math.round((d.title.padding.left*d.title.padding.ratio)+d.logo.width+d.logo.padding-1),right:Math.round((d.title.padding.right*d.title.padding.ratio)+d.logo.padding)};
2467
+ if(d.logo.position.floated==="left"){f={left:f.right,right:f.left}
2468
+ }d.title.padding.resolved=f;
2469
+ var c=IN.Objects.Lib.UA.isQuirksMode(),e={normal:this.computeBoxShadow("w3c",d.boxShadow.normal),hover:this.computeBoxShadow("w3c",d.boxShadow.hover),click:this.computeBoxShadow("w3c",d.boxShadow.click)};
2470
+ return["",this.createCSS({component:"title"},this.createStyle({"color":d.color.normal,"cursor":"pointer","display":"block","white-space":"nowrap","float":"left","margin-left":"1px","vertical-align":"top","overflow":"hidden","text-align":d.title.textAlign,"height":{MSIE:(c?(d.title.height+d.ieOffset):(d.title.height-d.ieOffset))+"px",other:d.title.height+"px"},"padding":{MSIE:"0 "+f.left+"px "+(c?"0 ":(d.ieOffset+"px "))+f.right+"px",other:"0 "+f.left+"px 0 "+f.right+"px"},"border":"1px solid #000","border-top-color":d.border.color.normal.top,"border-right-color":d.border.color.normal.right,"border-bottom-color":d.border.color.normal.bottom,"border-left-color":d.border.color.normal.left,"border-left":(d.border.corners!=="all")?"0":"","text-shadow":d.font.shadow,"line-height":{MSIE:(c?d.title.height:(d.title.height-d.ieOffset*2))+"px",other:d.logo.height+"px"},"border-radius":(this.config.useLogo&&d.border.corners!=="all")?"0":d.border.radius+"px","-webkit-border-radius":{Webkit:(this.config.useLogo&&d.border.corners!=="all")?"0":d.border.radius+"px"},"-moz-border-radius":{Gecko:(this.config.useLogo&&d.border.corners!=="all")?"0":d.border.radius+"px"},"border-top-right-radius":d.border.radius+"px","border-bottom-right-radius":d.border.radius+"px","-webkit-border-top-right-radius":{Webkit:d.border.radius+"px"},"-webkit-border-bottom-right-radius":{Webkit:d.border.radius+"px"},"-moz-border-radius-topright":{Gecko:d.border.radius+"px"},"-moz-border-radius-bottomright":{Gecko:d.border.radius+"px"},"background-color":d.background.normal,"background-image":{Webkit:this.computeGradientStyle("webkit",d.gradient.normal),Gecko:this.computeGradientStyle("gecko",d.gradient.normal),MSIE:this.computeGradientStyle("msie",d.gradient.normal),Opera:this.computeGradientStyle("opera",d.gradient.normal),other:this.computeGradientStyle("w3c",d.gradient.normal)},"filter":{MSIE:this.computeGradientStyle("msieold",d.gradient.normal)},"-moz-box-shadow":{Gecko:e.normal},"-webkit-box-shadow":{Webkit:e.normal},"-ms-box-shadow":{MSIE:e.normal},"-o-box-shadow":{Opera:e.normal},"box-shadow":{other:e.normal}})),this.createCSS({component:"title",state:b.hovered},this.createStyle({"border":"1px solid #000","border-top-color":d.border.color.hover.top,"border-right-color":d.border.color.hover.right,"border-bottom-color":d.border.color.hover.bottom,"border-left-color":d.border.color.hover.left,"border-left":(this.config.useLogo&&d.border.corners!=="all")?"0":"","background-color":d.background.hover,"background-image":{Webkit:this.computeGradientStyle("webkit",d.gradient.hover),Gecko:this.computeGradientStyle("gecko",d.gradient.hover),MSIE:this.computeGradientStyle("msie",d.gradient.hover),Opera:this.computeGradientStyle("opera",d.gradient.hover),other:this.computeGradientStyle("w3c",d.gradient.hover)},"filter":{MSIE:this.computeGradientStyle("msieold",d.gradient.hover)},"-moz-box-shadow":{Gecko:e.hover},"-webkit-box-shadow":{Webkit:e.hover},"-ms-box-shadow":{MSIE:e.hover},"-o-box-shadow":{Opera:e.hover},"box-shadow":{other:e.hover}})),this.createCSS([{component:"title",state:b.clicked},{component:"title",state:b.down}],this.createStyle({"color":d.color.click,"border":"1px solid #000","border-top-color":d.border.color.click.top,"border-right-color":d.border.color.click.right,"border-bottom-color":d.border.color.click.bottom,"border-left-color":d.border.color.click.left,"border-left":(this.config.useLogo&&d.border.corners!=="all")?"0":"","background-color":d.background.click,"background-image":{Webkit:this.computeGradientStyle("webkit",d.gradient.click),Gecko:this.computeGradientStyle("gecko",d.gradient.click),MSIE:this.computeGradientStyle("msie",d.gradient.click),Opera:this.computeGradientStyle("opera",d.gradient.click),other:this.computeGradientStyle("w3c",d.gradient.click)},"filter":{MSIE:this.computeGradientStyle("msieold",d.gradient.click)},"-moz-box-shadow":{Gecko:e.click},"-webkit-box-shadow":{Webkit:e.click},"-ms-box-shadow":{MSIE:e.click},"-o-box-shadow":{Opera:e.click},"box-shadow":{other:e.click}})),this.createCSS({component:"title"},this.createStyle({"filter":{MSIE:"alpha(opacity="+($_GLOBALS.shadowBox.altOpacity*100)+") "+this.computeGradientStyle("msieold",d.gradient.normal)}}),"."+$_GLOBALS.shadowBox.theClass),this.createCSS({component:"title",state:b.hovered},this.createStyle({"filter":{MSIE:"alpha(opacity="+($_GLOBALS.shadowBox.altOpacity*100)+") "+this.computeGradientStyle("msieold",d.gradient.hover)}}),"."+$_GLOBALS.shadowBox.theClass),this.createCSS([{component:"title",state:b.clicked},{component:"title",state:b.down}],this.createStyle({"filter":{MSIE:"alpha(opacity="+($_GLOBALS.shadowBox.altOpacity*100)+") "+this.computeGradientStyle("msieold",d.gradient.click)}}),"."+$_GLOBALS.shadowBox.theClass),this.createCSS([{component:"titleText"},{component:"titleChild"}],this.createStyle({"color":d.color.normal,"font-size":d.font.size+"px","font-family":d.font.family,"font-weight":d.font.weight,"font-style":d.font.style,"display":"inline-block","background":"transparent none","vertical-align":"baseline","height":d.title.height+"px","line-height":d.title.lineHeight+"px","float":"none"})),this.createCSS({component:"titleChildBold"},this.createStyle({"font-weight":"bold"})),this.createCSS({component:"titleChildItalic"},this.createStyle({"font-style":"italic"})),this.createCSS([{component:"titleText",state:b.hovered},{component:"titleChild",state:b.hovered}],this.createStyle({"color":d.color.hover})),this.createCSS([{component:"titleText",state:b.clicked},{component:"titleText",state:b.down},{component:"titleChild",state:b.clicked},{component:"titleChild",state:b.down}],this.createStyle({"color":d.color.click})),this.createCSS({component:"mark"},this.createStyle({"display":"inline-block","width":"0px","overflow":"hidden"})),""].join("")
2471
+ }).Method("setTitleText",function(b){if(this.currentTitleText===b){return
2472
+ }if(!this.titleTextNode){this.titleTextNode=IN.$Id(this.mainNodeId+"-title-text")
2473
+ }this.currentTitleText=b;
2474
+ this.titleTextNode.innerHTML=b
2475
+ }).Method("getTitleText",function(){return this.currentTitleText
2476
+ }).Method("setButtonStyles",function(){this.settings={logo:{height:20,ratio:1,padding:4,position:{top:"0px",right:"",bottom:"",left:"0px",floated:"left"},background:{row:-170,rowOffset:-106}},font:{size:11,family:"Arial, sans-serif",weight:"bold",style:"normal",shadow:"#FFFFFF -1px 1px 0"},title:{padding:{left:0,right:0,ratio:1},height:18,lineHeight:20,textAlign:"center"},boxShadow:{normal:{off:true,horizontal:0,vertical:0,blur:2,color:""},hover:{off:true,horizontal:0,vertical:0,blur:2,color:""},click:{off:true,horizontal:0,vertical:0,blur:2,color:""}},border:{corners:"right",radius:2,color:{normal:{top:"#E2E2E2",right:"#BFBFBF",bottom:"#B9B9B9",left:"#E2E2E2"},hover:{top:"#ABABAB",right:"#9A9A9A",bottom:"#787878",left:(this.config.useLogo)?"#04568B":"#ABABAB"},click:{top:"#B6B6B6",right:"#B3B3B3",bottom:"#9D9D9D",left:(this.config.useLogo)?"#49627B":"#B6B6B6"},success:{normal:{top:"#E2E2E2",right:"#BFBFBF",bottom:"#B9B9B9",left:"#E2E2E2"},hover:{top:"#ABABAB",right:"#9A9A9A",bottom:"#787878",left:(this.config.useLogo)?"#04568B":"#ABABAB"},click:{top:"#B6B6B6",right:"#B3B3B3",bottom:"#9D9D9D",left:(this.config.useLogo)?"#49627B":"#B6B6B6"}}}},ieOffset:2,textShadow:"none",color:{normal:"#333",hover:"#000",click:"#666",success:{normal:"#333",hover:"#000",click:"#666"}},background:{normal:"#ECECEC",click:"#DEDEDE",hover:"#EDEDED",success:{normal:"#ECECEC",click:"#DEDEDE",hover:"#EDEDED"}},gradient:{normal:["#FEFEFE","#ECECEC"],hover:["#EDEDED","#DEDEDE"],click:["#E3E3E3","#EDEDED"],success:{normal:["#FEFEFE","#ECECEC"],hover:["#EDEDED","#DEDEDE"],click:["#E3E3E3","#EDEDED"]}},mark:{width:12+3,height:11,background:[-250,-140],margin:{top:2,right:0,bottom:0,left:0}}};
2477
+ var f={small:{},medium:{logo:{height:25,background:{rowOffset:-81}},font:{size:13},title:{height:23,lineHeight:23,padding:{ratio:1.25}},border:{radius:3},mark:{width:14+3,height:13,background:[-250,-160],margin:{top:5}}},large:{logo:{height:33,background:{rowOffset:-48}},font:{size:15},title:{height:31,lineHeight:31,padding:{ratio:1.65}},border:{radius:3},mark:{width:14+3,height:13,background:[-250,-160],margin:{top:9,right:5}}},xlarge:{logo:{height:48,background:{rowOffset:0}},font:{size:24},title:{height:46,lineHeight:46,padding:{ratio:2.4}},border:{radius:5},mark:{width:20+5,height:19,background:[-250,-180],margin:{top:1}}}};
2478
+ var e={basic:{},shernaz:{logo:{ratio:1.06060606,position:{top:"0px",right:"0px",bottom:"",left:"",floated:"right"},background:{row:-298}},font:{weight:"normal",shadow:"none",family:"'Helvetica Neue', Arial, Helvetica, sans-serif"},title:{padding:{left:0.5,right:3.5}},boxShadow:{hover:{off:false,horizontal:0,vertical:2,blur:2,color:"#b7b7b7"}},color:{normal:"#000",hover:"#000",click:"#000",success:{normal:"#000",hover:"#000",click:"#000"}},gradient:{normal:["#ffffff","#f9f9f9","#e3e3e3","#cbcbcb"],hover:["#fdfdfd","#f2f2f2","#e3e3e3","#cbcbcb"],click:["#cbcbcb","#e3e3e3","#f2f2f2","#fdfdfd"],success:{normal:["#ffffff","#f9f9f9","#e3e3e3","#cbcbcb"],hover:["#fdfdfd","#f2f2f2","#e3e3e3","#cbcbcb"],click:["#cbcbcb","#e3e3e3","#f2f2f2","#fdfdfd"]}},background:{normal:"#07547d",click:"#0067a0",hover:"#65add2"},border:{corners:"all",color:{normal:{top:"#cdcdcd",right:"#cdcdcd",bottom:"#acacac",left:"#cdcdcd"},hover:{top:"#cdcdcd",right:"#cdcdcd",bottom:"#acacac",left:"#cdcdcd"},click:{top:"#cdcdcd",right:"#cdcdcd",bottom:"#cdcdcd",left:"#cdcdcd"},success:{normal:{top:"#cdcdcd",right:"#cdcdcd",bottom:"#acacac",left:"#cdcdcd"},hover:{top:"#cdcdcd",right:"#cdcdcd",bottom:"#acacac",left:"#cdcdcd"},click:{top:"#cdcdcd",right:"#cdcdcd",bottom:"#cdcdcd",left:"#cdcdcd"}}}},fancy:{color:{normal:"#fff",hover:"#fff",click:"#fff"},gradient:{normal:["#65add2","30:#0f90d2","67:#006daa","#07547d"],hover:["#5caad2","30:#0084ce","67:#006daa","#07527b"],click:["#07527b","30:#006daa","67:#0084ce","#5caad2"]},background:{normal:"#007cbb",hover:"#0083c6",click:"#007cbb"},border:{corners:"all",color:{normal:{top:"#2771aa",right:"#2771aa",bottom:"#2771aa",left:"#2771aa"},hover:{top:"#2771aa",right:"#2771aa",bottom:"#2771aa",left:"#2771aa"},click:{top:"#2771aa",right:"#2771aa",bottom:"#2771aa",left:"#2771aa"}}}},simple:{title:{padding:{left:1,right:1}},boxShadow:{hover:{off:true}}}}};
2479
+ var g=this.config.theme.split("-"),d=e;
2480
+ for(var b=0,c=g.length;
2481
+ b<c;
2482
+ b++){d=d[g[b]];
2483
+ if(!d){break
2484
+ }IN.Util.extendObject(this.settings,d)
2485
+ }f=f[this.config.size]||{};
2486
+ IN.Util.extendObject(this.settings,f)
2487
+ })
2488
+ })();
2489
+
2490
+ /* res://connect-min/dev/objects/inlink.js */
2491
+
2492
+ (function(){var a={};
2493
+ Sslac.Class("IN.Objects.InLink").Extends("IN.Objects.Base").Constructor(function(d){d=d||{};
2494
+ d={text:d.text||"",size:(d.size||"small").toLowerCase(),suppressFont:true};
2495
+ this.Parent(d);
2496
+ this.memoizer=a[d.text]=a[d.text]||{};
2497
+ this.size=d.size;
2498
+ this.sizeSettings={small:{height:16,width:16,logo:[-92,-42]}};
2499
+ var f=this.generateId(),e=false,c=this,b=$_CONSTANTS.events;
2500
+ if(!this.memoizer.markup){this.memoizer.markup=["",'<span id="{0}" class="li-connect-widget">','<a id="{0}-link" class="li-connect-link" href="javascript:void(0);"><span id="{0}-mark" class="li-connect-mark"></span></a>',(d.text)?' <a class="li-connect-link" href="javascript:void(0);"><span id="{0}-text" class="li-connect-text">'+d.text+"</span></a>":"","</a>","</span>",""].join("")
2501
+ }if(!this.memoizer.styles){this.memoizer.styles=["",this.getBaseStyles(d),""].join("").replace(/\{ID\}/g,"{0}")
2502
+ }IN.Util.addCSS(IN.Util.formatString(this.memoizer.styles,f));
2503
+ this.el().innerHTML=IN.Util.formatString(this.memoizer.markup,f);
2504
+ this.mainNodeId=f;
2505
+ this.onClick=this.addHandler(f,b.click.toLowerCase());
2506
+ this.onMouseDown=this.addHandler(f,b.mouseDown.toLowerCase());
2507
+ this.onMouseOver=this.addHandler(f,b.mouseOver.toLowerCase());
2508
+ this.onMouseOut=this.addHandler(f,b.mouseOut.toLowerCase());
2509
+ this.onClick(function(g){this.setState(b.click)
2510
+ },this);
2511
+ this.onMouseDown(function(g){this.setState(b.mouseDown)
2512
+ },this);
2513
+ this.onMouseOver(function(g){this.setState(b.mouseOver)
2514
+ },this);
2515
+ this.onMouseOut(function(){this.setState(b.mouseOut)
2516
+ },this)
2517
+ }).Method("setState",function(f){var b=IN.$Id(this.mainNodeId),e=this,d=$_CONSTANTS.events,c=$_CONSTANTS.states;
2518
+ if(!b){return
2519
+ }switch(f){case c.pending:IN.Util.addClass(b,c.pending);
2520
+ window.setTimeout(function(){e.setState(c.normal)
2521
+ },2000);
2522
+ break;
2523
+ case d.mouseOver:IN.Util.addClass(b,c.hovered);
2524
+ break;
2525
+ case d.mouseOut:IN.Util.removeClass(b,c.hovered);
2526
+ break;
2527
+ case d.mouseDown:break;
2528
+ case d.click:IN.Util.addClass(b,c.click);
2529
+ break;
2530
+ case d.normal:IN.Util.removeClass(b,c.hovered);
2531
+ IN.Util.removeClass(b,c.click);
2532
+ IN.Util.removeClass(b,c.pending);
2533
+ break
2534
+ }}).Method("getSetting",function(b){if(typeof this.sizeSettings[this.size]===$_CONSTANTS.types.undef){return this.sizeSettings.small[b]
2535
+ }return this.sizeSettings[this.size][b]
2536
+ }).Method("getBaseStyles",function(b){return["",".li-connect-widget .li-connect-mark {",this.createStyle({"background":"url("+IN.ENV.images.sprite+") "+this.getSetting("logo").join("px ")+"px no-repeat","display":"inline-block","height":this.getSetting("height")+"px","text-decoration":"none","width":this.getSetting("width")+"px","vertical-align":"middle","*margin":"0 3px","*vertical-align":"bottom"}),"}",".IN-widget .hovered .li-connect-mark {",this.createStyle({"cursor":"pointer"}),"}",".li-connect-widget.pending .li-connect-mark {",this.createStyle({"background":"url("+$_CONSTANTS.resources.spinner16x16+") no-repeat","*background":"url("+IN.ENV.images.sprite+") "+this.getSetting("logo").join("px ")+"px no-repeat","cursor":"wait"}),"}",""].join("")
2537
+ })
2538
+ })();
2539
+
2540
+ /* res://connect-min/dev/objects/callout.js */
2541
+
2542
+ (function(){var a={};
2543
+ Sslac.Class("IN.Objects.Callout").Extends("IN.Objects.Base").Constructor(function(e){e=e||{};
2544
+ e={position:e.position||"right",state:e.state||"visible",alwaysShow:e.alwaysShow||false,content:(!e.content&&e.content!==0)?"":e.content};
2545
+ this.Parent(e);
2546
+ if(e.position.toLowerCase()==="talltop"){e.position="top"
2547
+ }var h=this.generateId(),f=false,d=this,c=$_CONSTANTS.events,b=[e.position,e.state].join("::");
2548
+ this.memoizer=a[b]=a[b]||{};
2549
+ this.mainNodeId=h;
2550
+ this.alwaysShow=e.alwaysShow;
2551
+ if(!this.memoizer.markup){this.memoizer.markup=["",'<span id="{0}-container" class="IN-'+e.position+(e.state=="hidden"?" IN-hidden":"")+'">','<span id="{0}" class="IN-'+e.position+'">','<span id="{0}-inner" class="IN-'+e.position+'">','<span id="{0}-content" class="IN-'+e.position+'">{1}</span>',"</span>","</span>","</span>",""].join("")
2552
+ }if(!this.memoizer.styles){var g=[];
2553
+ switch(e.position){case"right":g.push(["","#{0}-container.IN-right {",this.createStyle({"display":"inline-block","float":"left","overflow":"visible","position":"relative","height":"18px","padding-left":"2px","line-height":"1px","cursor":"pointer","vertical-align":{MSIE:"-2px"}}),"}","#{0}.IN-right {",this.createStyle({"display":"block","float":"left","height":"18px","margin-right":"4px","padding-right":"4px","background":"url("+IN.ENV.images.sprite+") right -100px no-repeat"}),"}","#{0}-inner.IN-right {",this.createStyle({"display":"block","float":"left","padding-left":"8px","text-align":"center","background":"url("+IN.ENV.images.sprite+") 0px -60px no-repeat"}),"}","#{0}-content.IN-right {",this.createStyle({"display":"inline","font-size":"11px","color":"#04558B","font-weight":"bold","font-family":"Arial, sans-serif","line-height":"18px","padding":"0 5px 0 5px"}),"}","#{0}-container.IN-hovered #{0}.IN-right, #{0}-container.IN-clicked #{0}.IN-right, #{0}-container.IN-down #{0}.IN-right {",this.createStyle({"background-position-y":"-120px"}),"}","#{0}-container.IN-hovered #{0}-inner.IN-right, #{0}-container.IN-clicked #{0}-inner.IN-right, #{0}-container.IN-down #{0}-inner.IN-right {",this.createStyle({"background-position-y":"-80px"}),"}","#{0}-container.IN-empty {",this.createStyle({"display":"none"}),"}",""].join(""));
2554
+ break;
2555
+ case"top":g.push(["","#{0}-container.IN-top {",this.createStyle({"display":"inline-block","overflow":"visible","position":"relative","height":"42px","line-height":"1px","cursor":"pointer"}),"}","#{0}.IN-top {",this.createStyle({"display":"inline-block","height":"42px","width":"57px","background":"url("+IN.ENV.images.sprite+") -150px top no-repeat"}),"}","#{0}-content.IN-top {",this.createStyle({"display":"inline","font-size":"16px","color":"#04558B","font-weight":"bold","font-family":"Arial, sans-serif","line-height":"34px"}),"}","#{0}-container.IN-hovered #{0}.IN-top, #{0}-container.IN-clicked #{0}.IN-top, #{0}-container.IN-down #{0}.IN-top {",this.createStyle({"background-position-x":"-210px"}),"}","#{0}-container.IN-empty #{0}-inner.IN-top {",this.createStyle({"background":"url("+IN.ENV.images.sprite+") 0px -20px no-repeat","overflow":"hidden","margin":"5px auto 0 auto","width":"26px","height":"26px","display":"block"}),"}","#{0}-container.IN-empty #{0}-content.IN-top {",this.createStyle({"text-indent":"-999px","display":"inline-block"}),"}",""].join(""));
2556
+ break
2557
+ }g.push(["#{0}-container.IN-hidden #{0} {",this.createStyle({"display":"none"}),"}"].join(""));
2558
+ this.memoizer.styles=g.join("")
2559
+ }IN.Util.addCSS(IN.Util.formatString(this.memoizer.styles,h));
2560
+ this.el().innerHTML=IN.Util.formatString(this.memoizer.markup,h,e.content);
2561
+ this.onClick=this.addHandler(h,c.click.toLowerCase());
2562
+ this.onMouseDown=this.addHandler(h,c.mouseDown.toLowerCase());
2563
+ this.onMouseOver=this.addHandler(h,c.mouseOver.toLowerCase());
2564
+ this.onMouseOut=this.addHandler(h,c.mouseOut.toLowerCase());
2565
+ this.onClick(function(i){this.setState(c.click)
2566
+ },this);
2567
+ this.onMouseDown(function(i){this.setState(c.mouseDown)
2568
+ },this);
2569
+ this.onMouseOver(function(i){this.setState(c.mouseOver)
2570
+ },this);
2571
+ this.onMouseOut(function(){this.setState(c.mouseOut)
2572
+ },this)
2573
+ }).Method("setContent",function(d){var c=IN.$Id(this.mainNodeId+"-container"),b=IN.$Id(this.mainNodeId+"-content");
2574
+ IN.Util.removeClass(c,$_CONSTANTS.prefixes.IN+"empty");
2575
+ if(d==="0"||d===""){IN.Util.addClass(c,$_CONSTANTS.prefixes.IN+"empty")
2576
+ }b.innerHTML=d
2577
+ }).Method("getContent",function(){var b=IN.$Id(this.mainNodeId+"-content");
2578
+ return b.innerHTML
2579
+ }).Method("setState",function(g){var b=IN.$Id(this.mainNodeId+"-container"),e=this,d=$_CONSTANTS.events,c=$_CONSTANTS.states,f=$_CONSTANTS.prefixes;
2580
+ switch(g){case c.hidden:IN.Util.addClass(b,f.IN+c.hidden);
2581
+ break;
2582
+ case c.visible:IN.Util.removeClass(b,f.IN+c.hidden);
2583
+ break;
2584
+ case d.mouseOver:IN.Util.addClass(b,f.IN+c.hovered);
2585
+ break;
2586
+ case d.mouseDown:IN.Util.addClass(b,f.IN+c.down);
2587
+ break;
2588
+ case d.mouseOut:IN.Util.removeClass(b,f.IN+c.hovered);
2589
+ IN.Util.removeClass(b,f.IN+c.down);
2590
+ break;
2591
+ case d.click:if(IN.Util.hasClass(b,f.IN+c.clicked)){return
2592
+ }IN.Util.removeClass(b,f.IN+c.hovered);
2593
+ IN.Util.addClass(b,f.IN+c.clicked);
2594
+ window.setTimeout(function(){e.setState(c.normal)
2595
+ },2000);
2596
+ break;
2597
+ case d.normal:IN.Util.removeClass(b,f.IN+c.hidden);
2598
+ IN.Util.removeClass(b,f.IN+c.clicked);
2599
+ break
2600
+ }})
2601
+ })();
2602
+
2603
+ /* res://connect-min/dev/objects/smartwindow.js */
2604
+
2605
+ Sslac.Class("IN.Objects.SmartWindow").Extends("IN.Objects.Base").Constructor(function Constructor(a){var c=$_CONSTANTS.modes;
2606
+ a=a||{};
2607
+ a={url:a.url||"about:blank",xd:a.xd||{},mode:a.mode||c.auto,anchor:a.anchor||null,method:a.method||null,width:a.width||IN.ENV.ui.popup_window_width,height:a.height||400};
2608
+ a.xd.secure=a.xd.secure||IN.ENV.url.xd_html;
2609
+ a.xd.unsecure=a.xd.unsecure||IN.ENV.url.xd_us_html;
2610
+ this.onWindowCreate=new IN.CustomEvent("windowCreate");
2611
+ this.onWindowRemove=new IN.CustomEvent("windowRemove",true);
2612
+ this.onWindowResize=new IN.CustomEvent("windowResize");
2613
+ this.Parent(a);
2614
+ var b=$_PATTERNS.protocols.secure.test(a.url);
2615
+ this.disableRefresh=a.disableRefresh;
2616
+ this.anchorInfo=a.anchor;
2617
+ this.transport=null;
2618
+ this.created=false;
2619
+ this.channelId=IN.$uid();
2620
+ this.postUrl=a.url;
2621
+ this.transportMethod=a.method;
2622
+ this.transportUrl=(b)?a.xd.secure:a.xd.unsecure;
2623
+ this.xdSwfUrl=(b)?IN.ENV.images.secure_xdswf:IN.ENV.images.unsecure_xdswf;
2624
+ this.postParams={};
2625
+ this.transportOptions=[];
2626
+ this.callbacks={success:[],error:[],ready:[]};
2627
+ this.width=a.width;
2628
+ this.height=a.height;
2629
+ this.config=a;
2630
+ this.frameMode=a.mode;
2631
+ if(this.frameMode==c.auto){if(IN.User.isAuthorized()){this.frameMode=c.modal
2632
+ }else{this.frameMode=c.popup
2633
+ }}this.onWindowCreate.subscribe(function(){this.created=true
2634
+ },this);
2635
+ this.transportOptions.push("target="+this.channelId);
2636
+ this.transportOptions.push("width="+this.width);
2637
+ this.transportOptions.push("height="+this.height);
2638
+ switch(this.frameMode){case c.inlineIframe:case c.iframe:case c.embedded:case c.modal:case c.hovercard:case c.invisible:this.transportOptions.push("mode=wrapper");
2639
+ break;
2640
+ case c.popup:win=window.open(this.transportUrl+"#mode=popup-wait&target=easyXDM_IN_Lib_"+this.channelId+"_provider","easyXDM_IN_Lib_"+this.channelId+"_provider_popup","width="+this.width+", height="+this.height);
2641
+ this.transportOptions.push("mode=popup");
2642
+ break
2643
+ }return this
2644
+ }).Method("remove",function remove(){if(this.transport){this.transport.destroy();
2645
+ this.transport=null
2646
+ }this.onWindowRemove.fire();
2647
+ this.Parent()
2648
+ }).Method("params",function params(a){this.postParams=a;
2649
+ return this
2650
+ }).Method("ready",function ready(b,a){return this.pushCallback(b,"ready",a)
2651
+ }).Method("success",function success(b,a){return this.pushCallback(b,"success",a)
2652
+ }).Method("error",function error(b,a){return this.pushCallback(b,"error",a)
2653
+ }).Method("pushCallback",function handleEvent(b,c,a){this.callbacks[c].push({fn:b||function(){},scope:a||window});
2654
+ return this
2655
+ }).Method("handleWidgetReady",function handleWidgetReady(b,c,a){this.handleCallback(b,c,a,"ready")
2656
+ }).Method("handleWidgetSuccess",function handleWidgetSuccess(b,c,a){this.handleCallback(b,c,a,"success")
2657
+ }).Method("handleWidgetFailure",function handleWidgetFailure(b,c,a){this.handleCallback(b,c,a,"error")
2658
+ }).Method("handleWidgetReload",function handleWidgetReload(a){if(a&&a!==this.postUrl){this.remove();
2659
+ this.postUrl=a;
2660
+ var b=$_PATTERNS.protocols.secure.test(a);
2661
+ this.transportUrl=(b)?this.config.xd.secure:this.config.xd.unsecure;
2662
+ this.xdSwfUrl=(b)?IN.ENV.images.secure_xdswf:IN.ENV.images.unsecure_xdswf;
2663
+ this.place()
2664
+ }else{this.transport.refresh()
2665
+ }}).Method("handleCallback",function handleCallback(f,g,c,e){if(this.callbacks[e]&&this.callbacks[e].length){for(var d=0,b=this.callbacks[e].length;
2666
+ d<b;
2667
+ d++){var a=this.callbacks[e][d];
2668
+ a.fn.call(a.scope,f)
2669
+ }}g()
2670
+ }).Method("mode",function mode(c){var b=this.frameOptions,f=this.frameMode||"",e=this,d={},h=$_CONSTANTS.events,i=$_CONSTANTS.modes;
2671
+ switch(c.toLowerCase()){case i.embedded:d={embedded:true};
2672
+ break;
2673
+ case i.modal:d={embedded:false,shadowBox:true,closeOnDocClick:true,overlay:true,reCenter:true};
2674
+ break;
2675
+ case i.hovercard:d={embedded:false,overlay:true,closeOnDocClick:true};
2676
+ break;
2677
+ case i.invisible:d={embedded:false,closeOnDocClick:false,disableRefresh:true};
2678
+ break;
2679
+ case i.popup:d={popup:true};
2680
+ if(f&&f!=="popup"){throw new Error("cannot change to the popup type")
2681
+ }break;
2682
+ default:throw new Error(c+" is not supported")
2683
+ }this.frameMode=c;
2684
+ this.frameOptions=d;
2685
+ function g(j){if(d.popup){return
2686
+ }j.style.position="";
2687
+ if(!d.embedded){IN.Objects.Lib.setShadowExempt(e.el());
2688
+ j.style.position="absolute";
2689
+ j.style.left="-2345px";
2690
+ j.style.top="0"
2691
+ }if(d.overlay){j.style.zIndex="9999"
2692
+ }else{j.style.zIndex=""
2693
+ }if(!d.shadowBox){IN.Objects.Lib.setShadowBox(false)
2694
+ }}function a(j){if(d.popup){return
2695
+ }function l(){IN.Event.remove(IN,h.refresh,e.triggerRefresh,e);
2696
+ IN.Event.remove(IN,h.logout,e.triggerRefresh,e);
2697
+ e.remove()
2698
+ }function k(){IN.Objects.Lib.center(j)
2699
+ }if(d.closeOnDocClick){IN.Event.onOnce(document,h.click,l,e.transport)
2700
+ }else{if(b&&b.closeOnDocClick){IN.Event.remove(document,h.click,l,e.transport)
2701
+ }}if(!d.disableRefresh){IN.Event.on(IN,h.refresh,e.triggerRefresh,e);
2702
+ IN.Event.on(IN,h.logout,e.triggerRefresh,e)
2703
+ }else{if(b&&!b.disableRefresh){IN.Event.remove(IN,h.refresh,e.triggerRefresh,e);
2704
+ IN.Event.remove(IN,h.logout,e.triggerRefresh,e)
2705
+ }}if(d.reCenter){IN.Event.on(window,h.resize,k,e)
2706
+ }else{IN.Event.remove(window,h.resize,k,e)
2707
+ }}if(this.created){g(this.frameNode);
2708
+ a(this.frameNode)
2709
+ }else{this.onWindowCreate.subscribe(function(){if(this.frameNode){g(this.frameNode);
2710
+ a(this.frameNode);
2711
+ this.frameNode.style.width="1px";
2712
+ this.frameNode.style.height="1px";
2713
+ this.frameNode.style.display="inline-block"
2714
+ }if(d.shadowBox){IN.Objects.Lib.setShadowBox(true)
2715
+ }},this);
2716
+ this.onWindowRemove.subscribe(function(){IN.Objects.Lib.setShadowBox(false)
2717
+ },this)
2718
+ }}).Method("triggerRefresh",function triggerRefresh(){if(this.transport&&this.transport.refresh){this.transport.refresh()
2719
+ }}).Method("place",function place(a,d){a||(a=this.where);
2720
+ d||(d=this.target);
2721
+ this.where=a;
2722
+ this.target=d;
2723
+ this.Parent(a,d);
2724
+ var e,b=this.transportOptions.join("&"),c=$_CONSTANTS.modes;
2725
+ switch(this.frameMode){case c.embedded:case c.hovercard:case c.invisible:case c.modal:e=this.getEmbeddedRpc(b);
2726
+ break;
2727
+ case c.popup:e=this.getPopupRpc(b);
2728
+ break
2729
+ }this.postParams.original_referer=location.href;
2730
+ this.postParams.token=IN.ENV.auth.anonymous_token;
2731
+ this.postParams.isFramed=""+IN.ENV.js.isFramed;
2732
+ this.mode(this.frameMode);
2733
+ this.transport=new IN.Lib.easyXDM.Rpc(e[0],e[1]);
2734
+ return this
2735
+ }).Method("getPopupRpc",function getPopupRpc(j){var f=this,c,b,g,d="";
2736
+ c={remote:this.transportUrl+"#"+j,swf:this.xdSwfUrl,hash:true,channel:this.channelId,onReady:function h(){f.onWindowCreate.fire();
2737
+ f.transport.form({action:f.postUrl,items:f.postParams,method:f.transportMethod})
2738
+ }};
2739
+ b={local:{authorize:function e(r,o,q,s,p){IN.User.setAuthorized(r,o,q);
2740
+ s()
2741
+ },logout:function n(p,o){IN.User.setLoggedOut();
2742
+ p()
2743
+ },reload:function a(o){f.handleWidgetReload(o)
2744
+ },widgetSuccess:function m(p,q,o){f.handleWidgetSuccess(p,q,o)
2745
+ },widgetError:function i(p,q,o){f.handleWidgetFailure(p,q,o)
2746
+ },widgetReady:function l(p,q,o){f.handleWidgetReady(p,q,o)
2747
+ },closedWindow:function k(q,o){window.setTimeout(function p(){f.remove()
2748
+ },1)
2749
+ }},remote:{form:{}}};
2750
+ return[c,b]
2751
+ }).Method("getEmbeddedRpc",function getIframeRpc(h){var e=this,d,c,i;
2752
+ d={remote:this.transportUrl+"#"+h,hash:true,swf:this.xdSwfUrl,channel:this.channelId,container:this.el(),props:{style:{position:"absolute"}},onReady:function f(){i=e.el().getElementsByTagName("iframe")[0];
2753
+ e.frameNode=i;
2754
+ e.onWindowCreate.fire(i);
2755
+ e.transport.form({action:e.postUrl,items:e.postParams,method:e.transportMethod})
2756
+ }};
2757
+ c={local:{logout:function n(p,o){IN.User.setLoggedOut();
2758
+ p()
2759
+ },reload:function a(o){e.handleWidgetReload(o)
2760
+ },resize:function b(t,p,v,q){i.style.width=t+"px";
2761
+ i.style.height=p+"px";
2762
+ if(!e.frameOptions.embedded&&e.frameMode!=="hovercard"){var o=IN.Objects.Lib.getCenter(i);
2763
+ if(e.hasAnimated){IN.Objects.Lib.slideTo(i,o,{bounce:0,duration:200})
2764
+ }else{var s=IN.Objects.Lib.getViewport();
2765
+ var u=IN.Objects.Lib.getScrollOffsets();
2766
+ e.hasAnimated=true;
2767
+ i.style.left=o.left+"px";
2768
+ i.style.top=u.top+s.height-(o.bottom-o.top)+"px";
2769
+ IN.Objects.Lib.slideTo(i,o)
2770
+ }}if(!e.frameOptions.embedded&&e.anchorInfo){var r=IN.Objects.Lib.anchor(e.anchorInfo.fixed,i,e.anchorInfo.context);
2771
+ e.transport.mode({display:"hover",context:r.movable})
2772
+ }e.onWindowResize.fire({node:e.el(),width:t,height:p});
2773
+ v({width:t,height:p})
2774
+ },login:function k(p,o){IN.GlobalEvents.refresh.fire()
2775
+ },close:function m(p,o){e.remove()
2776
+ },widgetSuccess:function l(p,q,o){e.handleWidgetSuccess(p,q,o)
2777
+ },widgetError:function g(p,q,o){e.handleWidgetFailure(p,q,o);
2778
+ IN.Objects.Lib.shake(i)
2779
+ },widgetReady:function j(p,q,o){e.handleWidgetReady(p,q,o)
2780
+ }},remote:{mode:{},refresh:{},form:{}}};
2781
+ return[d,c]
2782
+ });
2783
+
2784
+ /* res://connect-min/dev/ui/ui.js */
2785
+
2786
+ Sslac.Static("IN.UI").Static("Authorize",function(){var a=["",IN.ENV.url.authorize,(IN.ENV.url.authorize.indexOf("?")===-1)?"?":"&","client_id="+IN.ENV.auth.api_key,"&type=user-agent",""].join("");
2787
+ var b=new IN.Objects.SmartWindow({url:a,mode:"popup"});
2788
+ return b
2789
+ }).Static("WidgetSignin",function(b){var a=IN.ENV.url.login,c;
2790
+ b=b||{};
2791
+ c=new IN.Objects.SmartWindow({url:a,mode:"popup",existingPopup:b.existingPopup||null});
2792
+ return c
2793
+ }).Static("Logout",function(){var a=IN.ENV.url.logout,b;
2794
+ a=a.replace(/\{OAUTH_TOKEN\}/,IN.ENV.auth.oauth_token).replace(/\{API_KEY\}/,IN.ENV.auth.api_key);
2795
+ b=new IN.Objects.SmartWindow({mode:"invisible",url:a,disableRefresh:true});
2796
+ b.success(function(){IN.User.setLoggedOut()
2797
+ });
2798
+ return b
2799
+ }).Static("Share",function(){return new IN.Objects.SmartWindow({url:IN.ENV.widget.share_url})
2800
+ }).Static("Apply",function(){return new IN.Objects.SmartWindow({mode:"modal",url:IN.ENV.widget.apply_url})
2801
+ }).Static("Debugger",function(){return new IN.Objects.SmartWindow({mode:"popup",url:IN.ENV.widget.settings_url})
2802
+ });
2803
+
2804
+ /* res://connect-min/dev/user/user.js */
2805
+
2806
+ Sslac.Static("IN.User").Static("setAuthorized",function(b,c,a){IN.ENV.auth.oauth_token=b;
2807
+ IN.ENV.auth.member_id=c;
2808
+ IN.User.setOauthCookie(a);
2809
+ window.setTimeout(function d(){IN.GlobalEvents.auth.fire();
2810
+ IN.GlobalEvents.refresh.fire()
2811
+ },1)
2812
+ }).Static("setNotAuthorized",function(){IN.GlobalEvents.noAuth.fire()
2813
+ }).Static("setLoggedOut",function(){IN.ENV.auth.oauth_token="";
2814
+ IN.ENV.auth.member_id="";
2815
+ IN.User.setOauthCookie("");
2816
+ window.setTimeout(function a(){IN.GlobalEvents.logout.fire()
2817
+ },1)
2818
+ }).Static("authorize",function(b,a){a=a||window;
2819
+ if(IN.User.isAuthorized()){if(b){b.apply(a)
2820
+ }return true
2821
+ }else{if(b){IN.Event.onOnce(IN,$_CONSTANTS.events.auth,b,a)
2822
+ }IN.UI.Authorize().place();
2823
+ return false
2824
+ }}).Static("logout",function(b,a){var c=IN.UI.Logout();
2825
+ a=a||window;
2826
+ if(b){c.success(b,a)
2827
+ }c.place(document.body)
2828
+ }).Static("refresh",function(){var a=IN.ENV.url.userspace_renew,b=document.createElement("script");
2829
+ a=a.replace(/\{API_KEY\}/,IN.ENV.auth.api_key);
2830
+ b.type="text/javascript";
2831
+ b.src=a;
2832
+ b.className="in_keepalive";
2833
+ IN.$Tag("head")[0].appendChild(b)
2834
+ }).Static("isAuthorized",function(){if(IN.ENV.auth.oauth_token||IN.ENV.auth.oauth_verified){return true
2835
+ }return false
2836
+ }).Static("setOauthCookie",function(a){var f="linkedin_oauth_"+IN.ENV.auth.api_key;
2837
+ if(!IN.ENV.auth.is_set_client_auth_cookie||a===""||a===null){window.setTimeout(function d(){document.cookie=f+"=null;path=/;secure;expires=0";
2838
+ document.cookie=f+"_crc=null;path=/;expires=0"
2839
+ },0);
2840
+ return
2841
+ }if(typeof a===$_CONSTANTS.types.string){try{a=JSON.parse(a)
2842
+ }catch(c){}}if((typeof a)===$_CONSTANTS.types.object){a=encodeURIComponent(JSON.stringify(a))
2843
+ }window.setTimeout(function b(){document.cookie=f+"="+a+";path=/;secure;";
2844
+ if(IN.ENV.js.credentialsCookieCrc){document.cookie=f+"_crc="+IN.Util.crc32(a)+";path=/;"
2845
+ }},0)
2846
+ }).Static("getUIMode",function(){var a=IN.User,b=$_CONSTANTS.modes;
2847
+ if(!a.isAuthorized()){return b.window
2848
+ }else{return b.iframe
2849
+ }}).Static("getMemberId",function(){return(IN.ENV&&IN.ENV.auth&&IN.ENV.auth.member_id)?IN.ENV.auth.member_id:""
2850
+ });
2851
+
2852
+ /* res://connect-min/dev/misc/anon_error.js */
2853
+
2854
+ (function(){var a={apply:"IN/Apply requires an API key to use. See http://developer.linkedin.com/apply-getting-started for more info.",generic:"IN/{0} requires an API key to use. See http://developer.linkedin.com/documents/getting-started-javascript-api for more info."};
2855
+ Sslac.Class("IN.Tags.Apply").Extends("IN.Tags.Base").Constructor(function(c,b){throw a.apply
2856
+ });
2857
+ IN.addTag("Apply",IN.Tags.Apply);
2858
+ Sslac.Class("IN.Tags.MemberData").Extends("IN.Tags.Base").Constructor(function(c,b){throw IN.Util.formatString(a["generic"],"MemberData")
2859
+ });
2860
+ IN.addTag("MemberData",IN.Tags.MemberData);
2861
+ Sslac.Class("IN.Tags.FullMemberProfile").Extends("IN.Tags.Base").Constructor(function(c,b){throw IN.Util.formatString(a["generic"],"FullMemberProfile")
2862
+ });
2863
+ IN.addTag("FullMemberProfile",IN.Tags.FullMemberProfile)
2864
+ })();
2865
+
2866
+ /* res://connect-min/dev/connect/onload.js */
2867
+
2868
+ (function(){var g,b,c=false,f=20,d=4000,h=Math.floor(d/f);
2869
+ IN.GlobalEvents.frameworkLoaded.fire();
2870
+ IN.Event.on(IN,$_CONSTANTS.events.systemReady,function(){if(IN.ENV.js.onLoad){for(var l,k=0,m=IN.ENV.js.onLoad.split(","),j=m.length;
2871
+ k<j&&(l=m[k]);
2872
+ k++){var n=Sslac.valueOf(IN.Util.trim(l));
2873
+ if(n&&typeof(n)==$_CONSTANTS.types.func){n.call()
2874
+ }else{throw new Error("Could not execute '"+l+"'. Please provide a valid function for callback.")
2875
+ }}}});
2876
+ function a(){var k=[],l=IN.ENV.js.extensions;
2877
+ c=true;
2878
+ for(var j in l){if(l[j].loaded===false){k.push(j+" @ "+(l[j].src||"linkedin"))
2879
+ }}if(console&&console.log){console.log("The following extensions did not load: "+k.join(", "))
2880
+ }}function i(){if(c){return true
2881
+ }if(!IN.ENV.js||!IN.ENV.js.extensions){return true
2882
+ }var k=IN.ENV.js.extensions;
2883
+ for(var j in k){if(k[j].loaded===false){return false
2884
+ }}return true
2885
+ }function e(){if(i()){window.clearTimeout(g);
2886
+ IN.Event.onDOMReady(function j(){IN.GlobalEvents.systemReady.fire()
2887
+ })
2888
+ }else{h--;
2889
+ if(h<=0){a()
2890
+ }else{g=window.setTimeout(e,10)
2891
+ }}}e();
2892
+ if(!IN.ENV.js.deferParse){IN.parse(document.body)
2893
+ }})();
2894
+
2895
+ /* res://connect-min/dev/connect/_close.njs */
2896
+
2897
+
2898
+ // restore window scoped vars that were touched in the framework
2899
+ // this will only restore them if it was defined previously
2900
+ // this allows our implementation to persist without polluting the window scope
2901
+ for(var key in $_WIN) {
2902
+ if($_WIN.hasOwnProperty(key)) {
2903
+ if(typeof $_WIN[key] !== $_CONSTANTS.types.undef) {
2904
+ // restore into window
2905
+ window[key] = $_WIN[key];
2906
+ }
2907
+ // remove it from $_WIN
2908
+ $_WIN[key] = undefined;
2909
+ }
2910
+ }
2911
+
2912
+ /* end anon function */
2913
+ })(window, document); // pass in window and document references (for localization, see _open.njs)