1 line
2.1 KiB
JavaScript
1 line
2.1 KiB
JavaScript
(window.webpackJsonp_themeisle_gutenberg_menu_icons=window.webpackJsonp_themeisle_gutenberg_menu_icons||[]).push([[2],{9:function(e,n,t){}}]),function(e){function n(n){for(var r,u,c=n[0],l=n[1],s=n[2],f=0,p=[];f<c.length;f++)u=c[f],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&p.push(o[u][0]),o[u]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(a&&a(n);p.length;)p.shift()();return i.push.apply(i,s||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],r=!0,c=1;c<t.length;c++){var l=t[c];0!==o[l]&&(r=!1)}r&&(i.splice(n--,1),e=u(u.s=t[0]))}return e}var r={},o={0:0},i=[];function u(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.m=e,u.c=r,u.d=function(e,n,t){u.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,n){if(1&n&&(e=u(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)u.d(t,r,function(n){return e[n]}.bind(null,r));return t},u.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(n,"a",n),n},u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.p="";var c=window.webpackJsonp_themeisle_gutenberg_menu_icons=window.webpackJsonp_themeisle_gutenberg_menu_icons||[],l=c.push.bind(c);c.push=n,c=c.slice();for(var s=0;s<c.length;s++)n(c[s]);var a=l;i.push([8,2]),t()}({8:function(e,n,t){"use strict";t.r(n),t(9);const r=document.querySelectorAll(".wp-block-navigation-link");0<r.length&&Array.from(r).forEach(e=>{const n=e.querySelector(".wp-block-navigation-link__content");let t=Array.from(e.classList);const r=t.find(e=>e.includes("fab")||e.includes("far")||e.includes("fas"))||"fas",o=t.find(e=>e.includes("fa-"));o&&(e.classList.remove(r,o),n.classList.add(r,o))})}}); |