提交 86a0e884 编写于 作者: MengZian's avatar MengZian

20230614

上级 195d8403
......@@ -144,10 +144,56 @@ const arrayWithOneItem=function(item){
const debugSwitch=True;
const arrowSVG=function(){ /* Scalable Vector Graphics (SVG) 1.1 (Second Edition) [ http://www.w3.org/TR/2011/REC-SVG11-20110816/ ] */
const createElementNS=returnOrThrowFunction(Slides.createElementNS);
const svg_namespace="http://www.w3.org/2000/svg";
return function(rightDirection){
const newElement=createElementNS(svg_namespace,"svg");
attributesSetter(newElement,"version","1.1");
attributesSetter(newElement,"viewBox","0 0 4.4 4.4");
let tempDocumentFragment,
tempElement;
tempDocumentFragment=createDocumentFragment();
tempElement=createElementNS(svg_namespace,"path");
attributesSetter(tempElement,"d","m 0 1 h 2 v -1 l 2 2 l -2 2 v -1 h -2 z");
attributesSetter(tempElement,"fill","#FFFFFF");
attributesSetter(tempElement,"stroke","#000000");
attributesSetter(tempElement,"stroke-width","0.1");
attributesSetter(
tempElement,
"transform",
(
"matrix("+
(rightDirection?"":"-")+
"1 0 0 1\x20"+
(rightDirection?0:4)+
".2 0.2)"
)
);
appendChildren(tempDocumentFragment,tempElement);
appendChildren(newElement,tempDocumentFragment);
tempDocumentFragment=tempElement=null;
return newElement;
};
}();
function isNotEmpty(value){
return value!==null&&value!==void null;
}
function isEmpty(value){
return value===void null||value===null;
}
const spanWithTextAndLang=function(text,lang){
const newElement=createElement("span");
lang&&smartSetDOMProperties(newElement,"lang",lang);
if(!text)return newElement;
isNotEmpty(lang)&&smartSetDOMProperties(newElement,"lang",lang);
if(isEmpty(text))return newElement;
let tempDocumentFragment;
tempDocumentFragment=createDocumentFragment();
appendChildren(
......@@ -180,7 +226,7 @@ const createReadonlyInputText=function(){
const createInputButtonWithValue=function(value){
const newElement=createElement("input");
smartSetDOMProperties(newElement,"type","button");
value&&smartSetDOMProperties(newElement,"value",value);
isNotEmpty(value)&&smartSetDOMProperties(newElement,"value",value);
return newElement;
};
......@@ -238,12 +284,12 @@ const counter_key="counter",
const click_eventKey="click",
change_eventKey="change";
const aboutDate=new nDate(1685611416680);
const aboutDate=new nDate(1686748584329);
const createTextNodeDescription=function(text){
const newObject=new Object_constructor();
newObject.type="text";
text&&(newObject.text=text);
isNotEmpty(text)&&(newObject.text=text);
return newObject;
};
......@@ -251,7 +297,7 @@ const createPWithTextDescription=function(text){
const newObject=new Object_constructor();
newObject.type="element";
newObject.name="p";
text&&(newObject.children=arrayWithOneItem(
isNotEmpty(text)&&(newObject.children=arrayWithOneItem(
createTextNodeDescription(text)
));
return newObject;
......@@ -261,10 +307,10 @@ const createAnchorWithTextDescription=function(href,text){
const newObject=new Object_constructor();
newObject.type="element";
newObject.name="a";
href&&(newObject.props={
isNotEmpty(href)&&(newObject.props={
href:href
});
text&&(newObject.children=arrayWithOneItem(
isNotEmpty(text)&&(newObject.children=arrayWithOneItem(
createTextNodeDescription(text)
));
return newObject;
......@@ -349,6 +395,7 @@ function inputElement_classes(){
newElement,
"container","padding-horizontal-default","padding-vertical-default",
"slides-app",
"about-date-"+(aboutDate-0),
"script-date-"+(scriptDate-0),
"factory-date-"+(new nDate()-0)
);
......@@ -409,6 +456,14 @@ const navigateButton=function(rightDirection){
click_eventKey,
rightDirection?nextPageEvent:previousPageEvent
);
let tempDocumentFragment;
tempDocumentFragment=createDocumentFragment();
appendChildren(
tempDocumentFragment,
arrowSVG(rightDirection)
);
appendChildren(newElement,tempDocumentFragment);
tempDocumentFragment=null;
return newElement;
};
......@@ -725,7 +780,7 @@ Function_call[call_key](
localApplication,
bwindow.config
);
toPageEvent(0);
toPageEvent(localApplication[counter_key]);
return;
}
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 4 4.2" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>arrow-left</title>
<desc>Author: Bright_Leader</desc>
<desc>Scalable Vector Graphics (SVG) 1.1 (Second Edition) http://www.w3.org/TR/2011/REC-SVG11-20110816/</desc>
<defs>
<path id="arrow-left" d="M 2 0 L 0 2 L 2 4 L 2 3 L 4 3 L 4 1 L 2 1 Z" fill="#FFFFFF" stroke="#000000" stroke-width="0.1"/>
</defs>
<use xlink:href="#arrow-left" transform="matrix(1 0 0 1 0 0.1)"/>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 4 4.2" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>arrow-right</title>
<desc>Author: Bright_Leader</desc>
<desc>Scalable Vector Graphics (SVG) 1.1 (Second Edition) http://www.w3.org/TR/2011/REC-SVG11-20110816/</desc>
<defs>
<path id="arrow-left" d="M 2 0 L 0 2 L 2 4 L 2 3 L 4 3 L 4 1 L 2 1 Z" fill="#FFFFFF" stroke="#000000" stroke-width="0.1"/>
</defs>
<use xlink:href="#arrow-left" transform="matrix(-1 0 0 1 4 0.1)"/>
</svg>
\ No newline at end of file
......@@ -84,12 +84,6 @@ button.arrow-left,
input.input-style0[type="button"]{
color:inherit;
}
button.arrow-right{
background-image:url("./arrow-right.svg");
}
button.arrow-left{
background-image:url("./arrow-left.svg");
}
button.arrow-right:hover{
background-color:#00FF00;
}
......
/*!
Bright.js
date 1685064723739 [Fri May 26 2023 09:32:03 GMT+0800 (China Standard Time)]
date 1686226515971 [Thu Jun 08 2023 20:15:15 GMT+0800 (China Standard Time)]
(c) 2023 Bright_Leader
Licensed under the Apache-2.0.
Release information:
- http://gitee.com/MengZian/bright-browser/releases/tag/20230526
- http://gitcode.net/MengZian/bright-browser/-/releases/20230526
- http://gitee.com/MengZian/bright-browser/releases/tag/20230608
- http://gitcode.net/MengZian/bright-browser/-/releases/20230608
*/
(function(r,n){"use strict";function t(r){return'"'+r+'" (type: '+(null!==r?typeof r:r)+") is not an object type (an object or a function)!"}var i,e,o,u,f,a,c,h,l,w,s,y,v,p,d,L,b,k="function",I=function(r){var n=typeof r;return!r||"object"!==n&&n!==k};if(I(r))throw t(r);e="prototype",o=t[i="constructor"],u={}[i],f=[][i],a=o[e],c=u[e],l=a[h="call"],w=c.hasOwnProperty,s=function(r,n,i){if(I(i))throw t(i);var e,o;return e=l[h](w,i,n),o=i[n],function(){return i[n]===r&&(!e&&l[h](w,i,n)?delete i[n]:i[n]=o,e=l[h](w,i,n),n in i&&i[n]!==r&&(o=i[n])),r}},y=function(r){var n=new f(1);return n[0]=r,n},v="Bright",p="relinquish",d="useRequireJS",(b=typeof define===k&&typeof(L=define)===k&&typeof requirejs===k&&!I(L.amd))?L(y("exports"),function(i){if(I(i))throw t(i);return i[p]=s(i,v,r),i[d]=b,v in r||(r[v]=i),n(i)}):r[v]=function(){var t=new u;return t[p]=s(t,v,r),t[d]=b,n(t)}()})(this,function(r){"use strict";
(function(t,n){"use strict";function r(t){return'"'+t+'" (type: '+(null!==t?typeof t:t)+") is not an object type (an object or a function)!"}var e="function",i=function(t){var n=typeof t;return!t||"object"!==n&&n!==e};if(i(t))throw r(t);var o="constructor",u="prototype",f=r[o],c={}[o],l=[][o],s=f[u],a=c[u],h="call",w=s[h],y=a.hasOwnProperty,p=function(t,n,e){if(i(e))throw r(e);var o,u;return o=w[h](y,e,n),u=e[n],function(){return e[n]===t&&(!o&&w[h](y,e,n)?delete e[n]:e[n]=u,o=w[h](y,e,n),n in e&&e[n]!==t&&(u=e[n])),t}},d=function(t){var n=new l(1);return n[0]=t,n},L="Bright",k="relinquish",b="useRequireJS";var I;var m=typeof define===e&&typeof(I=define)===e&&typeof requirejs===e&&!i(I.amd);m?I(d("exports"),function(e){if(i(e))throw r(e);return e[k]=p(e,L,t),e[b]=m,L in t||(t[L]=e),n(e,t)}):t[L]=function(){var r=new c;return r[k]=p(r,L,t),r[b]=m,n(r,t)}()})(this,function(t,n){"use strict";
/* @license
Copyright 2023 Bright_Leader
......@@ -23,4 +23,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/function n(r){var n=typeof r;return!r||"object"!==n&&"function"!==n}function t(r){return'"'+r+'" (type: '+(null!==r?typeof r:r)+") is not an object type (an object or a function)!"}function i(r){return r===r}function e(r){return void 0===r||null===r}function o(r){return"number"===typeof r}function u(r,n){return r<n?r:n}function f(r){return"function"===typeof r}function a(r){return'"'+r+'" (type: '+(null!==r?typeof r:r)+") is not a function!"}if(n(r))throw t(r);var c=2147483647,h=-2147483648,l=function(r){return o(r)&&(r<=c&&r>=h?~~r===r:r%1===0)},w=1/0,s=-1/0,y=function(r){return r!==w&&r!==s},v=function(r){return o(r)&&i(r)&&y(r)},p=function(r){return v(r)?r-r%1:~~r},d=4294967295,L=function(r){return l(r)&&r>=0&&r<=d},b=function(r){return l(r)&&r<=c&&r>=h},k=function(){function r(r,n){return r>n?r:n}return function(n,t,i){var e,o,f=u(e=p(n),o=p(t)),a=r(e,o),c=p(i),h=a-f+1;return e=o=null,p(f!==a?c>a?(c-f)%h+f:c<f?a-(a-c)%h:c:f)}}(),I="constructor",m="prototype",j="call",N={}[I],O=n[I],g=[][I],E=O[m],S=N[m],_=E[j],x=S.hasOwnProperty,M=false,P=function(r){if(n(r))return M;var t=r[I];return t===N||e(t)},F="length",R=function(r){if(n(r))return M;var t=r[I];return t===g||t!==O&&F in r&&L(r[F])},D=function(r,i){var o,u,c,h;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(c in u=e(i),o)if(h=o[c],!(u?r(h,c,o):_[j](r,i,h,c,o)))return o;return u=c=h=null,o},T=function(r,i){var o,u,c,h;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(c in u=e(i),o)if(_[j](x,o,c)&&(h=o[c],!(u?r(h,c,o):_[j](r,i,h,c,o))))return o;return u=c=h=null,o},q=function(r,i){var o,u,c,h,l;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(u=e(i),c=0,h=p(o[F]);c<h;)c in o&&(l=o[c],u?r(l,c,o):_[j](r,i,l,c,o)),c+=1;return u=c=h=l=null,o},A=function(r,i){var o,u,c,h,l,w;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(u=p(o[F]),w=new g(u),c=e(i),h=0;h<u;)h in o&&(l=o[h],w[h]=c?r(l,h,o):_[j](r,i,l,h,o)),h+=1;return u=c=h=l=null,w},G=function(r,i){var o,u,c,h,l,w,s;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(u=e(i),c=p(o[F]),h=l=0,s=new g;h<c;)h in o&&(w=o[h],(u?r(w,h,o):_[j](r,i,w,h,o))&&(s[l]=w,l+=1)),h+=1;return u=c=h=l=w=null,s},B=function(r,i){var o,u,f,a=this;if(n(a))throw t(a);if(0===(o=p(a[F])))return-1;if((u=e(i)?0:p(i))>=o)return-1;for(f=u>=0?u:(f=o+u)<0?0:f;f<o;){if(f in a&&a[f]===r)return f;f+=1}return o=u=f=null,-1},U=function(r,i){var o,f,a,c=this;if(n(c))throw t(c);if(0===(o=p(c[F])))return-1;for(a=(f=e(i)?o:p(i))>=0?u(f,o-1):o+f;a>=0;){if(a in c&&c[a]===r)return a;a-=1}return o=f=a=null,-1},X=true,C=function(r,i){var o,u,c,h,l;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(u=p(o[F]),c=e(i),h=0;h<u;){if(h in o&&(l=o[h],!(c?r(l,h,o):_[j](r,i,l,h,o))))return M;h+=1}return u=c=h=l=null,X},J=function(r,i){var o,u,c,h,l;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(u=p(o[F]),c=e(i),h=0;h<u;){if(h in o&&(l=o[h],c?r(l,h,o):_[j](r,i,l,h,o)))return X;h+=1}return u=c=h=l=null,M},z="Reduce of empty array with no initial value!",H=function(r,i,e){var o,u,c,h,l,w,s,y,v;if(!f(r))throw a(r);if(n(o=this))throw t(o);if(c=1 in(h=arguments),0===(u=p(o[F]))&&!c)throw z;if(l=0,c)s=i;else{for(w=M;!w&&l<u;)(w=l in o)&&(s=o[l]),l+=1;if(!w)throw z}y=!(2 in h);for(;l<u;)l in o&&(v=o[l],s=y?r(s,v,l,o):_[j](r,e,s,v,l,o)),l+=1;return u=c=l=w=y=v=null,s},K=function(r,i,e){var o,u,c,h,l,w,s,y,v;if(!f(r))throw a(r);if(n(o=this))throw t(o);if(c=1 in(h=arguments),0===(u=p(o[F]))&&!c)throw z;if(l=u-1,c)w=i;else{for(s=M;!s&&l>=0;)(s=l in o)&&(w=o[l]),l-=1;if(!s)throw z}y=!(2 in h);for(;l>=0;)l in o&&(v=o[l],w=y?r(w,v,l,o):_[j](r,e,w,v,l,o)),l-=1;return u=c=l=s=y=v=null,w},Q=function(r,i){var o,u,c,h,l;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(u=p(o[F]),c=e(i),h=0;h<u;){if(h in o&&(l=o[h],c?r(l,h,o):_[j](r,i,l,h,o)))return h;h+=1}return u=c=h=l=null,-1},V=function(r,i){var o,u,c,h,l;if(!f(r))throw a(r);if(n(o=this))throw t(o);for(u=p(o[F]),c=e(i),h=0;h<u;){if(h in o&&(l=o[h],c?r(l,h,o):_[j](r,i,l,h,o)))return l;h+=1}u=c=h=l=null},W=function(){var r=function(r,n,t){return _[j](B,t,r)===n};return function(i){if(n(i))throw t(i);return _[j](G,i,r)}}(),Y=function(r,i){if(n(r))throw t(r);var e,o;for(e=0,o=_[j](B,r,i);-1!==o;)e+=1,o=_[j](B,r,i,o+1);return o=null,e},Z=function(r,i){var e,o,u;if(n(r))throw t(r);for(e=new g,o=0,u=_[j](B,r,i);-1!==u;)e[o]=u,o+=1,u=_[j](B,r,i,u+1);return o=u=null,e},$=function(){var r=function(){var r=N.defineProperty,i=f(r);return function(e,o,u,f,a,c){if(n(e))throw t(e);return i?r(e,o,{value:u,writable:f,enumerable:a,configurable:c}):e[o]=u,e}}();return function(i,e,o,u,f){if(n(i))throw t(i);if(n(e))throw t(e);var a;for(a in e)_[j](x,e,a)&&r(i,a,e[a],o,u,f);return a=null,i}}(),rr=function(r,i,e,o){if(n(r))throw t(r);return $(r,{isInteger:l,isNotInfinity:y,isNormalNumber:v,forceToInteger:p,isUint32:L,isSint32:b,roundInteger:k,isPlainObject:P,isArrayLike:R,arrayLikeDeduplicate:W,arrayLikeCountElementOccurrence:Y,arrayLikeFindElementOccurrences:Z,mergeObject:$},i,e,o)},nr=function(r,i,e,o){if(n(r))throw t(r);return $(r,{enumerateObjectProperties:D,enumerateObjectOwnProperties:T,arrayLikeForEach:q,arrayLikeMap:A,arrayLikeFilter:G,arrayLikeIndexOf:B,arrayLikeLastIndexOf:U,arrayLikeEvery:C,arrayLikeSome:J,arrayLikeReduce:H,arrayLikeReduceRight:K,arrayLikeFindIndex:Q,arrayLikeFind:V},i,e,o)};return rr(r,X,X,X),nr(r,X,X,X),r.SIGNED_INT32_MAX=c,r.SIGNED_INT32_MIN=h,r.UNSIGNED_INT32_MAX=d,$(r,{exportStaticMethods:rr,exportInstanceMethods:nr},X,M,X),$(r,{author:"Bright_Leader",date:1685064723739},X,M,X),r});
\ No newline at end of file
*/function r(t){var n=typeof t;return!t||"object"!==n&&"function"!==n}function e(t){return'"'+t+'" (type: '+(null!==t?typeof t:t)+") is not an object type (an object or a function)!"}function i(t){return t===t}function o(t){return void 0===t||null===t}function u(t){return"number"===typeof t}function f(t,n){return t<n?t:n}function c(t,n){return t>n?t:n}function l(t){return"function"===typeof t}function s(t){return'"'+t+'" (type: '+(null!==t?typeof t:t)+") is not a function!"}function a(t){return t!==t}function h(t){return"symbol"===typeof t}function w(){return function(){return this}}if(r(t))throw e(t);var y=2147483647,p=-2147483648,d=function(t){return u(t)&&(t<=y&&t>=p?t|0===t:t%1===0)},L=1/0,k=-1/0,b=function(t){return t!==L&&t!==k},I=function(t){return u(t)&&i(t)&&b(t)},m=function(t){return I(t)?t-t%1:0|t},g=4294967295,j=function(t){return d(t)&&t>=0&&t<=g},O=function(t){return d(t)&&t<=y&&t>=p},x=function(t,n,r){var e,i;var o=f(e=m(t),i=m(n)),u=c(e,i),l=m(r),s=u-o+1;return e=i=null,m(o!==u?l>u?(l-o)%s+o:l<o?u-(u-l)%s:l:o)},v=function(t){return x(0,g,t)},S="constructor",A="prototype",E="call",F=r[S],R={}[S],M=[][S],P=F[A],N=R[A],U=P[E],q=N.hasOwnProperty,C=false,V=function(t){if(r(t))return C;var n=t[S];return n===R||o(n)},K="length",_=function(t){if(r(t))return C;var n=t[S];return n===M||n!==F&&K in t&&j(t[K])},B=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c;for(f in u=o(n),i)if(c=i[f],!(u?t(c,f,i):U[E](t,n,c,f,i)))return i;return u=f=c=null,i},T=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c;for(f in u=o(n),i)if(U[E](q,i,f)&&(c=i[f],!(u?t(c,f,i):U[E](t,n,c,f,i))))return i;return u=f=c=null,i},W=function(t,n){var i=this;if(r(i))throw e(i);var u,f,c;if(0===(u=v(i[K])))return-1;if((f=o(n)?0:m(n))>=u)return-1;for(f>=0?c=f:(c=u+f)<0&&(c=0);c<u;){if(c in i&&i[c]===t)return c;c+=1}return u=f=c=null,-1},D=function(t,n){var i=this;if(r(i))throw e(i);var u,c,l;if(0===(u=v(i[K])))return-1;for(l=(c=o(n)?u:m(n))>=0?f(c,u-1):u+c;l>=0;){if(l in i&&i[l]===t)return l;l-=1}return u=c=l=null,-1},J=true,X=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c,a;for(u=v(i[K]),f=o(n),c=0;c<u;){if(c in i&&(a=i[c],!(f?t(a,c,i):U[E](t,n,a,c,i))))return C;c+=1}return u=f=c=a=null,J},Z=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c,a;for(u=v(i[K]),f=o(n),c=0;c<u;){if(c in i&&(a=i[c],f?t(a,c,i):U[E](t,n,a,c,i)))return J;c+=1}return u=f=c=a=null,C},z=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c,a;for(u=o(n),f=0,c=v(i[K]);f<c;)f in i&&(a=i[f],u?t(a,f,i):U[E](t,n,a,f,i)),f+=1;return u=f=c=a=null,i},G=function(){var t=R.defineProperty,n=l(t);return function(i,o,u,f,c,l){if(r(i))throw e(i);return n?t(i,o,{value:u,writable:f,enumerable:c,configurable:l}):i[o]=u,i}}(),H=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c,a;var h=new M(u=v(i[K]));for(f=o(n),c=0;c<u;)c in i&&(a=i[c],G(h,c,f?t(a,c,i):U[E](t,n,a,c,i),J,J,J)),c+=1;return u=f=c=a=null,h},Q=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c,a,h;u=o(n),f=v(i[K]),c=a=0;var w=new M;for(;c<f;)c in i&&(h=i[c],(u?t(h,c,i):U[E](t,n,h,c,i))&&(G(w,a,h,J,J,J),a+=1)),c+=1;return u=f=c=a=h=null,w},Y="Reduce of empty array with no initial value!",$=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var o,u,f,c,a;if(u=1 in arguments,0===(o=v(i[K]))&&!u)throw Y;if(f=0,u)a=n;else{for(c=C;!c&&f<o;)(c=f in i)&&(a=i[f]),f+=1;if(!c)throw Y}for(;f<o;)f in i&&(a=t(a,i[f],f,i)),f+=1;return o=u=f=c=null,a},tt=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var o,u,f,c,a;if(u=1 in arguments,0===(o=v(i[K]))&&!u)throw Y;if(f=o-1,u)c=n;else{for(a=C;!a&&f>=0;)(a=f in i)&&(c=i[f]),f-=1;if(!a)throw Y}for(;f>=0;)f in i&&(c=t(c,i[f],f,i)),f-=1;return o=u=f=a=null,c},nt=9007199254740991,rt=function(t){var n=m(t);return n<=0?0:n===L?nt:f(n,nt)},et=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c,a;for(u=rt(i[K]),f=o(n),c=0;c<u;){if(a=i[c],f?t(a,c,i):U[E](t,n,a,c,i))return c;c+=1}return u=f=c=a=null,-1},it=void 0,ot=function(t,n){if(!l(t))throw s(t);var i=this;if(r(i))throw e(i);var u,f,c,a;for(u=rt(i[K]),f=o(n),c=0;c<u;){if(a=i[c],f?t(a,c,i):U[E](t,n,a,c,i))return a;c+=1}return u=f=c=a=null,it},ut=function(t,n,i){var o=this;if(r(o))throw e(o);var u,l,s,a,h,w,y,p,d,L;for(u=rt(o[K]),s=(l=m(t))<0?c(u+l,0):f(l,u),h=(a=m(n))<0?c(u+a,0):f(a,u),p=f((y=(w=i===it?u:m(i))<0?c(u+w,0):f(w,u))-h,u-s),h<s&&s<(d=h+p)?(L=-1,h=d-1,s=s+p-1):L=1;p>0;)h in o?G(o,s,o[h],J,J,J):delete o[s],h+=L,s+=L,p-=1;return u=l=s=a=h=w=y=p=d=L=null,o},ft=function(t,n,i){var o=this;if(r(o))throw e(o);var u,l,s,a,h;for(u=rt(o[K]),s=(l=m(n))<0?c(u+l,0):f(l,u),h=(a=i===it?u:m(i))<0?c(u+a,0):f(a,u);s<h;)G(o,s,t,J,J,J),s+=1;return u=l=s=a=h=null,o},ct=function(t,n){return t===n||a(t)&&a(n)},lt=function(t,n){var i=this;if(r(i))throw e(i);var o,u,f;if(0===(o=rt(i[K])))return C;for((u=n===it?0:m(n))>=0?f=u:(f=o+u)<0&&(f=0);f<o;){if(ct(t,i[f]))return J;f+=1}return o=u=f=null,C},st=function(){var t="value",n="done",i=function(i,o){var u=this;if(r(u))throw e(u);return G(u,t,i,J,J,J),G(u,n,o?J:C,J,J,J),u},o=i[A];return G(o,t,it,J,C,J),G(o,n,C,J,C,J),i}(),at=!r(n)&&n.Function===F&&n.Object===R&&n.Symbol,ht=l(at),wt=function(t,n,i,o,u,f){if(r(t))throw e(t);var c;return G(t,"@@"+n,i,o,u,f),G(t,"Symbol."+n,i,o,u,f),ht&&n in at&&h(c=at[n])&&G(t,c,i,o,u,f),c=null,t},yt=function(){var t="next",n=function n(i,o,u,f,c,s){var a=this;if(r(a))throw e(a);var h;return h=arguments[K]<n[K],l(i)&&G(a,t,i,h?J:f,h?C:c,h?J:s),l(o)&&G(a,"return",o,h?J:f,h?C:c,h?J:s),l(u)&&G(a,"throw",u,h?J:f,h?C:c,h?J:s),h=null,a},i=n[A];return G(i,t,function(){return new st(it,J)},C,C,C),wt(i,"iterator",w(),C,C,C),n}(),pt="key",dt="value",Lt="key+value",kt=ht?at:function(t){return t},bt=kt("[[IteratedObject]]"),It=kt("[[ArrayIteratorNextIndex]]"),mt=kt("[[ArrayIterationKind]]"),gt=function(){var t=w(),n=new yt(function(){var t=this;if(r(t))throw e(t);if(!(bt in t&&It in t&&mt in t))throw"Incompatible object: missing required properties!";var n,i,o,u,f,c;if(r(n=t[bt]))return new st(it,J);if(i=t[It],o=t[mt],i>=(u=rt(n[K])))return G(t,bt,it,J,C,J),new st(it,J);if(G(t,It,i+1,J,C,J),o===pt)return new st(i,C);if(f=n[i],o===dt)c=f;else{if(o!==Lt)throw"Unsupported array iteration kind: "+o;(c=new M(2))[0]=i,c[1]=f}return new st(c,C)},null,null,C,C,C);return wt(n,"toStringTag","Array Iterator",C,C,J),G(n,bt,null,J,C,C),G(n,It,0,J,C,C),G(n,mt,dt,J,C,C),G(t,A,n,J,C,C),t}(),jt=function(t,n){if(r(t))throw e(t);var i=new gt;return G(i,bt,t,J,C,J),G(i,It,0,J,C,J),G(i,mt,n,J,C,J),i},Ot=function(t){return function(){var n=this;if(r(n))throw e(n);return jt(n,t)}},xt=Ot(Lt),vt=Ot(pt),St=Ot(dt),At=function(){var t=function(t,n,r){return U[E](W,r,t)===n};return function(n){if(r(n))throw e(n);return U[E](Q,n,t)}}(),Et=function(t,n){if(r(t))throw e(t);var i,o;for(i=0,o=U[E](W,t,n);-1!==o;)i+=1,o=U[E](W,t,n,o+1);return o=null,i},Ft=function(t,n){if(r(t))throw e(t);var i=new M;var o,u;for(o=0,u=U[E](W,t,n);-1!==u;)i[o]=u,o+=1,u=U[E](W,t,n,u+1);return o=u=null,i},Rt=function(){var t=R.create,n=l(t);return function(){var e;try{if(!n)throw t;if(r(e=t(null)))throw e;return e}catch(t){return new R}}}(),Mt=function(t,n,i,o,u){if(r(t))throw e(t);if(r(n))throw e(n);var f;for(f in n)U[E](q,n,f)&&G(t,f,n[f],i,o,u);return f=null,t},Pt=function(){var t=M[A],n="toString",i="toLocaleString",o="concat",u="join",f="pop",c="push",s="reverse",a="shift",h="slice",w="sort",y="splice",p="unshift",d=t[o],L=t[u],k=t[f],b=t[c],I=t[s],m=t[a],g=t[h],j=t[w],O=t[y],x=t[p],v=l(R.seal),S=(v?t:N)[n],E=(v?t:N)[i],F=function(t){if(r(t))throw e(t);return t[n]=S,t[i]=E,t[o]=d,t[u]=L,t[f]=k,t[c]=b,t[s]=I,t[a]=m,t[h]=g,t[w]=j,t[y]=O,t[p]=x,t},P=function(t){if(r(t))throw e(t);return t.indexOf=W,t.lastIndexOf=D,t.every=X,t.some=Z,t.forEach=z,t.map=H,t.filter=Q,t.reduce=$,t.reduceRight=tt,t},U="copyWithin",q="entries",V="fill",_="find",B="findIndex",T="keys",Y="values",nt=function(t){if(r(t))throw e(t);var n,i,o;for(n=0,o=(i=[U,q,V,_,B,T,Y])[K];n<o;n+=1)t[i[n]]=J;return t},rt=function(t){if(r(t))throw e(t);return t[U]=ut,t[q]=xt,t[V]=ft,t[_]=ot,t[B]=et,t[T]=vt,t[Y]=St,t},it=function(t){if(r(t))throw e(t);return t.includes=lt,t};return function t(n,i,o,u){if(r(n))throw e(n);var f,c,l,s;c=arguments[f=K]<t[K],f in n||G(n,f,0,c?J:i,c?C:o,c?C:u);for(f=0,s=(l=[F,P,rt,it])[K];f<s;f+=1)Mt(n,(0,l[f])(Rt()),c?J:i,c?C:o,c?J:u);return wt(n,"isConcatSpreadable",J,c?J:i,c?C:o,c?J:u),wt(n,"iterator",St,c?J:i,c?C:o,c?J:u),wt(n,"unscopables",nt(Rt()),c?C:i,c?C:o,c?J:u),f=c=l=s=null,n}}(),Nt=function(){var t=function(t){if(r(t))throw e(t);return t.isInteger=d,t.isNotInfinity=b,t.isNormalNumber=I,t.forceToInteger=m,t.isUint32=j,t.isSint32=O,t.isInt32=O,t.roundInteger=x,t.toUint32=v,t.isPlainObject=V,t.isArrayLike=_,t.toLength=rt,t.sameValueZero=ct,t.createArrayIterator=jt,t.arrayLikeDeduplicate=At,t.arrayLikeCountElementOccurrence=Et,t.arrayLikeFindElementOccurrences=Ft,t.mergeObject=Mt,t.arrayLikeMethodsImplementation=Pt,t};return function(n,i,o,u){if(r(n))throw e(n);return Mt(n,t(Rt()),i,o,u)}}(),Ut=function(){var t=function(t){if(r(t))throw e(t);return t.enumerateObjectProperties=B,t.enumerateObjectOwnProperties=T,t.arrayLikeIndexOf=W,t.arrayLikeLastIndexOf=D,t.arrayLikeEvery=X,t.arrayLikeSome=Z,t.arrayLikeForEach=z,t.arrayLikeMap=H,t.arrayLikeFilter=Q,t.arrayLikeReduce=$,t.arrayLikeReduceRight=tt,t.arrayLikeCopyWithin=ut,t.arrayLikeEntries=xt,t.arrayLikeFill=ft,t.arrayLikeFind=ot,t.arrayLikeFindIndex=et,t.arrayLikeKeys=vt,t.arrayLikeValues=St,t.arrayLikeIncludes=lt,t};return function(n,i,o,u){if(r(n))throw e(n);return Mt(n,t(Rt()),i,o,u)}}(),qt=function(){var t=function(t){if(r(t))throw e(t);return t.IteratorResult=st,t.IterableIterator=yt,t.ArrayIterator=gt,t};return function(n,i,o,u){if(r(n))throw e(n);return Mt(n,t(Rt()),i,o,u)}}();var Ct;return Nt(t,J,J,J),Ut(t,J,J,J),qt(t,J,J,J),j[Ct="MAX_VALUE"]=g,O[Ct]=y,O.MIN_VALUE=p,rt[Ct]=nt,gt.internalSlots=[bt,It,mt],jt.allowedKinds=[pt,dt,Lt],(Ct=Rt()).exportStaticMethods=Nt,Ct.exportInstanceMethods=Ut,Ct.exportConstructors=qt,Mt(t,Ct,J,C,J),(Ct=Rt()).author="Bright_Leader",Ct.date=1686226515971,Mt(t,Ct,J,C,J),Ct=null,t});
\ No newline at end of file
此差异已折叠。
此差异已折叠。
......@@ -331,22 +331,19 @@ object.resources=[
}
]
},
bwindow.DOMOperation.createElement(
"textarea",
{
value:(
"Try to modify text content in this <textarea/> element.\n"+
"As you navigate left or right,\n"+
"content in this element will not change,\n"+
"because this is a real element, stable and sole in this slides area,\n"+
"and will not refresh itself no matter when you come back."
),
style:{
width:"100%",
height:"100px"
}
}
),
function(){
var element=bwindow.document.createElement("textarea");
element.value=(
"Try to modify text content in this <textarea/> element.\n"+
"As you navigate left or right,\n"+
"content in this element will not change,\n"+
"because this is a real element, stable and sole in this slides area,\n"+
"and will not refresh itself no matter when you come back."
);
element.style.width="100%";
element.style.height="100px";
return element;
}(),
{
type:"element",
name:"textarea",
......@@ -366,6 +363,201 @@ object.resources=[
}
]
},
{
type:"document-fragment",
children:[
{
type:"element",
name:"p",
children:[
{
type:"element",
name:"span",
props:{
lang:"en"
},
children:[
{
type:"text",
text:"You are granted support for elements and attributes with\x20"
}
]
},
{
type:"element",
name:"a",
props:{
href:"http://www.w3.org/TR/1999/REC-xml-names-19990114/Overview.html"
},
children:[
{
type:"text",
text:"namespace"
}
]
},
{
type:"element",
name:"span",
props:{
lang:"en"
},
children:[
{
type:"text",
text:"s."
}
]
}
]
},
{
type:"element",
name:"svg",
namespace:"http://www.w3.org/2000/svg",
attrs:{
version:"1.1",
viewBox:"0 0 1200 400"
},
style:{
width:"100%",
height:"100px"
},
children:[
{
type:"element",
name:"rect",
namespace:"http://www.w3.org/2000/svg",
attrs:{
x:1,
y:1,
width:1198,
height:398,
fill:"none",
stroke:"#000000",
"stroke-width":2
}
},
{
type:"element",
name:"polygon",
namespace:"http://www.w3.org/2000/svg",
attrs:{
points:"119,0 148,86 238,86 166,140 192,226 119,175 46,226 72,140 0,86 90,86",
transform:"matrix(1 0 0 1 231 75)"
}
},
{
type:"element",
name:"polyline",
namespace:"http://www.w3.org/2000/svg",
attrs:{
points:"108,250 0,187.5 0,62.5 108,0 216,62.5 216,187.5",
transform:"matrix(1 0 0 1 742 75)"
}
}
]
},
{
type:"element",
name:"p",
children:[
{
type:"element",
name:"span",
props:{
lang:"en"
},
children:[
{
type:"text",
text:"The example above outputs an\x20"
}
]
},
{
type:"element",
name:"a",
props:{
href:"http://www.w3.org/TR/2011/REC-SVG11-20110816/"
},
children:[
{
type:"text",
text:"SVG"
}
]
},
{
type:"element",
name:"span",
props:{
lang:"en"
},
children:[
{
type:"text",
text:"\x20element in an\x20"
}
]
},
{
type:"element",
name:"a",
props:{
href:"http://www.w3.org/TR/2018/SPSD-xhtml1-20180327/"
},
children:[
{
type:"text",
text:"XHTML"
}
]
},
{
type:"element",
name:"span",
props:{
lang:"en"
},
children:[
{
type:"text",
text:"\x20"
}
]
},
{
type:"element",
name:"a",
props:{
href:"#",
lang:"en"
},
children:[
{
type:"text",
text:"document"
}
]
},
{
type:"element",
name:"span",
props:{
lang:"en"
},
children:[
{
type:"text",
text:"."
}
]
}
]
}
]
},
{
type:"element",
name:"div",
......@@ -632,8 +824,10 @@ object.resources=[
}
];
object.moreAllowedElementNames=["rect","polygon","polyline"];
object.author="Bright_Leader";
object.date=1685613306554;
object.date=1686750902249;
return object;
}({},this);
......
......@@ -9,6 +9,9 @@ button.arrow{
height:44px;
}
*.slides-app{
}
*.indicators{
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册