soonogo / kg-startup-tutorial.mp4

0 Kedvelések
0 forkok
1 fájlok
Utoljára aktív 1 month ago

soonogo / gistfile1.txt

0 Kedvelések
0 forkok
1 fájlok
Utoljára aktív 2 months ago
1 hi

yanfweifan / index-ostXcoic.js

0 Kedvelések
0 forkok
1 fájlok
Utoljára aktív 5 months ago
1 (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".api-render-page{display:flex!important;flex-direction:column!important;height:100%!important;background:#f7f3e8!important;padding:16px!important;box-sizing:border-box!important;width:100%!important;overflow-x:hidden!important}.event-status-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;margin-bottom:12px;color:#fff;font-size:13px}.event-code{font-weight:600}.event-type{padding:2px 10px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase}.event-type.tool_event_start{background:#ffc1074d;color:#ffc107}.event-type.tool_event_end{background:#4caf504d;color:#4caf50}.event-type.tool_event_process{background:#2196f34d;color:#2196f3}.update-params{font-family:monospace;background:#ffffff26;padding:2px 8px;border-radius:4px;font-size:11px}.store-info-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:12px;overflow:hidden}.store-info-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.store-info-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.store-id{font-size:12px;color:#999;font-family:monospace}.store-info-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:16px}.store-info-grid{grid-template-columns:repeat(3,1fr)!important;grid-template-rows:repeat(2,auto)!important}.dish-list-panel{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #0000001a}.dish-list-panel .panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dish-list-panel .panel-header h3{margin:0;font-size:16px;color:#333}.dish-count{font-size:13px;color:#888}.dish-store-name{color:#c41e3a;font-size:14px;margin-left:8px}.dish-list-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.dish-item{padding:12px;background:#f5f5f5;border-radius:6px;text-align:center;font-size:14px;color:#333;transition:all .2s}.dish-item:hover{background:#e0e0e0}.dish-list-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid #eee}.page-btn{padding:8px 16px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s}.page-btn:hover:not(:disabled){background:#f0f0f0;border-color:#ccc}.page-btn:disabled{opacity:.5;cursor:not-allowed}.page-info{font-size:13px;color:#666}.info-row{display:flex;gap:8px;font-size:13px}.info-label{color:#888;white-space:nowrap}.info-value{color:#333;font-weight:500}.info-value.store-name{font-size:18px;font-weight:600;color:#c41e3a}.detail-grid{display:flex;flex-direction:row;width:100%;gap:12px;overflow:hidden}.detail-grid .steps-panel,.detail-grid .ingredient-panel{flex:1;min-width:0;overflow:hidden}.empty-store{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;background:#fff;border-radius:8px;color:#999;text-align:center}.empty-store p{margin:4px 0}.empty-store .hint{font-size:12px;color:#ccc}.render-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.dish-info{display:flex;align-items:center;gap:12px}.dish-name{margin:0;font-size:24px;color:#c41e3a;font-weight:600}.dish-tags{display:flex;gap:8px}.tag{padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500}.tag.cuisine{background:#fff0f0;color:#c41e3a;border:1px solid #ffcdd2}.tag.category{background:#e3f2fd;color:#1976d2;border:1px solid #bbdefb}.dish-meta{display:flex;gap:20px}.meta-item{font-size:14px;color:#666}.meta-item.cost{color:#c41e3a;font-weight:600}.clear-all-btn{padding:6px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#666;font-size:12px;cursor:pointer}.clear-all-btn:hover{background:#f5f5f5}.edit-tip{display:flex;justify-content:space-between;margin-bottom:12px;font-size:12px;color:#999}.render-grid{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:1fr 1fr;gap:12px;flex:1;min-height:0}.grid-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;display:flex;flex-direction:column;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.card-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.card-toggle{color:#999;font-size:16px;cursor:pointer}.card-content{flex:1;overflow:auto;padding:12px 16px}.empty-card{display:flex;align-items:center;justify-content:center;height:100px;color:#999;font-size:13px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:8px 10px;background:#f5f5f5;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.data-table td{padding:8px 10px;border-bottom:1px solid #f0f0f0;color:#333}.data-table tbody tr:nth-child(2n){background:#fafafa}.data-table tbody tr:hover{background:#f5f5f5}.process-card{grid-column:1;grid-row:1}.col-num{width:30px;text-align:center!important;color:#999}.col-name{width:120px}.col-role{width:70px}.col-time{width:60px}.col-points{color:#888!important;font-size:12px}.role-badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500}.role-gray{background:#f0f0f0;color:#666}.role-green{background:#e8f5e9;color:#2e7d32}.role-blue{background:#e3f2fd;color:#1565c0}.role-orange{background:#fff3e0;color:#e65100}.role-purple{background:#f3e5f5;color:#7b1fa2}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #eee}.summary{font-size:12px;color:#666}.add-btn{padding:6px 12px;border:1px dashed #ccc;border-radius:4px;background:transparent;color:#666;font-size:12px;cursor:pointer;transition:all .2s}.add-btn:hover{border-color:#667eea;color:#667eea}.cost-card{grid-column:2;grid-row:1}.cost-card .subtotal{font-weight:500;color:#333}.cost-total{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:14px}.cost-total .total-value{font-size:18px;font-weight:600;color:#c41e3a}.scenario-card{grid-column:1;grid-row:2}.scenario-list{list-style:none;padding:0;margin:0}.scenario-list li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;font-size:14px;color:#333}.scenario-list .bullet{width:6px;height:6px;border-radius:50%;background:#ff9800;margin-top:6px;flex-shrink:0}.schedule-card{grid-column:2;grid-row:2}.schedule-card .impact{color:#c41e3a;font-weight:500;font-family:monospace}.schedule-card .status{color:#4caf50;font-weight:500}.schedule-footer{margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:12px;color:#4caf50;text-align:center}.render-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0}.footer-right{display:flex;gap:12px}.action-btn{padding:10px 20px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.action-btn.save{background:#fff;border:1px solid #8d6e63;color:#5d4037}.action-btn.save:hover{background:#f5f5f5}.action-btn.stock{background:#5d4037;border:none;color:#fff}.action-btn.stock:hover{background:#4e342e}@media (max-width: 1200px){.render-grid{grid-template-columns:1fr;grid-template-rows:auto}.process-card,.cost-card,.scenario-card,.schedule-card{grid-column:1;grid-row:auto}}.ingredient-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;overflow:hidden;display:flex;flex-direction:column;height:100%}.ingredient-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.ingredient-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.ingredient-count{font-size:12px;color:#999;font-family:monospace}.ingredient-table-container{padding:0;flex:1;overflow:auto}.ingredient-panel>.panel-header,.ingredient-panel>.ingredient-footer{flex-shrink:0}.ingredient-panel>.ingredient-table-container{flex:1 1 auto;overflow:auto;min-height:0}.ingredient-table{width:100%;border-collapse:collapse;font-size:13px}.ingredient-table th{text-align:left;padding:10px 16px;background:#fafafa;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.ingredient-table td{padding:10px 16px;border-bottom:1px solid #f0f0f0;color:#333}.ingredient-table tbody tr:nth-child(2n){background:#fafafa}.ingredient-table tbody tr:hover{background:#f5f5f5}.ingredient-table .col-ingredient{width:auto}.ingredient-type-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:500;margin-right:8px;background:#e8f5e9;color:#2e7d32}.ingredient-table .col-amount,.ingredient-table .col-unit-price{width:100px;text-align:right}.ingredient-table .col-subtotal{width:100px;text-align:right;font-weight:500;color:#c41e3a}.ingredient-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-top:1px solid #eee}.cost-summary{display:flex;align-items:center;gap:12px;font-size:14px}.cost-label{color:#666}.cost-value{font-size:18px;font-weight:600;color:#c41e3a}.ingredient-pagination{display:flex;align-items:center;gap:12px}.ingredient-pagination .page-btn{padding:4px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#666;font-size:12px;cursor:pointer;transition:all .2s}.ingredient-pagination .page-btn:hover:not(:disabled){border-color:#667eea;color:#667eea}.ingredient-pagination .page-btn:disabled{opacity:.5;cursor:not-allowed}.ingredient-pagination .page-info{font-size:12px;color:#999}.cell-truncate{cursor:pointer;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-expanded{cursor:pointer;white-space:normal;word-break:break-all;min-width:300px;max-width:none;width:auto;background-color:#fffbe6;padding:8px 12px;border-radius:4px;position:relative;z-index:10;box-shadow:0 2px 8px #00000026}.cell-truncate:hover{background-color:#f5f5f5}.steps-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;overflow:hidden;display:flex;flex-direction:column;height:100%}.steps-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.steps-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.steps-count{font-size:12px;color:#999;font-family:monospace}.steps-table-container{padding:0;flex:1;overflow:auto}.steps-panel>.panel-header,.steps-panel>.steps-footer{flex-shrink:0}.steps-panel>.steps-table-container{flex:1 1 auto;overflow:auto;min-height:0}.steps-table{width:100%;border-collapse:collapse;font-size:13px}.steps-table th{text-align:left;padding:10px 16px;background:#fafafa;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.steps-table td{padding:10px 16px;border-bottom:1px solid #f0f0f0;color:#333}.steps-table tbody tr:nth-child(2n){background:#fafafa}.steps-table tbody tr:hover{background:#f5f5f5}.steps-table .col-step-num{width:50px;text-align:center;color:#999;font-weight:500}.steps-table .col-step-desc{width:auto}.steps-table .col-step-cause{min-width:150px;max-width:250px;color:#666}.steps-table .col-step-points{min-width:150px;max-width:250px;color:#ff9800}.steps-table .col-step-duration{width:80px;text-align:right;color:#666}.steps-footer{display:flex;justify-content:flex-end;align-items:center;padding:12px 16px;background:#fafafa;border-top:1px solid #eee}.steps-summary{font-size:14px;color:#666}.steps-summary .total-duration{font-weight:600;color:#c41e3a}.dish-create-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:12px;overflow:hidden}.dish-create-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:linear-gradient(135deg,#ff9800,#f57c00);border-bottom:1px solid #eee}.dish-create-panel.completed .panel-header{background:linear-gradient(135deg,#eee,#e0e0e0)}.dish-create-panel .panel-header h3{margin:0;font-size:15px;color:#fff;font-weight:600}.dish-create-panel.completed .panel-header h3{color:#ff8f00}.dish-status.creating{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;background:#ffffff40;color:#fff}.dish-status.completed{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;background:#00000014;color:#c62828}.dish-create-content{padding:16px}.dish-basic-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dish-basic-info .dish-name{font-size:20px;font-weight:600;color:#c41e3a}.dish-store-id{display:flex;align-items:center;gap:6px;padding:4px 10px;background:#f5f5f5;border-radius:4px;font-size:13px}.dish-store-id .label{color:#888}.dish-store-id .value{color:#333;font-weight:500;font-family:monospace}.dish-scene{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff8e1;border-radius:6px}.scene-label{font-size:13px;color:#ff8f00;font-weight:500;white-space:nowrap}.scene-value{font-size:13px;color:#333}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;width:420px;max-width:90%;box-shadow:0 4px 20px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}.modal-header h3{margin:0;font-size:18px;color:#333}.modal-close{background:none;border:none;font-size:24px;color:#999;cursor:pointer;line-height:1}.modal-close:hover{color:#666}.modal-body{padding:20px}.modal-body p{margin:0 0 16px;color:#666}.stock-summary{background:#fafafa;border-radius:8px;padding:16px}.stock-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee}.stock-item:last-child{border-bottom:none}.stock-label{color:#666;font-size:14px}.stock-value{color:#333;font-size:14px;font-weight:500}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #eee;background:#fafafa;border-radius:0 0 12px 12px}.btn{padding:10px 24px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-cancel{background:#fff;border:1px solid #ddd;color:#666}.btn-cancel:hover:not(:disabled){background:#f5f5f5}.btn-confirm{background:#5d4037;border:none;color:#fff}.btn-confirm:hover:not(:disabled){background:#4e342e}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f7f3e8}.app-container{height:100vh;display:flex;flex-direction:column}.app-main{flex:1;padding:16px;overflow:hidden}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f5f5f5;color:#333;line-height:1.6}.app-container{min-height:100vh;padding:24px}.page-header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.page-title{font-size:24px;font-weight:600;color:#1a1a1a}.page-subtitle{font-size:14px;color:#888}.main-content{display:grid;grid-template-columns:360px 1fr;gap:24px}.left-column,.right-column{display:flex;flex-direction:column;gap:20px}.card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.card-header{padding:20px 24px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.card-header h3{font-size:16px;font-weight:600;color:#1a1a1a;display:flex;align-items:center;gap:8px}.card-body{padding:20px 24px}.dish-info-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.dish-info-header{padding:24px;border-bottom:1px solid #f0f0f0}.dish-name-row{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.dish-name{font-size:24px;font-weight:600;color:#1a1a1a;flex:1}.dish-icon{width:40px;height:40px;background:linear-gradient(135deg,#ff6b6b,#ee5a24);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px}.dish-tags{display:flex;gap:8px;flex-wrap:wrap}.tag{padding:4px 12px;border-radius:16px;font-size:12px;font-weight:500}.tag-cuisine{background:#fff0e6;color:#ee5a24}.tag-type{background:#e6f7ff;color:#1890ff}.tag-version{background:#f5f5f5;color:#666}.dish-description{font-size:14px;color:#666;line-height:1.8;margin-top:16px;padding-top:16px;border-top:1px solid #f0f0f0}.dish-info-actions{padding:20px 24px;display:flex;gap:12px;justify-content:flex-end;background:#fafafa}.btn{padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;font-size:14px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-default{background:#fff;border:1px solid #d9d9d9;color:#666}.btn-default:hover{border-color:#667eea;color:#667eea}.btn-danger{background:#fff1f0;border:1px solid #ffa39e;color:#ff4d4f}.btn-danger:hover{background:#ff4d4f;color:#fff}.step-list{display:flex;flex-direction:column;gap:0}.step-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.step-item:last-child{border-bottom:none}.step-order{width:28px;height:28px;background:#667eea;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.step-content{flex:1}.step-name{font-size:14px;font-weight:500;color:#333;margin-bottom:4px}.step-meta{font-size:12px;color:#888}.step-keypoint{margin-top:8px;padding:8px 12px;background:#f8f9fa;border-radius:6px;font-size:13px;color:#666;border-left:3px solid #667eea}.cost-table{width:100%;border-collapse:collapse}.cost-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:12px;font-weight:500;color:#888;border-bottom:1px solid #f0f0f0}.cost-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.cost-table td:last-child{text-align:right;font-weight:500}.cost-total-row{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;margin-top:16px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center}.cost-total-label{font-size:14px;font-weight:500}.cost-total-value{font-size:24px;font-weight:700}.schedule-list{display:flex;flex-direction:column;gap:0}.schedule-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.schedule-item:last-child{border-bottom:none}.chef-avatar{width:44px;height:44px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.chef-info{flex:1}.chef-name{font-size:14px;font-weight:500;color:#333;margin-bottom:2px}.chef-role{font-size:12px;color:#888}.chef-time{text-align:right}.chef-additional-time{font-size:18px;font-weight:600;color:#667eea}.chef-unit{font-size:12px;color:#888}.schedule-total{margin-top:16px;padding:16px 20px;background:#f8f9fa;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.schedule-total-label{font-size:14px;color:#666}.schedule-total-value{font-size:20px;font-weight:700;color:#333}.scenario-list{display:flex;flex-direction:column;gap:12px}.scenario-item{padding:16px;background:#f8f9fa;border-radius:8px;font-size:14px;color:#333;line-height:1.6;border-left:3px solid #667eea}.data-table{width:100%;border-collapse:collapse}.data-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:13px;font-weight:500;color:#666;border-bottom:1px solid #f0f0f0}.data-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.data-table tbody tr:hover{background:#fafafa}.data-table tbody tr:last-child td{border-bottom:none}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}@media (max-width: 1024px){.main-content{grid-template-columns:1fr}.left-column{order:-1}}@media (max-width: 768px){.app-container{padding:16px}.dish-info-actions{flex-direction:column}.btn{width:100%}}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2 (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function yf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ta={exports:{}},io={},Ra={exports:{}},J={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Kr=Symbol.for("react.element"),vf=Symbol.for("react.portal"),_f=Symbol.for("react.fragment"),wf=Symbol.for("react.strict_mode"),Sf=Symbol.for("react.profiler"),Ef=Symbol.for("react.provider"),Nf=Symbol.for("react.context"),kf=Symbol.for("react.forward_ref"),xf=Symbol.for("react.suspense"),Cf=Symbol.for("react.memo"),Tf=Symbol.for("react.lazy"),nu=Symbol.iterator;function Rf(e){return e===null||typeof e!="object"?null:(e=nu&&e[nu]||e["@@iterator"],typeof e=="function"?e:null)}var Pa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oa=Object.assign,ja={};function Zn(e,t,n){this.props=e,this.context=t,this.refs=ja,this.updater=n||Pa}Zn.prototype.isReactComponent={};Zn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Zn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Da(){}Da.prototype=Zn.prototype;function es(e,t,n){this.props=e,this.context=t,this.refs=ja,this.updater=n||Pa}var ts=es.prototype=new Da;ts.constructor=es;Oa(ts,Zn.prototype);ts.isPureReactComponent=!0;var ru=Array.isArray,La=Object.prototype.hasOwnProperty,ns={current:null},Ia={key:!0,ref:!0,__self:!0,__source:!0};function Aa(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)La.call(t,r)&&!Ia.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var u=Array(s),a=0;a<s;a++)u[a]=arguments[a+2];l.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:Kr,type:e,key:o,ref:i,props:l,_owner:ns.current}}function Pf(e,t){return{$$typeof:Kr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function rs(e){return typeof e=="object"&&e!==null&&e.$$typeof===Kr}function Of(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var lu=/\/+/g;function Ro(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Of(""+e.key):t.toString(36)}function wl(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Kr:case vf:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Ro(i,0):r,ru(l)?(n="",e!=null&&(n=e.replace(lu,"$&/")+"/"),wl(l,t,n,"",function(a){return a})):l!=null&&(rs(l)&&(l=Pf(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(lu,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",ru(e))for(var s=0;s<e.length;s++){o=e[s];var u=r+Ro(o,s);i+=wl(o,t,n,u,l)}else if(u=Rf(e),typeof u=="function")for(e=u.call(e),s=0;!(o=e.next()).done;)o=o.value,u=r+Ro(o,s++),i+=wl(o,t,n,u,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function nl(e,t,n){if(e==null)return e;var r=[],l=0;return wl(e,r,"","",function(o){return t.call(n,o,l++)}),r}function jf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Be={current:null},Sl={transition:null},Df={ReactCurrentDispatcher:Be,ReactCurrentBatchConfig:Sl,ReactCurrentOwner:ns};function za(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:nl,forEach:function(e,t,n){nl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return nl(e,function(){t++}),t},toArray:function(e){return nl(e,function(t){return t})||[]},only:function(e){if(!rs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=Zn;J.Fragment=_f;J.Profiler=Sf;J.PureComponent=es;J.StrictMode=wf;J.Suspense=xf;J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Df;J.act=za;J.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Oa({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=ns.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)La.call(t,u)&&!Ia.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var a=0;a<u;a++)s[a]=arguments[a+2];r.children=s}return{$$typeof:Kr,type:e.type,key:l,ref:o,props:r,_owner:i}};J.createContext=function(e){return e={$$typeof:Nf,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Ef,_context:e},e.Consumer=e};J.createElement=Aa;J.createFactory=function(e){var t=Aa.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:kf,render:e}};J.isValidElement=rs;J.lazy=function(e){return{$$typeof:Tf,_payload:{_status:-1,_result:e},_init:jf}};J.memo=function(e,t){return{$$typeof:Cf,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Sl.transition;Sl.transition={};try{e()}finally{Sl.transition=t}};J.unstable_act=za;J.useCallback=function(e,t){return Be.current.useCallback(e,t)};J.useContext=function(e){return Be.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return Be.current.useDeferredValue(e)};J.useEffect=function(e,t){return Be.current.useEffect(e,t)};J.useId=function(){return Be.current.useId()};J.useImperativeHandle=function(e,t,n){return Be.current.useImperativeHandle(e,t,n)};J.useInsertionEffect=function(e,t){return Be.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return Be.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return Be.current.useMemo(e,t)};J.useReducer=function(e,t,n){return Be.current.useReducer(e,t,n)};J.useRef=function(e){return Be.current.useRef(e)};J.useState=function(e){return Be.current.useState(e)};J.useSyncExternalStore=function(e,t,n){return Be.current.useSyncExternalStore(e,t,n)};J.useTransition=function(){return Be.current.useTransition()};J.version="18.3.1";Ra.exports=J;var q=Ra.exports;const Lf=yf(q);/**

yanfweifan / index-D_VQjNLE.js

0 Kedvelések
0 forkok
1 fájlok
Utoljára aktív 5 months ago
1 (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".api-render-page{display:flex;flex-direction:column;height:100%;background:#f7f3e8;padding:16px}.event-status-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;margin-bottom:12px;color:#fff;font-size:13px}.event-code{font-weight:600}.event-type{padding:2px 10px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase}.event-type.tool_event_start{background:#ffc1074d;color:#ffc107}.event-type.tool_event_end{background:#4caf504d;color:#4caf50}.event-type.tool_event_process{background:#2196f34d;color:#2196f3}.update-params{font-family:monospace;background:#ffffff26;padding:2px 8px;border-radius:4px;font-size:11px}.store-info-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:12px;overflow:hidden}.store-info-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.store-info-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.store-id{font-size:12px;color:#999;font-family:monospace}.store-info-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:16px}.info-row{display:flex;gap:8px;font-size:13px}.info-label{color:#888;white-space:nowrap}.info-value{color:#333;font-weight:500}.empty-store{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;background:#fff;border-radius:8px;color:#999;text-align:center}.empty-store p{margin:4px 0}.empty-store .hint{font-size:12px;color:#ccc}.render-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.dish-info{display:flex;align-items:center;gap:12px}.dish-name{margin:0;font-size:24px;color:#c41e3a;font-weight:600}.dish-tags{display:flex;gap:8px}.tag{padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500}.tag.cuisine{background:#fff0f0;color:#c41e3a;border:1px solid #ffcdd2}.tag.category{background:#e3f2fd;color:#1976d2;border:1px solid #bbdefb}.dish-meta{display:flex;gap:20px}.meta-item{font-size:14px;color:#666}.meta-item.cost{color:#c41e3a;font-weight:600}.clear-all-btn{padding:6px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#666;font-size:12px;cursor:pointer}.clear-all-btn:hover{background:#f5f5f5}.edit-tip{display:flex;justify-content:space-between;margin-bottom:12px;font-size:12px;color:#999}.render-grid{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:1fr 1fr;gap:12px;flex:1;min-height:0}.grid-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;display:flex;flex-direction:column;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.card-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.card-toggle{color:#999;font-size:16px;cursor:pointer}.card-content{flex:1;overflow:auto;padding:12px 16px}.empty-card{display:flex;align-items:center;justify-content:center;height:100px;color:#999;font-size:13px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:8px 10px;background:#f5f5f5;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.data-table td{padding:8px 10px;border-bottom:1px solid #f0f0f0;color:#333}.data-table tbody tr:nth-child(2n){background:#fafafa}.data-table tbody tr:hover{background:#f5f5f5}.process-card{grid-column:1;grid-row:1}.col-num{width:30px;text-align:center!important;color:#999}.col-name{width:120px}.col-role{width:70px}.col-time{width:60px}.col-points{color:#888!important;font-size:12px}.role-badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500}.role-gray{background:#f0f0f0;color:#666}.role-green{background:#e8f5e9;color:#2e7d32}.role-blue{background:#e3f2fd;color:#1565c0}.role-orange{background:#fff3e0;color:#e65100}.role-purple{background:#f3e5f5;color:#7b1fa2}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #eee}.summary{font-size:12px;color:#666}.add-btn{padding:6px 12px;border:1px dashed #ccc;border-radius:4px;background:transparent;color:#666;font-size:12px;cursor:pointer;transition:all .2s}.add-btn:hover{border-color:#667eea;color:#667eea}.cost-card{grid-column:2;grid-row:1}.cost-card .subtotal{font-weight:500;color:#333}.cost-total{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:14px}.cost-total .total-value{font-size:18px;font-weight:600;color:#c41e3a}.scenario-card{grid-column:1;grid-row:2}.scenario-list{list-style:none;padding:0;margin:0}.scenario-list li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;font-size:14px;color:#333}.scenario-list .bullet{width:6px;height:6px;border-radius:50%;background:#ff9800;margin-top:6px;flex-shrink:0}.schedule-card{grid-column:2;grid-row:2}.schedule-card .impact{color:#c41e3a;font-weight:500;font-family:monospace}.schedule-card .status{color:#4caf50;font-weight:500}.schedule-footer{margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:12px;color:#4caf50;text-align:center}.render-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0}.footer-left{font-size:12px;color:#999}.footer-right{display:flex;gap:12px}.action-btn{padding:10px 20px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.action-btn.save{background:#fff;border:1px solid #8d6e63;color:#5d4037}.action-btn.save:hover{background:#f5f5f5}.action-btn.stock{background:#5d4037;border:none;color:#fff}.action-btn.stock:hover{background:#4e342e}@media (max-width: 1200px){.render-grid{grid-template-columns:1fr;grid-template-rows:auto}.process-card,.cost-card,.scenario-card,.schedule-card{grid-column:1;grid-row:auto}}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f7f3e8}.app-container{height:100vh;display:flex;flex-direction:column}.app-main{flex:1;padding:16px;overflow:hidden}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f5f5f5;color:#333;line-height:1.6}.app-container{min-height:100vh;padding:24px}.page-header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.page-title{font-size:24px;font-weight:600;color:#1a1a1a}.page-subtitle{font-size:14px;color:#888}.main-content{display:grid;grid-template-columns:360px 1fr;gap:24px}.left-column,.right-column{display:flex;flex-direction:column;gap:20px}.card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.card-header{padding:20px 24px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.card-header h3{font-size:16px;font-weight:600;color:#1a1a1a;display:flex;align-items:center;gap:8px}.card-body{padding:20px 24px}.dish-info-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.dish-info-header{padding:24px;border-bottom:1px solid #f0f0f0}.dish-name-row{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.dish-name{font-size:24px;font-weight:600;color:#1a1a1a;flex:1}.dish-icon{width:40px;height:40px;background:linear-gradient(135deg,#ff6b6b,#ee5a24);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px}.dish-tags{display:flex;gap:8px;flex-wrap:wrap}.tag{padding:4px 12px;border-radius:16px;font-size:12px;font-weight:500}.tag-cuisine{background:#fff0e6;color:#ee5a24}.tag-type{background:#e6f7ff;color:#1890ff}.tag-version{background:#f5f5f5;color:#666}.dish-description{font-size:14px;color:#666;line-height:1.8;margin-top:16px;padding-top:16px;border-top:1px solid #f0f0f0}.dish-info-actions{padding:20px 24px;display:flex;gap:12px;justify-content:flex-end;background:#fafafa}.btn{padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;font-size:14px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-default{background:#fff;border:1px solid #d9d9d9;color:#666}.btn-default:hover{border-color:#667eea;color:#667eea}.btn-danger{background:#fff1f0;border:1px solid #ffa39e;color:#ff4d4f}.btn-danger:hover{background:#ff4d4f;color:#fff}.step-list{display:flex;flex-direction:column;gap:0}.step-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.step-item:last-child{border-bottom:none}.step-order{width:28px;height:28px;background:#667eea;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.step-content{flex:1}.step-name{font-size:14px;font-weight:500;color:#333;margin-bottom:4px}.step-meta{font-size:12px;color:#888}.step-keypoint{margin-top:8px;padding:8px 12px;background:#f8f9fa;border-radius:6px;font-size:13px;color:#666;border-left:3px solid #667eea}.cost-table{width:100%;border-collapse:collapse}.cost-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:12px;font-weight:500;color:#888;border-bottom:1px solid #f0f0f0}.cost-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.cost-table td:last-child{text-align:right;font-weight:500}.cost-total-row{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;margin-top:16px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center}.cost-total-label{font-size:14px;font-weight:500}.cost-total-value{font-size:24px;font-weight:700}.schedule-list{display:flex;flex-direction:column;gap:0}.schedule-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.schedule-item:last-child{border-bottom:none}.chef-avatar{width:44px;height:44px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.chef-info{flex:1}.chef-name{font-size:14px;font-weight:500;color:#333;margin-bottom:2px}.chef-role{font-size:12px;color:#888}.chef-time{text-align:right}.chef-additional-time{font-size:18px;font-weight:600;color:#667eea}.chef-unit{font-size:12px;color:#888}.schedule-total{margin-top:16px;padding:16px 20px;background:#f8f9fa;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.schedule-total-label{font-size:14px;color:#666}.schedule-total-value{font-size:20px;font-weight:700;color:#333}.scenario-list{display:flex;flex-direction:column;gap:12px}.scenario-item{padding:16px;background:#f8f9fa;border-radius:8px;font-size:14px;color:#333;line-height:1.6;border-left:3px solid #667eea}.data-table{width:100%;border-collapse:collapse}.data-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:13px;font-weight:500;color:#666;border-bottom:1px solid #f0f0f0}.data-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.data-table tbody tr:hover{background:#fafafa}.data-table tbody tr:last-child td{border-bottom:none}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}@media (max-width: 1024px){.main-content{grid-template-columns:1fr}.left-column{order:-1}}@media (max-width: 768px){.app-container{padding:16px}.dish-info-actions{flex-direction:column}.btn{width:100%}}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2 (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Tf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xu={exports:{}},Ol={},Yu={exports:{}},D={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var mr=Symbol.for("react.element"),Of=Symbol.for("react.portal"),Lf=Symbol.for("react.fragment"),zf=Symbol.for("react.strict_mode"),Af=Symbol.for("react.profiler"),jf=Symbol.for("react.provider"),Df=Symbol.for("react.context"),Ff=Symbol.for("react.forward_ref"),If=Symbol.for("react.suspense"),Uf=Symbol.for("react.memo"),Mf=Symbol.for("react.lazy"),ks=Symbol.iterator;function Bf(e){return e===null||typeof e!="object"?null:(e=ks&&e[ks]||e["@@iterator"],typeof e=="function"?e:null)}var qu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ju=Object.assign,Gu={};function Nn(e,t,n){this.props=e,this.context=t,this.refs=Gu,this.updater=n||qu}Nn.prototype.isReactComponent={};Nn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Nn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zu(){}Zu.prototype=Nn.prototype;function xi(e,t,n){this.props=e,this.context=t,this.refs=Gu,this.updater=n||qu}var Ci=xi.prototype=new Zu;Ci.constructor=xi;Ju(Ci,Nn.prototype);Ci.isPureReactComponent=!0;var _s=Array.isArray,bu=Object.prototype.hasOwnProperty,Ni={current:null},ea={key:!0,ref:!0,__self:!0,__source:!0};function ta(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)bu.call(t,r)&&!ea.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var u=Array(s),a=0;a<s;a++)u[a]=arguments[a+2];l.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:mr,type:e,key:o,ref:i,props:l,_owner:Ni.current}}function $f(e,t){return{$$typeof:mr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ri(e){return typeof e=="object"&&e!==null&&e.$$typeof===mr}function Hf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var xs=/\/+/g;function Gl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Hf(""+e.key):t.toString(36)}function Wr(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case mr:case Of:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Gl(i,0):r,_s(l)?(n="",e!=null&&(n=e.replace(xs,"$&/")+"/"),Wr(l,t,n,"",function(a){return a})):l!=null&&(Ri(l)&&(l=$f(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(xs,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",_s(e))for(var s=0;s<e.length;s++){o=e[s];var u=r+Gl(o,s);i+=Wr(o,t,n,u,l)}else if(u=Bf(e),typeof u=="function")for(e=u.call(e),s=0;!(o=e.next()).done;)o=o.value,u=r+Gl(o,s++),i+=Wr(o,t,n,u,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Nr(e,t,n){if(e==null)return e;var r=[],l=0;return Wr(e,r,"","",function(o){return t.call(n,o,l++)}),r}function Vf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var me={current:null},Qr={transition:null},Wf={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:Qr,ReactCurrentOwner:Ni};function na(){throw Error("act(...) is not supported in production builds of React.")}D.Children={map:Nr,forEach:function(e,t,n){Nr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Nr(e,function(){t++}),t},toArray:function(e){return Nr(e,function(t){return t})||[]},only:function(e){if(!Ri(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=Nn;D.Fragment=Lf;D.Profiler=Af;D.PureComponent=xi;D.StrictMode=zf;D.Suspense=If;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wf;D.act=na;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ju({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=Ni.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)bu.call(t,u)&&!ea.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var a=0;a<u;a++)s[a]=arguments[a+2];r.children=s}return{$$typeof:mr,type:e.type,key:l,ref:o,props:r,_owner:i}};D.createContext=function(e){return e={$$typeof:Df,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:jf,_context:e},e.Consumer=e};D.createElement=ta;D.createFactory=function(e){var t=ta.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:Ff,render:e}};D.isValidElement=Ri;D.lazy=function(e){return{$$typeof:Mf,_payload:{_status:-1,_result:e},_init:Vf}};D.memo=function(e,t){return{$$typeof:Uf,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=Qr.transition;Qr.transition={};try{e()}finally{Qr.transition=t}};D.unstable_act=na;D.useCallback=function(e,t){return me.current.useCallback(e,t)};D.useContext=function(e){return me.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return me.current.useDeferredValue(e)};D.useEffect=function(e,t){return me.current.useEffect(e,t)};D.useId=function(){return me.current.useId()};D.useImperativeHandle=function(e,t,n){return me.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return me.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return me.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return me.current.useMemo(e,t)};D.useReducer=function(e,t,n){return me.current.useReducer(e,t,n)};D.useRef=function(e){return me.current.useRef(e)};D.useState=function(e){return me.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return me.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return me.current.useTransition()};D.version="18.3.1";Yu.exports=D;var Ae=Yu.exports;const Qf=Tf(Ae);/**

yanfweifan / index-DXcTugCq.js

0 Kedvelések
0 forkok
1 fájlok
Utoljára aktív 5 months ago
1 (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".api-render-page{display:flex;flex-direction:column;height:100%;background:#f7f3e8;padding:16px}.event-status-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;margin-bottom:12px;color:#fff;font-size:13px}.event-code{font-weight:600}.event-type{padding:2px 10px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase}.event-type.tool_event_start{background:#ffc1074d;color:#ffc107}.event-type.tool_event_end{background:#4caf504d;color:#4caf50}.event-type.tool_event_process{background:#2196f34d;color:#2196f3}.update-params{font-family:monospace;background:#ffffff26;padding:2px 8px;border-radius:4px;font-size:11px}.store-info-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:12px;overflow:hidden}.store-info-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.store-info-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.store-id{font-size:12px;color:#999;font-family:monospace}.store-info-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:16px}.info-row{display:flex;gap:8px;font-size:13px}.info-label{color:#888;white-space:nowrap}.info-value{color:#333;font-weight:500}.empty-store{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;background:#fff;border-radius:8px;color:#999;text-align:center}.empty-store p{margin:4px 0}.empty-store .hint{font-size:12px;color:#ccc}.render-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.dish-info{display:flex;align-items:center;gap:12px}.dish-name{margin:0;font-size:24px;color:#c41e3a;font-weight:600}.dish-tags{display:flex;gap:8px}.tag{padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500}.tag.cuisine{background:#fff0f0;color:#c41e3a;border:1px solid #ffcdd2}.tag.category{background:#e3f2fd;color:#1976d2;border:1px solid #bbdefb}.dish-meta{display:flex;gap:20px}.meta-item{font-size:14px;color:#666}.meta-item.cost{color:#c41e3a;font-weight:600}.clear-all-btn{padding:6px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#666;font-size:12px;cursor:pointer}.clear-all-btn:hover{background:#f5f5f5}.edit-tip{display:flex;justify-content:space-between;margin-bottom:12px;font-size:12px;color:#999}.render-grid{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:1fr 1fr;gap:12px;flex:1;min-height:0}.grid-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;display:flex;flex-direction:column;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.card-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.card-toggle{color:#999;font-size:16px;cursor:pointer}.card-content{flex:1;overflow:auto;padding:12px 16px}.empty-card{display:flex;align-items:center;justify-content:center;height:100px;color:#999;font-size:13px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:8px 10px;background:#f5f5f5;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.data-table td{padding:8px 10px;border-bottom:1px solid #f0f0f0;color:#333}.data-table tbody tr:nth-child(2n){background:#fafafa}.data-table tbody tr:hover{background:#f5f5f5}.process-card{grid-column:1;grid-row:1}.col-num{width:30px;text-align:center!important;color:#999}.col-name{width:120px}.col-role{width:70px}.col-time{width:60px}.col-points{color:#888!important;font-size:12px}.role-badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500}.role-gray{background:#f0f0f0;color:#666}.role-green{background:#e8f5e9;color:#2e7d32}.role-blue{background:#e3f2fd;color:#1565c0}.role-orange{background:#fff3e0;color:#e65100}.role-purple{background:#f3e5f5;color:#7b1fa2}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #eee}.summary{font-size:12px;color:#666}.add-btn{padding:6px 12px;border:1px dashed #ccc;border-radius:4px;background:transparent;color:#666;font-size:12px;cursor:pointer;transition:all .2s}.add-btn:hover{border-color:#667eea;color:#667eea}.cost-card{grid-column:2;grid-row:1}.cost-card .subtotal{font-weight:500;color:#333}.cost-total{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:14px}.cost-total .total-value{font-size:18px;font-weight:600;color:#c41e3a}.scenario-card{grid-column:1;grid-row:2}.scenario-list{list-style:none;padding:0;margin:0}.scenario-list li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;font-size:14px;color:#333}.scenario-list .bullet{width:6px;height:6px;border-radius:50%;background:#ff9800;margin-top:6px;flex-shrink:0}.schedule-card{grid-column:2;grid-row:2}.schedule-card .impact{color:#c41e3a;font-weight:500;font-family:monospace}.schedule-card .status{color:#4caf50;font-weight:500}.schedule-footer{margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:12px;color:#4caf50;text-align:center}.render-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0}.footer-left{font-size:12px;color:#999}.footer-right{display:flex;gap:12px}.action-btn{padding:10px 20px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.action-btn.save{background:#fff;border:1px solid #8d6e63;color:#5d4037}.action-btn.save:hover{background:#f5f5f5}.action-btn.stock{background:#5d4037;border:none;color:#fff}.action-btn.stock:hover{background:#4e342e}@media (max-width: 1200px){.render-grid{grid-template-columns:1fr;grid-template-rows:auto}.process-card,.cost-card,.scenario-card,.schedule-card{grid-column:1;grid-row:auto}}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f7f3e8}.app-container{height:100vh;display:flex;flex-direction:column}.app-main{flex:1;padding:16px;overflow:hidden}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f5f5f5;color:#333;line-height:1.6}.app-container{min-height:100vh;padding:24px}.page-header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.page-title{font-size:24px;font-weight:600;color:#1a1a1a}.page-subtitle{font-size:14px;color:#888}.main-content{display:grid;grid-template-columns:360px 1fr;gap:24px}.left-column,.right-column{display:flex;flex-direction:column;gap:20px}.card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.card-header{padding:20px 24px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.card-header h3{font-size:16px;font-weight:600;color:#1a1a1a;display:flex;align-items:center;gap:8px}.card-body{padding:20px 24px}.dish-info-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.dish-info-header{padding:24px;border-bottom:1px solid #f0f0f0}.dish-name-row{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.dish-name{font-size:24px;font-weight:600;color:#1a1a1a;flex:1}.dish-icon{width:40px;height:40px;background:linear-gradient(135deg,#ff6b6b,#ee5a24);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px}.dish-tags{display:flex;gap:8px;flex-wrap:wrap}.tag{padding:4px 12px;border-radius:16px;font-size:12px;font-weight:500}.tag-cuisine{background:#fff0e6;color:#ee5a24}.tag-type{background:#e6f7ff;color:#1890ff}.tag-version{background:#f5f5f5;color:#666}.dish-description{font-size:14px;color:#666;line-height:1.8;margin-top:16px;padding-top:16px;border-top:1px solid #f0f0f0}.dish-info-actions{padding:20px 24px;display:flex;gap:12px;justify-content:flex-end;background:#fafafa}.btn{padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;font-size:14px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-default{background:#fff;border:1px solid #d9d9d9;color:#666}.btn-default:hover{border-color:#667eea;color:#667eea}.btn-danger{background:#fff1f0;border:1px solid #ffa39e;color:#ff4d4f}.btn-danger:hover{background:#ff4d4f;color:#fff}.step-list{display:flex;flex-direction:column;gap:0}.step-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.step-item:last-child{border-bottom:none}.step-order{width:28px;height:28px;background:#667eea;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.step-content{flex:1}.step-name{font-size:14px;font-weight:500;color:#333;margin-bottom:4px}.step-meta{font-size:12px;color:#888}.step-keypoint{margin-top:8px;padding:8px 12px;background:#f8f9fa;border-radius:6px;font-size:13px;color:#666;border-left:3px solid #667eea}.cost-table{width:100%;border-collapse:collapse}.cost-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:12px;font-weight:500;color:#888;border-bottom:1px solid #f0f0f0}.cost-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.cost-table td:last-child{text-align:right;font-weight:500}.cost-total-row{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;margin-top:16px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center}.cost-total-label{font-size:14px;font-weight:500}.cost-total-value{font-size:24px;font-weight:700}.schedule-list{display:flex;flex-direction:column;gap:0}.schedule-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.schedule-item:last-child{border-bottom:none}.chef-avatar{width:44px;height:44px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.chef-info{flex:1}.chef-name{font-size:14px;font-weight:500;color:#333;margin-bottom:2px}.chef-role{font-size:12px;color:#888}.chef-time{text-align:right}.chef-additional-time{font-size:18px;font-weight:600;color:#667eea}.chef-unit{font-size:12px;color:#888}.schedule-total{margin-top:16px;padding:16px 20px;background:#f8f9fa;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.schedule-total-label{font-size:14px;color:#666}.schedule-total-value{font-size:20px;font-weight:700;color:#333}.scenario-list{display:flex;flex-direction:column;gap:12px}.scenario-item{padding:16px;background:#f8f9fa;border-radius:8px;font-size:14px;color:#333;line-height:1.6;border-left:3px solid #667eea}.data-table{width:100%;border-collapse:collapse}.data-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:13px;font-weight:500;color:#666;border-bottom:1px solid #f0f0f0}.data-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.data-table tbody tr:hover{background:#fafafa}.data-table tbody tr:last-child td{border-bottom:none}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}@media (max-width: 1024px){.main-content{grid-template-columns:1fr}.left-column{order:-1}}@media (max-width: 768px){.app-container{padding:16px}.dish-info-actions{flex-direction:column}.btn{width:100%}}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2 (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Tf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xu={exports:{}},Ol={},Yu={exports:{}},D={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var mr=Symbol.for("react.element"),Of=Symbol.for("react.portal"),Lf=Symbol.for("react.fragment"),zf=Symbol.for("react.strict_mode"),Af=Symbol.for("react.profiler"),jf=Symbol.for("react.provider"),Df=Symbol.for("react.context"),Ff=Symbol.for("react.forward_ref"),If=Symbol.for("react.suspense"),Uf=Symbol.for("react.memo"),Mf=Symbol.for("react.lazy"),ks=Symbol.iterator;function Bf(e){return e===null||typeof e!="object"?null:(e=ks&&e[ks]||e["@@iterator"],typeof e=="function"?e:null)}var qu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ju=Object.assign,Gu={};function Nn(e,t,n){this.props=e,this.context=t,this.refs=Gu,this.updater=n||qu}Nn.prototype.isReactComponent={};Nn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Nn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zu(){}Zu.prototype=Nn.prototype;function xi(e,t,n){this.props=e,this.context=t,this.refs=Gu,this.updater=n||qu}var Ci=xi.prototype=new Zu;Ci.constructor=xi;Ju(Ci,Nn.prototype);Ci.isPureReactComponent=!0;var _s=Array.isArray,bu=Object.prototype.hasOwnProperty,Ni={current:null},ea={key:!0,ref:!0,__self:!0,__source:!0};function ta(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)bu.call(t,r)&&!ea.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var u=Array(s),a=0;a<s;a++)u[a]=arguments[a+2];l.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:mr,type:e,key:o,ref:i,props:l,_owner:Ni.current}}function $f(e,t){return{$$typeof:mr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ri(e){return typeof e=="object"&&e!==null&&e.$$typeof===mr}function Hf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var xs=/\/+/g;function Gl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Hf(""+e.key):t.toString(36)}function Wr(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case mr:case Of:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Gl(i,0):r,_s(l)?(n="",e!=null&&(n=e.replace(xs,"$&/")+"/"),Wr(l,t,n,"",function(a){return a})):l!=null&&(Ri(l)&&(l=$f(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(xs,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",_s(e))for(var s=0;s<e.length;s++){o=e[s];var u=r+Gl(o,s);i+=Wr(o,t,n,u,l)}else if(u=Bf(e),typeof u=="function")for(e=u.call(e),s=0;!(o=e.next()).done;)o=o.value,u=r+Gl(o,s++),i+=Wr(o,t,n,u,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Nr(e,t,n){if(e==null)return e;var r=[],l=0;return Wr(e,r,"","",function(o){return t.call(n,o,l++)}),r}function Vf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var me={current:null},Qr={transition:null},Wf={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:Qr,ReactCurrentOwner:Ni};function na(){throw Error("act(...) is not supported in production builds of React.")}D.Children={map:Nr,forEach:function(e,t,n){Nr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Nr(e,function(){t++}),t},toArray:function(e){return Nr(e,function(t){return t})||[]},only:function(e){if(!Ri(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=Nn;D.Fragment=Lf;D.Profiler=Af;D.PureComponent=xi;D.StrictMode=zf;D.Suspense=If;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wf;D.act=na;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ju({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=Ni.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)bu.call(t,u)&&!ea.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var a=0;a<u;a++)s[a]=arguments[a+2];r.children=s}return{$$typeof:mr,type:e.type,key:l,ref:o,props:r,_owner:i}};D.createContext=function(e){return e={$$typeof:Df,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:jf,_context:e},e.Consumer=e};D.createElement=ta;D.createFactory=function(e){var t=ta.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:Ff,render:e}};D.isValidElement=Ri;D.lazy=function(e){return{$$typeof:Mf,_payload:{_status:-1,_result:e},_init:Vf}};D.memo=function(e,t){return{$$typeof:Uf,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=Qr.transition;Qr.transition={};try{e()}finally{Qr.transition=t}};D.unstable_act=na;D.useCallback=function(e,t){return me.current.useCallback(e,t)};D.useContext=function(e){return me.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return me.current.useDeferredValue(e)};D.useEffect=function(e,t){return me.current.useEffect(e,t)};D.useId=function(){return me.current.useId()};D.useImperativeHandle=function(e,t,n){return me.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return me.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return me.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return me.current.useMemo(e,t)};D.useReducer=function(e,t,n){return me.current.useReducer(e,t,n)};D.useRef=function(e){return me.current.useRef(e)};D.useState=function(e){return me.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return me.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return me.current.useTransition()};D.version="18.3.1";Yu.exports=D;var Ae=Yu.exports;const Qf=Tf(Ae);/**

yanfweifan / index-pAlPHHm6.js

0 Kedvelések
0 forkok
1 fájlok
Utoljára aktív 5 months ago
1 (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".api-render-page{display:flex!important;flex-direction:column!important;height:100%!important;background:#f7f3e8!important;padding:16px!important;box-sizing:border-box!important;width:100%!important;overflow-x:hidden!important}.event-status-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;margin-bottom:12px;color:#fff;font-size:13px}.event-code{font-weight:600}.event-type{padding:2px 10px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase}.event-type.tool_event_start{background:#ffc1074d;color:#ffc107}.event-type.tool_event_end{background:#4caf504d;color:#4caf50}.event-type.tool_event_process{background:#2196f34d;color:#2196f3}.update-params{font-family:monospace;background:#ffffff26;padding:2px 8px;border-radius:4px;font-size:11px}.store-info-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:12px;overflow:hidden}.store-info-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.store-info-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.store-id{font-size:12px;color:#999;font-family:monospace}.store-info-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:16px}.info-row{display:flex;gap:8px;font-size:13px}.info-label{color:#888;white-space:nowrap}.info-value{color:#333;font-weight:500}.info-value.store-name{font-size:18px;font-weight:600;color:#c41e3a}.detail-grid{display:flex;flex-direction:row;width:100%;gap:12px;overflow:hidden}.detail-grid .steps-panel,.detail-grid .ingredient-panel{flex:1;min-width:0;overflow:hidden}.empty-store{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;background:#fff;border-radius:8px;color:#999;text-align:center}.empty-store p{margin:4px 0}.empty-store .hint{font-size:12px;color:#ccc}.render-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.dish-info{display:flex;align-items:center;gap:12px}.dish-name{margin:0;font-size:24px;color:#c41e3a;font-weight:600}.dish-tags{display:flex;gap:8px}.tag{padding:4px 12px;border-radius:16px;font-size:13px;font-weight:500}.tag.cuisine{background:#fff0f0;color:#c41e3a;border:1px solid #ffcdd2}.tag.category{background:#e3f2fd;color:#1976d2;border:1px solid #bbdefb}.dish-meta{display:flex;gap:20px}.meta-item{font-size:14px;color:#666}.meta-item.cost{color:#c41e3a;font-weight:600}.clear-all-btn{padding:6px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#666;font-size:12px;cursor:pointer}.clear-all-btn:hover{background:#f5f5f5}.edit-tip{display:flex;justify-content:space-between;margin-bottom:12px;font-size:12px;color:#999}.render-grid{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:1fr 1fr;gap:12px;flex:1;min-height:0}.grid-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;display:flex;flex-direction:column;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.card-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.card-toggle{color:#999;font-size:16px;cursor:pointer}.card-content{flex:1;overflow:auto;padding:12px 16px}.empty-card{display:flex;align-items:center;justify-content:center;height:100px;color:#999;font-size:13px}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:8px 10px;background:#f5f5f5;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.data-table td{padding:8px 10px;border-bottom:1px solid #f0f0f0;color:#333}.data-table tbody tr:nth-child(2n){background:#fafafa}.data-table tbody tr:hover{background:#f5f5f5}.process-card{grid-column:1;grid-row:1}.col-num{width:30px;text-align:center!important;color:#999}.col-name{width:120px}.col-role{width:70px}.col-time{width:60px}.col-points{color:#888!important;font-size:12px}.role-badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500}.role-gray{background:#f0f0f0;color:#666}.role-green{background:#e8f5e9;color:#2e7d32}.role-blue{background:#e3f2fd;color:#1565c0}.role-orange{background:#fff3e0;color:#e65100}.role-purple{background:#f3e5f5;color:#7b1fa2}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #eee}.summary{font-size:12px;color:#666}.add-btn{padding:6px 12px;border:1px dashed #ccc;border-radius:4px;background:transparent;color:#666;font-size:12px;cursor:pointer;transition:all .2s}.add-btn:hover{border-color:#667eea;color:#667eea}.cost-card{grid-column:2;grid-row:1}.cost-card .subtotal{font-weight:500;color:#333}.cost-total{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:14px}.cost-total .total-value{font-size:18px;font-weight:600;color:#c41e3a}.scenario-card{grid-column:1;grid-row:2}.scenario-list{list-style:none;padding:0;margin:0}.scenario-list li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;font-size:14px;color:#333}.scenario-list .bullet{width:6px;height:6px;border-radius:50%;background:#ff9800;margin-top:6px;flex-shrink:0}.schedule-card{grid-column:2;grid-row:2}.schedule-card .impact{color:#c41e3a;font-weight:500;font-family:monospace}.schedule-card .status{color:#4caf50;font-weight:500}.schedule-footer{margin-top:12px;padding-top:12px;border-top:1px solid #eee;font-size:12px;color:#4caf50;text-align:center}.render-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0}.footer-right{display:flex;gap:12px}.action-btn{padding:10px 20px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.action-btn.save{background:#fff;border:1px solid #8d6e63;color:#5d4037}.action-btn.save:hover{background:#f5f5f5}.action-btn.stock{background:#5d4037;border:none;color:#fff}.action-btn.stock:hover{background:#4e342e}@media (max-width: 1200px){.render-grid{grid-template-columns:1fr;grid-template-rows:auto}.process-card,.cost-card,.scenario-card,.schedule-card{grid-column:1;grid-row:auto}}.ingredient-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;overflow:hidden;display:flex;flex-direction:column;height:100%}.ingredient-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.ingredient-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.ingredient-count{font-size:12px;color:#999;font-family:monospace}.ingredient-table-container{padding:0;flex:1;overflow:auto}.ingredient-panel>.panel-header,.ingredient-panel>.ingredient-footer{flex-shrink:0}.ingredient-panel>.ingredient-table-container{flex:1 1 auto;overflow:auto;min-height:0}.ingredient-table{width:100%;border-collapse:collapse;font-size:13px}.ingredient-table th{text-align:left;padding:10px 16px;background:#fafafa;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.ingredient-table td{padding:10px 16px;border-bottom:1px solid #f0f0f0;color:#333}.ingredient-table tbody tr:nth-child(2n){background:#fafafa}.ingredient-table tbody tr:hover{background:#f5f5f5}.ingredient-table .col-ingredient{width:auto}.ingredient-type-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:500;margin-right:8px;background:#e8f5e9;color:#2e7d32}.ingredient-table .col-amount,.ingredient-table .col-unit-price{width:100px;text-align:right}.ingredient-table .col-subtotal{width:100px;text-align:right;font-weight:500;color:#c41e3a}.ingredient-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-top:1px solid #eee}.cost-summary{display:flex;align-items:center;gap:12px;font-size:14px}.cost-label{color:#666}.cost-value{font-size:18px;font-weight:600;color:#c41e3a}.ingredient-pagination{display:flex;align-items:center;gap:12px}.ingredient-pagination .page-btn{padding:4px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#666;font-size:12px;cursor:pointer;transition:all .2s}.ingredient-pagination .page-btn:hover:not(:disabled){border-color:#667eea;color:#667eea}.ingredient-pagination .page-btn:disabled{opacity:.5;cursor:not-allowed}.ingredient-pagination .page-info{font-size:12px;color:#999}.cell-truncate{cursor:pointer;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-expanded{cursor:pointer;white-space:normal;word-break:break-all;min-width:300px;max-width:none;width:auto;background-color:#fffbe6;padding:8px 12px;border-radius:4px;position:relative;z-index:10;box-shadow:0 2px 8px #00000026}.cell-truncate:hover{background-color:#f5f5f5}.steps-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;overflow:hidden;display:flex;flex-direction:column;height:100%}.steps-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fafafa;border-bottom:1px solid #eee}.steps-panel .panel-header h3{margin:0;font-size:15px;color:#333;font-weight:600}.steps-count{font-size:12px;color:#999;font-family:monospace}.steps-table-container{padding:0;flex:1;overflow:auto}.steps-panel>.panel-header,.steps-panel>.steps-footer{flex-shrink:0}.steps-panel>.steps-table-container{flex:1 1 auto;overflow:auto;min-height:0}.steps-table{width:100%;border-collapse:collapse;font-size:13px}.steps-table th{text-align:left;padding:10px 16px;background:#fafafa;color:#666;font-weight:500;border-bottom:2px solid #e0e0e0;white-space:nowrap}.steps-table td{padding:10px 16px;border-bottom:1px solid #f0f0f0;color:#333}.steps-table tbody tr:nth-child(2n){background:#fafafa}.steps-table tbody tr:hover{background:#f5f5f5}.steps-table .col-step-num{width:50px;text-align:center;color:#999;font-weight:500}.steps-table .col-step-desc{width:auto}.steps-table .col-step-cause{min-width:150px;max-width:250px;color:#666}.steps-table .col-step-points{min-width:150px;max-width:250px;color:#ff9800}.steps-table .col-step-duration{width:80px;text-align:right;color:#666}.steps-footer{display:flex;justify-content:flex-end;align-items:center;padding:12px 16px;background:#fafafa;border-top:1px solid #eee}.steps-summary{font-size:14px;color:#666}.steps-summary .total-duration{font-weight:600;color:#c41e3a}.dish-create-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;margin-bottom:12px;overflow:hidden}.dish-create-panel .panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:linear-gradient(135deg,#ff9800,#f57c00);border-bottom:1px solid #eee}.dish-create-panel.completed .panel-header{background:linear-gradient(135deg,#eee,#e0e0e0)}.dish-create-panel .panel-header h3{margin:0;font-size:15px;color:#fff;font-weight:600}.dish-create-panel.completed .panel-header h3{color:#ff8f00}.dish-status.creating{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;background:#ffffff40;color:#fff}.dish-status.completed{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;background:#00000014;color:#c62828}.dish-create-content{padding:16px}.dish-basic-info{display:flex;align-items:center;gap:12px}.dish-basic-info .dish-name{font-size:20px;font-weight:600;color:#c41e3a}.dish-scene{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff8e1;border-radius:6px}.scene-label{font-size:13px;color:#ff8f00;font-weight:500;white-space:nowrap}.scene-value{font-size:13px;color:#333}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;width:420px;max-width:90%;box-shadow:0 4px 20px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #eee}.modal-header h3{margin:0;font-size:18px;color:#333}.modal-close{background:none;border:none;font-size:24px;color:#999;cursor:pointer;line-height:1}.modal-close:hover{color:#666}.modal-body{padding:20px}.modal-body p{margin:0 0 16px;color:#666}.stock-summary{background:#fafafa;border-radius:8px;padding:16px}.stock-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee}.stock-item:last-child{border-bottom:none}.stock-label{color:#666;font-size:14px}.stock-value{color:#333;font-size:14px;font-weight:500}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #eee;background:#fafafa;border-radius:0 0 12px 12px}.btn{padding:10px 24px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-cancel{background:#fff;border:1px solid #ddd;color:#666}.btn-cancel:hover:not(:disabled){background:#f5f5f5}.btn-confirm{background:#5d4037;border:none;color:#fff}.btn-confirm:hover:not(:disabled){background:#4e342e}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f7f3e8}.app-container{height:100vh;display:flex;flex-direction:column}.app-main{flex:1;padding:16px;overflow:hidden}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f5f5f5;color:#333;line-height:1.6}.app-container{min-height:100vh;padding:24px}.page-header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.page-title{font-size:24px;font-weight:600;color:#1a1a1a}.page-subtitle{font-size:14px;color:#888}.main-content{display:grid;grid-template-columns:360px 1fr;gap:24px}.left-column,.right-column{display:flex;flex-direction:column;gap:20px}.card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.card-header{padding:20px 24px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.card-header h3{font-size:16px;font-weight:600;color:#1a1a1a;display:flex;align-items:center;gap:8px}.card-body{padding:20px 24px}.dish-info-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e8e8e8;overflow:hidden}.dish-info-header{padding:24px;border-bottom:1px solid #f0f0f0}.dish-name-row{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.dish-name{font-size:24px;font-weight:600;color:#1a1a1a;flex:1}.dish-icon{width:40px;height:40px;background:linear-gradient(135deg,#ff6b6b,#ee5a24);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px}.dish-tags{display:flex;gap:8px;flex-wrap:wrap}.tag{padding:4px 12px;border-radius:16px;font-size:12px;font-weight:500}.tag-cuisine{background:#fff0e6;color:#ee5a24}.tag-type{background:#e6f7ff;color:#1890ff}.tag-version{background:#f5f5f5;color:#666}.dish-description{font-size:14px;color:#666;line-height:1.8;margin-top:16px;padding-top:16px;border-top:1px solid #f0f0f0}.dish-info-actions{padding:20px 24px;display:flex;gap:12px;justify-content:flex-end;background:#fafafa}.btn{padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;font-size:14px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-default{background:#fff;border:1px solid #d9d9d9;color:#666}.btn-default:hover{border-color:#667eea;color:#667eea}.btn-danger{background:#fff1f0;border:1px solid #ffa39e;color:#ff4d4f}.btn-danger:hover{background:#ff4d4f;color:#fff}.step-list{display:flex;flex-direction:column;gap:0}.step-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.step-item:last-child{border-bottom:none}.step-order{width:28px;height:28px;background:#667eea;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.step-content{flex:1}.step-name{font-size:14px;font-weight:500;color:#333;margin-bottom:4px}.step-meta{font-size:12px;color:#888}.step-keypoint{margin-top:8px;padding:8px 12px;background:#f8f9fa;border-radius:6px;font-size:13px;color:#666;border-left:3px solid #667eea}.cost-table{width:100%;border-collapse:collapse}.cost-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:12px;font-weight:500;color:#888;border-bottom:1px solid #f0f0f0}.cost-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.cost-table td:last-child{text-align:right;font-weight:500}.cost-total-row{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;margin-top:16px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center}.cost-total-label{font-size:14px;font-weight:500}.cost-total-value{font-size:24px;font-weight:700}.schedule-list{display:flex;flex-direction:column;gap:0}.schedule-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #f5f5f5}.schedule-item:last-child{border-bottom:none}.chef-avatar{width:44px;height:44px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.chef-info{flex:1}.chef-name{font-size:14px;font-weight:500;color:#333;margin-bottom:2px}.chef-role{font-size:12px;color:#888}.chef-time{text-align:right}.chef-additional-time{font-size:18px;font-weight:600;color:#667eea}.chef-unit{font-size:12px;color:#888}.schedule-total{margin-top:16px;padding:16px 20px;background:#f8f9fa;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.schedule-total-label{font-size:14px;color:#666}.schedule-total-value{font-size:20px;font-weight:700;color:#333}.scenario-list{display:flex;flex-direction:column;gap:12px}.scenario-item{padding:16px;background:#f8f9fa;border-radius:8px;font-size:14px;color:#333;line-height:1.6;border-left:3px solid #667eea}.data-table{width:100%;border-collapse:collapse}.data-table th{background:#fafafa;padding:12px 16px;text-align:left;font-size:13px;font-weight:500;color:#666;border-bottom:1px solid #f0f0f0}.data-table td{padding:14px 16px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#333}.data-table tbody tr:hover{background:#fafafa}.data-table tbody tr:last-child td{border-bottom:none}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}@media (max-width: 1024px){.main-content{grid-template-columns:1fr}.left-column{order:-1}}@media (max-width: 768px){.app-container{padding:16px}.dish-info-actions{flex-direction:column}.btn{width:100%}}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2 (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Yf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var da={exports:{}},Wl={},pa={exports:{}},$={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Tr=Symbol.for("react.element"),Gf=Symbol.for("react.portal"),Zf=Symbol.for("react.fragment"),bf=Symbol.for("react.strict_mode"),ed=Symbol.for("react.profiler"),td=Symbol.for("react.provider"),nd=Symbol.for("react.context"),rd=Symbol.for("react.forward_ref"),ld=Symbol.for("react.suspense"),od=Symbol.for("react.memo"),id=Symbol.for("react.lazy"),$s=Symbol.iterator;function sd(e){return e===null||typeof e!="object"?null:(e=$s&&e[$s]||e["@@iterator"],typeof e=="function"?e:null)}var ha={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ma=Object.assign,ya={};function Mn(e,t,n){this.props=e,this.context=t,this.refs=ya,this.updater=n||ha}Mn.prototype.isReactComponent={};Mn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Mn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ga(){}ga.prototype=Mn.prototype;function Hi(e,t,n){this.props=e,this.context=t,this.refs=ya,this.updater=n||ha}var Vi=Hi.prototype=new ga;Vi.constructor=Hi;ma(Vi,Mn.prototype);Vi.isPureReactComponent=!0;var Hs=Array.isArray,va=Object.prototype.hasOwnProperty,Wi={current:null},wa={key:!0,ref:!0,__self:!0,__source:!0};function Sa(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)va.call(t,r)&&!wa.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var u=Array(s),a=0;a<s;a++)u[a]=arguments[a+2];l.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:Tr,type:e,key:o,ref:i,props:l,_owner:Wi.current}}function ud(e,t){return{$$typeof:Tr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Qi(e){return typeof e=="object"&&e!==null&&e.$$typeof===Tr}function ad(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Vs=/\/+/g;function yo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ad(""+e.key):t.toString(36)}function ll(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Tr:case Gf:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+yo(i,0):r,Hs(l)?(n="",e!=null&&(n=e.replace(Vs,"$&/")+"/"),ll(l,t,n,"",function(a){return a})):l!=null&&(Qi(l)&&(l=ud(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(Vs,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",Hs(e))for(var s=0;s<e.length;s++){o=e[s];var u=r+yo(o,s);i+=ll(o,t,n,u,l)}else if(u=sd(e),typeof u=="function")for(e=u.call(e),s=0;!(o=e.next()).done;)o=o.value,u=r+yo(o,s++),i+=ll(o,t,n,u,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Br(e,t,n){if(e==null)return e;var r=[],l=0;return ll(e,r,"","",function(o){return t.call(n,o,l++)}),r}function cd(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ce={current:null},ol={transition:null},fd={ReactCurrentDispatcher:Ce,ReactCurrentBatchConfig:ol,ReactCurrentOwner:Wi};function Ea(){throw Error("act(...) is not supported in production builds of React.")}$.Children={map:Br,forEach:function(e,t,n){Br(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Br(e,function(){t++}),t},toArray:function(e){return Br(e,function(t){return t})||[]},only:function(e){if(!Qi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};$.Component=Mn;$.Fragment=Zf;$.Profiler=ed;$.PureComponent=Hi;$.StrictMode=bf;$.Suspense=ld;$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fd;$.act=Ea;$.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ma({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=Wi.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)va.call(t,u)&&!wa.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var a=0;a<u;a++)s[a]=arguments[a+2];r.children=s}return{$$typeof:Tr,type:e.type,key:l,ref:o,props:r,_owner:i}};$.createContext=function(e){return e={$$typeof:nd,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:td,_context:e},e.Consumer=e};$.createElement=Sa;$.createFactory=function(e){var t=Sa.bind(null,e);return t.type=e,t};$.createRef=function(){return{current:null}};$.forwardRef=function(e){return{$$typeof:rd,render:e}};$.isValidElement=Qi;$.lazy=function(e){return{$$typeof:id,_payload:{_status:-1,_result:e},_init:cd}};$.memo=function(e,t){return{$$typeof:od,type:e,compare:t===void 0?null:t}};$.startTransition=function(e){var t=ol.transition;ol.transition={};try{e()}finally{ol.transition=t}};$.unstable_act=Ea;$.useCallback=function(e,t){return Ce.current.useCallback(e,t)};$.useContext=function(e){return Ce.current.useContext(e)};$.useDebugValue=function(){};$.useDeferredValue=function(e){return Ce.current.useDeferredValue(e)};$.useEffect=function(e,t){return Ce.current.useEffect(e,t)};$.useId=function(){return Ce.current.useId()};$.useImperativeHandle=function(e,t,n){return Ce.current.useImperativeHandle(e,t,n)};$.useInsertionEffect=function(e,t){return Ce.current.useInsertionEffect(e,t)};$.useLayoutEffect=function(e,t){return Ce.current.useLayoutEffect(e,t)};$.useMemo=function(e,t){return Ce.current.useMemo(e,t)};$.useReducer=function(e,t,n){return Ce.current.useReducer(e,t,n)};$.useRef=function(e){return Ce.current.useRef(e)};$.useState=function(e){return Ce.current.useState(e)};$.useSyncExternalStore=function(e,t,n){return Ce.current.useSyncExternalStore(e,t,n)};$.useTransition=function(){return Ce.current.useTransition()};$.version="18.3.1";pa.exports=$;var le=pa.exports;const dd=Yf(le);/**
Újabb Régebbi