Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s
No files matched your search
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 155 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 186 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 368 KiB |
@@ -0,0 +1 @@
|
||||
{"field":{"width":390,"display":"inline-block","cls":"field-control"},"search":[{"q":"jQuery","status":["Найдено материалов: 1"]},{"q":"Bitrix","status":["Найдено материалов: 3"]},{"q":"never-matches-123","status":["По этому запросу ничего нет. Попробуйте другое слово или сбросьте тему."]},{"q":"reset","status":["Найдено материалов: 14"]},{"q":"D","status":["Найдено материалов: 6"]}],"json":{"empty":["Введите JSON для проверки.",""],"invalid":["Ошибка синтаксиса: Expected property name or '}' in JSON at position 1 (line 1 column 2)",""],"ariaInvalid":"true","result":"{\n \"title\": \"Привет\",\n \"array\": [\n 1,\n 2,\n 3\n ],\n \"ok\": true\n}","compressed":"{\"title\":\"Привет\",\"array\":[1,2,3],\"ok\":true}","copyDenial":["JSON корректен","Не удалось скопировать. Выделите текст результата вручную."]},"figures":{"bitrix":[{"caption":"Элемент выбора изображения в форме Bitrix: превью и кнопки управления.","images":[{"src":"/visuals/v2/bitrix-file-preview.jpg","complete":true,"natural":435,"width":335.96875}],"width":358},{"caption":"Схема работы FileInput. Отображение контрола и сохранение файла — разные этапы.","images":[{"src":"/visuals/v2/bitrix-file-input.svg","complete":true,"natural":640,"width":336}],"width":358}],"gc":[{"caption":"Модель пулов из разбора 2017 года: округление малого объекта и размещение большого объекта по страницам.","images":[{"src":"/visuals/v2/d-gc-pools.svg","complete":true,"natural":640,"width":336}],"width":358},{"caption":"Достижимость определяет, какие объекты нужно сохранить. В консервативном сборщике число, похожее на указатель, может удерживать объект.","images":[{"src":"/visuals/v2/d-gc-reachability.svg","complete":true,"natural":640,"width":336}],"width":358}],"uikit":[{"caption":"16 × 16","images":[{"src":"/brand/favicon-16.png","complete":true,"natural":16,"width":16}],"width":40.40625},{"caption":"32 × 32","images":[{"src":"/brand/favicon-32.png","complete":true,"natural":32,"width":32}],"width":40.40625},{"caption":"48 × 48","images":[{"src":"/brand/favicon-48.png","complete":true,"natural":48,"width":48}],"width":48},{"caption":"Элемент выбора изображения в форме Bitrix: превью и кнопки управления.","images":[{"src":"/visuals/v2/bitrix-file-preview.jpg","complete":true,"natural":435,"width":335.96875}],"width":358},{"caption":"Достижимость определяет, какие объекты нужно сохранить. В консервативном сборщике число, похожее на указатель, может удерживать объект.","images":[{"src":"/visuals/v2/d-gc-reachability.svg","complete":true,"natural":640,"width":336}],"width":358}]},"specimens":["Реальный материал: Ошибка PHP. SSL certificate error: unable to get local issuer certificate12 июля 2017 г.2 мин чтенияDarkRiDDeR","Реальный материал: Вирус. Самопроизвольный запуск браузера и перенаправление на вредоносные сайты.20 мая 2017 г.3 мин чтенияDarkRiDDeR","Реальный материал: Привет, мой читатель!03 мая 2017 г.1 мин чтенияDarkRiDDeR","Реальный материал: Пишем аналог функции PHP preg_match_all на языке программирования D17 июня 2017 г.5 мин чтенияDarkRiDDeR","Реальный материал: Dlang. Новый движок CTFE26 мая 2017 г.5 мин чтенияDarkRiDDeR","Реальный материал: Bitrix API. Вставка на страницу встроенного редактора картинок19 октября 2018 г.2 мин чтенияDarkRiDDeR","Реальный материал: DConf-2017. Под капотом мусорщика D (Дмитрий Ольшанский)24 июня 2017 г.11 мин чтенияDarkRiDDeR"],"downloadNA":false,"skip":{"text":"К содержанию","href":"#main","after":{"hash":"#main","focus":""}},"unknown":{"status":"Такой страницы нет.","body":"ОШИБКА 404\n\n{ ? }\nТакой страницы нет.\n\nВозможно, в адресе опечатка или ссылка больше не существует.\nПопробуйте найти нужную тему в журнале.\n\nПерейти к поиску Line truncated
|
||||
@@ -0,0 +1,4 @@
|
||||
async(page)=>{const base='http://127.0.0.1:50480',o={};await page.setViewportSize({width:1440,height:1000});await page.emulateMedia({reducedMotion:'reduce'});await page.goto(base+'/');o.field=await page.locator('#search').evaluate(e=>({width:e.getBoundingClientRect().width,display:getComputedStyle(e).display,cls:e.className}));o.search=[];for(const q of ['jQuery','Bitrix','never-matches-123']){await page.getByRole('searchbox').fill(q);o.search.push({q,status:await page.getByRole('status').allTextContents()});}await page.getByRole('button',{name:'Сбросить поиск'}).click();o.search.push({q:'reset',status:await page.getByRole('status').allTextContents()});await page.getByRole('button',{name:'D',exact:true}).click();o.search.push({q:'D',status:await page.getByRole('status').allTextContents()});await page.locator('#search').scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-cm-f5/home-field-1440-dark.png'});
|
||||
await page.goto(base+'/tools/');await page.getByRole('button',{name:'Очистить',exact:true}).click();await page.getByRole('button',{name:'Форматировать',exact:true}).click();o.json={empty:await page.getByRole('status').allTextContents()};await page.locator('textarea').fill('{bad');await page.getByRole('button',{name:'Форматировать',exact:true}).click();o.json.invalid=await page.getByRole('status').allTextContents();o.json.ariaInvalid=await page.locator('textarea').getAttribute('aria-invalid');await page.locator('textarea').fill('{"title":"Привет","array":[1,2,3],"ok":true}');await page.getByRole('button',{name:'Форматировать',exact:true}).click();o.json.result=await page.locator('pre').innerText();await page.getByRole('button',{name:'Сжать',exact:true}).click();o.json.compressed=await page.locator('pre').innerText();await page.evaluate(()=>Object.defineProperty(navigator,'clipboard',{configurable:true,value:{writeText:async()=>{throw Error('CM injected denial')}}}));await page.getByRole('button',{name:'Копировать',exact:true}).click();o.json.copyDenial=await page.getByRole('status').allTextContents();await page.screenshot({path:'/tmp/progcode-ds-cm-f5/json-result-copydenial-1440.png'});
|
||||
await page.setViewportSize({width:390,height:1000});o.figures={};for(const [id,path]of[['bitrix','/articles/bitrix-api-add-foto-editor/'],['gc','/articles/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/'],['uikit','/ui-kit/']]){await page.goto(base+path);await page.getByLabel('Тема',{exact:true}).selectOption('dark');let figures=page.locator('figure');o.figures[id]=[];for(let i=0;i<await figures.count();i++){const fig=figures.nth(i);await fig.scrollIntoViewIfNeeded();await fig.locator('img').evaluateAll(async imgs=>{await Promise.all(imgs.map(i=>i.decode().catch(()=>{})))});o.figures[id].push(await fig.evaluate(e=>({caption:e.querySelector('figcaption')?.innerText,images:[...e.querySelectorAll('img')].map(i=>({src:i.getAttribute('src'),complete:i.complete,natural:i.naturalWidth,width:i.getBoundingClientRect().width})),width:e.getBoundingClientRect().width})));await fig.screenshot({path:'/tmp/progcode-ds-cm-f5/'+id+'-figure'+i+'-390-dark.png'});}if(id==='uikit'){o.specimens=await page.locator('.specimen-label').allTextContents();o.downloadNA=(await page.locator('main').innerText()).includes('N/A');}}
|
||||
await page.goto(base+'/accessibility/');await page.keyboard.press('Tab');o.skip=await page.evaluate(()=>({text:document.activeElement.innerText,href:document.activeElement.getAttribute('href')}));await page.screenshot({path:'/tmp/progcode-ds-cm-f5/a11y-skip-390-dark.png'});await page.keyboard.press('Enter');o.skip.after=await page.evaluate(()=>({hash:location.hash,focus:document.activeElement.id}));await page.goto(base+'/does-not-exist-cm-f5/');o.unknown={status:await page.locator('h1').innerText(),body:await page.locator('main').innerText()};await page.screenshot({path:'/tmp/progcode-ds-cm-f5/404-390-dark.png'});return o;}
|
||||
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 291 KiB |
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"source": "f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900",
|
||||
"before": "/tmp/progcode-ds-frozen-0340b0d273be/_next/static/chunks/106zaoxmg1.2~.css",
|
||||
"after": "/tmp/progcode-ds-frozen-f5d927948163/_next/static/chunks/0z.r4e_1fyi9o.css",
|
||||
"beforeSHA256": "595bda36b8a37a5c2233d5df567a095fad318a200f9172016d4498187851793e",
|
||||
"afterSHA256": "14d35c5bab5982a1126d8fa94bb2e0de82879f5e1c3a734c5e43baa4f5f494e0",
|
||||
"beforeRules": 428,
|
||||
"afterRules": 431,
|
||||
"removed": [],
|
||||
"added": [
|
||||
{
|
||||
"context": [
|
||||
"@media (max-width:650px)"
|
||||
],
|
||||
"selector": ".simple-page h1,.tool-page h1",
|
||||
"declarations": [
|
||||
[
|
||||
"letter-spacing",
|
||||
"-1px",
|
||||
false
|
||||
],
|
||||
[
|
||||
"overflow-wrap",
|
||||
"anywhere",
|
||||
false
|
||||
],
|
||||
[
|
||||
"font-size",
|
||||
"34px",
|
||||
false
|
||||
],
|
||||
[
|
||||
"line-height",
|
||||
"1.13",
|
||||
false
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"context": [],
|
||||
"selector": ".catalog-controls>.field",
|
||||
"declarations": [
|
||||
[
|
||||
"flex",
|
||||
"1",
|
||||
false
|
||||
],
|
||||
[
|
||||
"max-width",
|
||||
"390px",
|
||||
false
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"context": [
|
||||
"@media (max-width:950px)"
|
||||
],
|
||||
"selector": ".catalog-controls>.field",
|
||||
"declarations": [
|
||||
[
|
||||
"width",
|
||||
"100%",
|
||||
false
|
||||
],
|
||||
[
|
||||
"max-width",
|
||||
"none",
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
const fs=require('fs'),crypto=require('crypto'),postcss=require('/Users/gavrilovdev/tmp/progcode.ru/web/node_modules/postcss');
|
||||
const before='/tmp/progcode-ds-frozen-0340b0d273be/_next/static/chunks/106zaoxmg1.2~.css',after='/tmp/progcode-ds-frozen-f5d927948163/_next/static/chunks/0z.r4e_1fyi9o.css';
|
||||
function rules(path){let out=[];postcss.parse(fs.readFileSync(path,'utf8')).walkRules(r=>{let context=[],p=r.parent;while(p&&p.type!=='root'){if(p.type==='atrule')context.unshift('@'+p.name+' '+p.params);p=p.parent;}out.push({context,selector:r.selector,declarations:r.nodes.filter(n=>n.type==='decl').map(n=>[n.prop,n.value,!!n.important])});});return out;}
|
||||
const old=rules(before),next=rules(after),oldS=old.map(JSON.stringify),nextS=next.map(JSON.stringify);let remaining=[...nextS],removed=[];for(const r of oldS){let i=remaining.indexOf(r);if(i<0)removed.push(JSON.parse(r));else remaining.splice(i,1);}console.log(JSON.stringify({source:'f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900',before,after,beforeSHA256:crypto.createHash('sha256').update(fs.readFileSync(before)).digest('hex'),afterSHA256:crypto.createHash('sha256').update(fs.readFileSync(after)).digest('hex'),beforeRules:old.length,afterRules:next.length,removed,added:remaining.map(JSON.parse)},null,2));
|
||||
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 19 KiB |
@@ -0,0 +1 @@
|
||||
{"identity":{"sourceHash":"f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900","articles":14},"disabled":true,"downloadCopy":["В текущей коллекции нет файлов для скачивания. Копирование JSON не считается скачиванием."],"demoSearch":"Найдено материалов: 1","demoJSON":["Пустое состояние не подменяется выдуманным результатом. Поиск и JSON ниже можно проверить самостоятельно.","Найдено материалов: 1","Ошибка синтаксиса: Unexpected end of JSON input",""],"unknownHTTPStatus":404,"errors":[],"external":[]}
|
||||
@@ -0,0 +1 @@
|
||||
async(page)=>{let errors=[],external=[];page.on('pageerror',e=>errors.push(String(e)));page.on('request',r=>{if(!r.url().startsWith('http://127.0.0.1:50480')&&!r.url().startsWith('data:'))external.push(r.url());});let o={};await page.setViewportSize({width:390,height:1000});await page.goto('http://127.0.0.1:50480/ui-kit/',{waitUntil:'networkidle'});await page.getByLabel('Тема',{exact:true}).selectOption('dark');o.identity=await page.evaluate(async()=>await(await fetch('/build-identity.json')).json());o.disabled=await page.getByRole('button',{name:'Недоступное действие',exact:true}).isDisabled();o.downloadCopy=await page.locator('main').innerText().then(t=>t.split('\n').filter(x=>x.includes('скачив')));await page.getByRole('searchbox').fill('jQuery');o.demoSearch=await page.locator('.search-status').innerText();await page.locator('textarea').fill('[');await page.getByRole('button',{name:'Форматировать',exact:true}).click();o.demoJSON=await page.getByRole('status').allTextContents();await page.locator('textarea').scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-cm-f5/uikit-demo-invalid-390-dark.png'});const r=await page.goto('http://127.0.0.1:50480/does-not-exist-cm-f5/',{waitUntil:'networkidle'});o.unknownHTTPStatus=r.status();o.errors=errors;o.external=external;return o;}
|
||||
@@ -0,0 +1 @@
|
||||
{"source":"f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900","build":"ea4fb0dc8934776e4e9d4213f07c27424962789bfadd1ba9ca51ad31d5736851","base":"http://127.0.0.1:50480","results":[{"id":"resources","path":"/resources/","width":320,"theme":"light","status":200,"doc":320,"h1":{"text":"Сначала —\nпервоисточник.","font":"34px","client":288,"scroll":288},"text":"ДЕРЖАТЬ ПОД РУКОЙ\n\nСначала —\nпервоисточник.\n\nСправочники по темам журнала: для проверки версии API, поведения функции и границ примера.\n\nD\n\nЯзык, стандартная библиотека и инструменты\nСпецификация D\n↗\n\nСинтаксис, семантика и правила языка.\n\nСтандартная библиотека Phobos\n↗\n\nКонтракты функций, модули и примеры.\n\nDUB\n↗\n\nСборка проектов и управление зависимостями.\n\nPHP\n\nФункции и интеграции\nСправочник PHP\n↗\n\nФункции, расширения и примеры использования.\n\nAPI Bitrix\n↗\n\nОписание API и ограничений конкретных методов.\n\nWeb\n\nСборка и безопасность\nwebpack: ProvidePlugin\n↗\n\nКак автоматически подключать модуль для свободного идентификатора.\n\nMDN: JSON.parse\n↗\n\nСинтаксис JSON, ошибки разбора и точность чисел.\n\ncurl: проверка TLS\n↗\n\nЦепочка доверия и безопасная диагностика сертификатов.","footer":"Заметки о том, как устроен код.\nD, PHP, Bitrix и веб-разработка.\n\nВсе статьи\nИсточники и редактура\nПриватность\nДоступность и чтение\nКомпоненты ProgCode\nМатериалы 2017–2019","footerLinks":[{"text":"","url":"/"},{"text":"Все статьи","url":"/#journal"},{"text":"Источники и редактура","url":"/sources/"},{"text":"Приватность","url":"/privacy/"},{"text":"Доступность и чтение","url":"/accessibility/"},{"text":"Компоненты ProgCode","url":"/ui-kit/"}],"failedImages":[],"fields":[],"download":0},{"id":"privacy","path":"/privacy/","width":320,"theme":"light","status":200,"doc":320,"h1":{"text":"Приватность\nи аналитика.","font":"34px","client":288,"scroll":288},"text":"О РАБОТЕ САЙТА\n\nПриватность\nи аналитика.\nЧтение и локальные инструменты\n\nДля чтения не нужна регистрация. Поиск по журналу и обработка JSON выполняются в браузере: отдельный поисковый запрос или исходный JSON не отправляются в событиях сайта. Выбранная цветовая тема сохраняется в локальном хранилище браузера; её можно поменять в шапке.\n\nЧто помогает улучшать журнал\n\nНа ProgCode подключена Яндекс Метрика — счётчик 109268613. Она помогает понять, откуда приходят читатели, какие материалы читают и где возникают трудности. Сервис получает сведения о просмотрах, адресах и заголовках страниц, источниках перехода, браузере и устройстве; может использовать cookie. Это внешняя аналитика, даже когда сам JSON-инструмент работает локально.\n\nВключены карта кликов и учёт переходов по внешним ссылкам. Вебвизор — запись сеансов — выключен. Стандартный показатель отказов не подменяется искусственными просмотрами или событиями.\n\nКакие действия учитывает сайт\n\nОтдельные события отмечают чтение статьи не менее минуты в видимом окне с фокусом и достижение 75% текста, выбор результата поиска, отсутствие результатов, переход к связанному материалу и подтверждённую проблему контента. В этих событиях нет текста поискового запроса, введённого JSON, содержимого отсутствующLine truncated
|
||||
@@ -0,0 +1,4 @@
|
||||
async(page)=>{const base='http://127.0.0.1:50480',pages=[{"id": "resources", "path": "/resources/"}, {"id": "privacy", "path": "/privacy/"}, {"id": "sources", "path": "/sources/"}, {"id": "accessibility", "path": "/accessibility/"}, {"id": "uikit", "path": "/ui-kit/"}],reps=[{"id": "home", "path": "/", "width": 320, "theme": "light", "status": 200, "title": "ProgCode — записки о программировании", "h1": "Разобраться.Написать. Проверить.", "scrollWidth": 320, "bodyChars": 0, "canvas": "rgb(246, 244, 239)", "h1Width": 288, "h1ScrollWidth": 288, "failedImages": [], "figures": 0, "tableRows": 0, "tableColumns": 0, "downloads": 0, "hasFalseMBHint": false, "top": "/tmp/progcode-ds-content/home-320-light-top.png"}, {"id": "a0", "path": "/articles/использование-jquery-в-webpack/", "slug": "использование-jquery-в-webpack", "width": 320, "theme": "light", "status": 200, "title": "JavaScript. Использование jQuery в Webpack — ProgCode", "h1": "JavaScript. Использование jQuery в Webpack", "scrollWidth": 320, "bodyChars": 2824, "bodyWidth": 288, "fontSize": "18px", "lineHeight": "30.96px", "bodyColor": "rgb(36, 37, 33)", "canvas": "rgb(246, 244, 239)", "h1Width": 288, "h1ScrollWidth": 288, "failedImages": [], "figures": 0, "tableRows": 0, "tableColumns": 0, "downloads": 0, "hasFalseMBHint": false}, {"id": "a1", "path": "/articles/bitrix-api-add-foto-editor/", "slug": "bitrix-api-add-foto-editor", "width": 320, "theme": "light", "status": 200, "title": "Bitrix API. Вставка на страницу встроенного редактора картинок — ProgCode", "h1": "Bitrix API. Вставка на страницу встроенного редактора картинок", "scrollWidth": 320, "bodyChars": 2387, "bodyWidth": 288, "fontSize": "18px", "lineHeight": "30.96px", "bodyColor": "rgb(36, 37, 33)", "canvas": "rgb(246, 244, 239)", "h1Width": 288, "h1ScrollWidth": 288, "failedImages": [], "figures": 2, "tableRows": 0, "tableColumns": 0, "downloads": 0, "hasFalseMBHint": false}, {"id": "a2", "path": "/articles/о-tilix-и-d-интервью-с-геральдом-нанном/", "slug": "о-tilix-и-d-интервью-с-геральдом-нанном", "width": 320, "theme": "light", "status": 200, "title": "О Tilix и D: интервью с Геральдом Нанном — ProgCode", "h1": "О Tilix и D: интервью с Геральдом Нанном", "scrollWidth": 320, "bodyChars": 21566, "bodyWidth": 288, "fontSize": "18px", "lineHeight": "30.96px", "bodyColor": "rgb(36, 37, 33)", "canvas": "rgb(246, 244, 239)", "h1Width": 288, "h1ScrollWidth": 288, "failedImages": [], "figures": 1, "tableRows": 0, "tableColumns": 0, "downloads": 0, "hasFalseMBHint": false}, {"id": "a6", "path": "/articles/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/", "slug": "ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate", "width": 320, "theme": "light", "status": 200, "title": "Ошибка PHP. SSL certificate error: unable to get local issuer certificate — ProgCode", "h1": "Ошибка PHP. SSL certificate error: unable to get local issuer certificate", "scrollWidth": 320, "bodyChars": 2422, "bodyWidth": 288, "fontSize": "18px", "lineHeight": "30.96px", "bodyColor": "rgb(36, 37, 33)", "canvas": "rgb(246, 244, 239)", "h1Width": 288, "h1ScrollWidth": 288, "failedImages": [], "figures": 1, "tableRows": 0, "tableColumns": 0, "downloads": 0, "hasFalseMBHint": false, "top": "/tmp/progcode-ds-content/a6-320-light-top.png"}, {"id": "a7", "path": "/articles/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/", "slug": "dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол", "width": 320, "theme": "light", "status": 200, "title": "DConf-2017. Под капотом мусорщика D (Дмитрий Ольшанский) — ProgCode", "h1": "DConf-2017. Под капотом мусорщика D (Дмитрий Ольшанский)", "scrollWidth": 320, "bodyChars": 13239, "bodyWidth": 288, "fontSize": "18px", "lineHeight": "30.96px", "bodyColor": "rgb(36, 37, 33)", "canvas": "rgb(246, 244, 239)", "h1Width": 288, "h1ScrollWidth": 288, "failedImages": [], "figures": 2, "tableRows": 0, "tableColumns": 0, "downloads": 0, "hasFalseMBHint": false}, {"id": "a8", "path": "/articles/пишем-аналог-функции-php-preg_match_all-на-языке-прог/", "slug": "пишем-аналог-функции-php-preg_match_all-на-языке-прог", "width": 320, "theme": "light", "status": 200, "title": "Пишем аналог функции PHP preg_match_all на языке программирования D — ProgCode", "h1": "Пишем аналог функции PHP preg_match_all на языке программирования D", "scrollWidth": 320, "bodyChars": 5932, "bodyWidth":
Line truncated
|
||||
for(const width of [320,390,1440])for(const theme of ['light','dark'])for(const c of pages){await page.setViewportSize({width,height:1000});await page.emulateMedia({colorScheme:theme,reducedMotion:'reduce'});const res=await page.goto(base+c.path,{waitUntil:'networkidle'});await page.getByLabel('Тема',{exact:true}).selectOption(theme);await page.evaluate(()=>document.fonts.ready);let row=await page.evaluate(()=>({doc:document.documentElement.scrollWidth,width:innerWidth,h1:{text:document.querySelector('h1').innerText,font:getComputedStyle(document.querySelector('h1')).fontSize,client:document.querySelector('h1').clientWidth,scroll:document.querySelector('h1').scrollWidth},text:document.querySelector('main').innerText,footer:document.querySelector('footer').innerText,footerLinks:[...document.querySelectorAll('footer a')].map(a=>({text:a.innerText,url:a.getAttribute('href')})),failedImages:[...document.images].filter(i=>!i.complete||!i.naturalWidth).map(i=>i.src),fields:[...document.querySelectorAll('input,textarea')].map(e=>({id:e.id,width:e.getBoundingClientRect().width,cls:e.className})),download:document.querySelectorAll('[download]').length}));row={...c,width,theme,status:res.status(),...row};await page.screenshot({path:'/tmp/progcode-ds-cm-f5/'+c.id+'-'+width+'-'+theme+'-top.png'});await page.evaluate(()=>window.scrollTo({top:document.body.scrollHeight,behavior:'instant'}));await page.screenshot({path:'/tmp/progcode-ds-cm-f5/'+c.id+'-'+width+'-'+theme+'-footer.png'});results.push(row);}
|
||||
for(let i=0;i<reps.length;i++){let c=reps[i];const width=i%3===0?1440:i%3===1?320:390,theme=i%2?'light':'dark';await page.setViewportSize({width,height:1000});await page.emulateMedia({colorScheme:theme,reducedMotion:'reduce'});const res=await page.goto(base+c.path,{waitUntil:'networkidle'});await page.getByLabel('Тема',{exact:true}).selectOption(theme);await page.screenshot({path:'/tmp/progcode-ds-cm-f5/'+c.id+'-'+width+'-'+theme+'-representative.png'});results.push({...c,width,theme,status:res.status(),...await page.evaluate(()=>({doc:document.documentElement.scrollWidth,body:document.querySelector('.article-content')?.textContent.length,failedImages:[...document.images].filter(i=>!i.complete||!i.naturalWidth).map(i=>i.src)}))});}
|
||||
return{source:'f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900',build:'ea4fb0dc8934776e4e9d4213f07c27424962789bfadd1ba9ca51ad31d5736851',base,results,errors,external};}
|
||||
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 79 KiB |
@@ -0,0 +1,532 @@
|
||||
[
|
||||
{
|
||||
"file": "uikit-figure3-390-dark.png",
|
||||
"bytes": 51643,
|
||||
"sha256": "f6b8ab8d8a5bcafb17e5bdd7a5dc02807f3c4edf0b5f664940089b93655e861d"
|
||||
},
|
||||
{
|
||||
"file": "uikit-figure4-390-dark.png",
|
||||
"bytes": 51589,
|
||||
"sha256": "638c7a6a7bfd201c4e19a299287f8ebbe8465b77613a38e8c84edcca405e9c9f"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-390-dark-footer.png",
|
||||
"bytes": 75836,
|
||||
"sha256": "737ee8f26587c9b18504a6df4bc5738b674d468de6eeebce1cb1086b8a449dc3"
|
||||
},
|
||||
{
|
||||
"file": "privacy-390-light-footer.png",
|
||||
"bytes": 74805,
|
||||
"sha256": "dc1f9706c0d48cfdb24f94015928808ebe7bff64bd9f95facf665a5225c32068"
|
||||
},
|
||||
{
|
||||
"file": "resources-390-light-top.png",
|
||||
"bytes": 66071,
|
||||
"sha256": "a8cdef7d6fe607106429fa4bbabe1fb640a29279a1a1585d8f62a3a8ca632f82"
|
||||
},
|
||||
{
|
||||
"file": "scroll.js",
|
||||
"bytes": 1137,
|
||||
"sha256": "6bed2b20ba1dedc9525b2c7ad56eef636bfc4396ae9773968d81be11f68dddfe"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-1440-light-footer.png",
|
||||
"bytes": 148269,
|
||||
"sha256": "cdcc3fcc78e129d4c14470d2f0ee0d4c8fee7ba52e4fa7c3d6a46f68b86f2fc1"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-320-dark-footer.png",
|
||||
"bytes": 61961,
|
||||
"sha256": "c0d114003b2e87da50e7ba7d3d9f3826fc5d3c8f7be5e563dbed19163dba25f6"
|
||||
},
|
||||
{
|
||||
"file": "sources-six-top-contact.png",
|
||||
"bytes": 402066,
|
||||
"sha256": "294014ee9eabdc837af9b9e95d8411e430eaa5f2ff3babbaa30e7389c68b8bed"
|
||||
},
|
||||
{
|
||||
"file": "verify-preservation-own.py",
|
||||
"bytes": 2775,
|
||||
"sha256": "3377634b5e33ade032fb88a79d44cc56f29a9b3564d8968f0719481fbfb33a0a"
|
||||
},
|
||||
{
|
||||
"file": "gc-figure0-390-dark.png",
|
||||
"bytes": 77732,
|
||||
"sha256": "36e57d6bb56f47d2a3ead21b0bbbca9ff7e99cf86e0fc8d37466296196547e56"
|
||||
},
|
||||
{
|
||||
"file": "privacy-320-dark-top.png",
|
||||
"bytes": 77983,
|
||||
"sha256": "d04ed8f1a577fdcfe4be6a06ad016c866dd687c33ed02ec51bfa33282640b7d7"
|
||||
},
|
||||
{
|
||||
"file": "privacy-1440-light-top.png",
|
||||
"bytes": 157241,
|
||||
"sha256": "33016983cbaa0504b22fe7518ed8f1f9a5f9f64bb4fb515ef0c790f1c8ab2d80"
|
||||
},
|
||||
{
|
||||
"file": "fresh.js",
|
||||
"bytes": 10586,
|
||||
"sha256": "f0055a0d91989d9af95b7157254b49a63a7134da55c7b738d068f8feeec27b90"
|
||||
},
|
||||
{
|
||||
"file": "ctfe-320-dark-scroll-region.png",
|
||||
"bytes": 74002,
|
||||
"sha256": "e7f0ecb8ecc6815ff1eb34fb4cfb93125ef5c6e83a783566fb09b53b15c74442"
|
||||
},
|
||||
{
|
||||
"file": "json-result-copydenial-1440.png",
|
||||
"bytes": 81379,
|
||||
"sha256": "f54dd80fbf288ab9c9ad87dd1345d4a874322b9e534becc3be8a37bbd008e6f8"
|
||||
},
|
||||
{
|
||||
"file": "uikit-1440-dark-top.png",
|
||||
"bytes": 112088,
|
||||
"sha256": "b994ccf0cc77d76cb0b78de0c438ae07acfd589d274451827923d69c2b7464ca"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-320-light-footer.png",
|
||||
"bytes": 62197,
|
||||
"sha256": "1f7a80282d8e4af129961026156690b8b80e4d31b48922324da2e1338c09528f"
|
||||
},
|
||||
{
|
||||
"file": "d-320-dark-scroll-region.png",
|
||||
"bytes": 19321,
|
||||
"sha256": "872e0326307826e1f3c48497b3d87bf6f8431f0cfbbeb5d671aa98d616c141c8"
|
||||
},
|
||||
{
|
||||
"file": "uikit-figure2-390-dark.png",
|
||||
"bytes": 1266,
|
||||
"sha256": "31a8068546c9094cd1dbf5fa8e99fdecfc6ccd26d565ef4f58f54a5660a9433f"
|
||||
},
|
||||
{
|
||||
"file": "uikit-1440-dark-footer.png",
|
||||
"bytes": 71092,
|
||||
"sha256": "735e9cf417b6456dcf9ffd12c78f44dfca12b4c6852722b2b9bca6263066f5af"
|
||||
},
|
||||
{
|
||||
"file": "uikit-390-dark-top.png",
|
||||
"bytes": 61866,
|
||||
"sha256": "c3e021f38526387e8e637bb69e2cccfe4428a46c12021fa25577615b4d2da152"
|
||||
},
|
||||
{
|
||||
"file": "sources-320-dark-top.png",
|
||||
"bytes": 76438,
|
||||
"sha256": "331436d7bb823751925cf2a690a792dd7fa87f02f4d1fef46e9c6d3e9174e386"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-320-dark-top.png",
|
||||
"bytes": 75196,
|
||||
"sha256": "b19ae81393a92fd2b5e504b720c48ddf69fec8c1540d2ebc44438f11d7d1a04f"
|
||||
},
|
||||
{
|
||||
"file": "sources-1440-light-footer.png",
|
||||
"bytes": 151260,
|
||||
"sha256": "b5106f63734d467899a65393243e6fefc196d1f5974619d5d1bc286890f5bdb8"
|
||||
},
|
||||
{
|
||||
"file": "uikit-demo-invalid-390-dark.png",
|
||||
"bytes": 59282,
|
||||
"sha256": "1c1dbed185b2a85d2043fb7db5c0d0eebb775bf6ca2532c7bac6d0d1dbf99e19"
|
||||
},
|
||||
{
|
||||
"file": "privacy-390-light-top.png",
|
||||
"bytes": 102102,
|
||||
"sha256": "f5f449c8926a1df2402e1b2bf5e9d9ee715589fbaae44b89f179ddd780be6912"
|
||||
},
|
||||
{
|
||||
"file": "resources-390-light-footer.png",
|
||||
"bytes": 55553,
|
||||
"sha256": "1e282ebbf50e4237c0a8c7b7405a8ab57fd0ef7603394197b88186ed86544a6b"
|
||||
},
|
||||
{
|
||||
"file": "css-proof.cjs",
|
||||
"bytes": 1294,
|
||||
"sha256": "2b8f48e907c74ee1008c4862c20352c28419cff1f5ca10bcb072b1fa6693192b"
|
||||
},
|
||||
{
|
||||
"file": "sources-1440-dark-top.png",
|
||||
"bytes": 151199,
|
||||
"sha256": "cf16e7efa91a4a5750eb846d2e097bbced01855d656c9c02c04da8aa709d222f"
|
||||
},
|
||||
{
|
||||
"file": "actions.js",
|
||||
"bytes": 4009,
|
||||
"sha256": "bbfda9708e9bd30cc104d26046ef85cd14d8510e0562d8f6389b0f597e447a40"
|
||||
},
|
||||
{
|
||||
"file": "gc-figure1-390-dark.png",
|
||||
"bytes": 51672,
|
||||
"sha256": "6d3bcfe874c15e614b6885a77dab3af1e0eebd89912a7d6484b18d8f2020d9a6"
|
||||
},
|
||||
{
|
||||
"file": "privacy-1440-light-footer.png",
|
||||
"bytes": 156904,
|
||||
"sha256": "580a156c8f844b9853b3dbe2713082c886880bfe9dbc3d7ada36bfbb664737e6"
|
||||
},
|
||||
{
|
||||
"file": "sources-390-light-footer.png",
|
||||
"bytes": 66344,
|
||||
"sha256": "4af3046cff86e216694923e5e3287dac442a319a06b32ee1fb259349cc17dd40"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-1440-dark-top.png",
|
||||
"bytes": 137455,
|
||||
"sha256": "d14038deb766a8b8e3c8fa986dc9e3366773fb38c099c5e1a01baf4be67b0541"
|
||||
},
|
||||
{
|
||||
"file": "sources-390-dark-footer.png",
|
||||
"bytes": 66156,
|
||||
"sha256": "26fc4507f9ed42dc31570c58a775e9d2cf18461a61235529a98c384b425ff6b7"
|
||||
},
|
||||
{
|
||||
"file": "a11-1440-light-representative.png",
|
||||
"bytes": 158754,
|
||||
"sha256": "83d2877086907e6296ac1add594f57e43585c94b75313e3c36086f84406020d1"
|
||||
},
|
||||
{
|
||||
"file": "resources-320-light-top.png",
|
||||
"bytes": 58115,
|
||||
"sha256": "35483142966f5125f0068e4830899acfc5684c38c250cd84aa9a0d84cc10b793"
|
||||
},
|
||||
{
|
||||
"file": "a2-1440-light-representative.png",
|
||||
"bytes": 190534,
|
||||
"sha256": "28a87473318e4a5f7f7063c6a8b0715d4243c4198b203935fe4020b79c42bde7"
|
||||
},
|
||||
{
|
||||
"file": "uikit-320-light-footer.png",
|
||||
"bytes": 36536,
|
||||
"sha256": "ffb50de4401cdee542c2eb2adedeeb354fbaef3c9655a83b3d095e82b3451c4c"
|
||||
},
|
||||
{
|
||||
"file": "sources-320-dark-footer.png",
|
||||
"bytes": 60221,
|
||||
"sha256": "67227157300c70f615a60b46a6989d9a1cffbd7c435d699d39ea52b2c8fb559a"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-six-top-contact.png",
|
||||
"bytes": 377074,
|
||||
"sha256": "4345bc287183d3d04fbff2055dfcef96a455292f2b01aebeec13f0e7431b680a"
|
||||
},
|
||||
{
|
||||
"file": "preservation.json",
|
||||
"bytes": 3538,
|
||||
"sha256": "01d6512cada572d4d3c0974d9ca6e34037d7e9930617092d7107180370221002"
|
||||
},
|
||||
{
|
||||
"file": "bitrix-figure0-390-dark.png",
|
||||
"bytes": 52095,
|
||||
"sha256": "cd2599ecdd5f16a16e6f2675832a0c7cf9cd7b611394efd889630b67673816af"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-1440-dark-footer.png",
|
||||
"bytes": 147472,
|
||||
"sha256": "e1c4ecae5d502dd708c72f2e3eea3ce4364246ebedc85b196a00e3d028b7ae25"
|
||||
},
|
||||
{
|
||||
"file": "sources-1440-light-top.png",
|
||||
"bytes": 151322,
|
||||
"sha256": "c45d0ee27eb353d8afcb4a1d7e82eaeffffd1c18447ebe4903c542e656db2a21"
|
||||
},
|
||||
{
|
||||
"file": "a8-1440-dark-representative.png",
|
||||
"bytes": 166107,
|
||||
"sha256": "25f2b3c15227c865ffecb425df5f2e21a98409a3eb0b6f6d0a2231a819fdd25b"
|
||||
},
|
||||
{
|
||||
"file": "home-1440-dark-representative.png",
|
||||
"bytes": 150600,
|
||||
"sha256": "73703037729f63533e99126e8202beb6e5e7d0663f54c86d146e60b4296e7056"
|
||||
},
|
||||
{
|
||||
"file": "404-390-dark.png",
|
||||
"bytes": 46494,
|
||||
"sha256": "6b7b26a653505442c5e358a56acde6eb33e9653482f9bce2d8bdf4fd5a68562e"
|
||||
},
|
||||
{
|
||||
"file": "a9-320-light-representative.png",
|
||||
"bytes": 73144,
|
||||
"sha256": "6b8cd651110d0a922c5f92a81ff2f00e2d170de2371285a326136804afa655d6"
|
||||
},
|
||||
{
|
||||
"file": "resources-320-dark-top.png",
|
||||
"bytes": 57885,
|
||||
"sha256": "bbb0972882cb1e3a783347d302c18ec53a4dd46cdba8b8bc6a2f036f09284934"
|
||||
},
|
||||
{
|
||||
"file": "privacy-320-light-top.png",
|
||||
"bytes": 77812,
|
||||
"sha256": "e9ca3ce045fe868cfbf45e9e8d33f823ec82ae25e4a802e7077152cce54e2e5c"
|
||||
},
|
||||
{
|
||||
"file": "bitrix-figure1-390-dark.png",
|
||||
"bytes": 54648,
|
||||
"sha256": "93bffdc84d3d4d68e1edea8bbca4922a9d4111079f86e154ef0b3c65dbf8e1e2"
|
||||
},
|
||||
{
|
||||
"file": "privacy-390-dark-top.png",
|
||||
"bytes": 101865,
|
||||
"sha256": "543ff18dcf47664811db24c8347dfc8499ff95ce9bdee0592f3dd38884e0b84c"
|
||||
},
|
||||
{
|
||||
"file": "a11y-skip-390-dark.png",
|
||||
"bytes": 99400,
|
||||
"sha256": "900bacfb0d410dd67164c4131c3a3771e83b459444349b5228140788f7366ab7"
|
||||
},
|
||||
{
|
||||
"file": "resources-320-light-footer.png",
|
||||
"bytes": 50642,
|
||||
"sha256": "2b30dd18c46405d067f4a3731033d499f8252e97fb4f1c6f1e76e1d50b7e605d"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-320-light-top.png",
|
||||
"bytes": 75076,
|
||||
"sha256": "46bca4db157dbf4524652579a3b5fbfbf10919ec6311c5c1884a0b9a54c933a8"
|
||||
},
|
||||
{
|
||||
"file": "a1-390-dark-representative.png",
|
||||
"bytes": 88103,
|
||||
"sha256": "b90d5dcbaad0e46e3d2bd421a5aaae58db6f29d3dffd381032061c597324f129"
|
||||
},
|
||||
{
|
||||
"file": "sources-1440-dark-footer.png",
|
||||
"bytes": 150183,
|
||||
"sha256": "7d359be328302edffd1c301209f3771595674c0f127ac43b07623e7c2181c150"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-1440-light-top.png",
|
||||
"bytes": 138239,
|
||||
"sha256": "e545546b80cbf3c316a0e6b1fdd4a9b7ef10a9f4f6c0519511a62b0a5b69bc74"
|
||||
},
|
||||
{
|
||||
"file": "scroll-output.json",
|
||||
"bytes": 240,
|
||||
"sha256": "4268779d1cf652fde9de97c88dbeb5ab7751bfa15dba5ae2e5a00cee947cb940"
|
||||
},
|
||||
{
|
||||
"file": "demo.js",
|
||||
"bytes": 1357,
|
||||
"sha256": "a5f554ba058e2ec694c7812eed3f2bf8b8f6524e4706f90c3eadc107393399ab"
|
||||
},
|
||||
{
|
||||
"file": "resources-1440-dark-top.png",
|
||||
"bytes": 84125,
|
||||
"sha256": "131c5f7171d430a160de8e3da2f0d6a7300ee59075e0b1fa872f01a9587a6d42"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-390-light-footer.png",
|
||||
"bytes": 76337,
|
||||
"sha256": "22fc5d92af8f5241aa6e2fc78e7e808671e32a5ff6ac37b5c0be93930e861def"
|
||||
},
|
||||
{
|
||||
"file": "privacy-six-top-contact.png",
|
||||
"bytes": 395630,
|
||||
"sha256": "a39af38e075875d7ea74ce8efa44a2439bf2fb0210edb7b330db7872c33f353a"
|
||||
},
|
||||
{
|
||||
"file": "resources-1440-light-footer.png",
|
||||
"bytes": 79062,
|
||||
"sha256": "8823ce4e1b6657a5486cf108abbbd2f5610c9fcc089a5b4806faf90591e382a2"
|
||||
},
|
||||
{
|
||||
"file": "a6-320-dark-representative.png",
|
||||
"bytes": 78969,
|
||||
"sha256": "234090932334585f03c5aef5ad67dc24ec7a237e24e00b75d7ca2b5bc04b498e"
|
||||
},
|
||||
{
|
||||
"file": "actions-output.json",
|
||||
"bytes": 5043,
|
||||
"sha256": "139c1ac319b9500d0fd0b7a02a25d514fb5e4786f3966ba922724e6c382e56a5"
|
||||
},
|
||||
{
|
||||
"file": "fresh-output.json",
|
||||
"bytes": 184620,
|
||||
"sha256": "dde8d5b5fb1acb5ce2f008ba3b009f9110c2be741a7360c727cc5d97f975bddc"
|
||||
},
|
||||
{
|
||||
"file": "uikit-390-light-top.png",
|
||||
"bytes": 61577,
|
||||
"sha256": "fc1ce03a577e7127739b92e220e4a8fac2fea32457f339d3377ade55fdaea26d"
|
||||
},
|
||||
{
|
||||
"file": "css-adoption-own.json",
|
||||
"bytes": 1560,
|
||||
"sha256": "b7aa3abd722607524f5cf09cefb275e0937fe63528622aefed90b0d4d3808eac"
|
||||
},
|
||||
{
|
||||
"file": "resources-six-top-contact.png",
|
||||
"bytes": 270754,
|
||||
"sha256": "449b0fe33b0b153bf93f094fcb0fce28031e33f4a5ac5974410f30dd70008d46"
|
||||
},
|
||||
{
|
||||
"file": "privacy-1440-dark-top.png",
|
||||
"bytes": 156584,
|
||||
"sha256": "55078912116bbd62657be2c2bb740e00cb0ea696db8a5972f1b077811448a280"
|
||||
},
|
||||
{
|
||||
"file": "uikit-six-top-contact.png",
|
||||
"bytes": 273079,
|
||||
"sha256": "8cc084453427b1eb62db66167051d2c7b0aa9dac19931ef7b37009a94069a494"
|
||||
},
|
||||
{
|
||||
"file": "uikit-1440-light-top.png",
|
||||
"bytes": 110765,
|
||||
"sha256": "155d6111336cea641af7aa0f1912807f950ee2f5b85e85fccf4de9ccfe50d0c2"
|
||||
},
|
||||
{
|
||||
"file": "sources-390-dark-top.png",
|
||||
"bytes": 108339,
|
||||
"sha256": "833abadd228ab04fc19e52b11bde5198187aa168a398abd072e9f10114bd6223"
|
||||
},
|
||||
{
|
||||
"file": "uikit-320-dark-top.png",
|
||||
"bytes": 55549,
|
||||
"sha256": "493aaf1c3fb7fdbc5b83ff78b71f2b2a89e3acbdde40cfd0c4243e7828aad625"
|
||||
},
|
||||
{
|
||||
"file": "privacy-320-light-footer.png",
|
||||
"bytes": 65525,
|
||||
"sha256": "598208f12949a1c1839c7b8d2cc547bc248c6532ff3cb148d4af6e412484c247"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-390-dark-top.png",
|
||||
"bytes": 98198,
|
||||
"sha256": "e01ae2a0148f463c66244dd010c862a560baae5952cfe6288091486a8072877a"
|
||||
},
|
||||
{
|
||||
"file": "a10-390-dark-representative.png",
|
||||
"bytes": 84240,
|
||||
"sha256": "db6bae2d8311c60a332ac574bd7129e0fd6d2fc07e75a2d8811358cd82965991"
|
||||
},
|
||||
{
|
||||
"file": "sources-390-light-top.png",
|
||||
"bytes": 108518,
|
||||
"sha256": "c9a09c7f84aa090eb3237cf20d71be4d51d0de144d5fa3d3fb378586b4b1c18f"
|
||||
},
|
||||
{
|
||||
"file": "preservation-stdout.json",
|
||||
"bytes": 3324,
|
||||
"sha256": "6da1287e08948a4ec7488e79cb445ef02c6efd95052c0a2de8d13613369cc4d7"
|
||||
},
|
||||
{
|
||||
"file": "privacy-1440-dark-footer.png",
|
||||
"bytes": 156412,
|
||||
"sha256": "eb3c9535e1f67296c143171e1be9562583a3b153b32a75b9beb065b6b292f4a2"
|
||||
},
|
||||
{
|
||||
"file": "accessibility-390-light-top.png",
|
||||
"bytes": 98237,
|
||||
"sha256": "976ed80e3460f06454a3b8aaf7525a212fa19e30045f3e51bb0e3e526e50456d"
|
||||
},
|
||||
{
|
||||
"file": "privacy-390-dark-footer.png",
|
||||
"bytes": 74719,
|
||||
"sha256": "a2a56e1bf9d982b9058be1090318c93e4ae44423820b0a0aadc43c016d88618c"
|
||||
},
|
||||
{
|
||||
"file": "uikit-figure0-390-dark.png",
|
||||
"bytes": 818,
|
||||
"sha256": "60addb13e0e3700e08ef3c2c1aa057ab80ca35de4c98811c2c7eca3a6a6c0984"
|
||||
},
|
||||
{
|
||||
"file": "uikit-1440-light-footer.png",
|
||||
"bytes": 70670,
|
||||
"sha256": "8ea1e21fcad0b22ed9c8b910247b083458f7c88483bbc7988cb18fc8e9014f38"
|
||||
},
|
||||
{
|
||||
"file": "resources-1440-light-top.png",
|
||||
"bytes": 83869,
|
||||
"sha256": "95ae322dbbcd5c0ebc4442c0619412d4da304cee240fd98ece9103a73b8e5638"
|
||||
},
|
||||
{
|
||||
"file": "a7-390-light-representative.png",
|
||||
"bytes": 83584,
|
||||
"sha256": "c0358ada97617c8b9c2b62ffc12e20ae57bf69b5abf1c4b2c658ebf985082e4c"
|
||||
},
|
||||
{
|
||||
"file": "privacy-320-dark-footer.png",
|
||||
"bytes": 65650,
|
||||
"sha256": "a12d2cd096dacdf5eea9d5c57d7e5880ea4245d720de04847c4c30ae19d68b6a"
|
||||
},
|
||||
{
|
||||
"file": "common-footer-six-contact.png",
|
||||
"bytes": 298257,
|
||||
"sha256": "85b6e8848f872b043df06131b4adf558f982289f4a855b9be6bbd971feaf3461"
|
||||
},
|
||||
{
|
||||
"file": "home-field-1440-dark.png",
|
||||
"bytes": 121232,
|
||||
"sha256": "16c594bb49051c13b109792d2c874520b325ccbf5ffe349935378126e9bd6424"
|
||||
},
|
||||
{
|
||||
"file": "a0-320-light-representative.png",
|
||||
"bytes": 75890,
|
||||
"sha256": "920aa7f06690bbee6a0eb6fd49e6129089ae8b287cc79ff67d81237d1a6000b6"
|
||||
},
|
||||
{
|
||||
"file": "uikit-320-light-top.png",
|
||||
"bytes": 55346,
|
||||
"sha256": "d1d99386250faffe5e625cf76a8240797a8641feb45fc8aff5423bf442fd04b7"
|
||||
},
|
||||
{
|
||||
"file": "uikit-390-light-footer.png",
|
||||
"bytes": 37268,
|
||||
"sha256": "26586ddae5460d5e396047e1482a73f079c5ea93209312288f2aa3b939bf9afd"
|
||||
},
|
||||
{
|
||||
"file": "uikit-figure1-390-dark.png",
|
||||
"bytes": 1217,
|
||||
"sha256": "fdf31693b4c6be25a0c242056cf43b2682468bae7d0665606e9d12a9965a383e"
|
||||
},
|
||||
{
|
||||
"file": "demo-output.json",
|
||||
"bytes": 728,
|
||||
"sha256": "5c68bd7bdf86f7973d07f828276b5625f413fcfaf8d1958a8d062ac1617c836e"
|
||||
},
|
||||
{
|
||||
"file": "a13-320-dark-representative.png",
|
||||
"bytes": 68653,
|
||||
"sha256": "2f8cff73080b68dc85e53441991a75d613da0638cdedd16acce282bbf70446c1"
|
||||
},
|
||||
{
|
||||
"file": "uikit-390-dark-footer.png",
|
||||
"bytes": 37488,
|
||||
"sha256": "b88321238ceedc53529b2548e9a4ea5dcef99c850e21a74e71b828002825c387"
|
||||
},
|
||||
{
|
||||
"file": "resources-390-dark-footer.png",
|
||||
"bytes": 55898,
|
||||
"sha256": "9e59770a1cdb363fb21cac9b7f355264b81bc3cee21520d7fba2840025a73f1b"
|
||||
},
|
||||
{
|
||||
"file": "sources-320-light-footer.png",
|
||||
"bytes": 60346,
|
||||
"sha256": "bd3fb0ca7f2055c579143ca148b498dfa2a3292ae90a5f34783737f37311d7e9"
|
||||
},
|
||||
{
|
||||
"file": "resources-320-dark-footer.png",
|
||||
"bytes": 50635,
|
||||
"sha256": "9428d8161411293fced7faf2664e8b2e4bbf8dbf813b1fb3aee69acfeaf5b9e4"
|
||||
},
|
||||
{
|
||||
"file": "resources-390-dark-top.png",
|
||||
"bytes": 65782,
|
||||
"sha256": "9fab62f76240ff1eb03320bb583a4593565e471688cdb9168d6374a0703082fa"
|
||||
},
|
||||
{
|
||||
"file": "sources-320-light-top.png",
|
||||
"bytes": 76319,
|
||||
"sha256": "38544d967cf0f1e0d185b1609ea05e4c69f6c899a48018e376b89d3d7bdcb638"
|
||||
},
|
||||
{
|
||||
"file": "uikit-320-dark-footer.png",
|
||||
"bytes": 36745,
|
||||
"sha256": "6173fd18c7f461b99b39b46c0ca5fa916794c35436f575dddb2a98888a5a7941"
|
||||
},
|
||||
{
|
||||
"file": "resources-1440-dark-footer.png",
|
||||
"bytes": 79230,
|
||||
"sha256": "8015d9b9c9c7bde91889625ec80e6e8c2935edfe8c5a3838d4bb0ea42545344d"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
{"sourceHash": "f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900", "baselineCommit": "0458a99d3a3880a42c8d809731ce6aea09cb4342", "dataInputsAndPublicationReportsByteIdentical": 6, "oldHTMLRoutesPreserved": 81, "newHTMLRoutes": ["accessibility/index.html", "privacy/index.html", "sources/index.html", "ui-kit/index.html"], "canonicalLegacyArticleBodiesByteIdentical": 28, "bodyPaths": ["2017/05/03/привет-мир/index.html", "2017/05/04/компиляция-64-x-разрядных-программ-на-dmd-по/index.html", "2017/05/20/вирус-самопроизвольный-запуск-брауз/index.html", "2017/05/23/особенности-vibe-d/index.html", "2017/05/26/новый-движок-ctfe/index.html", "2017/06/17/пишем-аналог-функции-php-preg_match_all-на-языке-прог/index.html", "2017/06/24/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/index.html", "2017/07/12/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/index.html", "2017/08/04/firefox-увеличение-ожидания-загрузки-timeout-стр/index.html", "2017/08/14/bitrix-api-создание-добавление-торгового-пре/index.html", "2017/08/15/bitrix-api-функция-для-генерации-кода-элемент/index.html", "2017/08/25/о-tilix-и-d-интервью-с-геральдом-нанном/index.html", "2018/10/19/bitrix-api-add-foto-editor/index.html", "2019/01/12/использование-jquery-в-webpack/index.html", "articles/bitrix-api-add-foto-editor/index.html", "articles/bitrix-api-создание-добавление-торгового-пре/index.html", "articles/bitrix-api-функция-для-генерации-кода-элемент/index.html", "articles/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/index.html", "articles/firefox-увеличение-ожидания-загрузки-timeout-стр/index.html", "articles/вирус-самопроизвольный-запуск-брауз/index.html", "articles/использование-jquery-в-webpack/index.html", "articles/компиляция-64-x-разрядных-программ-на-dmd-по/index.html", "articles/новый-движок-ctfe/index.html", "articles/о-tilix-и-d-интервью-с-геральдом-нанном/index.html", "articles/особенности-vibe-d/index.html", "articles/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/index.html", "articles/пишем-аналог-функции-php-preg_match_all-на-языке-прог/index.html", "articles/привет-мир/index.html"], "dateElementsCompared": 146, "dateTextMismatches": [], "allDateTextAndISOEqual": true, "historicalMediaByteIdentical": 11, "media": ["visuals/v2/tilix-sessions.svg", "visuals/v2/bitrix-product-offer.svg", "visuals/v2/d-gc-pools.svg", "visuals/v2/ctfe-execution.svg", "visuals/v2/bitrix-file-preview.jpg", "visuals/v2/d-gc-reachability.svg", "visuals/v2/ctfe-overview.svg", "visuals/v2/tls-trust-chain.svg", "visuals/v2/bitrix-file-input.svg", "visuals/v2/vibed-fiber-io.svg", "visuals/v2/windows-browser-task.svg"], "sourceHelperIncludesFSDAndAllPublic": true, "wholeHTMLParityClaimed": false}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"sourceHash": "f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900",
|
||||
"baselineCommit": "0458a99d3a3880a42c8d809731ce6aea09cb4342",
|
||||
"dataInputsAndPublicationReportsByteIdentical": 6,
|
||||
"oldHTMLRoutesPreserved": 81,
|
||||
"newHTMLRoutes": [
|
||||
"accessibility/index.html",
|
||||
"privacy/index.html",
|
||||
"sources/index.html",
|
||||
"ui-kit/index.html"
|
||||
],
|
||||
"canonicalLegacyArticleBodiesByteIdentical": 28,
|
||||
"bodyPaths": [
|
||||
"2017/05/03/привет-мир/index.html",
|
||||
"2017/05/04/компиляция-64-x-разрядных-программ-на-dmd-по/index.html",
|
||||
"2017/05/20/вирус-самопроизвольный-запуск-брауз/index.html",
|
||||
"2017/05/23/особенности-vibe-d/index.html",
|
||||
"2017/05/26/новый-движок-ctfe/index.html",
|
||||
"2017/06/17/пишем-аналог-функции-php-preg_match_all-на-языке-прог/index.html",
|
||||
"2017/06/24/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/index.html",
|
||||
"2017/07/12/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/index.html",
|
||||
"2017/08/04/firefox-увеличение-ожидания-загрузки-timeout-стр/index.html",
|
||||
"2017/08/14/bitrix-api-создание-добавление-торгового-пре/index.html",
|
||||
"2017/08/15/bitrix-api-функция-для-генерации-кода-элемент/index.html",
|
||||
"2017/08/25/о-tilix-и-d-интервью-с-геральдом-нанном/index.html",
|
||||
"2018/10/19/bitrix-api-add-foto-editor/index.html",
|
||||
"2019/01/12/использование-jquery-в-webpack/index.html",
|
||||
"articles/bitrix-api-add-foto-editor/index.html",
|
||||
"articles/bitrix-api-создание-добавление-торгового-пре/index.html",
|
||||
"articles/bitrix-api-функция-для-генерации-кода-элемент/index.html",
|
||||
"articles/dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол/index.html",
|
||||
"articles/firefox-увеличение-ожидания-загрузки-timeout-стр/index.html",
|
||||
"articles/вирус-самопроизвольный-запуск-брауз/index.html",
|
||||
"articles/использование-jquery-в-webpack/index.html",
|
||||
"articles/компиляция-64-x-разрядных-программ-на-dmd-по/index.html",
|
||||
"articles/новый-движок-ctfe/index.html",
|
||||
"articles/о-tilix-и-d-интервью-с-геральдом-нанном/index.html",
|
||||
"articles/особенности-vibe-d/index.html",
|
||||
"articles/ошибка-php-ssl-certificate-error-unable-to-get-local-issuer-certificate/index.html",
|
||||
"articles/пишем-аналог-функции-php-preg_match_all-на-языке-прог/index.html",
|
||||
"articles/привет-мир/index.html"
|
||||
],
|
||||
"dateElementsCompared": 146,
|
||||
"dateTextMismatches": [],
|
||||
"allDateTextAndISOEqual": true,
|
||||
"historicalMediaByteIdentical": 11,
|
||||
"media": [
|
||||
"visuals/v2/tilix-sessions.svg",
|
||||
"visuals/v2/bitrix-product-offer.svg",
|
||||
"visuals/v2/d-gc-pools.svg",
|
||||
"visuals/v2/ctfe-execution.svg",
|
||||
"visuals/v2/bitrix-file-preview.jpg",
|
||||
"visuals/v2/d-gc-reachability.svg",
|
||||
"visuals/v2/ctfe-overview.svg",
|
||||
"visuals/v2/tls-trust-chain.svg",
|
||||
"visuals/v2/bitrix-file-input.svg",
|
||||
"visuals/v2/vibed-fiber-io.svg",
|
||||
"visuals/v2/windows-browser-task.svg"
|
||||
],
|
||||
"sourceHelperIncludesFSDAndAllPublic": true,
|
||||
"wholeHTMLParityClaimed": false
|
||||
}
|
||||
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 386 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 264 KiB |
@@ -0,0 +1 @@
|
||||
{"d":{"tag":"PRE","role":"region","tabIndex":0,"client":284,"scroll":730,"lines":84,"after":{"left":446,"focus":true}},"ctfe":{"tag":"DIV","role":"region","tabIndex":0,"client":286,"scroll":620,"lines":1,"after":{"left":334,"focus":true}}}
|
||||
@@ -0,0 +1 @@
|
||||
async(page)=>{let out={};for(const [id,slug,sel]of[['d','пишем-аналог-функции-php-preg_match_all-на-языке-прог','pre'],['ctfe','новый-движок-ctfe','.table-scroll']]){await page.goto('http://127.0.0.1:50480/articles/'+encodeURIComponent(slug)+'/');await page.setViewportSize({width:320,height:1000});await page.getByLabel('Тема',{exact:true}).selectOption('dark');let loc=page.locator(sel);if(id==='d'){let sizes=await loc.evaluateAll(es=>es.map(e=>e.textContent.length));loc=loc.nth(sizes.indexOf(Math.max(...sizes)));}else loc=loc.first();await loc.scrollIntoViewIfNeeded();out[id]=await loc.evaluate(e=>({tag:e.tagName,role:e.getAttribute('role'),tabIndex:e.tabIndex,client:e.clientWidth,scroll:e.scrollWidth,lines:e.textContent.split('\n').length}));await loc.focus();for(let i=0;i<24;i++)await page.keyboard.press('ArrowRight');await page.waitForTimeout(250);out[id].after=await loc.evaluate(e=>({left:e.scrollLeft,focus:document.activeElement===e}));await loc.scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-cm-f5/'+id+'-320-dark-scroll-region.png'});}return out;}
|
||||
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 148 KiB |
|
After Width: | Height: | Size: 148 KiB |
|
After Width: | Height: | Size: 148 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 393 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 109 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 58 KiB |