html-snapshots 1.3.2 → 1.5.0

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 (253) hide show
  1. package/lib/common/index.js +57 -3
  2. package/lib/common/sitemap/sitemap-collection.js +3 -2
  3. package/lib/common/sitemap/sitemap-index.js +1 -4
  4. package/lib/common/sitemap/sitemap.js +15 -13
  5. package/lib/html-snapshots.js +5 -6
  6. package/lib/input-generators/_base.js +5 -5
  7. package/package.json +5 -6
  8. package/.c8rc.json +0 -5
  9. package/.eslintignore +0 -5
  10. package/.eslintrc.json +0 -16
  11. package/.github/issue_template.md +0 -16
  12. package/.github/workflows/verify.yml +0 -32
  13. package/docs/example-heroku-redis.md +0 -43
  14. package/docs/notes.md +0 -42
  15. package/examples/README.md +0 -149
  16. package/examples/custom/README.md +0 -22
  17. package/examples/custom/myFilter.js +0 -22
  18. package/examples/custom/package-lock.json +0 -2804
  19. package/examples/custom/package.json +0 -12
  20. package/examples/custom/snapshot.js +0 -28
  21. package/examples/debug-phantomjs/README.md +0 -38
  22. package/examples/debug-phantomjs/package-lock.json +0 -2922
  23. package/examples/debug-phantomjs/package.json +0 -12
  24. package/examples/debug-phantomjs/snapshot.js +0 -60
  25. package/examples/debug-puppeteer/README.md +0 -18
  26. package/examples/debug-puppeteer/package-lock.json +0 -2804
  27. package/examples/debug-puppeteer/package.json +0 -12
  28. package/examples/debug-puppeteer/snapshot.js +0 -30
  29. package/examples/html5rocks/README.md +0 -22
  30. package/examples/html5rocks/package-lock.json +0 -3218
  31. package/examples/html5rocks/package.json +0 -12
  32. package/examples/html5rocks/snapshot.js +0 -59
  33. package/examples/process-limit/README.md +0 -24
  34. package/examples/process-limit/package-lock.json +0 -2830
  35. package/examples/process-limit/package.json +0 -12
  36. package/examples/process-limit/snapshot.js +0 -30
  37. package/examples/simple-promise/README.md +0 -20
  38. package/examples/simple-promise/package-lock.json +0 -2830
  39. package/examples/simple-promise/package.json +0 -12
  40. package/examples/simple-promise/snapshot.js +0 -30
  41. package/examples/sitemap-index/README.md +0 -20
  42. package/examples/sitemap-index/package-lock.json +0 -2830
  43. package/examples/sitemap-index/package.json +0 -12
  44. package/examples/sitemap-index/snapshot.js +0 -34
  45. package/examples/verbose/README.md +0 -22
  46. package/examples/verbose/package-lock.json +0 -2805
  47. package/examples/verbose/package.json +0 -12
  48. package/examples/verbose/snapshot.js +0 -34
  49. package/test/helpers/options.js +0 -55
  50. package/test/helpers/result.js +0 -32
  51. package/test/helpers/sitemap.js +0 -130
  52. package/test/mocha/async/test.js +0 -416
  53. package/test/mocha/browsers/puppeteer.js +0 -129
  54. package/test/mocha/browsers/server/index.html +0 -9
  55. package/test/mocha/browsers/test.js +0 -11
  56. package/test/mocha/common/helpers.js +0 -87
  57. package/test/mocha/common/test.js +0 -188
  58. package/test/mocha/html-snapshots/basics.js +0 -88
  59. package/test/mocha/html-snapshots/myFilter.js +0 -10
  60. package/test/mocha/html-snapshots/phantomjs-options.js +0 -156
  61. package/test/mocha/html-snapshots/process-limit.js +0 -156
  62. package/test/mocha/html-snapshots/puppeteer.js +0 -47
  63. package/test/mocha/html-snapshots/robots.js +0 -194
  64. package/test/mocha/html-snapshots/server/contact/index.html +0 -57
  65. package/test/mocha/html-snapshots/server/favicon.ico +0 -0
  66. package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.eot +0 -0
  67. package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.svg +0 -220
  68. package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.ttf +0 -0
  69. package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.woff +0 -0
  70. package/test/mocha/html-snapshots/server/images/ajax-loader.gif +0 -0
  71. package/test/mocha/html-snapshots/server/images/art1.jpg +0 -0
  72. package/test/mocha/html-snapshots/server/images/carpet.jpg +0 -0
  73. package/test/mocha/html-snapshots/server/images/carpets/carpet1.jpg +0 -0
  74. package/test/mocha/html-snapshots/server/images/carpets/carpet1_th.jpg +0 -0
  75. package/test/mocha/html-snapshots/server/images/carpets/carpet2.jpg +0 -0
  76. package/test/mocha/html-snapshots/server/images/carpets/carpet2_th.jpg +0 -0
  77. package/test/mocha/html-snapshots/server/images/carpets/carpet3.jpg +0 -0
  78. package/test/mocha/html-snapshots/server/images/carpets/carpet3_th.jpg +0 -0
  79. package/test/mocha/html-snapshots/server/images/carpets/carpet4.jpg +0 -0
  80. package/test/mocha/html-snapshots/server/images/carpets/carpet4_th.jpg +0 -0
  81. package/test/mocha/html-snapshots/server/images/floor.jpg +0 -0
  82. package/test/mocha/html-snapshots/server/images/foundation/orbit/bullets.jpg +0 -0
  83. package/test/mocha/html-snapshots/server/images/foundation/orbit/left-arrow-small.png +0 -0
  84. package/test/mocha/html-snapshots/server/images/foundation/orbit/left-arrow.png +0 -0
  85. package/test/mocha/html-snapshots/server/images/foundation/orbit/loading.gif +0 -0
  86. package/test/mocha/html-snapshots/server/images/foundation/orbit/mask-black.png +0 -0
  87. package/test/mocha/html-snapshots/server/images/foundation/orbit/pause-black.png +0 -0
  88. package/test/mocha/html-snapshots/server/images/foundation/orbit/right-arrow-small.png +0 -0
  89. package/test/mocha/html-snapshots/server/images/foundation/orbit/right-arrow.png +0 -0
  90. package/test/mocha/html-snapshots/server/images/foundation/orbit/rotator-black.png +0 -0
  91. package/test/mocha/html-snapshots/server/images/foundation/orbit/timer-black.png +0 -0
  92. package/test/mocha/html-snapshots/server/images/home-sprite/certification.png +0 -0
  93. package/test/mocha/html-snapshots/server/images/home-sprite/cleantrust.png +0 -0
  94. package/test/mocha/html-snapshots/server/images/home-sprite/institute.png +0 -0
  95. package/test/mocha/html-snapshots/server/images/home-sprite-s1a48fdbd81.png +0 -0
  96. package/test/mocha/html-snapshots/server/images/logo-300.png +0 -0
  97. package/test/mocha/html-snapshots/server/images/slider1-lg.jpg +0 -0
  98. package/test/mocha/html-snapshots/server/images/slider1.jpg +0 -0
  99. package/test/mocha/html-snapshots/server/index.css +0 -1
  100. package/test/mocha/html-snapshots/server/index.html +0 -57
  101. package/test/mocha/html-snapshots/server/nojq/index.html +0 -46
  102. package/test/mocha/html-snapshots/server/pjsopts/index.html +0 -55
  103. package/test/mocha/html-snapshots/server/public/page-sitemap.xml +0 -16
  104. package/test/mocha/html-snapshots/server/public/wordpress/category-sitemap.xml +0 -13
  105. package/test/mocha/html-snapshots/server/public/wordpress/page-sitemap.xml +0 -16
  106. package/test/mocha/html-snapshots/server/public/wordpress/post-sitemap.xml +0 -27
  107. package/test/mocha/html-snapshots/server/public/wordpress/post_tag-sitemap.xml +0 -17
  108. package/test/mocha/html-snapshots/server/public/wordpress/product-sitemap.xml +0 -13
  109. package/test/mocha/html-snapshots/server/public/wordpress-2/category-sitemap.xml +0 -13
  110. package/test/mocha/html-snapshots/server/public/wordpress-2/page-sitemap.xml +0 -16
  111. package/test/mocha/html-snapshots/server/public/wordpress-2/post-sitemap.xml +0 -27
  112. package/test/mocha/html-snapshots/server/public/wordpress-2/post_tag-sitemap.xml +0 -17
  113. package/test/mocha/html-snapshots/server/public/wordpress-2/product-sitemap.xml +0 -13
  114. package/test/mocha/html-snapshots/server/require.js +0 -1
  115. package/test/mocha/html-snapshots/server/services/carpets/index.html +0 -57
  116. package/test/mocha/html-snapshots/server/test_robots.txt +0 -13
  117. package/test/mocha/html-snapshots/server/test_robots_sitemap.txt +0 -15
  118. package/test/mocha/html-snapshots/server/test_robots_sitemap.xml +0 -22
  119. package/test/mocha/html-snapshots/server/test_sitemap_index-2.xml +0 -25
  120. package/test/mocha/html-snapshots/server/test_sitemap_index-3.xml +0 -25
  121. package/test/mocha/html-snapshots/server/test_sitemap_index.xml +0 -25
  122. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/custom-validity.js +0 -1
  123. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/modernizr-custom.js +0 -1
  124. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/mousepress.js +0 -1
  125. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/polyfiller.js +0 -1
  126. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/canvas2png.js +0 -1
  127. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/flashcanvas.js +0 -1
  128. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/flashcanvas.swf +0 -0
  129. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/proxy.php +0 -73
  130. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/save.php +0 -49
  131. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/canvas2png.js +0 -1
  132. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flash10canvas.swf +0 -0
  133. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flash9canvas.swf +0 -0
  134. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flashcanvas.js +0 -1
  135. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/proxy.php +0 -73
  136. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/save.php +0 -49
  137. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/1.js +0 -1
  138. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/10.js +0 -1
  139. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/11.js +0 -1
  140. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/12.js +0 -1
  141. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/13.js +0 -1
  142. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/14.js +0 -1
  143. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/15.js +0 -1
  144. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/16.js +0 -1
  145. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/17.js +0 -1
  146. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/18.js +0 -1
  147. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/19.js +0 -1
  148. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/2.js +0 -1
  149. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/20.js +0 -1
  150. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/21.js +0 -1
  151. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/22.js +0 -1
  152. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/23.js +0 -1
  153. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/24.js +0 -1
  154. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/25.js +0 -1
  155. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/26.js +0 -1
  156. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/27.js +0 -1
  157. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/3.js +0 -1
  158. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/4.js +0 -1
  159. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/5.js +0 -1
  160. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/59.js +0 -1
  161. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/6.js +0 -1
  162. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/7.js +0 -1
  163. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/8.js +0 -1
  164. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/9.js +0 -1
  165. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/details.js +0 -1
  166. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/dom-extend.js +0 -1
  167. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/es5.js +0 -1
  168. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/excanvas.js +0 -1
  169. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-core.js +0 -1
  170. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-datalist.js +0 -1
  171. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-message.js +0 -1
  172. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-native-extend.js +0 -1
  173. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-number-date-api.js +0 -1
  174. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-number-date-ui.js +0 -1
  175. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-shim-extend.js +0 -1
  176. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/geolocation.js +0 -1
  177. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ar.js +0 -1
  178. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ch-ZN.js +0 -1
  179. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-de.txt +0 -33
  180. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-el.js +0 -1
  181. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-en.txt +0 -34
  182. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-es.js +0 -1
  183. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-fr.js +0 -1
  184. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-he.js +0 -1
  185. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-hi.js +0 -1
  186. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-hu.js +0 -1
  187. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-it.js +0 -1
  188. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ja.js +0 -1
  189. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-nl.js +0 -1
  190. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-pt-PT.js +0 -1
  191. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ru.js +0 -1
  192. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-sv.js +0 -1
  193. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/json-storage.js +0 -1
  194. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/license.txt +0 -1
  195. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/player.swf +0 -0
  196. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/readme.html +0 -87
  197. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-core.js +0 -1
  198. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-jaris.js +0 -1
  199. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-native-fix.js +0 -1
  200. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-swf.js +0 -1
  201. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-yt.js +0 -1
  202. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/details-arrows.png +0 -0
  203. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/forms.png +0 -0
  204. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/polyfill-loader.gif +0 -0
  205. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/shim.css +0 -1
  206. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/JarisFLVPlayer.swf +0 -0
  207. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/jwwebshims.swf +0 -0
  208. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/localStorage.swf +0 -0
  209. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/track-ui.js +0 -1
  210. package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/track.js +0 -1
  211. package/test/mocha/html-snapshots/server/vendor/js/plugins/cload.js +0 -49
  212. package/test/mocha/html-snapshots/server/vendor/js/plugins/modernizr.js +0 -4
  213. package/test/mocha/html-snapshots/server/vendor/js/plugins/oldie.js +0 -74
  214. package/test/mocha/html-snapshots/sitemap-index.js +0 -140
  215. package/test/mocha/html-snapshots/sitemap.js +0 -104
  216. package/test/mocha/html-snapshots/snapshot-scripts.js +0 -206
  217. package/test/mocha/html-snapshots/test.js +0 -105
  218. package/test/mocha/html-snapshots/test_robots.txt +0 -13
  219. package/test/mocha/html-snapshots/test_sitemap.xml +0 -22
  220. package/test/mocha/html-snapshots/use-jquery.js +0 -144
  221. package/test/mocha/html-snapshots/utils.js +0 -200
  222. package/test/mocha/input-generators/server/public/wordpress/category-sitemap.xml +0 -13
  223. package/test/mocha/input-generators/server/public/wordpress/page-sitemap.xml +0 -16
  224. package/test/mocha/input-generators/server/public/wordpress/post-sitemap.xml +0 -55
  225. package/test/mocha/input-generators/server/public/wordpress/post_tag-sitemap.xml +0 -25
  226. package/test/mocha/input-generators/server/public/wordpress/product-sitemap.xml +0 -13
  227. package/test/mocha/input-generators/server/test_robots.txt +0 -15
  228. package/test/mocha/input-generators/server/test_robots_bad.txt +0 -11
  229. package/test/mocha/input-generators/server/test_robots_sitemap.txt +0 -17
  230. package/test/mocha/input-generators/server/test_robots_sitemap_bad.txt +0 -17
  231. package/test/mocha/input-generators/server/test_robots_sitemap_multi.txt +0 -18
  232. package/test/mocha/input-generators/server/test_sitemap.xml +0 -34
  233. package/test/mocha/input-generators/server/test_sitemap.xml.gz +0 -0
  234. package/test/mocha/input-generators/server/test_sitemap_bad.xml.gz +0 -0
  235. package/test/mocha/input-generators/server/test_sitemap_index.xml +0 -25
  236. package/test/mocha/input-generators/server/test_sitemap_index.xml.gz +0 -0
  237. package/test/mocha/input-generators/server/test_sitemap_index_empty.xml +0 -3
  238. package/test/mocha/input-generators/server/test_sitemap_index_malformed.xml +0 -2
  239. package/test/mocha/input-generators/sitemap-index.js +0 -87
  240. package/test/mocha/input-generators/sitemap.js +0 -320
  241. package/test/mocha/input-generators/test.js +0 -1447
  242. package/test/mocha/input-generators/test_line.txt +0 -5
  243. package/test/mocha/input-generators/test_robots.txt +0 -15
  244. package/test/mocha/input-generators/test_robots_bad.txt +0 -11
  245. package/test/mocha/input-generators/test_robots_sitemap.txt +0 -17
  246. package/test/mocha/input-generators/test_robots_sitemap_bad.txt +0 -17
  247. package/test/mocha/input-generators/test_robots_sitemap_multi.txt +0 -18
  248. package/test/mocha/input-generators/test_sitemap.xml +0 -34
  249. package/test/mocha/input-generators/test_sitemap.xml.gz +0 -0
  250. package/test/mocha/input-generators/test_sitemap_bad.xml.gz +0 -0
  251. package/test/mocha/input-generators/test_sitemap_index.xml +0 -25
  252. package/test/mocha/input-generators/test_sitemap_index.xml.gz +0 -0
  253. package/test/server/index.js +0 -32
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--[if lt IE 8 ]><html class="ie7" xmlns:og="http://opengraphprotocol.org/schema/" lang="en"> <![endif]-->
3
- <!--[if IE 8 ]><html class="ie8" xmlns:og="http://opengraphprotocol.org/schema/" lang="en"> <![endif]-->
4
- <!--[if IE 9 ]><html class="ie9" xmlns:og="http://opengraphprotocol.org/schema/" lang="en"> <![endif]-->
5
- <!--[if (gt IE 9)|!(IE)]><!--><html xmlns:og="http://opengraphprotocol.org/schema/" lang="en"> <!--<![endif]-->
6
- <head>
7
- <meta charset="utf-8">
8
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
10
- <meta name="fragment" content="!">
11
-
12
- <title>North Star Cleaning Services</title>
13
- <meta name="description" content="This is a static description string">
14
- <meta name="keywords" content="This is a static keyword string">
15
-
16
- <!-- og for facebook -->
17
- <meta property="og:url" content="http://www.northstarcleaningme.com/" />
18
- <meta property="og:image" content="http://www.northstarcleaningme.com/images/logo.jpg" />
19
- <meta property="og:locale" content="en_US"/>
20
- <meta property="og:site_name" content="North Star Cleaning Service"/>
21
- <meta property="og:type" content="website"/>
22
- <meta property="og:title" content="North Star Cleaning Service"/>
23
- <meta property="og:description" content="North Star Cleaning Service description"/>
24
-
25
- <link rel="shortcut icon" href="/favicon.ico" />
26
- <link rel="icon" href="/favicon.ico" />
27
- <link rel="canonical" href="http://www.northstarcleaningme.com/" />
28
-
29
- <!-- Application styles. -->
30
-
31
- <link rel="stylesheet" href="/index.css">
32
- <script src="/vendor/js/plugins/modernizr.js"></script>
33
-
34
- <!-- <script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script> -->
35
- </head>
36
-
37
- <body>
38
- <canvas id="canvas-section"></canvas>
39
-
40
- <!-- Application container. -->
41
-
42
- <div role="main" id="main">
43
- <div class="main-grid-row">
44
- <div class="main-grid-column centered">
45
- <noscript>
46
- <h1>North Star Cleaning Services</h1>
47
- <p>This site requires javascript be enabled.</p>
48
- </noscript>
49
- <div class="page-spinner"></div>
50
- </div>
51
- </div>
52
-
53
- <!-- Application source. -->
54
-
55
- <script src="/require.js"></script>
56
- </body>
57
- </html>
@@ -1,13 +0,0 @@
1
- User-agent: *
2
-
3
- Allow: /
4
- Allow: /contact
5
- Allow: /services/carpets
6
-
7
- Disallow: /api/
8
- Disallow: /vendor/
9
- Disallow: /fonts/
10
- Disallow: /images/
11
-
12
- User-agent: ia_archiver
13
- Disallow: /
@@ -1,15 +0,0 @@
1
- User-agent: *
2
-
3
- Allow: /
4
- Allow: /contact
5
- Allow: /services/carpets
6
-
7
- Disallow: /api/
8
- Disallow: /vendor/
9
- Disallow: /fonts/
10
- Disallow: /images/
11
-
12
- User-agent: ia_archiver
13
- Disallow: /
14
-
15
- Sitemap: http://localhost:8038/test_robots_sitemap.xml
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
-
3
- <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
4
- <url>
5
- <loc>http://localhost:8038/</loc>
6
- <lastmod>2012-08-11T12:16:09+00:00</lastmod>
7
- <changefreq>daily</changefreq>
8
- <priority>1.0</priority>
9
- </url>
10
- <url>
11
- <loc>http://localhost:8038/contact</loc>
12
- <lastmod>2012-11-02T02:53:40+00:00</lastmod>
13
- <changefreq>weekly</changefreq>
14
- <priority>0.6</priority>
15
- </url>
16
- <url>
17
- <loc>http://localhost:8038/services/carpets</loc>
18
- <lastmod>2012-10-19T10:45:23+00:00</lastmod>
19
- <changefreq>weekly</changefreq>
20
- <priority>0.6</priority>
21
- </url>
22
- </urlset>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
2
- <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
- <sitemap>
4
- <loc>http://localhost:8040/public/wordpress-2/post-sitemap.xml</loc>
5
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
6
- </sitemap>
7
- <sitemap>
8
- <loc>http://localhost:8040/public/wordpress-2/page-sitemap.xml</loc>
9
- <lastmod>2017-01-09T22:38:33+01:00</lastmod>
10
- </sitemap>
11
- <sitemap>
12
- <loc>http://localhost:8040/public/wordpress-2/product-sitemap.xml</loc>
13
- <lastmod>2017-01-10T00:52:37+01:00</lastmod>
14
- </sitemap>
15
- <sitemap>
16
- <loc>http://localhost:8040/public/wordpress-2/category-sitemap.xml</loc>
17
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
18
- </sitemap>
19
- <sitemap>
20
- <loc>http://localhost:8040/public/wordpress-2/post_tag-sitemap.xml</loc>
21
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
22
- </sitemap>
23
- </sitemapindex>
24
- <!-- XML Sitemap generated by Yoast SEO -->
25
- <!-- 24.01MB | Served from transient cache -->
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
2
- <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
- <sitemap>
4
- <loc>http://localhost:8040/public/wordpress/post-sitemap.xml</loc>
5
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
6
- </sitemap>
7
- <sitemap>
8
- <loc>http://localhost:8040/public/wordpress/page-sitemap.xml</loc>
9
- <lastmod>2017-01-09T22:38:33+01:00</lastmod>
10
- </sitemap>
11
- <sitemap>
12
- <loc>http://localhost:8040/public/wordpress-bad/product-sitemap.xml</loc>
13
- <lastmod>2017-01-10T00:52:37+01:00</lastmod>
14
- </sitemap>
15
- <sitemap>
16
- <loc>http://localhost:8040/public/wordpress/category-sitemap.xml</loc>
17
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
18
- </sitemap>
19
- <sitemap>
20
- <loc>http://localhost:8040/public/wordpress/post_tag-sitemap.xml</loc>
21
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
22
- </sitemap>
23
- </sitemapindex>
24
- <!-- XML Sitemap generated by Yoast SEO -->
25
- <!-- 24.01MB | Served from transient cache -->
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//core.codekraft.it/public/wordpress/main-sitemap.xsl"?>
2
- <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
- <sitemap>
4
- <loc>http://localhost:8040/public/wordpress/post-sitemap.xml</loc>
5
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
6
- </sitemap>
7
- <sitemap>
8
- <loc>http://localhost:8040/public/wordpress/page-sitemap.xml</loc>
9
- <lastmod>2017-01-09T22:38:33+01:00</lastmod>
10
- </sitemap>
11
- <sitemap>
12
- <loc>http://localhost:8040/public/wordpress/product-sitemap.xml</loc>
13
- <lastmod>2017-01-10T00:52:37+01:00</lastmod>
14
- </sitemap>
15
- <sitemap>
16
- <loc>http://localhost:8040/public/wordpress/category-sitemap.xml</loc>
17
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
18
- </sitemap>
19
- <sitemap>
20
- <loc>http://localhost:8040/public/wordpress/post_tag-sitemap.xml</loc>
21
- <lastmod>2017-01-11T22:44:22+01:00</lastmod>
22
- </sitemap>
23
- </sitemapindex>
24
- <!-- XML Sitemap generated by Yoast SEO -->
25
- <!-- 24.01MB | Served from transient cache -->
@@ -1 +0,0 @@
1
- (function(e,t,n,r){"use strict";if(!e.webshims){var i=navigator.browserLanguage||navigator.language||e("html").attr("lang")||"";e.webshims={addReady:function(t){e(function(){t(n,e([]))})},ready:function(e,t){t()},activeLang:function(){return i}}}var s=e.webshims,o={},u=!1,a,f,l=function(e){s.refreshCustomValidityRules(e.target)};s.customErrorMessages={},s.addCustomValidityRule=function(t,n,r){o[t]=n,s.customErrorMessages[t]||(s.customErrorMessages[t]=[],s.customErrorMessages[t][""]=r||t),e.isReady&&u&&e("input, select, textarea").each(function(){c(this)})},s.refreshCustomValidityRules=function(t){if(!t.form||!f&&!e.prop(t,"willValidate"))return;a=!0;var n=e.data(t,"customMismatchedRule"),r=e.prop(t,"validity")||{},i="";if(n||!r.customError){var u=e(t).val();e.each(o,function(r,o){i=o(t,u)||"",n=r;if(i)return typeof i!="string"&&(i=e(t).data("errormessage")||t.getAttribute("x-moz-errormessage")||s.customErrorMessages[r][s.activeLang()]||s.customErrorMessages[r][""]),typeof i=="object"&&(i=i[r]||i.customError||i.defaultMessage),!1}),i&&e.data(t,"customMismatchedRule",n),e(t).setCustomValidity(i)}a=!1};var c=s.refreshCustomValidityRules;s.ready("forms",function(){u=!0;var t=e.fn.setCustomValidity||function(e){return this.each(function(){this.setCustomValidity&&this.setCustomValidity(e)})};e.fn.setCustomValidity=function(e){return a||this.data("customMismatchedRule",""),t.apply(this,arguments)},e(n).bind("change",l),s.addReady(function(t,n){f=!0,e("input, select, textarea",t).add(n.filter("input, select, textarea")).each(function(){c(this)}),f=!1}),e(n).bind("refreshCustomValidityRules",l)})})(jQuery,window,document),function(e,t,n,r){"use strict";var i=e.webshims.addCustomValidityRule;i("partialPattern",function(t,n){if(!n||!t.getAttribute("data-partial-pattern"))return;var r=e(t).data("partial-pattern");if(!r)return;return!(new RegExp("("+r+")","i")).test(n)},"This format is not allowed here."),i("tooShort",function(t,n){if(!n||!t.getAttribute("data-minlength"))return;return e(t).data("minlength")>n.length},"Entered value is too short.");var s={};i("group-required",function(t,r){var i=t.name;if(!i||t.type!=="checkbox"||!e(t).hasClass("group-required"))return;var o=e(t.form&&t.form[i]||n.getElementsByName(i)),u=o.filter(":enabled:checked");return s[i]&&clearTimeout(s[i]),s[i]=setTimeout(function(){o.unbind("click.groupRequired").bind("click.groupRequired",function(){o.filter(".group-required").each(function(){e.webshims.refreshCustomValidityRules(this)})})},9),!u[0]},"Please check one of these checkboxes."),i("creditcard",function(t,n){if(!n||!e(t).hasClass("creditcard-input"))return;n=n.replace(/\-/g,"");if(n!=n*1)return!0;var r=n.length,i=0,s=1,o;while(r--)o=parseInt(n.charAt(r),10)*s,i+=o-(o>9)*9,s^=3;return!(i%10===0&&i>0)},"Please enter a valid credit card number");var o={prop:"value","from-prop":"value",toggle:!1},u=function(t){return e(t.form[t.name]).filter('[type="radio"]')};e.webshims.ready("form-core",function(){e.webshims.modules&&(u=e.webshims.modules["form-core"].getGroupElements||u)}),i("dependent",function(t,r){if(!t.getAttribute("data-dependent-validation"))return;var i=e(t).data("dependentValidation"),s;if(!i)return;var a=function(n){var r=e.prop(i.masterElement,i["from-prop"]);s&&(r=e.inArray(r,s)!==-1),i.toggle&&(r=!r),e.prop(t,i.prop,r)};if(!i._init||!i.masterElement){typeof i=="string"&&(i={from:i}),i.masterElement=n.getElementById(i.from)||n.getElementsByName(i.from||[])[0];if(!i.masterElement||!i.masterElement.form)return;/radio|checkbox/i.test(i.masterElement.type)?(i["from-prop"]||(i["from-prop"]="checked"),!i.prop&&i["from-prop"]=="checked"&&(i.prop="disabled")):i["from-prop"]||(i["from-prop"]="value"),i["from-prop"].indexOf("value:")===0&&(s=i["from-prop"].replace("value:","").split("||"),i["from-prop"]="value"),i=e.data(t,"dependentValidation",e.extend({_init:!0},o,i)),i.prop!=="value"||s?e(i.masterElement.type==="radio"&&u(i.masterElement)||i.masterElement).bind("change",a):e(i.masterElement).bind("change",function(){e.webshims.refreshCustomValidityRules(t),e(t).is(".user-error, .user-success")&&e(t).trigger("refreshvalidityui")})}return i.prop=="value"&&!s?e.prop(i.masterElement,"value")!=r:(a(),"")},"The value of this field does not repeat the value of the other field")}(jQuery,window,document);
@@ -1 +0,0 @@
1
- window.Modernizr=function(e,t,n){function N(e){f.cssText=e}function C(e,t){return N(p.join(e+";")+(t||""))}function k(e,t){return typeof e===t}function L(e,t){return!!~(""+e).indexOf(t)}function A(e,t){for(var r in e){var i=e[r];if(!L(i,"-")&&f[i]!==n)return t=="pfx"?i:!0}return!1}function O(e,t,r){for(var i in e){var s=t[e[i]];if(s!==n)return r===!1?e[i]:k(s,"function")?s.bind(r||t):s}return!1}function M(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+v.join(r+" ")+r).split(" ");return k(t,"string")||k(t,"undefined")?A(i,t):(i=(e+" "+m.join(r+" ")+r).split(" "),O(i,t,n))}function _(){i.input=function(n){for(var r=0,i=n.length;r<i;r++)b[n[r]]=n[r]in l;return b.list&&(b.list=!!t.createElement("datalist")&&!!e.HTMLDataListElement),b}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),i.inputtypes=function(e){for(var r=0,i,s,u,a=e.length;r<a;r++)l.setAttribute("type",s=e[r]),i=l.type!=="text",i&&(l.value=c,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(s)&&l.style.WebkitAppearance!==n?(o.appendChild(l),u=t.defaultView,i=u.getComputedStyle&&u.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,o.removeChild(l)):/^(search|tel)$/.test(s)||(/^(url|email)$/.test(s)?i=l.checkValidity&&l.checkValidity()===!1:i=l.value!=c)),y[e[r]]=!!i;return y}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var r="2.6.2",i={},s=!0,o=t.documentElement,u="modernizr",a=t.createElement(u),f=a.style,l=t.createElement("input"),c=":)",h={}.toString,p=" -webkit- -moz- -o- -ms- ".split(" "),d="Webkit Moz O ms",v=d.split(" "),m=d.toLowerCase().split(" "),g={},y={},b={},w=[],E=w.slice,S,x={}.hasOwnProperty,T;!k(x,"undefined")&&!k(x.call,"undefined")?T=function(e,t){return x.call(e,t)}:T=function(e,t){return t in e&&k(e.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(typeof n!="function")throw new TypeError;var r=E.call(arguments,1),i=function(){if(this instanceof i){var e=function(){};e.prototype=n.prototype;var s=new e,o=n.apply(s,r.concat(E.call(arguments)));return Object(o)===o?o:s}return n.apply(t,r.concat(E.call(arguments)))};return i}),g.canvas=function(){var e=t.createElement("canvas");return!!e.getContext&&!!e.getContext("2d")},g.geolocation=function(){return"geolocation"in navigator},g.video=function(){var e=t.createElement("video"),n=!1;try{if(n=!!e.canPlayType)n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(r){}return n},g.audio=function(){var e=t.createElement("audio"),n=!1;try{if(n=!!e.canPlayType)n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(r){}return n},g.localstorage=function(){try{return localStorage.setItem(u,u),localStorage.removeItem(u),!0}catch(e){return!1}},g.sessionstorage=function(){try{return sessionStorage.setItem(u,u),sessionStorage.removeItem(u),!0}catch(e){return!1}};for(var D in g)T(g,D)&&(S=D.toLowerCase(),i[S]=g[D](),w.push((i[S]?"":"no-")+S));return i.input||_(),i.addTest=function(e,t){if(typeof e=="object")for(var r in e)T(e,r)&&i.addTest(r,e[r]);else{e=e.toLowerCase();if(i[e]!==n)return i;t=typeof t=="function"?t():t,typeof s!="undefined"&&s&&(o.className+=" "+(t?"":"no-")+e),i[e]=t}return i},N(""),a=l=null,function(e,t){function l(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function c(){var e=g.elements;return typeof e=="string"?e.split(" "):e}function h(e){var t=a[e[o]];return t||(t={},u++,e[o]=u,a[u]=t),t}function p(e,n,s){n||(n=t);if(f)return n.createElement(e);s||(s=h(n));var o;return s.cache[e]?o=s.cache[e].cloneNode():i.test(e)?o=(s.cache[e]=s.createElem(e)).cloneNode():o=s.createElem(e),o.canHaveChildren&&!r.test(e)?s.frag.appendChild(o):o}function d(e,n){e||(e=t);if(f)return e.createDocumentFragment();n=n||h(e);var r=n.frag.cloneNode(),i=0,s=c(),o=s.length;for(;i<o;i++)r.createElement(s[i]);return r}function v(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return g.shivMethods?p(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/\w+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(g,t.frag)}function m(e){e||(e=t);var n=h(e);return g.shivCSS&&!s&&!n.hasCSS&&(n.hasCSS=!!l(e,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),f||v(e,n),e}var n=e.html5||{},r=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,i=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s,o="_html5shiv",u=0,a={},f;(function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",s="hidden"in e,f=e.childNodes.length==1||function(){t.createElement("a");var e=t.createDocumentFragment();return typeof e.cloneNode=="undefined"||typeof e.createDocumentFragment=="undefined"||typeof e.createElement=="undefined"}()}catch(n){s=!0,f=!0}})();var g={elements:n.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:n.shivCSS!==!1,supportsUnknownElements:f,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:m,createElement:p,createDocumentFragment:d};e.html5=g,m(t)}(this,t),i._version=r,i._prefixes=p,i._domPrefixes=m,i._cssomPrefixes=v,i.testProp=function(e){return A([e])},i.testAllProps=M,i.prefixed=function(e,t,n){return t?M(e,t,n):M(e,"pfx")},o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(s?" js "+w.join(" "):""),i}(this,this.document),function(e,t,n){function r(e){return"[object Function]"==d.call(e)}function i(e){return"string"==typeof e}function s(){}function o(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function u(){var e=v.shift();m=1,e?e.t?h(function(){("c"==e.t?k.injectCss:k.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),u()):m=0}function a(e,n,r,i,s,a,f){function l(t){if(!d&&o(c.readyState)&&(w.r=d=1,!m&&u(),c.onload=c.onreadystatechange=null,t)){"img"!=e&&h(function(){b.removeChild(c)},50);for(var r in T[n])T[n].hasOwnProperty(r)&&T[n][r].onload()}}var f=f||k.errorTimeout,c=t.createElement(e),d=0,g=0,w={t:r,s:n,e:s,a:a,x:f};1===T[n]&&(g=1,T[n]=[]),"object"==e?c.data=n:(c.src=n,c.type=e),c.width=c.height="0",c.onerror=c.onload=c.onreadystatechange=function(){l.call(this,g)},v.splice(i,0,w),"img"!=e&&(g||2===T[n]?(b.insertBefore(c,y?null:p),h(l,f)):T[n].push(c))}function f(e,t,n,r,s){return m=0,t=t||"j",i(e)?a("c"==t?E:w,e,t,this.i++,n,r,s):(v.splice(this.i++,0,e),1==v.length&&u()),this}function l(){var e=k;return e.loader={load:f,i:0},e}var c=t.documentElement,h=e.setTimeout,p=t.getElementsByTagName("script")[0],d={}.toString,v=[],m=0,g="MozAppearance"in c.style,y=g&&!!t.createRange().compareNode,b=y?c:p.parentNode,c=e.opera&&"[object Opera]"==d.call(e.opera),c=!!t.attachEvent&&!c,w=g?"object":c?"script":"img",E=c?"script":w,S=Array.isArray||function(e){return"[object Array]"==d.call(e)},x=[],T={},N={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},C,k;k=function(e){function t(e){var e=e.split("!"),t=x.length,n=e.pop(),r=e.length,n={url:n,origUrl:n,prefixes:e},i,s,o;for(s=0;s<r;s++)o=e[s].split("="),(i=N[o.shift()])&&(n=i(n,o));for(s=0;s<t;s++)n=x[s](n);return n}function o(e,i,s,o,u){var a=t(e),f=a.autoCallback;a.url.split(".").pop().split("?").shift(),a.bypass||(i&&(i=r(i)?i:i[e]||i[o]||i[e.split("/").pop().split("?")[0]]),a.instead?a.instead(e,i,s,o,u):(T[a.url]?a.noexec=!0:T[a.url]=1,s.load(a.url,a.forceCSS||!a.forceJS&&"css"==a.url.split(".").pop().split("?").shift()?"c":n,a.noexec,a.attrs,a.timeout),(r(i)||r(f))&&s.load(function(){l(),i&&i(a.origUrl,u,o),f&&f(a.origUrl,u,o),T[a.url]=2})))}function u(e,t){function n(e,n){if(e){if(i(e))n||(f=function(){var e=[].slice.call(arguments);l.apply(this,e),c()}),o(e,f,t,0,u);else if(Object(e)===e)for(p in h=function(){var t=0,n;for(n in e)e.hasOwnProperty(n)&&t++;return t}(),e)e.hasOwnProperty(p)&&(!n&&!--h&&(r(f)?f=function(){var e=[].slice.call(arguments);l.apply(this,e),c()}:f[p]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),c()}}(l[p])),o(e[p],f,t,p,u))}else!n&&c()}var u=!!e.test,a=e.load||e.both,f=e.callback||s,l=f,c=e.complete||s,h,p;n(u?e.yep:e.nope,!!a),a&&n(a)}var a,f,c=this.yepnope.loader;if(i(e))o(e,0,c,0);else if(S(e))for(a=0;a<e.length;a++)f=e[a],i(f)?o(f,0,c,0):S(f)?k(f):Object(f)===f&&u(f,c);else Object(e)===e&&u(e,c)},k.addPrefix=function(e,t){N[e]=t},k.addFilter=function(e){x.push(e)},k.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",C=function(){t.removeEventListener("DOMContentLoaded",C,0),t.readyState="complete"},0)),e.yepnope=l(),e.yepnope.executeStack=u,e.yepnope.injectJs=function(e,n,r,i,a,f){var l=t.createElement("script"),c,d,i=i||k.errorTimeout;l.src=e;for(d in r)l.setAttribute(d,r[d]);n=f?u:n||s,l.onreadystatechange=l.onload=function(){!c&&o(l.readyState)&&(c=1,n(),l.onload=l.onreadystatechange=null)},h(function(){c||(c=1,n(1))},i),a?l.onload():p.parentNode.insertBefore(l,p)},e.yepnope.injectCss=function(e,n,r,i,o,a){var i=t.createElement("link"),f,n=a?u:n||s;i.href=e,i.rel="stylesheet",i.type="text/css";for(f in r)i.setAttribute(f,r[f]);o||(p.parentNode.insertBefore(i,p),h(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest({texttrackapi:typeof document.createElement("video").addTextTrack=="function",track:"kind"in document.createElement("track")});
@@ -1 +0,0 @@
1
- (function(e){var t=function(e,t){var n=e.data("mousepresstimer");n&&clearTimeout(n),t&&e.unbind("mouseup.mousepressext mouseleave.mousepressext"),e=null};e.event.special.mousepress={setup:function(){var n;e(this).bind("mousedown.mousepressext",function(n){var r=e(this),i=function(s){var o=0;t(r),r.data("mousepresstimer",setInterval(function(){e.event.special.mousepress.handler(r[0],n),o++,o>3&&s>45&&i(s-40)},s))},s=e(n.target).trigger("mousepressstart",[n]);t(r),r.data("mousepresstimer",setTimeout(function(){i(180)},200)),r.bind("mouseup.mousepressext mouseleave.mousepressext",function(e){t(r,!0),s.trigger("mousepressend",[e]),r=null,s=null})})},teardown:function(){t(e(this).unbind(".mousepressext"),!0)},handler:function(t,n){return(e.event.dispatch||e.event.handle).call(t,{type:"mousepress",target:n.target,pageX:n.pageX,pageY:n.pageY})}}})(jQuery);
@@ -1 +0,0 @@
1
- (function(e){window.jQuery&&(e(jQuery),e=jQuery.noop),typeof define=="function"&&define.amd&&define.amd.jQuery&&define("polyfiller",["jquery"],e)})(function(e){"use strict";var t="dom-support",n=e(document.scripts||"script"),r=e.event.special,i=e([]),s=window.Modernizr,o=window.asyncWebshims,u=s.addTest,a=window.Object,f=window.html5||{},l=function(t,n){var r=!0;e.each(t.split(" "),function(e,t){t in s||(c.error("webshims needs Modernizr."+t+" to implement feature."),r=!1)}),r&&n&&n()};s.advancedObjectProperties=s.objectAccessor=s.ES5="create"in a&&"seal"in a,e.event.customEvent||(e.event.customEvent={});var c={version:"1.9.7",cfg:{useImportantStyles:!0,waitReady:!0,extendNative:!0,loadStyles:!0,disableShivMethods:!0,basePath:function(){var t=n.filter('[src*="polyfiller.js"]'),r;return t=t[0]||t.end()[t.end().length-1],r=(e.support.hrefNormalized?t.src:t.getAttribute("src",4)).split("?")[0],r=r.slice(0,r.lastIndexOf("/")+1)+"shims/",r}()},bugs:{},modules:{},features:{},featureList:[],setOptions:function(t,n){typeof t=="string"&&n!==undefined?v[t]=e.isPlainObject(n)?e.extend(!0,v[t]||{},n):n:typeof t=="object"&&e.extend(!0,v,t)},addPolyfill:function(t,n){n=n||{};var r=n.f||t;m[r]||(m[r]=[],m[r].delayReady=0,c.featureList.push(r),v[r]={}),m[r].push(t),n.options=e.extend(v[r],n.options),x(t,n),n.methodNames&&e.each(n.methodNames,function(e,t){c.addMethodName(t)})},polyfill:function(){var t=function(n){var r=[],i=n,s;v.disableShivMethods&&(f.shivMethods=!1);var o=function(){e("html").removeClass("loading-polyfills long-loading-polyfills"),e(window).unbind(".lP"),clearTimeout(s)};e(window).on("load.lP error.lP",o),r.push("loading-polyfills"),s=setTimeout(function(){e("html").addClass("long-loading-polyfills")},600),v.waitReady&&e.isReady&&c.warn("Call webshims.polyfill before DOM-Ready or set waitReady to false."),y(n,o),v.useImportantStyles&&r.push("polyfill-important"),r[0]&&e("html").addClass(r.join(" ")),v.loadStyles&&E.loadCSS("styles/shim.css"),t=e.noop},n;return function(r){var i=[];r=r||c.featureList,typeof r=="string"&&(r=r.split(" ")),n||(n=e.inArray("forms",r)!==-1,!n&&e.inArray("forms-ext",r)!==-1&&(r.push("forms"),n=!0)),v.waitReady&&(e.readyWait++,y(r,function(){e.ready(!0)})),e.each(r,function(e,t){if(!m[t]){c.error("could not find webshims-feature (aborted): "+t),g(t,!0);return}t!==m[t][0]&&y(m[t],function(){g(t,!0)}),i=i.concat(m[t])}),t(r),S(i)}}(),reTest:function(){var t,n,i=function(i,s){var o=w[s],u=s+"Ready",a;o&&!o.loaded&&(o.test&&e.isFunction(o.test)?!o.test([]):!o.test)&&(r[u]&&delete r[u],a=m[o.f],a&&!n&&(a.delayReady++,y(s,function(){a.delayReady--,g(o.f,a.callReady)})),t.push(s))};return function(r,s){n=s,typeof r=="string"&&(r=r.split(" ")),t=[],e.each(r,i),S(t)}}(),isReady:function(t,n){if(m[t]&&m[t].delayReady>0)return n&&(m[t].callReady=!0),!1;t+="Ready";if(n){if(r[t]&&r[t].add)return!0;r[t]=e.extend(r[t]||{},{add:function(e){e.handler.call(this,t)}}),e(document).triggerHandler(t)}return!!r[t]&&!!r[t].add||!1},ready:function(t,n){var r=arguments[2],i=t;typeof t=="string"&&(t=t.split(" ")),r||(t=e.map(e.grep(t,function(e){return!g(e)}),function(e){return e+"Ready"}));if(!t.length){n(e,c,window,document);return}var s=t.shift(),o=function(){y(t,n,!0)};e(document).one(s,o)},capturingEvents:function(t,n){if(!document.addEventListener)return;typeof t=="string"&&(t=[t]),e.each(t,function(t,i){var s=function(t){return t=e.event.fix(t),n&&c.capturingEventPrevented&&c.capturingEventPrevented(t),(e.event.dispatch||e.event.handle).call(this,t)};r[i]=r[i]||{};if(r[i].setup||r[i].teardown)return;e.extend(r[i],{setup:function(){this.addEventListener(i,s,!0)},teardown:function(){this.removeEventListener(i,s,!0)}})})},register:function(t,n){var r=w[t];if(!r){c.error("can't find module: "+t);return}if(r.noAutoCallback){var i=function(){n(e,c,window,document,undefined,r.options),g(t,!0)};r.d?y(r.d,i):i()}},c:{},loader:{addModule:function(t,n){w[t]=n,n.name=n.name||t,n.c||(n.c=[]),e.each(n.c,function(e,n){c.c[n]||(c.c[n]=[]),c.c[n].push(t)})},loadList:function(){var t=[],n=function(n,r){typeof r=="string"&&(r=[r]),e.merge(t,r),E.loadScript(n,!1,r)},r=function(n,r){if(g(n)||e.inArray(n,t)!=-1)return!0;var i=w[n],s=v[i.f||n]||{},o;return i?(o=i.test&&e.isFunction(i.test)?i.test(r):i.test,o?(g(n,!0),!0):!1):!0},i=function(t,n){if(t.d&&t.d.length){var i=function(t,i){!r(i,n)&&e.inArray(i,n)==-1&&n.push(i)};e.each(t.d,function(t,n){w[n]?i(t,n):m[n]&&(e.each(m[n],i),y(m[n],function(){g(n,!0)}))}),t.noAutoCallback||(t.noAutoCallback=!0)}};return function(s,o){var u,a=[],f,l,h,p=function(r,i){h=i,e.each(c.c[i],function(n,r){if(e.inArray(r,a)==-1||e.inArray(r,t)!=-1)return h=!1,!1});if(h)return n("combos/"+h,c.c[h]),!1};for(f=0;f<s.length;f++){u=w[s[f]];if(!u||r(u.name,s)){u||c.warn("could not find: "+s[f]);continue}u.css&&E.loadCSS(u.css),u.loadInit&&u.loadInit(),u.loaded=!0,i(u,s),a.push(u.name)}for(f=0,l=a.length;f<l;f++)h=!1,u=a[f],e.inArray(u,t)==-1&&(c.debug!="noCombo"&&e.each(w[u].c,p),h||n(w[u].src||u,u))}}(),makePath:function(e){return e.indexOf("//")!=-1||e.indexOf("/")===0?e:(e.indexOf(".")==-1&&(e+=".js"),v.addCacheBuster&&(e+=v.addCacheBuster),v.basePath+e)},loadCSS:function(){var t,n=[];return function(r){r=this.makePath(r);if(e.inArray(r,n)!=-1)return;t=t||e("link, style")[0]||e("script")[0],n.push(r),e('<link rel="stylesheet" />').insertBefore(t).attr({href:r})}}(),loadScript:function(){var t=[],n;return function(n,r,i){n=E.makePath(n);if(e.inArray(n,t)!=-1)return;var s=function(){s=null,r&&r(),i&&(typeof i=="string"&&(i=i.split(" ")),e.each(i,function(e,t){if(!w[t])return;w[t].afterLoad&&w[t].afterLoad(),g(w[t].noAutoCallback?t+"FileLoaded":t,!0)}))};t.push(n),window.require?require([n],s):window.sssl?sssl(n,s):window.yepnope?yepnope.injectJs(n,s):window.steal&&steal(n).then(s)}}()}};e.webshims=c;var h=location.protocol=="https:"?"https://":"http://",p=h+"ajax.googleapis.com/ajax/libs/",d=p+"jqueryui/1.9.2/",v=c.cfg,m=c.features,g=c.isReady,y=c.ready,b=c.addPolyfill,w=c.modules,E=c.loader,S=E.loadList,x=E.addModule,T=c.bugs,N=[],C={warn:1,error:1};c.addMethodName=function(t){t=t.split(":");var n=t[1];t.length==1?(n=t[0],t=t[0]):t=t[0],e.fn[t]=function(){return this.callProp(n,arguments)}},e.fn.callProp=function(t,n){var r;return n||(n=[]),this.each(function(){var i=e.prop(this,t);if(i&&i.apply){r=i.apply(this,n);if(r!==undefined)return!1}else c.warn(t+" is not a method of "+this)}),r!==undefined?r:this},c.activeLang=function(){var e=navigator.browserLanguage||navigator.language||"";return y("webshimLocalization",function(){c.activeLang(e)}),function(t){if(t)if(typeof t=="string")e=t;else if(typeof t=="object"){var n=arguments,r=this;y("webshimLocalization",function(){c.activeLang.apply(r,n)})}return e}}(),e.each(["log","error","warn","info"],function(e,t){c[t]=function(e){if((C[t]&&c.debug!==!1||c.debug)&&window.console&&console.log)return console[console[t]?t:"log"](e)}}),function(){e.isDOMReady=e.isReady;if(!e.isDOMReady){var t=e.ready;e.ready=function(n){return n!==!0&&!e.isDOMReady&&(document.body?(e.isDOMReady=!0,g("DOM",!0),e.ready=t):setTimeout(function(){e.ready(n)},13)),t.apply(this,arguments)},e.ready.promise=t.promise}else g("DOM",!0);e(function(){e.isDOMReady=!0,g("DOM",!0),setTimeout(function(){g("WINDOWLOAD",!0)},9999)}),e(window).load(function(){e.isDOMReady=!0,g("DOM",!0),g("WINDOWLOAD",!0)})}(),function(){var t=[];e.extend(c,{addReady:function(e){var n=function(t,n){c.ready("DOM",function(){e(t,n)})};t.push(n),n(document,i)},triggerDomUpdate:function(n){if(!n||!n.nodeType){n&&n.jquery&&n.each(function(){c.triggerDomUpdate(this)});return}var r=n.nodeType;if(r!=1&&r!=9)return;var s=n!==document?e(n):i;e.each(t,function(e,t){t(n,s)})}}),e.fn.htmlPolyfill=function(t){var n=e.fn.html.call(this,t);return n===this&&e.isDOMReady&&this.each(function(){this.nodeType==1&&c.triggerDomUpdate(this)}),n},e.each(["after","before","append","prepend","replaceWith"],function(t,n){e.fn[n+"Polyfill"]=function(t){return t=e(t),e.fn[n].call(this,t),e.isDOMReady&&t.each(function(){this.nodeType==1&&c.triggerDomUpdate(this)}),this}}),e.each(["insertAfter","insertBefore","appendTo","prependTo","replaceAll"],function(t,n){e.fn[n.replace(/[A-Z]/,function(e){return"Polyfill"+e})]=function(){return e.fn[n].apply(this,arguments),e.isDOMReady&&c.triggerDomUpdate(this),this}}),e.fn.updatePolyfill=function(){return e.isDOMReady&&c.triggerDomUpdate(this),this},e.each(["getNativeElement","getShadowElement","getShadowFocusElement"],function(t,n){e.fn[n]=function(){return this}})}(),function(){var t="defineProperty",n=a.prototype.hasOwnProperty,r=["configurable","enumerable","writable"],i=function(e){for(var t=0;t<3;t++)e[r[t]]===undefined&&(r[t]!=="writable"||e.value!==undefined)&&(e[r[t]]=!0)},s=function(e){if(e)for(var t in e)n.call(e,t)&&i(e[t])};a.create&&(c.objectCreate=function(t,n,r){s(n);var i=a.create(t,n);return r&&(i.options=e.extend(!0,{},i.options||{},r),r=i.options),i._create&&e.isFunction(i._create)&&i._create(r),i}),a[t]&&(c[t]=function(e,n,r){return i(r),a[t](e,n,r)}),a.defineProperties&&(c.defineProperties=function(e,t){return s(t),a.defineProperties(e,t)}),c.getOwnPropertyDescriptor=a.getOwnPropertyDescriptor,c.getPrototypeOf=a.getPrototypeOf}(),x("jquery-ui",{src:d+"jquery-ui.min.js",test:function(){return!!e.widget&&!!e.Widget}}),x("input-widgets",{src:"",test:function(){return!this.src||!e.widget||!!e.fn.datepicker&&!!e.fn.slider}}),x("swfobject",{src:p+"swfobject/2.2/swfobject.js",test:function(){return"swfobject"in window}}),b("es5",{test:!!s.ES5&&!!Function.prototype.bind,c:[27,10,1,22]}),b("dom-extend",{f:t,noAutoCallback:!0,d:["es5"],c:[27,10,9,12,17,26,16,25,8,1,24,19,11,13]}),l("localstorage"),b("json-storage",{test:s.localstorage&&"sessionStorage"in window&&"JSON"in window,loadInit:function(){S(["swfobject"])},noAutoCallback:!0,c:[14]}),l("geolocation"),b("geolocation",{test:s.geolocation,options:{destroyWrite:!0},d:["json-storage"],c:[14,15]}),l("canvas",function(){var n;b("canvas",{src:"excanvas",test:s.canvas,options:{type:"flash"},noAutoCallback:!0,loadInit:function(){var t=this.options.type,r;t&&t.indexOf("flash")!==-1&&(!window.swfobject||swfobject.hasFlashPlayerVersion("9.0.0"))&&(window.FlashCanvasOptions=window.FlashCanvasOptions||{},n=FlashCanvasOptions,t=="flash"?(e.extend(n,{swfPath:v.basePath+"FlashCanvas/"}),this.src="FlashCanvas/flashcanvas",r=n.swfPath+"flashcanvas.swf"):(e.extend(n,{swfPath:v.basePath+"FlashCanvasPro/"}),this.src="FlashCanvasPro/flashcanvas",r=n.swfPath+"flash10canvas.swf"))},afterLoad:function(){c.addReady(function(t,n){t==document&&window.G_vmlCanvasManager&&G_vmlCanvasManager.init_&&G_vmlCanvasManager.init_(document),e("canvas",t).add(n.filter("canvas")).each(function(){var e=this.getContext;!e&&window.G_vmlCanvasManager&&G_vmlCanvasManager.initElement(this)}),t==document&&g("canvas",!0)})},methodNames:["getContext"],d:[t]})}),l("input inputtypes",function(){var n=s.input,r=s.inputtypes,i="formvalidation",o=e('<select required="" name="a"><option disabled="" /></select>')[0],a=!1,f,l;u(i,function(){return!!n.required&&!!n.pattern}),u("fieldsetdisabled",function(){var t=e("<fieldset />")[0];return"elements"in t&&"disabled"in t}),s[i]&&(T.bustedValidity=a=s.formattribute===!1||!s.fieldsetdisabled||!("value"in document.createElement("output"))||!(e('<input type="date" value="1488-12-11" />')[0].validity||{valid:!0}).valid||!("required"in o)||(o.validity||{}).valid),f=s[i]&&!a?"form-native-extend":"form-shim-extend",u("styleableinputrange",function(){if(!r.range)return!1;var e=document.createElement("input");return e.setAttribute("type","range"),e.style.WebkitAppearance!==undefined}),c.validationMessages=c.validityMessages=[],c.inputTypes={},b("form-core",{f:"forms",d:["es5"],test:function(e){return l.lightweightDatalist&&!this.datalistLoaded&&(this.datalistLoaded=!0,w["form-datalist"].f="forms",c.reTest(["form-datalist"])),!1},options:{placeholderType:"value",langSrc:"i18n/errormessages-",lightweightDatalist:!0,availabeLangs:["ar","ch-ZN","el","es","fr","he","hi","hu","it","ja","nl","pt-PT","ru","sv"]},methodNames:["setCustomValidity","checkValidity"],c:[3,2,59,17,26,16,5,4,24,19]}),l=v.forms,b("form-native-extend",{f:"forms",test:function(t){return!s[i]||a||(w["form-number-date-api"].test()||e.inArray("form-number-date-api",t||[])==-1)&&!l.overrideMessages},d:["form-core",t,"form-message"],c:[18,7,59,5]}),b("form-shim-extend",{f:"forms",test:function(){return s[i]&&!a},d:["form-core",t],c:[3,2,23,21]}),b("form-message",{f:"forms",test:function(e){return!(l.customMessages||!s[i]||T.validationMessage||a||!w[f].test(e))},d:[t],c:[3,2,23,21,59,17,5,4]}),b("form-number-date-api",{f:"forms-ext",uiTest:function(){return r.range&&r.date&&r.time&&r.number},test:function(e){return this.uiTest()},d:["forms",t],c:[18,7,6]}),b("form-number-date-ui",{f:"forms-ext",test:function(){return w["form-number-date-api"].test()&&!this.options.replaceUI},d:["forms",t,"form-number-date-api"],loadInit:function(){S(["jquery-ui"]),w["input-widgets"].src&&S(["input-widgets"])},options:{stepArrows:{number:1,time:1},calculateWidth:!0,slider:{},datepicker:{},langSrc:d+"i18n/jquery.ui.datepicker-",lazyDate:!0},c:[18,7,6]}),b("form-datalist",{f:"forms-ext",test:function(){return n.list&&!l.customDatalist},d:["form-core",t],c:[3,59,18,24,19,11]})}),"details"in s||u("details",function(){return"open"in document.createElement("details")}),b("details",{test:s.details,d:[t],options:{text:"Details"},c:[12,13,15]}),l("audio video texttrackapi",function(){c.mediaelement={};var n=function(){if(!s.audio||!s.video)return!1;if(c.mediaelement.loadSwf)return!1;var e=this.options,t=e.hasToPlay;return!!window.swfobject&&!window.swfobject.hasFlashPlayerVersion("9.0.115")||!(e.preferFlash||t!="any"&&!s.video[t]&&!s.audio[t])},r=["swfobject",t];b("mediaelement-core",{f:"mediaelement",noAutoCallback:!0,options:{hasToPlay:"any",preferFlash:!1,player:"jwplayer",vars:{},params:{},attrs:{},changeSWF:e.noop},methodNames:["play","pause","canPlayType","mediaLoad:load"],d:r,c:[27,10,9,12,17,26,16,25,8,22,23,24,20]}),b("mediaelement-swf",{f:"mediaelement",d:r,test:function(){return this.options.player!="jwplayer"?!0:n.apply(this,arguments)},c:[27,10,9,22,20]}),b("mediaelement-jaris",{f:"mediaelement",d:r,test:function(){return this.options.player=="jwplayer"?!0:n.apply(this,arguments)}}),T.track=s.track&&(!s.texttrackapi||typeof (document.createElement("track").track||{}).mode!="string"),b("track",{options:{positionDisplay:!0,override:T.track},test:function(){return s.track&&!this.options.override&&!T.track},d:["mediaelement",t],methodNames:["addTextTrack"],c:[27,26,25]}),x("track-ui",{d:["track"]})}),b("feature-dummy",{test:!0,loaded:!0,c:N}),n.filter("[data-polyfill-cfg]").each(function(){try{c.setOptions(e(this).data("polyfillCfg"))}catch(t){c.warn("error parsing polyfill cfg: "+t)}}).end().filter("[data-polyfill]").each(function(){c.polyfill(e.trim(e(this).data("polyfill")||""))}),o&&(o.cfg&&c.setOptions(o.cfg),o.lang&&c.activeLang(o.lang),"polyfill"in o&&c.polyfill(o.polyfill))});
@@ -1 +0,0 @@
1
- (function(e){var t=e.getElementsByTagName("script"),n=t[t.length-1],r=n.getAttribute("src").replace(/[^\/]+$/,"save.php");window.canvas2png=function(t){var n=t.tagName.toLowerCase();if(n!=="canvas")return;if(typeof FlashCanvas!="undefined")FlashCanvas.saveImage(t);else{var i=e.createElement("form"),s=e.createElement("input");i.setAttribute("action",r),i.setAttribute("method","post"),s.setAttribute("type","hidden"),s.setAttribute("name","dataurl"),s.setAttribute("value",t.toDataURL()),e.body.appendChild(i),i.appendChild(s),i.submit(),i.removeChild(s),e.body.removeChild(i)}}})(document);
@@ -1 +0,0 @@
1
- window.ActiveXObject&&!window.CanvasRenderingContext2D&&function(h,j){function D(e){this.code=e,this.message=T[e]}function U(e){this.width=e}function E(e){this.id=e.C++}function t(e){this.G=e,this.id=e.C++}function u(e,t){this.canvas=e,this.B=t,this.d=e.uniqueID,this.D(),this.C=0,this.t="";var r=this;setInterval(function(){n[r.d]===0&&r.e()},30)}function A(){if(j.readyState==="complete"){j.detachEvent(F,A);for(var e=j.getElementsByTagName(r),t=0,n=e.length;t<n;++t)B.initElement(e[t])}}function G(){var e=event.srcElement,t=e.parentNode;e.blur(),t.focus()}function H(){var e=event.propertyName;if(e==="width"||e==="height"){var t=event.srcElement,n=t[e],r=parseInt(n,10);if(isNaN(r)||r<0)r=e==="width"?300:150;n===r?(t.style[e]=r+"px",t.getContext("2d").I(t.width,t.height)):t[e]=r}}function I(){h.detachEvent(J,I);for(var e in s){var t=s[e],n=t.firstChild,r;for(r in n)typeof n[r]=="function"&&(n[r]=k);for(r in t)typeof t[r]=="function"&&(t[r]=k);n.detachEvent(K,G),t.detachEvent(L,H)}h[M]=k,h[N]=k,h[O]=k,h[C]=k,h[P]=k}function V(){var e=j.getElementsByTagName("script");return e=e[e.length-1],j.documentMode>=8?e.src:e.getAttribute("src",4)}function v(e){return(""+e).replace(/&/g,"&amp;").replace(/</g,"&lt;")}function W(e){return e.toLowerCase()}function i(e){throw new D(e)}function Q(e){var t=parseInt(e.width,10),n=parseInt(e.height,10);if(isNaN(t)||t<0)t=300;if(isNaN(n)||n<0)n=150;e.width=t,e.height=n}var k=null,r="canvas",M="CanvasRenderingContext2D",N="CanvasGradient",O="CanvasPattern",C="FlashCanvas",P="G_vmlCanvasManager",K="onfocus",L="onpropertychange",F="onreadystatechange",J="onunload",w=((h[C+"Options"]||{}).swfPath||V().replace(/[^\/]+$/,""))+"flashcanvas.swf",e=new function(e){for(var t=0,n=e.length;t<n;t++)this[e[t]]=t}(["toDataURL","save","restore","scale","rotate","translate","transform","setTransform","globalAlpha","globalCompositeOperation","strokeStyle","fillStyle","createLinearGradient","createRadialGradient","createPattern","lineWidth","lineCap","lineJoin","miterLimit","shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor","clearRect","fillRect","strokeRect","beginPath","closePath","moveTo","lineTo","quadraticCurveTo","bezierCurveTo","arcTo","rect","arc","fill","stroke","clip","isPointInPath","font","textAlign","textBaseline","fillText","strokeText","measureText","drawImage","createImageData","getImageData","putImageData","addColorStop","direction","resize"]),x={},n={},s={},y={};u.prototype={save:function(){this.b(),this.c(),this.m(),this.l(),this.z(),this.w(),this.F.push([this.f,this.g,this.A,this.u,this.j,this.h,this.i,this.k,this.p,this.q,this.n,this.o,this.v,this.r,this.s]),this.a.push(e.save)},restore:function(){var t=this.F;t.length&&(t=t.pop(),this.globalAlpha=t[0],this.globalCompositeOperation=t[1],this.strokeStyle=t[2],this.fillStyle=t[3],this.lineWidth=t[4],this.lineCap=t[5],this.lineJoin=t[6],this.miterLimit=t[7],this.shadowOffsetX=t[8],this.shadowOffsetY=t[9],this.shadowBlur=t[10],this.shadowColor=t[11],this.font=t[12],this.textAlign=t[13],this.textBaseline=t[14]),this.a.push(e.restore)},scale:function(t,n){this.a.push(e.scale,t,n)},rotate:function(t){this.a.push(e.rotate,t)},translate:function(t,n){this.a.push(e.translate,t,n)},transform:function(t,n,r,i,s,o){this.a.push(e.transform,t,n,r,i,s,o)},setTransform:function(t,n,r,i,s,o){this.a.push(e.setTransform,t,n,r,i,s,o)},b:function(){var t=this.a;this.f!==this.globalAlpha&&(this.f=this.globalAlpha,t.push(e.globalAlpha,this.f)),this.g!==this.globalCompositeOperation&&(this.g=this.globalCompositeOperation,t.push(e.globalCompositeOperation,this.g))},m:function(){if(this.A!==this.strokeStyle){var t=this.A=this.strokeStyle;this.a.push(e.strokeStyle,typeof t=="object"?t.id:t)}},l:function(){if(this.u!==this.fillStyle){var t=this.u=this.fillStyle;this.a.push(e.fillStyle,typeof t=="object"?t.id:t)}},createLinearGradient:function(n,r,s,o){return isFinite(n)&&isFinite(r)&&isFinite(s)&&isFinite(o)||i(9),this.a.push(e.createLinearGradient,n,r,s,o),new t(this)},createRadialGradient:function(n,r,s,o,u,a){return isFinite(n)&&isFinite(r)&&isFinite(s)&&isFinite(o)&&isFinite(u)&&isFinite(a)||i(9),(s<0||a<0)&&i(1),this.a.push(e.createRadialGradient,n,r,s,o,u,a),new t(this)},createPattern:function(t,s){t||i(17);var o=t.tagName,u,a=this.d;if(o){o=o.toLowerCase();if(o==="img")u=t.getAttribute("src",2);else{if(o===r||o==="video")return;i(17)}}else t.src?u=t.src:i(17);return s==="repeat"||s==="no-repeat"||s==="repeat-x"||s==="repeat-y"||s===""||s===k||i(12),this.a.push(e.createPattern,v(u),s),x[a]&&(this.e(),++n[a]),new E(this)},z:function(){var t=this.a;this.j!==this.lineWidth&&(this.j=this.lineWidth,t.push(e.lineWidth,this.j)),this.h!==this.lineCap&&(this.h=this.lineCap,t.push(e.lineCap,this.h)),this.i!==this.lineJoin&&(this.i=this.lineJoin,t.push(e.lineJoin,this.i)),this.k!==this.miterLimit&&(this.k=this.miterLimit,t.push(e.miterLimit,this.k))},c:function(){var t=this.a;this.p!==this.shadowOffsetX&&(this.p=this.shadowOffsetX,t.push(e.shadowOffsetX,this.p)),this.q!==this.shadowOffsetY&&(this.q=this.shadowOffsetY,t.push(e.shadowOffsetY,this.q)),this.n!==this.shadowBlur&&(this.n=this.shadowBlur,t.push(e.shadowBlur,this.n)),this.o!==this.shadowColor&&(this.o=this.shadowColor,t.push(e.shadowColor,this.o))},clearRect:function(t,n,r,i){this.a.push(e.clearRect,t,n,r,i)},fillRect:function(t,n,r,i){this.b(),this.c(),this.l(),this.a.push(e.fillRect,t,n,r,i)},strokeRect:function(t,n,r,i){this.b(),this.c(),this.m(),this.z(),this.a.push(e.strokeRect,t,n,r,i)},beginPath:function(){this.a.push(e.beginPath)},closePath:function(){this.a.push(e.closePath)},moveTo:function(t,n){this.a.push(e.moveTo,t,n)},lineTo:function(t,n){this.a.push(e.lineTo,t,n)},quadraticCurveTo:function(t,n,r,i){this.a.push(e.quadraticCurveTo,t,n,r,i)},bezierCurveTo:function(t,n,r,i,s,o){this.a.push(e.bezierCurveTo,t,n,r,i,s,o)},arcTo:function(t,n,r,s,o){o<0&&isFinite(o)&&i(1),this.a.push(e.arcTo,t,n,r,s,o)},rect:function(t,n,r,i){this.a.push(e.rect,t,n,r,i)},arc:function(t,n,r,s,o,u){r<0&&isFinite(r)&&i(1),this.a.push(e.arc,t,n,r,s,o,u?1:0)},fill:function(){this.b(),this.c(),this.l(),this.a.push(e.fill)},stroke:function(){this.b(),this.c(),this.m(),this.z(),this.a.push(e.stroke)},clip:function(){this.a.push(e.clip)},w:function(){var t=this.a;if(this.v!==this.font)try{var n=y[this.d];n.style.font=this.v=this.font;var r=n.currentStyle;t.push(e.font,[r.fontStyle,r.fontWeight,n.offsetHeight,r.fontFamily].join(" "))}catch(i){}this.r!==this.textAlign&&(this.r=this.textAlign,t.push(e.textAlign,this.r)),this.s!==this.textBaseline&&(this.s=this.textBaseline,t.push(e.textBaseline,this.s)),this.t!==this.canvas.currentStyle.direction&&(this.t=this.canvas.currentStyle.direction,t.push(e.direction,this.t))},fillText:function(t,n,r,i){this.b(),this.l(),this.c(),this.w(),this.a.push(e.fillText,v(t),n,r,i===void 0?Infinity:i)},strokeText:function(t,n,r,i){this.b(),this.m(),this.c(),this.w(),this.a.push(e.strokeText,v(t),n,r,i===void 0?Infinity:i)},measureText:function(e){var t=y[this.d];try{t.style.font=this.font}catch(n){}return t.innerText=e.replace(/[ \n\f\r]/g," "),new U(t.offsetWidth)},drawImage:function(t,s,o,u,a,f,l,c,h){t||i(17);var p=t.tagName,d,m=arguments.length,g=this.d;if(p){p=p.toLowerCase();if(p==="img")d=t.getAttribute("src",2);else{if(p===r||p==="video")return;i(17)}}else t.src?d=t.src:i(17);this.b(),this.c(),d=v(d);if(m===3)this.a.push(e.drawImage,m,d,s,o);else if(m===5)this.a.push(e.drawImage,m,d,s,o,u,a);else{if(m!==9)return;(u===0||a===0)&&i(1),this.a.push(e.drawImage,m,d,s,o,u,a,f,l,c,h)}x[g]&&(this.e(),++n[g])},D:function(){this.globalAlpha=this.f=1,this.globalCompositeOperation=this.g="source-over",this.fillStyle=this.u=this.strokeStyle=this.A="#000000",this.lineWidth=this.j=1,this.lineCap=this.h="butt",this.lineJoin=this.i="miter",this.miterLimit=this.k=10,this.shadowBlur=this.n=this.shadowOffsetY=this.q=this.shadowOffsetX=this.p=0,this.shadowColor=this.o="rgba(0, 0, 0, 0.0)",this.font=this.v="10px sans-serif",this.textAlign=this.r="start",this.textBaseline=this.s="alphabetic",this.a=[],this.F=[]},H:function(){var e=this.a;return this.a=[],e},e:function(){var a=this.H();if(a.length>0)return eval(this.B.CallFunction('<invoke name="executeCommand" returntype="javascript"><arguments><string>'+a.join("&#0;")+"</string></arguments></invoke>"))},I:function(t,n){this.e(),this.D(),t>0&&(this.B.width=t),n>0&&(this.B.height=n),this.a.push(e.resize,t,n)}},t.prototype={addColorStop:function(t,n){(isNaN(t)||t<0||t>1)&&i(1),this.G.a.push(e.addColorStop,this.id,t,n)}},D.prototype=Error();var T={1:"INDEX_SIZE_ERR",9:"NOT_SUPPORTED_ERR",11:"INVALID_STATE_ERR",12:"SYNTAX_ERR",17:"TYPE_MISMATCH_ERR",18:"SECURITY_ERR"},B={initElement:function(t){if(t.getContext)return t;var r=t.uniqueID,i="external"+r;x[r]=!1,n[r]=1,Q(t),t.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+location.protocol+'//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="'+i+'"><param name="allowScriptAccess" value="always"><param name="flashvars" value="id='+i+'"><param name="wmode" value="transparent"></object><span style="margin:0;padding:0;border:0;display:inline-block;position:static;height:1em;overflow:visible;white-space:nowrap"></span>',s[r]=t;var o=t.firstChild;y[r]=t.lastChild;var a=j.body.contains;if(a(t))o.movie=w;else var f=setInterval(function(){a(t)&&(clearInterval(f),o.movie=w)},0);if(j.compatMode==="BackCompat"||!h.XMLHttpRequest)y[r].style.overflow="hidden";var l=new u(t,o);return t.getContext=function(e){return e==="2d"?l:k},t.toDataURL=function(t,n){return(""+t).replace(/[A-Z]+/g,W)==="image/jpeg"?l.a.push(e.toDataURL,t,typeof n=="number"?n:""):l.a.push(e.toDataURL,t),l.e()},o.attachEvent(K,G),t},saveImage:function(e){e.firstChild.saveImage()},setOptions:function(){},trigger:function(e,t){s[e].fireEvent("on"+t)},unlock:function(e,t){n[e]&&--n[e];if(t){var r=s[e],i=r.firstChild,o,u;Q(r),o=r.width,u=r.height,r.style.width=o+"px",r.style.height=u+"px",o>0&&(i.width=o),u>0&&(i.height=u),i.resize(o,u),r.attachEvent(L,H),x[e]=!0}}};j.createElement(r),j.createStyleSheet().cssText=r+"{display:inline-block;overflow:hidden;width:300px;height:150px}",j.readyState==="complete"?A():j.attachEvent(F,A),h.attachEvent(J,I);if(w.indexOf(location.protocol+"//"+location.host+"/")===0){var S=new ActiveXObject("Microsoft.XMLHTTP");S.open("GET",w,!1),S.send(k)}h[M]=u,h[N]=t,h[O]=E,h[C]=B,h[P]={init:function(){},init_:function(){},initElement:B.initElement},keep=u.measureText}(window,document);
@@ -1,73 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Proxy script to load a file from other domain
5
- *
6
- * PHP versions 4 and 5
7
- *
8
- * Copyright (c) 2010-2011 Shinya Muramatsu
9
- *
10
- * Permission is hereby granted, free of charge, to any person obtaining a
11
- * copy of this software and associated documentation files (the "Software"),
12
- * to deal in the Software without restriction, including without limitation
13
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14
- * and/or sell copies of the Software, and to permit persons to whom the
15
- * Software is furnished to do so, subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in
18
- * all copies or substantial portions of the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26
- * DEALINGS IN THE SOFTWARE.
27
- *
28
- * @author Shinya Muramatsu <revulon@gmail.com>
29
- * @copyright 2010-2011 Shinya Muramatsu
30
- * @license http://www.opensource.org/licenses/mit-license.php MIT License
31
- * @link http://flashcanvas.net/
32
- * @link http://code.google.com/p/flashcanvas/
33
- */
34
-
35
- // Whether we check referrer or not
36
- define('CHECK_REFERRER', true);
37
-
38
- // Check that the request is from FlashCanvas
39
- if (CHECK_REFERRER) {
40
- if (empty($_SERVER['HTTP_REFERER'])) {
41
- exit;
42
- }
43
- if (!preg_match('#/flash\d*canvas\.swf$#', $_SERVER['HTTP_REFERER'])) {
44
- exit;
45
- }
46
- }
47
-
48
- // Check that the request has a valid URL parameter
49
- if (empty($_GET['url'])) {
50
- exit;
51
- }
52
- if (!preg_match('#^https?://#', $_GET['url'])) {
53
- exit;
54
- }
55
-
56
- // Percent-encode special characters in the URL
57
- $search = array( '%', '#', ' ');
58
- $replace = array('%25', '%23', '%20');
59
- $url = str_replace($search, $replace, $_GET['url']);
60
-
61
- // Disable compression
62
- header('Content-Encoding: none');
63
-
64
- // Load and output the file
65
- if (extension_loaded('curl')) {
66
- // Use cURL extension
67
- $ch = curl_init($url);
68
- curl_exec($ch);
69
- curl_close($ch);
70
- } else {
71
- // Use the http:// wrapper
72
- readfile($url);
73
- }
@@ -1,49 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Save the input as a PNG file
5
- *
6
- * PHP versions 4 and 5
7
- *
8
- * Copyright (c) 2010-2011 Shinya Muramatsu
9
- *
10
- * Permission is hereby granted, free of charge, to any person obtaining a
11
- * copy of this software and associated documentation files (the "Software"),
12
- * to deal in the Software without restriction, including without limitation
13
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14
- * and/or sell copies of the Software, and to permit persons to whom the
15
- * Software is furnished to do so, subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in
18
- * all copies or substantial portions of the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26
- * DEALINGS IN THE SOFTWARE.
27
- *
28
- * @author Shinya Muramatsu <revulon@gmail.com>
29
- * @copyright 2010-2011 Shinya Muramatsu
30
- * @license http://www.opensource.org/licenses/mit-license.php MIT License
31
- * @link http://flashcanvas.net/
32
- * @link http://code.google.com/p/flashcanvas/
33
- */
34
-
35
- if ($_SERVER['REQUEST_METHOD'] === 'POST') {
36
- // Force download
37
- header('Content-Type: application/octet-stream');
38
- header('Content-Disposition: attachment; filename="canvas.png"');
39
-
40
- if (isset($_POST['dataurl'])) {
41
- // Decode the base64-encoded data
42
- $data = $_POST['dataurl'];
43
- $data = substr($data, strpos($data, ',') + 1);
44
- echo base64_decode($data);
45
- } else {
46
- // Output the raw data
47
- readfile('php://input');
48
- }
49
- }
@@ -1 +0,0 @@
1
- (function(e){var t=e.getElementsByTagName("script"),n=t[t.length-1],r=n.getAttribute("src").replace(/[^\/]+$/,"save.php");window.canvas2png=function(t){var n=t.tagName.toLowerCase();if(n!=="canvas")return;if(typeof FlashCanvas!="undefined")FlashCanvas.saveImage(t);else{var i=e.createElement("form"),s=e.createElement("input");i.setAttribute("action",r),i.setAttribute("method","post"),s.setAttribute("type","hidden"),s.setAttribute("name","dataurl"),s.setAttribute("value",t.toDataURL()),e.body.appendChild(i),i.appendChild(s),i.submit(),i.removeChild(s),e.body.removeChild(i)}}})(document);
@@ -1 +0,0 @@
1
- window.ActiveXObject&&!window.CanvasRenderingContext2D&&function(j,m){function O(e){this.code=e,this.message=ea[e]}function y(e,t,n){if(!n){n=[];for(var r=0,i=e*t*4;r<i;++r)n[r]=0}this.width=e,this.height=t,this.data=n}function fa(e){this.width=e}function P(e){this.id=e.I++}function z(e){this.O=e,this.id=e.I++}function D(e,t){this.canvas=e,this.w=t,this.f=e.uniqueID,this.J(),this.I=0,this.j=this.H="",this.c=0}function E(){if(m.readyState==="complete"){m.detachEvent(Q,E);for(var e=m.getElementsByTagName(u),t=0,n=e.length;t<n;++t)F.initElement(e[t])}}function R(){var e=event.srcElement,t=e.parentNode;e.blur(),t.focus()}function G(){event.button&2&&event.srcElement.parentNode.setCapture()}function H(){event.button&2&&event.srcElement.parentNode.releaseCapture()}function S(){var e=event.propertyName;if(e==="width"||e==="height"){var t=event.srcElement,n=t[e],r=parseInt(n,10);if(isNaN(r)||r<0)r=e==="width"?300:150;n===r?(t.style[e]=r+"px",t.getContext("2d").P(t.width,t.height)):t[e]=r}}function T(){j.detachEvent(U,T);for(var e in n){var t=n[e],r=t.firstChild,i;for(i in r)typeof r[i]=="function"&&(r[i]=k);for(i in t)typeof t[i]=="function"&&(t[i]=k);r.detachEvent(V,R),r.detachEvent(I,G),t.detachEvent(J,H),t.detachEvent(W,S)}j[X]=k,j[Y]=k,j[Z]=k,j[K]=k,j[$]=k}function ga(){var e=m.getElementsByTagName("script");return e=e[e.length-1],m.documentMode>=8?e.src:e.getAttribute("src",4)}function ha(e){return e.toLowerCase()}function g(e){throw new O(e)}function aa(e){var t=parseInt(e.width,10),n=parseInt(e.height,10);if(isNaN(t)||t<0)t=300;if(isNaN(n)||n<0)n=150;e.width=t,e.height=n}var k=null,u="canvas",X="CanvasRenderingContext2D",Y="CanvasGradient",Z="CanvasPattern",K="FlashCanvas",$="G_vmlCanvasManager",V="onfocus",I="onmousedown",J="onmouseup",W="onpropertychange",Q="onreadystatechange",U="onunload",q;try{q=(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").match(/[\d,]+/)[0].replace(/,/g,".")}catch(ia){q=0}var r=j[K+"Options"]||{},ba=r.swfPath||ga().replace(/[^\/]+$/,""),x;x=parseInt(q)>9?ba+"flash10canvas.swf":ba+"flash9canvas.swf";var A={},B={},ca={},L={},v={},da={},n={},C={},l={C:"turbo"in r?r.turbo:1,B:r.delay||0,M:r.disableContextMenu||0,N:r.imageCacheSize||100,D:r.usePolicyFile||0};q==="10.1.53.64"&&(l.C=0,l.B=30),D.prototype={save:function(){this.e(15),this.L.push([this.l,this.m,this.v,this.k,this.p,this.n,this.o,this.q,this.t,this.u,this.r,this.s,this.j,this.z,this.A]),this.a.push("B")},restore:function(){var e=this.L;e.length&&(e=e.pop(),this.globalAlpha=e[0],this.globalCompositeOperation=e[1],this.strokeStyle=e[2],this.fillStyle=e[3],this.lineWidth=e[4],this.lineCap=e[5],this.lineJoin=e[6],this.miterLimit=e[7],this.shadowOffsetX=e[8],this.shadowOffsetY=e[9],this.shadowBlur=e[10],this.shadowColor=e[11],this.font=e[12],this.textAlign=e[13],this.textBaseline=e[14]),this.a.push("C")},scale:function(e,t){this.a.push("D",e,t)},rotate:function(e){this.a.push("E",e)},translate:function(e,t){this.a.push("F",e,t)},transform:function(e,t,n,r,i,s){this.a.push("G",e,t,n,r,i,s)},setTransform:function(e,t,n,r,i,s){this.a.push("H",e,t,n,r,i,s)},createLinearGradient:function(e,t,n,r){return isFinite(e)&&isFinite(t)&&isFinite(n)&&isFinite(r)||g(9),this.a.push("M",e,t,n,r),new z(this)},createRadialGradient:function(e,t,n,r,i,s){return isFinite(e)&&isFinite(t)&&isFinite(n)&&isFinite(r)&&isFinite(i)&&isFinite(s)||g(9),(n<0||s<0)&&g(1),this.a.push("N",e,t,n,r,i,s),new z(this)},createPattern:function(e,t){e||g(17);var n=e.tagName,r,i,s,o=this.f;if(n){n=n.toLowerCase();if(n==="img")r=e.getAttribute("src",2);else if(n===u)i=this.G(e),s=e!==this.canvas;else{if(n==="video")return;g(17)}}else e.src?r=e.src:g(17);t==="repeat"||t==="no-repeat"||t==="repeat-x"||t==="repeat-y"||t===""||t===k||g(12);if(!i){i=B[o][r];if(s=i===void 0)i=this.F(r)}return this.a.push("O",i,t),s&&A[o]&&(this.g(),++v[o]),new P(this)},clearRect:function(e,t,n,r){this.a.push("X",e,t,n,r),this.b||this.d(),this.c=0},fillRect:function(e,t,n,r){this.e(1),this.a.push("Y",e,t,n,r),this.b||this.d(),this.c=0},strokeRect:function(e,t,n,r){this.e(6),this.a.push("Z",e,t,n,r),this.b||this.d(),this.c=0},beginPath:function(){this.a.push("a")},closePath:function(){this.a.push("b")},moveTo:function(e,t){this.a.push("c",e,t)},lineTo:function(e,t){this.a.push("d",e,t)},quadraticCurveTo:function(e,t,n,r){this.a.push("e",e,t,n,r)},bezierCurveTo:function(e,t,n,r,i,s){this.a.push("f",e,t,n,r,i,s)},arcTo:function(e,t,n,r,i){i<0&&isFinite(i)&&g(1),this.a.push("g",e,t,n,r,i)},rect:function(e,t,n,r){this.a.push("h",e,t,n,r)},arc:function(e,t,n,r,i,s){n<0&&isFinite(n)&&g(1),this.a.push("i",e,t,n,r,i,s?1:0)},fill:function(){this.e(1),this.a.push("j"),this.b||this.d(),this.c=0},stroke:function(){this.e(6),this.a.push("k"),this.b||this.d(),this.c=0},clip:function(){this.a.push("l")},isPointInPath:function(e,t){return this.a.push("m",e,t),this.g()==="true"},fillText:function(e,t,n,r){this.e(9),this.h.push(this.a.length+1),this.a.push("r",e,t,n,r===void 0?Infinity:r),this.b||this.d(),this.c=0},strokeText:function(e,t,n,r){this.e(10),this.h.push(this.a.length+1),this.a.push("s",e,t,n,r===void 0?Infinity:r),this.b||this.d(),this.c=0},measureText:function(e){var t=C[this.f];try{t.style.font=this.font}catch(n){}return t.innerText=e.replace(/[ \n\f\r]/g," "),new fa(t.offsetWidth)},drawImage:function(e,t,n,r,i,s,o,a,f){e||g(17);var l=e.tagName,c,h,p,d=arguments.length,m=this.f;if(l){l=l.toLowerCase();if(l==="img")c=e.getAttribute("src",2);else if(l===u)h=this.G(e),p=e!==this.canvas;else{if(l==="video")return;g(17)}}else e.src?c=e.src:g(17);if(!h){h=B[m][c];if(p=h===void 0)h=this.F(c)}this.e(0);if(d===3)this.a.push("u",d,h,t,n);else if(d===5)this.a.push("u",d,h,t,n,r,i);else{if(d!==9)return;(r===0||i===0)&&g(1),this.a.push("u",d,h,t,n,r,i,s,o,a,f)}p&&A[m]?(this.g(),++v[m]):this.b||this.d(),this.c=0},createImageData:function(e,t){var n=Math.ceil;return arguments.length===2?(isFinite(e)&&isFinite(t)||g(9),(e===0||t===0)&&g(1)):(e instanceof y||g(9),t=e.height,e=e.width),e=n(e<0?-e:e),t=n(t<0?-t:t),new y(e,t)},getImageData:function(a,b,c,d){return isFinite(a)&&isFinite(b)&&isFinite(c)&&isFinite(d)||g(9),(c===0||d===0)&&g(1),this.a.push("w",a,b,c,d),a=this.g(),c=typeof JSON=="object"?JSON.parse(a):m.documentMode?eval(a):a.slice(1,-1).split(","),a=c.shift(),b=c.shift(),new y(a,b,c)},putImageData:function(e,t,n,r,i,s,o){e instanceof y||g(17),isFinite(t)&&isFinite(n)||g(9);var u=arguments.length,a=e.width,f=e.height,l=e.data;u===3?this.a.push("x",u,a,f,l.toString(),t,n):u===7&&(isFinite(r)&&isFinite(i)&&isFinite(s)&&isFinite(o)||g(9),this.a.push("x",u,a,f,l.toString(),t,n,r,i,s,o)),this.b||this.d(),this.c=0},J:function(){this.globalAlpha=this.l=1,this.globalCompositeOperation=this.m="source-over",this.fillStyle=this.k=this.strokeStyle=this.v="#000000",this.lineWidth=this.p=1,this.lineCap=this.n="butt",this.lineJoin=this.o="miter",this.miterLimit=this.q=10,this.shadowBlur=this.r=this.shadowOffsetY=this.u=this.shadowOffsetX=this.t=0,this.shadowColor=this.s="rgba(0, 0, 0, 0.0)",this.font=this.j="10px sans-serif",this.textAlign=this.z="start",this.textBaseline=this.A="alphabetic",this.a=[],this.L=[],this.i=[],this.h=[],this.b=k,this.K=1},e:function(e){var t=this.a,n;this.l!==this.globalAlpha&&t.push("I",this.l=this.globalAlpha),this.m!==this.globalCompositeOperation&&t.push("J",this.m=this.globalCompositeOperation),this.t!==this.shadowOffsetX&&t.push("T",this.t=this.shadowOffsetX),this.u!==this.shadowOffsetY&&t.push("U",this.u=this.shadowOffsetY),this.r!==this.shadowBlur&&t.push("V",this.r=this.shadowBlur),this.s!==this.shadowColor&&(n=this.s=this.shadowColor,(""+n).indexOf("%")>0&&this.i.push(t.length+1),t.push("W",n)),e&1&&this.k!==this.fillStyle&&(n=this.k=this.fillStyle,typeof n=="object"?n=n.id:(""+n).indexOf("%")>0&&this.i.push(t.length+1),t.push("L",n)),e&2&&this.v!==this.strokeStyle&&(n=this.v=this.strokeStyle,typeof n=="object"?n=n.id:(""+n).indexOf("%")>0&&this.i.push(t.length+1),t.push("K",n)),e&4&&(this.p!==this.lineWidth&&t.push("P",this.p=this.lineWidth),this.n!==this.lineCap&&t.push("Q",this.n=this.lineCap),this.o!==this.lineJoin&&t.push("R",this.o=this.lineJoin),this.q!==this.miterLimit&&t.push("S",this.q=this.miterLimit)),e&8&&(this.j!==this.font&&(e=C[this.f].offsetHeight,this.h.push(t.length+2),t.push("o",e,this.j=this.font)),this.z!==this.textAlign&&t.push("p",this.z=this.textAlign),this.A!==this.textBaseline&&t.push("q",this.A=this.textBaseline),this.H!==this.canvas.currentStyle.direction&&t.push("1",this.H=this.canvas.currentStyle.direction))},d:function(){var e=this;e.b=setTimeout(function(){v[e.f]?e.d():(e.b=k,e.g(l.C))},l.B)},Q:function(){clearTimeout(this.b),this.b=k},g:function(e){var t,n,r,i=this.i,s=this.h,o=this.a,u=this.w;if(o.length){this.b&&this.Q();if(e){t=0;for(n=i.length;t<n;++t)r=i[t],o[r]=encodeURI(o[r]);t=0;for(n=s.length;t<n;++t)r=s[t],o[r]=encodeURIComponent(o[r])}else{t=0;for(n=s.length;t<n;++t)r=s[t],o[r]=(""+o[r]).replace(/&/g,"&amp;").replace(/</g,"&lt;")}t=o.join(""),this.a=[],this.i=[],this.h=[];if(!e)return u.CallFunction('<invoke name="executeCommand" returntype="javascript"><arguments><string>'+t+"</string></arguments></invoke>");u.flashvars="c="+t,u.width=u.clientWidth+this.K,this.K^=-2}},P:function(e,t){this.g(),this.J(),e>0&&(this.w.width=e),t>0&&(this.w.height=t),this.a.push("2",e,t),this.b||this.d(),this.c=0},G:function(e){var t=e.uniqueID,r=u+":"+t;return(e.width===0||e.height===0)&&g(11),t!==this.f&&(e=n[t].getContext("2d"),e.c||(t=++da[t],r+=":"+t,e.a.push("3",t),e.b||e.d(),e.c=1)),r},F:function(e){var t=this.f,n=B[t],r=ca[t],i=n[e]=L[t]++;return i>=l.N-1&&(L[t]=0),i in r&&delete n[r[i]],this.h.push(this.a.length+2),this.a.push("5",i,e),r[i]=e,i}},z.prototype={addColorStop:function(e,t){(isNaN(e)||e<0||e>1)&&g(1);var n=this.O,r=this.id;(""+t).indexOf("%")>0&&n.i.push(n.a.length+3),n.a.push("y",r,e,t)}},O.prototype=Error();var ea={1:"INDEX_SIZE_ERR",9:"NOT_SUPPORTED_ERR",11:"INVALID_STATE_ERR",12:"SYNTAX_ERR",17:"TYPE_MISMATCH_ERR",18:"SECURITY_ERR"},F={initElement:function(e){if(e.getContext)return e;var t=e.uniqueID,r="external"+t;A[t]=0,B[t]={},ca[t]=[],L[t]=0,v[t]=1,da[t]=0,aa(e),e.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+location.protocol+'//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="'+r+'"><param name="allowScriptAccess" value="always"><param name="flashvars" value="id='+r+'"><param name="wmode" value="transparent"></object><span style="margin:0;padding:0;border:0;display:inline-block;position:static;height:1em;overflow:visible;white-space:nowrap"></span>',n[t]=e;var i=e.firstChild;C[t]=e.lastChild;var s=m.body.contains;if(s(e))i.movie=x;else var o=setInterval(function(){s(e)&&(clearInterval(o),i.movie=x)},0);if(m.compatMode==="BackCompat"||!j.XMLHttpRequest)C[t].style.overflow="hidden";var u=new D(e,i);return e.getContext=function(e){return e==="2d"?u:k},e.toDataURL=function(t,n){return e.width===0||e.height===0?"data:,":((""+t).replace(/[A-Z]+/g,ha)==="image/jpeg"?u.a.push("A",t,typeof n=="number"?n:""):u.a.push("A",t),u.g().slice(1,-1))},i.attachEvent(V,R),l.M&&(i.attachEvent(I,G),e.attachEvent(J,H)),l.D&&u.a.push("4","usePolicyFile",l.D),e},saveImage:function(e){e.firstChild.saveImage()},setOptions:function(e){for(var t in e){var r=e[t];switch(t){case"turbo":l.C=r;break;case"delay":l.B=r;break;case"disableContextMenu":var i=l.M=r;r=void 0;for(r in n){var s=n[r],o=i?"attachEvent":"detachEvent";s.firstChild[o](I,G),s[o](J,H)}break;case"imageCacheSize":l.N=r;break;case"usePolicyFile":i=t,r=l.D=r?1:0,s=void 0;for(s in n)o=n[s].getContext("2d"),o.h.push(o.a.length+2),o.a.push("4",i,r)}}},trigger:function(e,t){n[e].fireEvent("on"+t)},unlock:function(e,t){v[e]&&--v[e];if(t){var r=n[e],i=r.firstChild,s,o;aa(r),s=r.width,o=r.height,r.style.width=s+"px",r.style.height=o+"px",s>0&&(i.width=s),o>0&&(i.height=o),i.resize(s,o),r.attachEvent(W,S),A[e]=1}}};m.createElement(u),m.createStyleSheet().cssText=u+"{display:inline-block;overflow:hidden;width:300px;height:150px}",m.readyState==="complete"?E():m.attachEvent(Q,E),j.attachEvent(U,T),x.indexOf(location.protocol+"//"+location.host+"/")===0&&(q=new ActiveXObject("Microsoft.XMLHTTP"),q.open("GET",x,!1),q.send(k)),j[X]=D,j[Y]=z,j[Z]=P,j[K]=F,j[$]={init:function(){},init_:function(){},initElement:F.initElement}}(window,document);
@@ -1,73 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Proxy script to load a file from other domain
5
- *
6
- * PHP versions 4 and 5
7
- *
8
- * Copyright (c) 2010-2011 Shinya Muramatsu
9
- *
10
- * Permission is hereby granted, free of charge, to any person obtaining a
11
- * copy of this software and associated documentation files (the "Software"),
12
- * to deal in the Software without restriction, including without limitation
13
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14
- * and/or sell copies of the Software, and to permit persons to whom the
15
- * Software is furnished to do so, subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in
18
- * all copies or substantial portions of the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26
- * DEALINGS IN THE SOFTWARE.
27
- *
28
- * @author Shinya Muramatsu <revulon@gmail.com>
29
- * @copyright 2010-2011 Shinya Muramatsu
30
- * @license http://www.opensource.org/licenses/mit-license.php MIT License
31
- * @link http://flashcanvas.net/
32
- * @link http://code.google.com/p/flashcanvas/
33
- */
34
-
35
- // Whether we check referrer or not
36
- define('CHECK_REFERRER', true);
37
-
38
- // Check that the request is from FlashCanvas
39
- if (CHECK_REFERRER) {
40
- if (empty($_SERVER['HTTP_REFERER'])) {
41
- exit;
42
- }
43
- if (!preg_match('#/flash\d*canvas\.swf$#', $_SERVER['HTTP_REFERER'])) {
44
- exit;
45
- }
46
- }
47
-
48
- // Check that the request has a valid URL parameter
49
- if (empty($_GET['url'])) {
50
- exit;
51
- }
52
- if (!preg_match('#^https?://#', $_GET['url'])) {
53
- exit;
54
- }
55
-
56
- // Percent-encode special characters in the URL
57
- $search = array( '%', '#', ' ');
58
- $replace = array('%25', '%23', '%20');
59
- $url = str_replace($search, $replace, $_GET['url']);
60
-
61
- // Disable compression
62
- header('Content-Encoding: none');
63
-
64
- // Load and output the file
65
- if (extension_loaded('curl')) {
66
- // Use cURL extension
67
- $ch = curl_init($url);
68
- curl_exec($ch);
69
- curl_close($ch);
70
- } else {
71
- // Use the http:// wrapper
72
- readfile($url);
73
- }
@@ -1,49 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Save the input as a PNG file
5
- *
6
- * PHP versions 4 and 5
7
- *
8
- * Copyright (c) 2010-2011 Shinya Muramatsu
9
- *
10
- * Permission is hereby granted, free of charge, to any person obtaining a
11
- * copy of this software and associated documentation files (the "Software"),
12
- * to deal in the Software without restriction, including without limitation
13
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14
- * and/or sell copies of the Software, and to permit persons to whom the
15
- * Software is furnished to do so, subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in
18
- * all copies or substantial portions of the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26
- * DEALINGS IN THE SOFTWARE.
27
- *
28
- * @author Shinya Muramatsu <revulon@gmail.com>
29
- * @copyright 2010-2011 Shinya Muramatsu
30
- * @license http://www.opensource.org/licenses/mit-license.php MIT License
31
- * @link http://flashcanvas.net/
32
- * @link http://code.google.com/p/flashcanvas/
33
- */
34
-
35
- if ($_SERVER['REQUEST_METHOD'] === 'POST') {
36
- // Force download
37
- header('Content-Type: application/octet-stream');
38
- header('Content-Disposition: attachment; filename="canvas.png"');
39
-
40
- if (isset($_POST['dataurl'])) {
41
- // Decode the base64-encoded data
42
- $data = $_POST['dataurl'];
43
- $data = substr($data, strpos($data, ',') + 1);
44
- echo base64_decode($data);
45
- } else {
46
- // Output the raw data
47
- readfile('php://input');
48
- }
49
- }