/*! This file is auto-generated */ !function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{store:function(){return B}});var n={};e.r(n),e.d(n,{__experimentalGetAllAnnotationsForBlock:function(){return N},__experimentalGetAnnotations:function(){return w},__experimentalGetAnnotationsForBlock:function(){return b},__experimentalGetAnnotationsForRichText:function(){return O}});var r={};e.r(r),e.d(r,{__experimentalAddAnnotation:function(){return F},__experimentalRemoveAnnotation:function(){return G},__experimentalRemoveAnnotationsBySource:function(){return j},__experimentalUpdateAnnotationRange:function(){return V}});var o=window.wp.richText,a=window.wp.i18n;const i="core/annotations",u="core/annotation",l="annotation-text-";const c={name:u,title:(0,a.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit(){return null},__experimentalGetPropsForEditableTreePreparation(e,t){let{richTextIdentifier:n,blockClientId:r}=t;return{annotations:e(i).__experimentalGetAnnotationsForRichText(r,n)}},__experimentalCreatePrepareEditableTree(e){let{annotations:t}=e;return(e,n)=>{if(0===t.length)return e;let r={formats:e,text:n};return r=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((t=>{let{start:n,end:r}=t;n>e.text.length&&(n=e.text.length),r>e.text.length&&(r=e.text.length);const a=l+t.source,i=l+t.id;e=(0,o.applyFormat)(e,{type:u,attributes:{className:a,id:i}},n,r)})),e}(r,t),r.formats}},__experimentalGetPropsForEditableTreeChangeHandler(e){return{removeAnnotation:e(i).__experimentalRemoveAnnotation,updateAnnotationRange:e(i).__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue(e){return t=>{const n=function(e){const t={};return e.forEach(((e,n)=>{(e=(e=e||[]).filter((e=>e.type===u))).forEach((e=>{let{id:r}=e.attributes;r=r.replace(l,""),t.hasOwnProperty(r)||(t[r]={start:n}),t[r].end=n+1}))})),t}(t),{removeAnnotation:r,updateAnnotationRange:o,annotations:a}=e;!function(e,t,n){let{removeAnnotation:r,updateAnnotationRange:o}=n;e.forEach((e=>{const n=t[e.id];if(!n)return void r(e.id);const{start:a,end:i}=e;a===n.start&&i===n.end||o(e.id,n.start,n.end)}))}(a,n,{removeAnnotation:r,updateAnnotationRange:o})}}},{name:s,...d}=c;(0,o.registerFormatType)(s,d);var p=window.wp.hooks,f=window.wp.data;function v(e,t){const n=e.filter(t);return e.length===n.length?e:n}(0,p.addFilter)("editor.BlockListBlock","core/annotations",(e=>(0,f.withSelect)(((e,t)=>{let{clientId:n,className:r}=t;return{className:e(i).__experimentalGetAnnotationsForBlock(n).map((e=>"is-annotated-by-"+e.source)).concat(r).filter(Boolean).join(" ")}}))(e)));const g=(e,t)=>Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return{...e,[r]:t(o)}}),{});function m(e){return"number"==typeof e.start&&"number"==typeof e.end&&e.start<=e.end}var h=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"ANNOTATION_ADD":const r=n.blockClientId,o={id:n.id,blockClientId:r,richTextIdentifier:n.richTextIdentifier,source:n.source,selector:n.selector,range:n.range};if("range"===o.selector&&!m(o.range))return t;const a=null!==(e=null==t?void 0:t[r])&&void 0!==e?e:[];return{...t,[r]:[...a,o]};case"ANNOTATION_REMOVE":return g(t,(e=>v(e,(e=>e.id!==n.annotationId))));case"ANNOTATION_UPDATE_RANGE":return g(t,(e=>{let t=!1;const r=e.map((e=>e.id===n.annotationId?(t=!0,{...e,range:{start:n.start,end:n.end}}):e));return t?r:e}));case"ANNOTATION_REMOVE_SOURCE":return g(t,(e=>v(e,(e=>e.source!==n.source))))}return t},_={};function A(e){return[e]}function y(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function x(e,t){var n,r=t||A;function o(e){var t,r,o,a,i,u=n,l=!0;for(t=0;t<e.length;t++){if(r=e[t],!(i=r)||"object"!=typeof i){l=!1;break}u.has(r)?u=u.get(r):(o=new WeakMap,u.set(r,o),u=o)}return u.has(_)||((a=function(){var e={clear:function(){e.head=null}};return e}()).isUniqueByDependants=l,u.set(_,a)),u.get(_)}function a(){n=new WeakMap}function i(){var t,n,a,i,u,l=arguments.length;for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];for((t=o(u=r.apply(null,i))).isUniqueByDependants||(t.lastDependants&&!y(u,t.lastDependants,0)&&t.clear(),t.lastDependants=u),n=t.head;n;){if(y(n.args,i,1))return n!==t.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=t.head,n.prev=null,t.head.prev=n,t.head=n),n.val;n=n.next}return n={val:e.apply(null,i)},i[0]=null,n.args=i,t.head&&(t.head.prev=n,n.next=t.head),t.head=n,n.val}return i.getDependants=r,i.clear=a,a(),i}const T=[],b=x(((e,t)=>{var n;return(null!==(n=null==e?void 0:e[t])&&void 0!==n?n:[]).filter((e=>"block"===e.selector))}),((e,t)=>{var n;return[null!==(n=null==e?void 0:e[t])&&void 0!==n?n:T]}));function N(e,t){var n;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:T}const O=x(((e,t,n)=>{var r;return(null!==(r=null==e?void 0:e[t])&&void 0!==r?r:[]).filter((e=>"range"===e.selector&&n===e.richTextIdentifier)).map((e=>{const{range:t,...n}=e;return{...t,...n}}))}),((e,t)=>{var n;return[null!==(n=null==e?void 0:e[t])&&void 0!==n?n:T]}));function w(e){return Object.values(e).flat()}var I,R=new Uint8Array(16);function E(){if(!I&&!(I="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return I(R)}var k=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var C=function(e){return"string"==typeof e&&k.test(e)},D=[],S=0;S<256;++S)D.push((S+256).toString(16).substr(1));var P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(D[e[t+0]]+D[e[t+1]]+D[e[t+2]]+D[e[t+3]]+"-"+D[e[t+4]]+D[e[t+5]]+"-"+D[e[t+6]]+D[e[t+7]]+"-"+D[e[t+8]]+D[e[t+9]]+"-"+D[e[t+10]]+D[e[t+11]]+D[e[t+12]]+D[e[t+13]]+D[e[t+14]]+D[e[t+15]]).toLowerCase();if(!C(n))throw TypeError("Stringified UUID is invalid");return n};var U=function(e,t,n){var r=(e=e||{}).random||(e.rng||E)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return P(r)};function F(e){let{blockClientId:t,richTextIdentifier:n=null,range:r=null,selector:o="range",source:a="default",id:i=U()}=e;const u={type:"ANNOTATION_ADD",id:i,blockClientId:t,richTextIdentifier:n,source:a,selector:o};return"range"===o&&(u.range=r),u}function G(e){return{type:"ANNOTATION_REMOVE",annotationId:e}}function V(e,t,n){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:e,start:t,end:n}}function j(e){return{type:"ANNOTATION_REMOVE_SOURCE",source:e}}const B=(0,f.createReduxStore)(i,{reducer:h,selectors:n,actions:r});(0,f.register)(B),(window.wp=window.wp||{}).annotations=t}();
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
development | Folder | 0777 |
|
|
vendor | Folder | 0777 |
|
|
a11y.js | File | 8.55 KB | 0777 |
|
a11y.min.js | File | 2.45 KB | 0777 |
|
annotations.js | File | 31.69 KB | 0777 |
|
annotations.min.js | File | 7.08 KB | 0777 |
|
api-fetch.js | File | 21.46 KB | 0777 |
|
api-fetch.min.js | File | 5.2 KB | 0777 |
|
autop.js | File | 15.89 KB | 0777 |
|
autop.min.js | File | 5.6 KB | 0777 |
|
blob.js | File | 3.72 KB | 0777 |
|
blob.min.js | File | 954 B | 0777 |
|
block-directory.js | File | 73.3 KB | 0777 |
|
block-directory.min.js | File | 21.4 KB | 0777 |
|
block-editor.js | File | 1.92 MB | 0777 |
|
block-editor.min.js | File | 651.35 KB | 0777 |
|
block-library.js | File | 1.81 MB | 0777 |
|
block-library.min.js | File | 767.23 KB | 0777 |
|
block-serialization-default-parser.js | File | 14.94 KB | 0777 |
|
block-serialization-default-parser.min.js | File | 2.39 KB | 0777 |
|
blocks.js | File | 529.32 KB | 0777 |
|
blocks.min.js | File | 166.17 KB | 0777 |
|
components.js | File | 2.12 MB | 0777 |
|
components.min.js | File | 643.32 KB | 0777 |
|
compose.js | File | 184.7 KB | 0777 |
|
compose.min.js | File | 36.21 KB | 0777 |
|
core-data.js | File | 217.96 KB | 0777 |
|
core-data.min.js | File | 54.39 KB | 0777 |
|
customize-widgets.js | File | 107.75 KB | 0777 |
|
customize-widgets.min.js | File | 38.84 KB | 0777 |
|
data-controls.js | File | 6.8 KB | 0777 |
|
data-controls.min.js | File | 1.59 KB | 0777 |
|
data.js | File | 142.11 KB | 0777 |
|
data.min.js | File | 25.5 KB | 0777 |
|
date.js | File | 797.51 KB | 0777 |
|
date.min.js | File | 765.54 KB | 0777 |
|
deprecated.js | File | 4.74 KB | 0777 |
|
deprecated.min.js | File | 812 B | 0777 |
|
dom-ready.js | File | 2.45 KB | 0777 |
|
dom-ready.min.js | File | 498 B | 0777 |
|
dom.js | File | 61.5 KB | 0777 |
|
dom.min.js | File | 12.81 KB | 0777 |
|
edit-post.js | File | 350.62 KB | 0777 |
|
edit-post.min.js | File | 122.77 KB | 0777 |
|
edit-site.js | File | 651.93 KB | 0777 |
|
edit-site.min.js | File | 239.37 KB | 0777 |
|
edit-widgets.js | File | 163.07 KB | 0777 |
|
edit-widgets.min.js | File | 57.27 KB | 0777 |
|
editor.js | File | 431.18 KB | 0777 |
|
editor.min.js | File | 148.82 KB | 0777 |
|
element.js | File | 62.29 KB | 0777 |
|
element.min.js | File | 12.63 KB | 0777 |
|
escape-html.js | File | 6.22 KB | 0777 |
|
escape-html.min.js | File | 1.11 KB | 0777 |
|
format-library.js | File | 60.49 KB | 0777 |
|
format-library.min.js | File | 20.75 KB | 0777 |
|
hooks.js | File | 20.09 KB | 0777 |
|
hooks.min.js | File | 4.79 KB | 0777 |
|
html-entities.js | File | 3.63 KB | 0777 |
|
html-entities.min.js | File | 837 B | 0777 |
|
i18n.js | File | 50.63 KB | 0777 |
|
i18n.min.js | File | 9.99 KB | 0777 |
|
is-shallow-equal.js | File | 4.33 KB | 0777 |
|
is-shallow-equal.min.js | File | 1.07 KB | 0777 |
|
keyboard-shortcuts.js | File | 22.47 KB | 0777 |
|
keyboard-shortcuts.min.js | File | 4.38 KB | 0777 |
|
keycodes.js | File | 29.57 KB | 0777 |
|
keycodes.min.js | File | 4.3 KB | 0777 |
|
list-reusable-blocks.js | File | 25.78 KB | 0777 |
|
list-reusable-blocks.min.js | File | 4.83 KB | 0777 |
|
media-utils.js | File | 22.52 KB | 0777 |
|
media-utils.min.js | File | 7.43 KB | 0777 |
|
notices.js | File | 19.59 KB | 0777 |
|
notices.min.js | File | 2.37 KB | 0777 |
|
nux.js | File | 21.21 KB | 0777 |
|
nux.min.js | File | 4.86 KB | 0777 |
|
plugins.js | File | 19.81 KB | 0777 |
|
plugins.min.js | File | 4.82 KB | 0777 |
|
preferences-persistence.js | File | 34.15 KB | 0777 |
|
preferences-persistence.min.js | File | 6.56 KB | 0777 |
|
preferences.js | File | 12.12 KB | 0777 |
|
preferences.min.js | File | 2.89 KB | 0777 |
|
primitives.js | File | 9.36 KB | 0777 |
|
primitives.min.js | File | 2.41 KB | 0777 |
|
priority-queue.js | File | 13.99 KB | 0777 |
|
priority-queue.min.js | File | 3.36 KB | 0777 |
|
private-apis.js | File | 8.43 KB | 0777 |
|
private-apis.min.js | File | 2.56 KB | 0777 |
|
redux-routine.js | File | 23.83 KB | 0777 |
|
redux-routine.min.js | File | 9.03 KB | 0777 |
|
reusable-blocks.js | File | 18.09 KB | 0777 |
|
reusable-blocks.min.js | File | 5.63 KB | 0777 |
|
rich-text.js | File | 128.69 KB | 0777 |
|
rich-text.min.js | File | 33.04 KB | 0777 |
|
server-side-render.js | File | 15.23 KB | 0777 |
|
server-side-render.min.js | File | 4.79 KB | 0777 |
|
shortcode.js | File | 16.62 KB | 0777 |
|
shortcode.min.js | File | 3.2 KB | 0777 |
|
style-engine.js | File | 16.84 KB | 0777 |
|
style-engine.min.js | File | 4.75 KB | 0777 |
|
token-list.js | File | 6.83 KB | 0777 |
|
token-list.min.js | File | 1.48 KB | 0777 |
|
url.js | File | 32.79 KB | 0777 |
|
url.min.js | File | 8.98 KB | 0777 |
|
viewport.js | File | 11.23 KB | 0777 |
|
viewport.min.js | File | 2.29 KB | 0777 |
|
warning.js | File | 2.51 KB | 0777 |
|
warning.min.js | File | 392 B | 0777 |
|
widgets.js | File | 55.86 KB | 0777 |
|
widgets.min.js | File | 21.49 KB | 0777 |
|
wordcount.js | File | 14.96 KB | 0777 |
|
wordcount.min.js | File | 2.57 KB | 0777 |
|