DmitrMakeev commited on
Commit
611d095
·
verified ·
1 Parent(s): 81b4439

Update js/rus/rus.js

Browse files
Files changed (1) hide show
  1. js/rus/rus.js +7 -6
js/rus/rus.js CHANGED
@@ -218,11 +218,11 @@ editor.Blocks.add('avp_grup_v1-settings-block-block', {
218
 
219
  // Создаем новый тип компонента для настройки подписной - 1
220
 
221
- editor.Components.addType('copy-settings-block', {
222
  model: {
223
  defaults: {
224
  // HTML-код пустого блока с постоянным идентификатором
225
- content: '<div id="set_copy"></div>',
226
  // Скрипт для обработки блока (если нужно)
227
  script: function(props) {
228
  const initBlock = () => {
@@ -239,7 +239,7 @@ editor.Components.addType('copy-settings-block', {
239
 
240
  // Загружаем необходимые скрипты динамически
241
  if (typeof avp_grup_v1 === 'undefined') {
242
- loadScript('https://huggingface.co/spaces/DMTuit/psy_vk/resolve/main/js/avp_grup_v1.js', () => {
243
  console.log('avp_grup_v1 loaded!');
244
  initBlock();
245
  });
@@ -255,11 +255,11 @@ editor.Components.addType('copy-settings-block', {
255
  }
256
  });
257
 
258
- editor.Blocks.add('copy-settings-block-block', {
259
  label: `
260
  <!-- icon666.com - MILLIONS vector ICONS FREE --><svg id="Layer_1" enable-background="new 0 0 152 152" viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg" width="36" height="36"><path id="Icon" clip-rule="evenodd" d="m74.5 112.8h7.8c1.3-.2 2.6-.8 3.6-1.6.6-1 1.1-2.1 1.1-3.4 0 0-.2-10.4 4.7-12s10.9 10.1 17.4 14.6c4.9 3.4 8.6 2.6 8.6 2.6l17.4-.3s9.1-.5 4.7-7.6c-.3-.6-2.6-5.2-13-14.9-10.9-10.1-9.4-8.4 3.7-26 8-10.6 11.2-17.1 10.2-20s-6.8-1.9-6.8-1.9l-19.5.2c-.8-.2-1.8 0-2.6.5s-1.3 1.3-1.8 2.1c-1.9 5.2-4.4 10.4-7.1 15.3-8.8 14.8-12.2 15.6-13.6 14.6-3.2-2.1-2.4-8.6-2.4-13.2 0-14.3 2.1-20.3-4.2-21.8-2.9-.6-6-1-9.1-1-7 0-12.8 0-16.2 1.6-2.4 1-4 3.4-3 3.4 2.3.2 4.2 1.3 5.8 2.9 1.9 2.8 1.9 8.8 1.9 8.8s1.1 16.9-2.8 19c-2.6 1.5-6.2-1.5-14-14.9-2.6-4.7-5-9.4-7-14.5-.3-.8-1-1.6-1.6-2.1-.3-.2-.6-.5-1-.5-1-.5-2.1-.6-3.2-.6l-17.4.2s-2.8 0-3.7 1.3c-1 1.3 0 3.2 0 3.2s14.6 34.1 31 51.2c15.1 15.9 32.1 14.8 32.1 14.8z" fill-rule="evenodd" fill="#000000" style="fill: rgb(255, 255, 255);"></path></svg>
261
- copy`,
262
- content: { type: 'copy-settings-block' },
263
  category: 'ВК', // Добавляем категорию "Автопилот - ВК"
264
  });
265
 
@@ -277,6 +277,7 @@ editor.Blocks.add('copy-settings-block-block', {
277
 
278
 
279
 
 
280
  editor.Components.addType('avp_form_v1-settings-block', {
281
  model: {
282
  defaults: {
 
218
 
219
  // Создаем новый тип компонента для настройки подписной - 1
220
 
221
+ editor.Components.addType('anti_copy-settings-block', {
222
  model: {
223
  defaults: {
224
  // HTML-код пустого блока с постоянным идентификатором
225
+ content: '<div id="set_anti_copy"></div>',
226
  // Скрипт для обработки блока (если нужно)
227
  script: function(props) {
228
  const initBlock = () => {
 
239
 
240
  // Загружаем необходимые скрипты динамически
241
  if (typeof avp_grup_v1 === 'undefined') {
242
+ loadScript('https://huggingface.co/spaces/DMTuit/psy_vk/resolve/main/js/anti_copy.js', () => {
243
  console.log('avp_grup_v1 loaded!');
244
  initBlock();
245
  });
 
255
  }
256
  });
257
 
258
+ editor.Blocks.add('anti_copy-settings-block-block', {
259
  label: `
260
  <!-- icon666.com - MILLIONS vector ICONS FREE --><svg id="Layer_1" enable-background="new 0 0 152 152" viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg" width="36" height="36"><path id="Icon" clip-rule="evenodd" d="m74.5 112.8h7.8c1.3-.2 2.6-.8 3.6-1.6.6-1 1.1-2.1 1.1-3.4 0 0-.2-10.4 4.7-12s10.9 10.1 17.4 14.6c4.9 3.4 8.6 2.6 8.6 2.6l17.4-.3s9.1-.5 4.7-7.6c-.3-.6-2.6-5.2-13-14.9-10.9-10.1-9.4-8.4 3.7-26 8-10.6 11.2-17.1 10.2-20s-6.8-1.9-6.8-1.9l-19.5.2c-.8-.2-1.8 0-2.6.5s-1.3 1.3-1.8 2.1c-1.9 5.2-4.4 10.4-7.1 15.3-8.8 14.8-12.2 15.6-13.6 14.6-3.2-2.1-2.4-8.6-2.4-13.2 0-14.3 2.1-20.3-4.2-21.8-2.9-.6-6-1-9.1-1-7 0-12.8 0-16.2 1.6-2.4 1-4 3.4-3 3.4 2.3.2 4.2 1.3 5.8 2.9 1.9 2.8 1.9 8.8 1.9 8.8s1.1 16.9-2.8 19c-2.6 1.5-6.2-1.5-14-14.9-2.6-4.7-5-9.4-7-14.5-.3-.8-1-1.6-1.6-2.1-.3-.2-.6-.5-1-.5-1-.5-2.1-.6-3.2-.6l-17.4.2s-2.8 0-3.7 1.3c-1 1.3 0 3.2 0 3.2s14.6 34.1 31 51.2c15.1 15.9 32.1 14.8 32.1 14.8z" fill-rule="evenodd" fill="#000000" style="fill: rgb(255, 255, 255);"></path></svg>
261
+ anti_copy`,
262
+ content: { type: 'anti_copy-settings-block' },
263
  category: 'ВК', // Добавляем категорию "Автопилот - ВК"
264
  });
265
 
 
277
 
278
 
279
 
280
+
281
  editor.Components.addType('avp_form_v1-settings-block', {
282
  model: {
283
  defaults: {