cocos-enhance-kit/assets/js/c82afb0d.bea4265d.js

1 line
5.5 KiB
JavaScript
Raw Permalink Normal View History

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1288],{3905:function(e,r,t){t.d(r,{Zo:function(){return f},kt:function(){return m}});var n=t(67294);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function a(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=n.createContext({}),u=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},f=function(e){var r=u(e.components);return n.createElement(l.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},p=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,f=a(e,["components","mdxType","originalType","parentName"]),p=u(t),m=o,d=p["".concat(l,".").concat(m)]||p[m]||s[m]||i;return t?n.createElement(d,c(c({ref:r},f),{},{components:t})):n.createElement(d,c({ref:r},f))}));function m(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var i=t.length,c=new Array(i);c[0]=p;var a={};for(var l in r)hasOwnProperty.call(r,l)&&(a[l]=r[l]);a.originalType=e,a.mdxType="string"==typeof e?e:o,c[1]=a;for(var u=2;u<i;u++)c[u]=t[u];return n.createElement.apply(null,c)}return n.createElement.apply(null,t)}p.displayName="MDXCreateElement"},67892:function(e,r,t){t.d(r,{Z:function(){return y}});var n=t(67294),o=t(86010),i=t(39960),c=t(52802),a="cardContainer_S8oU",l="cardTitle_HoSo",u="cardDescription_c27F";t(95999);function f(e){var r=e.href,t=e.children;return n.createElement(i.Z,{href:r,className:(0,o.Z)("card padding--lg",a)},t)}function s(e){var r=e.href,t=e.icon,i=e.title,c=e.description;return n.createElement(f,{href:r},n.createElement("h2",{className:(0,o.Z)("text--truncate",l),title:i},t," ",i),c&&n.createElement("p",{className:(0,o.Z)("text--truncate",u),title:c},c))}function p(e){var r,t=e.item,o=((0,c.xz)(null!=(r=t.docId)?r:void 0),(0,c.Wl)(t));return o?n.createElement(s,{href:o,icon:"",title:t.label,description:t.description}):null}function m(e){var r,t=e.item,o=(0,c.xz)(null!=(r=t.docId)?r:void 0);return n.createElement(s,{href:t.href,icon:"",title:t.label,description:null==o?void 0:o.description})}function d(e){var r=e.item;switch(r.type){case"link":return n.createElement(m,{item:r});case"category":return n.createElement(p,{item:r});default:throw new Error("unknown item type "+JSON.stringify(r))}}function y(e){var r=e.items,t=e.className;return n.createElement("section",{className:(0,o.Z)("row",t)},function(e){return e.filter((function(e){return"category"!==e.type||!!(0,c.Wl)(e)}))}(r).map((function(e,r){return n.createElement("article",{key:r,className:"col col--6 margin-bottom--lg"},n.createElement(d,{key:r,item:e}))})))}},52269:function(e,r,t){t.r(r),t.d(r,{assets:function(){return p},contentTitle:function(){return f},default:function(){return y},frontMatter:function(){return u},metadata:function(){return s},toc:function(){return m}});var n=t(87462),o=t(63366),i=(t(67294),t(3905)),c=t(67892),a=t(52802),l=["components"],u={},f="Profiler",s={unversionedId:"user-guide/profiler/profiler-intro",id:"version-3.0.0/user-guide/profiler/profiler-intro",title:"Profi