From b03aa067ccf899d5f223444e7604f80e14b55118 Mon Sep 17 00:00:00 2001 From: Manuel Fuchs Date: Mon, 22 Jan 2024 16:53:08 +0100 Subject: [PATCH] Remove Kissaten dependency --- .gitignore | 1 - hatchet.json | 10 +- hatchet.lock | 14 +- .../repos/play-2.2.x-scala-sample/.gitignore | 15 + .../repos/play-2.2.x-scala-sample/README | 4 + .../app/controllers/Application.scala | 12 + .../app/views/index.scala.html | 7 + .../app/views/main.scala.html | 15 + .../repos/play-2.2.x-scala-sample/build.sbt | 11 + .../conf/application.conf | 59 +++ .../repos/play-2.2.x-scala-sample/conf/routes | 9 + .../project/build.properties | 1 + .../project/plugins.sbt | 8 + .../public/images/favicon.png | Bin 0 -> 687 bytes .../public/javascripts/jquery-1.9.0.min.js | 4 + .../public/stylesheets/main.css | 0 .../test/ApplicationSpec.scala | 30 ++ .../test/IntegrationSpec.scala | 24 ++ .../repos/play-2.3.x-scala-sample/.buildpacks | 1 + .../repos/play-2.3.x-scala-sample/.gitignore | 16 + .../repos/play-2.3.x-scala-sample/LICENSE | 8 + .../repos/play-2.3.x-scala-sample/README | 4 + .../repos/play-2.3.x-scala-sample/activator | 342 ++++++++++++++++++ .../activator-launch-1.2.8.jar | Bin 0 -> 1188339 bytes .../play-2.3.x-scala-sample/activator.bat | 227 ++++++++++++ .../play-2.3.x-scala-sample/app/Global.scala | 26 ++ .../app/controllers/Application.scala | 31 ++ .../app/views/index.scala.html | 7 + .../app/views/main.scala.html | 15 + .../repos/play-2.3.x-scala-sample/build.sbt | 16 + .../conf/application.conf | 62 ++++ .../repos/play-2.3.x-scala-sample/conf/routes | 12 + .../project/build.properties | 4 + .../project/plugins.sbt | 20 + .../public/images/favicon.png | Bin 0 -> 687 bytes .../public/javascripts/hello.js | 3 + .../public/stylesheets/main.css | 0 .../test/ApplicationSpec.scala | 30 ++ .../test/IntegrationSpec.scala | 24 ++ .../repos/play-2.4.x-scala/.gitignore | 15 + .../fixtures/repos/play-2.4.x-scala/LICENSE | 8 + .../fixtures/repos/play-2.4.x-scala/activator | 342 ++++++++++++++++++ .../activator-launch-1.2.8.jar | Bin 0 -> 1188339 bytes .../repos/play-2.4.x-scala/activator.bat | 227 ++++++++++++ .../fixtures/repos/play-2.4.x-scala/app.json | 8 + .../app/controllers/Application.scala | 12 + .../app/views/index.scala.html | 7 + .../app/views/main.scala.html | 15 + .../fixtures/repos/play-2.4.x-scala/build.sbt | 15 + .../play-2.4.x-scala/conf/application.conf | 62 ++++ .../repos/play-2.4.x-scala/conf/routes | 9 + .../play-2.4.x-scala/project/build.properties | 4 + .../play-2.4.x-scala/project/plugins.sbt | 6 + .../public/images/favicon.png | Bin 0 -> 687 bytes .../public/javascripts/hello.js | 3 + .../public/stylesheets/main.css | 0 .../test/ApplicationSpec.scala | 30 ++ .../test/IntegrationSpec.scala | 24 ++ .../repos/sbt-minimal-scala-sample/.gitignore | 1 + .../repos/sbt-minimal-scala-sample/LICENSE | 21 ++ .../repos/sbt-minimal-scala-sample/Procfile | 1 + .../repos/sbt-minimal-scala-sample/build.sbt | 16 + .../project/build.properties | 4 + .../project/plugins.sbt | 1 + .../src/main/scala/com/example/Https.scala | 51 +++ .../src/main/scala/com/example/Server.scala | 63 ++++ .../system.properties | 1 + .../fixtures/repos/sbt-one-example/.gitignore | 2 + .../fixtures/repos/sbt-one-example/LICENSE | 7 + .../fixtures/repos/sbt-one-example/Procfile | 1 + .../fixtures/repos/sbt-one-example/build.sbt | 25 ++ .../sbt-one-example/project/build.properties | 1 + .../repos/sbt-one-example/project/plugins.sbt | 1 + .../src/main/scala/example/Server.scala | 31 ++ .../src/test/scala/example/HelloSpec.scala | 9 + .../repos/sbt-start-script-sample/.gitignore | 1 + .../repos/sbt-start-script-sample/Procfile | 1 + .../repos/sbt-start-script-sample/build.sbt | 23 ++ .../project/build.properties | 1 + .../project/plugins.sbt | 3 + .../src/main/scala/com/example/Server.scala | 26 ++ test/spec/sbt_spec.rb | 4 +- 82 files changed, 2129 insertions(+), 25 deletions(-) create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/.gitignore create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/README create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/app/controllers/Application.scala create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/index.scala.html create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/main.scala.html create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/build.sbt create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/conf/application.conf create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/conf/routes create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/project/build.properties create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/project/plugins.sbt create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/public/images/favicon.png create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/public/javascripts/jquery-1.9.0.min.js create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/public/stylesheets/main.css create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/test/ApplicationSpec.scala create mode 100644 test/spec/fixtures/repos/play-2.2.x-scala-sample/test/IntegrationSpec.scala create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/.buildpacks create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/.gitignore create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/LICENSE create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/README create mode 100755 test/spec/fixtures/repos/play-2.3.x-scala-sample/activator create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/activator-launch-1.2.8.jar create mode 100755 test/spec/fixtures/repos/play-2.3.x-scala-sample/activator.bat create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/app/Global.scala create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/app/controllers/Application.scala create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/app/views/index.scala.html create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/app/views/main.scala.html create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/build.sbt create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/conf/application.conf create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/conf/routes create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/project/build.properties create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/project/plugins.sbt create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/public/images/favicon.png create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/public/javascripts/hello.js create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/public/stylesheets/main.css create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/test/ApplicationSpec.scala create mode 100644 test/spec/fixtures/repos/play-2.3.x-scala-sample/test/IntegrationSpec.scala create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/.gitignore create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/LICENSE create mode 100755 test/spec/fixtures/repos/play-2.4.x-scala/activator create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/activator-launch-1.2.8.jar create mode 100755 test/spec/fixtures/repos/play-2.4.x-scala/activator.bat create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/app.json create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/app/controllers/Application.scala create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/app/views/index.scala.html create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/app/views/main.scala.html create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/build.sbt create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/conf/application.conf create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/conf/routes create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/project/build.properties create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/project/plugins.sbt create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/public/images/favicon.png create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/public/javascripts/hello.js create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/public/stylesheets/main.css create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/test/ApplicationSpec.scala create mode 100644 test/spec/fixtures/repos/play-2.4.x-scala/test/IntegrationSpec.scala create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/.gitignore create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/LICENSE create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/Procfile create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/build.sbt create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/project/build.properties create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/project/plugins.sbt create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/src/main/scala/com/example/Https.scala create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/src/main/scala/com/example/Server.scala create mode 100644 test/spec/fixtures/repos/sbt-minimal-scala-sample/system.properties create mode 100644 test/spec/fixtures/repos/sbt-one-example/.gitignore create mode 100644 test/spec/fixtures/repos/sbt-one-example/LICENSE create mode 100644 test/spec/fixtures/repos/sbt-one-example/Procfile create mode 100644 test/spec/fixtures/repos/sbt-one-example/build.sbt create mode 100644 test/spec/fixtures/repos/sbt-one-example/project/build.properties create mode 100644 test/spec/fixtures/repos/sbt-one-example/project/plugins.sbt create mode 100644 test/spec/fixtures/repos/sbt-one-example/src/main/scala/example/Server.scala create mode 100644 test/spec/fixtures/repos/sbt-one-example/src/test/scala/example/HelloSpec.scala create mode 100644 test/spec/fixtures/repos/sbt-start-script-sample/.gitignore create mode 100644 test/spec/fixtures/repos/sbt-start-script-sample/Procfile create mode 100644 test/spec/fixtures/repos/sbt-start-script-sample/build.sbt create mode 100644 test/spec/fixtures/repos/sbt-start-script-sample/project/build.properties create mode 100644 test/spec/fixtures/repos/sbt-start-script-sample/project/plugins.sbt create mode 100644 test/spec/fixtures/repos/sbt-start-script-sample/src/main/scala/com/example/Server.scala diff --git a/.gitignore b/.gitignore index 2d6687a6..9f0658a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -test/spec/fixtures/repos/* logs project/project project/target diff --git a/hatchet.json b/hatchet.json index 40cc4709..31220a3c 100644 --- a/hatchet.json +++ b/hatchet.json @@ -3,14 +3,6 @@ "directory": "test/spec/fixtures" }, "play": [ - "heroku/scala-getting-started", - "kissaten/play-2.4.x-scala", - "kissaten/play-2.3.x-scala-sample", - "kissaten/play-2.2.x-scala-sample" - ], - "sbt": [ - "kissaten/sbt-minimal-scala-sample", - "kissaten/sbt-start-script-sample", - "kissaten/sbt-one-example" + "heroku/scala-getting-started" ] } diff --git a/hatchet.lock b/hatchet.lock index e794bef3..48941dc9 100644 --- a/hatchet.lock +++ b/hatchet.lock @@ -1,15 +1,3 @@ --- -- - test/spec/fixtures/repos/play/play-2.2.x-scala-sample - - c78f3ad89aacb87b97ad7d41bdcdafffe35e6089 -- - test/spec/fixtures/repos/play/play-2.3.x-scala-sample - - b6e861a555c880f3acf3995b6c12170634c365b2 -- - test/spec/fixtures/repos/play/play-2.4.x-scala - - 032f37504617baea4a06c523f596f2defae50ff0 - - test/spec/fixtures/repos/play/scala-getting-started - - 9ccbc79d6e7c2f0abf152d5daf696daae87b3790 -- - test/spec/fixtures/repos/sbt/sbt-minimal-scala-sample - - 92b704164a806e7a70a2237f07c5519664c7def3 -- - test/spec/fixtures/repos/sbt/sbt-one-example - - 32291b4dc3219e72af320f0387706f223de864db -- - test/spec/fixtures/repos/sbt/sbt-start-script-sample - - 0e5668e7b096c62af1d54ddadc2aecaf30592840 + - 7a570f070c49db6c95cb6a63f1e38aaf87a93516 diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/.gitignore b/test/spec/fixtures/repos/play-2.2.x-scala-sample/.gitignore new file mode 100644 index 00000000..8570daf5 --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/.gitignore @@ -0,0 +1,15 @@ +logs +project/project +project/target +target +tmp +.history +dist +/.idea +/*.iml +/out +/.idea_modules +/.classpath +/.project +/RUNNING_PID +/.settings diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/README b/test/spec/fixtures/repos/play-2.2.x-scala-sample/README new file mode 100644 index 00000000..da7c3785 --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/README @@ -0,0 +1,4 @@ +This is your new Play application +===================================== + +This file will be packaged with your application, when using `play dist`. diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/controllers/Application.scala b/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/controllers/Application.scala new file mode 100644 index 00000000..7cd798f4 --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/controllers/Application.scala @@ -0,0 +1,12 @@ +package controllers + +import play.api._ +import play.api.mvc._ + +object Application extends Controller { + + def index = Action { + Ok(views.html.index("Your new application is ready.")) + } + +} \ No newline at end of file diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/index.scala.html b/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/index.scala.html new file mode 100644 index 00000000..d6a6b22b --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/index.scala.html @@ -0,0 +1,7 @@ +@(message: String) + +@main("Welcome to Play") { + + @play20.welcome(message) + +} diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/main.scala.html b/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/main.scala.html new file mode 100644 index 00000000..6c72d80e --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/app/views/main.scala.html @@ -0,0 +1,15 @@ +@(title: String)(content: Html) + + + + + + @title + + + + + + @content + + diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/build.sbt b/test/spec/fixtures/repos/play-2.2.x-scala-sample/build.sbt new file mode 100644 index 00000000..23bf164e --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/build.sbt @@ -0,0 +1,11 @@ +name := "sample-app" + +version := "1.0-SNAPSHOT" + +libraryDependencies ++= Seq( + jdbc, + anorm, + cache +) + +play.Project.playScalaSettings diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/conf/application.conf b/test/spec/fixtures/repos/play-2.2.x-scala-sample/conf/application.conf new file mode 100644 index 00000000..261e976d --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/conf/application.conf @@ -0,0 +1,59 @@ +# This is the main configuration file for the application. +# ~~~~~ + +# Secret key +# ~~~~~ +# The secret key is used to secure cryptographics functions. +# If you deploy your application to several instances be sure to use the same key! +application.secret="slC[HlwWKt/H?2_pcVqYezT{T_ZJ?}AL z5NC{NW(ESID=>(O3&Eg8 zmA9J&6c`h4_f6L;=bU>_H8aNG`kfvCj9zomNt)?O;rzWqZs0LEt%1WB218%1fo9uB zsW^yhBR7C(mqN%GEK9&msg0~ zWY?#bf4q8G-~2KttQZ($odJvy&_-~f?9*ThK@fwR$U^1)p*8=_+^3BXx0$i1BC8XC zr21u6D5nVK&^!dOAw&|1E;qC3uFNj3*Jj#&%Oje@0D-nhfmM*o%^5f}-pxQ07(95H z3|LoV>V19w#rLgmRmtVy9!T3M3FUE3><0T8&b3yEsWcLW`0(=1+qsqc(k(ymBLK0h zK!6(6$7MX~M`-QA2$wk7n(7hhkJ}4Rwi-Vd(_ZFX1Yk7TXuB0IJYpo@kLb2G8m)E{ z`9v=!hi}fOytKckfN^C@6+Z*+MVI9-W_p@_3yyR#UYc0FTpD}i#k>c!wYCS)4v@E$ zchZCo=zV@)`v^$;V18ixdjFMY#q^2$wEX%{f(XD8POnsn$bpbClpC@hPxjzyO>pY|*pF3UU2tYcCN?rUk{Sskej70Mmu9vPwMYhO1m{AxAt(zqDT|0jP7FaX=6 V`?~}E4H^Id002ovPDHLkV1hC)G==~G literal 0 HcmV?d00001 diff --git a/test/spec/fixtures/repos/play-2.2.x-scala-sample/public/javascripts/jquery-1.9.0.min.js b/test/spec/fixtures/repos/play-2.2.x-scala-sample/public/javascripts/jquery-1.9.0.min.js new file mode 100644 index 00000000..50d1b22f --- /dev/null +++ b/test/spec/fixtures/repos/play-2.2.x-scala-sample/public/javascripts/jquery-1.9.0.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.match(lt)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(st.acceptData(e)){var o,a,s=st.expando,u="string"==typeof n,l=e.nodeType,c=l?st.cache:e,f=l?e[s]:e[s]&&s;if(f&&c[f]&&(i||c[f].data)||!u||r!==t)return f||(l?e[s]=f=K.pop()||st.guid++:f=s),c[f]||(c[f]={},l||(c[f].toJSON=st.noop)),("object"==typeof n||"function"==typeof n)&&(i?c[f]=st.extend(c[f],n):c[f].data=st.extend(c[f].data,n)),o=c[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[st.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[st.camelCase(n)])):a=o,a}}function o(e,t,n){if(st.acceptData(e)){var r,i,o,a=e.nodeType,u=a?st.cache:e,l=a?e[st.expando]:st.expando;if(u[l]){if(t&&(r=n?u[l]:u[l].data)){st.isArray(t)?t=t.concat(st.map(t,st.camelCase)):t in r?t=[t]:(t=st.camelCase(t),t=t in r?[t]:t.split(" "));for(i=0,o=t.length;o>i;i++)delete r[t[i]];if(!(n?s:st.isEmptyObject)(r))return}(n||(delete u[l].data,s(u[l])))&&(a?st.cleanData([e],!0):st.support.deleteExpando||u!=u.window?delete u[l]:u[l]=null)}}}function a(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(Nt,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:wt.test(r)?st.parseJSON(r):r}catch(o){}st.data(e,n,r)}else r=t}return r}function s(e){var t;for(t in e)if(("data"!==t||!st.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function u(){return!0}function l(){return!1}function c(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function f(e,t,n){if(t=t||0,st.isFunction(t))return st.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return st.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=st.grep(e,function(e){return 1===e.nodeType});if(Wt.test(t))return st.filter(t,r,!n);t=st.filter(t,r)}return st.grep(e,function(e){return st.inArray(e,t)>=0===n})}function p(e){var t=zt.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function h(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function g(e){var t=nn.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function m(e,t){for(var n,r=0;null!=(n=e[r]);r++)st._data(n,"globalEval",!t||st._data(t[r],"globalEval"))}function y(e,t){if(1===t.nodeType&&st.hasData(e)){var n,r,i,o=st._data(e),a=st._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)st.event.add(t,n,s[n][r])}a.data&&(a.data=st.extend({},a.data))}}function v(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!st.support.noCloneEvent&&t[st.expando]){r=st._data(t);for(i in r.events)st.removeEvent(t,i,r.handle);t.removeAttribute(st.expando)}"script"===n&&t.text!==e.text?(h(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),st.support.html5Clone&&e.innerHTML&&!st.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Zt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function b(e,n){var r,i,o=0,a=e.getElementsByTagName!==t?e.getElementsByTagName(n||"*"):e.querySelectorAll!==t?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],r=e.childNodes||e;null!=(i=r[o]);o++)!n||st.nodeName(i,n)?a.push(i):st.merge(a,b(i,n));return n===t||n&&st.nodeName(e,n)?st.merge([e],a):a}function x(e){Zt.test(e.type)&&(e.defaultChecked=e.checked)}function T(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Nn.length;i--;)if(t=Nn[i]+n,t in e)return t;return r}function w(e,t){return e=t||e,"none"===st.css(e,"display")||!st.contains(e.ownerDocument,e)}function N(e,t){for(var n,r=[],i=0,o=e.length;o>i;i++)n=e[i],n.style&&(r[i]=st._data(n,"olddisplay"),t?(r[i]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&w(n)&&(r[i]=st._data(n,"olddisplay",S(n.nodeName)))):r[i]||w(n)||st._data(n,"olddisplay",st.css(n,"display")));for(i=0;o>i;i++)n=e[i],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?r[i]||"":"none"));return e}function C(e,t,n){var r=mn.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function k(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=st.css(e,n+wn[o],!0,i)),r?("content"===n&&(a-=st.css(e,"padding"+wn[o],!0,i)),"margin"!==n&&(a-=st.css(e,"border"+wn[o]+"Width",!0,i))):(a+=st.css(e,"padding"+wn[o],!0,i),"padding"!==n&&(a+=st.css(e,"border"+wn[o]+"Width",!0,i)));return a}function E(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ln(e),a=st.support.boxSizing&&"border-box"===st.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=un(e,t,o),(0>i||null==i)&&(i=e.style[t]),yn.test(i))return i;r=a&&(st.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+k(e,t,n||(a?"border":"content"),r,o)+"px"}function S(e){var t=V,n=bn[e];return n||(n=A(e,t),"none"!==n&&n||(cn=(cn||st("