@billgangcom/theme-lib 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,4 +2,4 @@
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-C8nZ3s7u.cjs"),j=require("react"),je=[{icon:"Desktop",value:"desktop"},{icon:"DeviceTabletCamera",value:"tablet"},{icon:"DeviceMobileCamera",value:"mobile"}],Se=[{icon:"PaintBrushBroad",name:"Colors"},{icon:"TextAa",name:"Fonts"},{icon:"CornersOut",name:"Borders"},{icon:"ArrowSquareIn",name:"Buttons"},{icon:"Textbox",name:"Inputs"}],Ce="https://g-api.billgang.com",_e="https://www.googleapis.com/webfonts/v1/webfonts",be=["Acorn","Activity","AddressBook","AddressBookTabs","AirTrafficControl","Airplane","AirplaneInFlight","AirplaneLanding","AirplaneTakeoff","AirplaneTaxiing","AirplaneTilt","Airplay","Alarm","Alien","AlignBottom","AlignBottomSimple","AlignCenterHorizontal","AlignCenterHorizontalSimple","AlignCenterVertical","AlignCenterVerticalSimple","AlignLeft","AlignLeftSimple","AlignRight","AlignRightSimple","AlignTop","AlignTopSimple","AmazonLogo","Ambulance","Anchor","AnchorSimple","AndroidLogo","Angle","AngularLogo","Aperture","AppStoreLogo","AppWindow","AppleLogo","ApplePodcastsLogo","ApproximateEquals","Archive","ArchiveBox","ArchiveTray","Armchair","ArrowArcLeft","ArrowArcRight","ArrowBendDoubleUpLeft","ArrowBendDoubleUpRight","ArrowBendDownLeft","ArrowBendDownRight","ArrowBendLeftDown","ArrowBendLeftUp","ArrowBendRightDown","ArrowBendRightUp","ArrowBendUpLeft","ArrowBendUpRight","ArrowCircleDown","ArrowCircleDownLeft","ArrowCircleDownRight","ArrowCircleLeft","ArrowCircleRight","ArrowCircleUp","ArrowCircleUpLeft","ArrowCircleUpRight","ArrowClockwise","ArrowCounterClockwise","ArrowDown","ArrowDownLeft","ArrowDownRight","ArrowElbowDownLeft","ArrowElbowDownRight","ArrowElbowLeft","ArrowElbowLeftDown","ArrowElbowLeftUp","ArrowElbowRight","ArrowElbowRightDown","ArrowElbowRightUp","ArrowElbowUpLeft","ArrowElbowUpRight","ArrowFatDown","ArrowFatLeft","ArrowFatLineDown","ArrowFatLineLeft","ArrowFatLineRight","ArrowFatLineUp","ArrowFatLinesDown","ArrowFatLinesLeft","ArrowFatLinesRight","ArrowFatLinesUp","ArrowFatRight","ArrowFatUp","ArrowLeft","ArrowLineDown","ArrowLineDownLeft","ArrowLineDownRight","ArrowLineLeft","ArrowLineRight","ArrowLineUp","ArrowLineUpLeft","ArrowLineUpRight","ArrowRight","ArrowSquareDown","ArrowSquareDownLeft","ArrowSquareDownRight","ArrowSquareIn","ArrowSquareLeft","ArrowSquareOut","ArrowSquareRight","ArrowSquareUp","ArrowSquareUpLeft","ArrowSquareUpRight","ArrowUDownLeft","ArrowUDownRight","ArrowULeftDown","ArrowULeftUp","ArrowURightDown","ArrowURightUp","ArrowUUpLeft","ArrowUUpRight","ArrowUp","ArrowUpLeft","ArrowUpRight","ArrowsClockwise","ArrowsCounterClockwise","ArrowsDownUp","ArrowsHorizontal","ArrowsIn","ArrowsInCardinal","ArrowsInLineHorizontal","ArrowsInLineVertical","ArrowsInSimple","ArrowsLeftRight","ArrowsMerge","ArrowsOut","ArrowsOutCardinal","ArrowsOutLineHorizontal","ArrowsOutLineVertical","ArrowsOutSimple","ArrowsSplit","ArrowsVertical","Article","ArticleMedium","ArticleNyTimes","Asclepius","Asterisk","AsteriskSimple","At","Atom","Avocado","Axe","Baby","BabyCarriage","Backpack","Backspace","Bag","BagSimple","Balloon","Bandaids","Bank","Barbell","Barcode","Barn","Barricade","Baseball","BaseballCap","BaseballHelmet","Basket","Basketball","Bathtub","BatteryCharging","BatteryChargingVertical","BatteryEmpty","BatteryFull","BatteryHigh","BatteryLow","BatteryMedium","BatteryPlus","BatteryPlusVertical","BatteryVerticalEmpty","BatteryVerticalFull","BatteryVerticalHigh","BatteryVerticalLow","BatteryVerticalMedium","BatteryWarning","BatteryWarningVertical","BeachBall","Beanie","Bed","BeerBottle","BeerStein","BehanceLogo","Bell","BellRinging","BellSimple","BellSimpleRinging","BellSimpleSlash","BellSimpleZ","BellSlash","BellZ","Belt","BezierCurve","Bicycle","Binary","Binoculars","Biohazard","Bird","Blueprint","Bluetooth","BluetoothConnected","BluetoothSlash","BluetoothX","Boat","Bomb","Bone","Book","BookBookmark","BookOpen","BookOpenText","BookOpenUser","Bookmark","BookmarkSimple","Bookmarks","BookmarksSimple","Books","Boot","Boules","BoundingBox","BowlFood","BowlSteam","BowlingBall","BoxArrowDown","BoxArrowUp","BoxingGlove","BracketsAngle","BracketsCurly","BracketsRound","BracketsSquare","Brain","Brandy","Bread","Bridge","Briefcase","BriefcaseMetal","Broadcast","Broom","Browser","Browsers","Bug","BugBeetle","BugDroid","Building","BuildingApartment","BuildingOffice","Buildings","Bulldozer","Bus","Butterfly","CableCar","Cactus","Caduceus","Cake","Calculator","Calendar","CalendarBlank","CalendarCheck","CalendarDot","CalendarDots","CalendarHeart","CalendarMinus","CalendarPlus","CalendarSlash","CalendarStar","CalendarX","CallBell","Camera","CameraPlus","CameraRotate","CameraSlash","Campfire","Car","CarBattery","CarProfile","CarSimple","Cardholder","Cards","CardsThree","CaretCircleDoubleDown","CaretCircleDoubleLeft","CaretCircleDoubleRight","CaretCircleDoubleUp","CaretCircleDown","CaretCircleLeft","CaretCircleRight","CaretCircleUp","CaretCircleUpDown","CaretDoubleDown","CaretDoubleLeft","CaretDoubleRight","CaretDoubleUp","CaretDown","CaretLeft","CaretLineDown","CaretLineLeft","CaretLineRight","CaretLineUp","CaretRight","CaretUp","CaretUpDown","Carrot","CashRegister","CassetteTape","CastleTurret","Cat","CellSignalFull","CellSignalHigh","CellSignalLow","CellSignalMedium","CellSignalNone","CellSignalSlash","CellSignalX","CellTower","Certificate","Chair","Chalkboard","ChalkboardSimple","ChalkboardTeacher","Champagne","ChargingStation","ChartBar","ChartBarHorizontal","ChartDonut","ChartLine","ChartLineDown","ChartLineUp","ChartPie","ChartPieSlice","ChartPolar","ChartScatter","Chat","ChatCentered","ChatCenteredDots","ChatCenteredSlash","ChatCenteredText","ChatCircle","ChatCircleDots","ChatCircleSlash","ChatCircleText","ChatDots","ChatSlash","ChatTeardrop","ChatTeardropDots","ChatTeardropSlash","ChatTeardropText","ChatText","Chats","ChatsCircle","ChatsTeardrop","Check","CheckCircle","CheckFat","CheckSquare","CheckSquareOffset","Checkerboard","Checks","Cheers","Cheese","ChefHat","Cherries","Church","Cigarette","CigaretteSlash","Circle","CircleDashed","CircleHalf","CircleHalfTilt","CircleNotch","CircleWavy","CircleWavyCheck","CircleWavyQuestion","CircleWavyWarning","CirclesFour","CirclesThree","CirclesThreePlus","Circuitry","City","Clipboard","ClipboardText","Clock","ClockAfternoon","ClockClockwise","ClockCountdown","ClockCounterClockwise","ClockUser","ClosedCaptioning","Cloud","CloudArrowDown","CloudArrowUp","CloudCheck","CloudFog","CloudLightning","CloudMoon","CloudRain","CloudSlash","CloudSnow","CloudSun","CloudWarning","CloudX","Clover","Club","CoatHanger","CodaLogo","Code","CodeBlock","CodeSimple","CodepenLogo","CodesandboxLogo","Coffee","CoffeeBean","Coin","CoinVertical","Coins","Columns","ColumnsPlusLeft","ColumnsPlusRight","Command","Compass","CompassRose","CompassTool","ComputerTower","Confetti","ContactlessPayment","Control","Cookie","CookingPot","Copy","CopySimple","Copyleft","Copyright","CornersIn","CornersOut","Couch","CourtBasketball","Cow","CowboyHat","Cpu","Crane","CraneTower","CreditCard","Cricket","Crop","Cross","Crosshair","CrosshairSimple","Crown","CrownCross","CrownSimple","Cube","CubeFocus","CubeTransparent","CurrencyBtc","CurrencyCircleDollar","CurrencyCny","CurrencyDollar","CurrencyDollarSimple","CurrencyEth","CurrencyEur","CurrencyGbp","CurrencyInr","CurrencyJpy","CurrencyKrw","CurrencyKzt","CurrencyNgn","CurrencyRub","Cursor","CursorClick","CursorText","Cylinder","Database","Desk","Desktop","DesktopTower","Detective","DevToLogo","DeviceMobile","DeviceMobileCamera","DeviceMobileSlash","DeviceMobileSpeaker","DeviceRotate","DeviceTablet","DeviceTabletCamera","DeviceTabletSpeaker","Devices","Diamond","DiamondsFour","DiceFive","DiceFour","DiceOne","DiceSix","DiceThree","DiceTwo","Disc","DiscoBall","DiscordLogo","Divide","Dna","Dog","Door","DoorOpen","Dot","DotOutline","DotsNine","DotsSix","DotsSixVertical","DotsThree","DotsThreeCircle","DotsThreeCircleVertical","DotsThreeOutline","DotsThreeOutlineVertical","DotsThreeVertical","Download","DownloadSimple","Dress","Dresser","DribbbleLogo","Drone","Drop","DropHalf","DropHalfBottom","DropSimple","DropSlash","DropboxLogo","Ear","EarSlash","Egg","EggCrack","Eject","EjectSimple","Elevator","Empty","Engine","Envelope","EnvelopeOpen","EnvelopeSimple","EnvelopeSimpleOpen","Equalizer","Equals","Eraser","EscalatorDown","EscalatorUp","Exam","ExclamationMark","Exclude","ExcludeSquare","Export","Eye","EyeClosed","EyeSlash","Eyedropper","EyedropperSample","Eyeglasses","Eyes","FaceMask","FacebookLogo","Factory","Faders","FadersHorizontal","FalloutShelter","Fan","Farm","FastForward","FastForwardCircle","Feather","FediverseLogo","FigmaLogo","File","FileArchive","FileArrowDown","FileArrowUp","FileAudio","FileC","FileCSharp","FileCloud","FileCode","FileCpp","FileCss","FileCsv","FileDashed","FileDoc","FileDotted","FileHtml","FileImage","FileIni","FileJpg","FileJs","FileJsx","FileLock","FileMagnifyingGlass","FileMd","FileMinus","FilePdf","FilePlus","FilePng","FilePpt","FilePy","FileRs","FileSearch","FileSql","FileSvg","FileText","FileTs","FileTsx","FileTxt","FileVideo","FileVue","FileX","FileXls","FileZip","Files","FilmReel","FilmScript","FilmSlate","FilmStrip","Fingerprint","FingerprintSimple","FinnTheHuman","Fire","FireExtinguisher","FireSimple","FireTruck","FirstAid","FirstAidKit","Fish","FishSimple","Flag","FlagBanner","FlagBannerFold","FlagCheckered","FlagPennant","Flame","Flashlight","Flask","FlipHorizontal","FlipVertical","FloppyDisk","FloppyDiskBack","FlowArrow","Flower","FlowerLotus","FlowerTulip","FlyingSaucer","Folder","FolderDashed","FolderDotted","FolderLock","FolderMinus","FolderNotch","FolderNotchMinus","FolderNotchOpen","FolderNotchPlus","FolderOpen","FolderPlus","FolderSimple","FolderSimpleDashed","FolderSimpleDotted","FolderSimpleLock","FolderSimpleMinus","FolderSimplePlus","FolderSimpleStar","FolderSimpleUser","FolderStar","FolderUser","Folders","Football","FootballHelmet","Footprints","ForkKnife","FourK","FrameCorners","FramerLogo","Function","Funnel","FunnelSimple","FunnelSimpleX","FunnelX","GameController","Garage","GasCan","GasPump","Gauge","Gavel","Gear","GearFine","GearSix","GenderFemale","GenderIntersex","GenderMale","GenderNeuter","GenderNonbinary","GenderTransgender","Ghost","Gif","Gift","GitBranch","GitCommit","GitDiff","GitFork","GitMerge","GitPullRequest","GithubLogo","GitlabLogo","GitlabLogoSimple","Globe","GlobeHemisphereEast","GlobeHemisphereWest","GlobeSimple","GlobeSimpleX","GlobeStand","GlobeX","Goggles","Golf","GoodreadsLogo","GoogleCardboardLogo","GoogleChromeLogo","GoogleDriveLogo","GoogleLogo","GooglePhotosLogo","GooglePlayLogo","GooglePodcastsLogo","Gps","GpsFix","GpsSlash","Gradient","GraduationCap","Grains","GrainsSlash","Graph","GraphicsCard","GreaterThan","GreaterThanOrEqual","GridFour","GridNine","Guitar","HairDryer","Hamburger","Hammer","Hand","HandArrowDown","HandArrowUp","HandCoins","HandDeposit","HandEye","HandFist","HandGrabbing","HandHeart","HandPalm","HandPeace","HandPointing","HandSoap","HandSwipeLeft","HandSwipeRight","HandTap","HandWaving","HandWithdraw","Handbag","HandbagSimple","HandsClapping","HandsPraying","Handshake","HardDrive","HardDrives","HardHat","Hash","HashStraight","HeadCircuit","Headlights","Headphones","Headset","Heart","HeartBreak","HeartHalf","HeartStraight","HeartStraightBreak","Heartbeat","Hexagon","HighDefinition","HighHeel","Highlighter","HighlighterCircle","Hockey","Hoodie","Horse","Hospital","Hourglass","HourglassHigh","HourglassLow","HourglassMedium","HourglassSimple","HourglassSimpleHigh","HourglassSimpleLow","HourglassSimpleMedium","House","HouseLine","HouseSimple","Hurricane","IceCream","IconBase","IconContext","IdentificationBadge","IdentificationCard","Image","ImageBroken","ImageSquare","Images","ImagesSquare","Infinity","Info","InstagramLogo","Intersect","IntersectSquare","IntersectThree","Intersection","Invoice","Island","Jar","JarLabel","Jeep","Joystick","Kanban","Key","KeyReturn","Keyboard","Keyhole","Knife","Ladder","LadderSimple","Lamp","LampPendant","Laptop","Lasso","LastfmLogo","Layout","Leaf","Lectern","Lego","LegoSmiley","Lemniscate","LessThan","LessThanOrEqual","LetterCircleH","LetterCircleP","LetterCircleV","Lifebuoy","Lightbulb","LightbulbFilament","Lighthouse","Lightning","LightningA","LightningSlash","LineSegment","LineSegments","LineVertical","Link","LinkBreak","LinkSimple","LinkSimpleBreak","LinkSimpleHorizontal","LinkSimpleHorizontalBreak","LinkedinLogo","LinktreeLogo","LinuxLogo","List","ListBullets","ListChecks","ListDashes","ListHeart","ListMagnifyingGlass","ListNumbers","ListPlus","ListStar","Lock","LockKey","LockKeyOpen","LockLaminated","LockLaminatedOpen","LockOpen","LockSimple","LockSimpleOpen","Lockers","Log","MagicWand","Magnet","MagnetStraight","MagnifyingGlass","MagnifyingGlassMinus","MagnifyingGlassPlus","Mailbox","MapPin","MapPinArea","MapPinLine","MapPinPlus","MapPinSimple","MapPinSimpleArea","MapPinSimpleLine","MapTrifold","MarkdownLogo","MarkerCircle","Martini","MaskHappy","MaskSad","MastodonLogo","MathOperations","MatrixLogo","Medal","MedalMilitary","MediumLogo","Megaphone","MegaphoneSimple","MemberOf","Memory","MessengerLogo","MetaLogo","Meteor","Metronome","Microphone","MicrophoneSlash","MicrophoneStage","Microscope","MicrosoftExcelLogo","MicrosoftOutlookLogo","MicrosoftPowerpointLogo","MicrosoftTeamsLogo","MicrosoftWordLogo","Minus","MinusCircle","MinusSquare","Money","MoneyWavy","Monitor","MonitorArrowUp","MonitorPlay","Moon","MoonStars","Moped","MopedFront","Mosque","Motorcycle","Mountains","Mouse","MouseLeftClick","MouseMiddleClick","MouseRightClick","MouseScroll","MouseSimple","MusicNote","MusicNoteSimple","MusicNotes","MusicNotesMinus","MusicNotesPlus","MusicNotesSimple","NavigationArrow","Needle","Network","NetworkSlash","NetworkX","Newspaper","NewspaperClipping","NotEquals","NotMemberOf","NotSubsetOf","NotSupersetOf","Notches","Note","NoteBlank","NotePencil","Notebook","Notepad","Notification","NotionLogo","NuclearPlant","NumberCircleEight","NumberCircleFive","NumberCircleFour","NumberCircleNine","NumberCircleOne","NumberCircleSeven","NumberCircleSix","NumberCircleThree","NumberCircleTwo","NumberCircleZero","NumberEight","NumberFive","NumberFour","NumberNine","NumberOne","NumberSeven","NumberSix","NumberSquareEight","NumberSquareFive","NumberSquareFour","NumberSquareNine","NumberSquareOne","NumberSquareSeven","NumberSquareSix","NumberSquareThree","NumberSquareTwo","NumberSquareZero","NumberThree","NumberTwo","NumberZero","Numpad","Nut","NyTimesLogo","Octagon","OfficeChair","Onigiri","OpenAiLogo","Option","Orange","OrangeSlice","Oven","Package","PaintBrush","PaintBrushBroad","PaintBrushHousehold","PaintBucket","PaintRoller","Palette","Panorama","Pants","PaperPlane","PaperPlaneRight","PaperPlaneTilt","Paperclip","PaperclipHorizontal","Parachute","Paragraph","Parallelogram","Park","Password","Path","PatreonLogo","Pause","PauseCircle","PawPrint","PaypalLogo","Peace","Pen","PenNib","PenNibStraight","Pencil","PencilCircle","PencilLine","PencilRuler","PencilSimple","PencilSimpleLine","PencilSimpleSlash","PencilSlash","Pentagon","Pentagram","Pepper","Percent","Person","PersonArmsSpread","PersonSimple","PersonSimpleBike","PersonSimpleCircle","PersonSimpleHike","PersonSimpleRun","PersonSimpleSki","PersonSimpleSnowboard","PersonSimpleSwim","PersonSimpleTaiChi","PersonSimpleThrow","PersonSimpleWalk","Perspective","Phone","PhoneCall","PhoneDisconnect","PhoneIncoming","PhoneList","PhoneOutgoing","PhonePause","PhonePlus","PhoneSlash","PhoneTransfer","PhoneX","PhosphorLogo","Pi","PianoKeys","PicnicTable","PictureInPicture","PiggyBank","Pill","PingPong","PintGlass","PinterestLogo","Pinwheel","Pipe","PipeWrench","PixLogo","Pizza","Placeholder","Planet","Plant","Play","PlayCircle","PlayPause","Playlist","Plug","PlugCharging","Plugs","PlugsConnected","Plus","PlusCircle","PlusMinus","PlusSquare","PokerChip","PoliceCar","Polygon","Popcorn","Popsicle","PottedPlant","Power","Prescription","Presentation","PresentationChart","Printer","Prohibit","ProhibitInset","ProjectorScreen","ProjectorScreenChart","Pulse","PushPin","PushPinSimple","PushPinSimpleSlash","PushPinSlash","PuzzlePiece","QrCode","Question","QuestionMark","Queue","Quotes","Rabbit","Racquet","Radical","Radio","RadioButton","Radioactive","Rainbow","RainbowCloud","Ranking","ReadCvLogo","Receipt","ReceiptX","Record","Rectangle","RectangleDashed","Recycle","RedditLogo","Repeat","RepeatOnce","ReplitLogo","Resize","Rewind","RewindCircle","RoadHorizon","Robot","Rocket","RocketLaunch","Rows","RowsPlusBottom","RowsPlusTop","Rss","RssSimple","Rug","Ruler","SSR","Sailboat","Scales","Scan","ScanSmiley","Scissors","Scooter","Screencast","Screwdriver","Scribble","ScribbleLoop","Scroll","Seal","SealCheck","SealPercent","SealQuestion","SealWarning","Seat","Seatbelt","SecurityCamera","Selection","SelectionAll","SelectionBackground","SelectionForeground","SelectionInverse","SelectionPlus","SelectionSlash","Shapes","Share","ShareFat","ShareNetwork","Shield","ShieldCheck","ShieldCheckered","ShieldChevron","ShieldPlus","ShieldSlash","ShieldStar","ShieldWarning","ShippingContainer","ShirtFolded","ShootingStar","ShoppingBag","ShoppingBagOpen","ShoppingCart","ShoppingCartSimple","Shovel","Shower","Shrimp","Shuffle","ShuffleAngular","ShuffleSimple","Sidebar","SidebarSimple","Sigma","SignIn","SignOut","Signature","Signpost","SimCard","Siren","SketchLogo","SkipBack","SkipBackCircle","SkipForward","SkipForwardCircle","Skull","SkypeLogo","SlackLogo","Sliders","SlidersHorizontal","Slideshow","Smiley","SmileyAngry","SmileyBlank","SmileyMeh","SmileyMelting","SmileyNervous","SmileySad","SmileySticker","SmileyWink","SmileyXEyes","SnapchatLogo","Sneaker","SneakerMove","Snowflake","SoccerBall","Sock","SolarPanel","SolarRoof","SortAscending","SortDescending","SoundcloudLogo","Spade","Sparkle","SpeakerHifi","SpeakerHigh","SpeakerLow","SpeakerNone","SpeakerSimpleHigh","SpeakerSimpleLow","SpeakerSimpleNone","SpeakerSimpleSlash","SpeakerSimpleX","SpeakerSlash","SpeakerX","Speedometer","Sphere","Spinner","SpinnerBall","SpinnerGap","Spiral","SplitHorizontal","SplitVertical","SpotifyLogo","SprayBottle","Square","SquareHalf","SquareHalfBottom","SquareLogo","SquareSplitHorizontal","SquareSplitVertical","SquaresFour","Stack","StackMinus","StackOverflowLogo","StackPlus","StackSimple","Stairs","Stamp","StandardDefinition","Star","StarAndCrescent","StarFour","StarHalf","StarOfDavid","SteamLogo","SteeringWheel","Steps","Stethoscope","Sticker","Stool","Stop","StopCircle","Storefront","Strategy","StripeLogo","Student","SubsetOf","SubsetProperOf","Subtitles","SubtitlesSlash","Subtract","SubtractSquare","Subway","Suitcase","SuitcaseRolling","SuitcaseSimple","Sun","SunDim","SunHorizon","Sunglasses","SupersetOf","SupersetProperOf","Swap","Swatches","SwimmingPool","Sword","Synagogue","Syringe","TShirt","Table","Tabs","Tag","TagChevron","TagSimple","Target","Taxi","TeaBag","TelegramLogo","Television","TelevisionSimple","TennisBall","Tent","Terminal","TerminalWindow","TestTube","TextAUnderline","TextAa","TextAlignCenter","TextAlignJustify","TextAlignLeft","TextAlignRight","TextB","TextBolder","TextColumns","TextH","TextHFive","TextHFour","TextHOne","TextHSix","TextHThree","TextHTwo","TextIndent","TextItalic","TextOutdent","TextStrikethrough","TextSubscript","TextSuperscript","TextT","TextTSlash","TextUnderline","Textbox","Thermometer","ThermometerCold","ThermometerHot","ThermometerSimple","ThreadsLogo","ThreeD","ThumbsDown","ThumbsUp","Ticket","TidalLogo","TiktokLogo","Tilde","Timer","TipJar","Tipi","Tire","ToggleLeft","ToggleRight","Toilet","ToiletPaper","Toolbox","Tooth","Tornado","Tote","ToteSimple","Towel","Tractor","Trademark","TrademarkRegistered","TrafficCone","TrafficSign","TrafficSignal","Train","TrainRegional","TrainSimple","Tram","Translate","Trash","TrashSimple","Tray","TrayArrowDown","TrayArrowUp","TreasureChest","Tree","TreeEvergreen","TreePalm","TreeStructure","TreeView","TrendDown","TrendUp","Triangle","TriangleDashed","Trolley","TrolleySuitcase","Trophy","Truck","TruckTrailer","TumblrLogo","TwitchLogo","TwitterLogo","Umbrella","UmbrellaSimple","Union","Unite","UniteSquare","Upload","UploadSimple","Usb","User","UserCheck","UserCircle","UserCircleCheck","UserCircleDashed","UserCircleGear","UserCircleMinus","UserCirclePlus","UserFocus","UserGear","UserList","UserMinus","UserPlus","UserRectangle","UserSound","UserSquare","UserSwitch","Users","UsersFour","UsersThree","Van","Vault","VectorThree","VectorTwo","Vibrate","Video","VideoCamera","VideoCameraSlash","VideoConference","Vignette","VinylRecord","VirtualReality","Virus","Visor","Voicemail","Volleyball","Wall","Wallet","Warehouse","Warning","WarningCircle","WarningDiamond","WarningOctagon","WashingMachine","Watch","WaveSawtooth","WaveSine","WaveSquare","WaveTriangle","Waveform","WaveformSlash","Waves","Webcam","WebcamSlash","WebhooksLogo","WechatLogo","WhatsappLogo","Wheelchair","WheelchairMotion","WifiHigh","WifiLow","WifiMedium","WifiNone","WifiSlash","WifiX","Wind","Windmill","WindowsLogo","Wine","Wrench","X","XCircle","XLogo","XSquare","Yarn","YinYang","YoutubeLogo"],we="_buttons_1gn8m_1",ke="_button_1gn8m_1",fe={buttons:we,button:ke},ve=()=>e.jsxRuntimeExports.jsxs("div",{className:fe.buttons,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"ArrowUUpLeft",hoverable:!0,width:20,height:20}),e.jsxRuntimeExports.jsx(e.Icon,{name:"ArrowUUpRight",hoverable:!0,width:20,height:20})]}),Re="_devices_hxl12_1",Ee="_device_hxl12_1",ye="_active_hxl12_23",se={devices:Re,device:Ee,active:ye},Be=()=>{const{currentDevice:t,setCurrentDevice:o}=e.useDeviceStore();return e.jsxRuntimeExports.jsx("div",{className:se.devices,children:je.map(s=>e.jsxRuntimeExports.jsx("div",{className:e.clx(se.device,{[se.active]:t===s}),onClick:()=>o(s),children:e.jsxRuntimeExports.jsx(e.Icon,{name:s.icon,fill:t===s?"#252525":"#757575",width:20,height:20})},s.value))})},Pe="_header_wxpoz_1",Ae="_left_wxpoz_16",Le="_right_wxpoz_17",Y={header:Pe,left:Ae,right:Le},Te="_preview_vijvm_2",Ne="_active_vijvm_22",oe={preview:Te,active:Ne},Fe=()=>{const{onPreview:t,setOnPreview:o}=e.usePreviewStore();return e.jsxRuntimeExports.jsxs("div",{className:e.clx(oe.preview,{[oe.active]:t}),onClick:()=>o(!t),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"ArrowUpRight",width:20,height:20}),e.jsxRuntimeExports.jsx("span",{className:oe.text,children:"Preview"})]})},De="_settings_q79q3_1",Me={settings:De},He="_language_1mbvp_1",Ie="_text_1mbvp_11",ie={language:He,text:Ie},$e=()=>e.jsxRuntimeExports.jsxs("div",{className:ie.language,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Globe",fill:"#252525",width:20,height:20}),e.jsxRuntimeExports.jsx("span",{className:ie.text,children:"Default"}),e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretDown",width:20,height:20})]}),Oe="_pages_x8pw2_1",Ue="_text_x8pw2_16",Ge="_modal_x8pw2_22",qe="_page_x8pw2_1",ze="_hoverable_x8pw2_45",We="_separator_x8pw2_49",Ve="_button_x8pw2_53",M={pages:Oe,default:"_default_x8pw2_5",text:Ue,modal:Ge,page:qe,hoverable:ze,separator:We,button:Ve},T=t=>t?t.replace(/_/g," ").split(" ").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(" and "):"",Xe=()=>{const{currentPage:t,setCurrentPage:o,setIsOpenModal:s,pages:r,setIsEdit:a,setEditedPage:i,deletePage:n,isOpenSelectModal:l,setIsOpenSelectModal:c}=e.usePagesStore(),{deletePage:g}=e.useLayersStore(),[x,m]=j.useState("");return j.useEffect(()=>{const p=()=>{c(!1)};return document.body.addEventListener("click",p),()=>{document.body.removeEventListener("click",p)}},[]),e.jsxRuntimeExports.jsxs("div",{className:M.pages,children:[e.jsxRuntimeExports.jsxs("div",{className:M.default,onClick:p=>{p.stopPropagation(),c(!l)},children:[e.jsxRuntimeExports.jsx(e.Icon,{name:r[t].icon,fill:"#252525",width:20,height:20}),e.jsxRuntimeExports.jsx("span",{className:M.text,children:e.defaultPageNames.includes(r[t].name)?`${T(r[t].name)} page`:r[t].name}),e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretDown",width:20,height:20})]}),l&&e.jsxRuntimeExports.jsxs("div",{className:M.modal,onClick:p=>p.stopPropagation(),children:[Object.keys(r).map(p=>{const u=r[p];return e.jsxRuntimeExports.jsxs("div",{className:e.clx(M.page,{[M.hoverable]:x===p}),onMouseEnter:()=>m(p),onMouseLeave:()=>m(""),onClick:()=>{m(""),a(!1),o(p),c(!1)},children:[e.jsxRuntimeExports.jsx(e.Icon,{name:u.icon,fill:"#252525"}),e.jsxRuntimeExports.jsx("span",{className:M.text,children:e.defaultPageNames.includes(u.name)?`${T(u.name)} page`:u.name}),x===p&&e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Gear",fill:"#757575",onClick:S=>{S.stopPropagation(),a(!0),i(p),s(!0)}}),!e.defaultPageNames.includes(u.name)&&e.jsxRuntimeExports.jsx(e.Icon,{name:"Trash",fill:"#C12A2A",onClick:S=>{r[t].name===u.name&&o("home"),S.stopPropagation(),n(p),g(u.name)}})]}),r[t].name===u.name&&e.jsxRuntimeExports.jsx(e.Icon,{name:"Check",fill:"#FF3F19"})]},p)}),e.jsxRuntimeExports.jsx("div",{className:M.separator}),e.jsxRuntimeExports.jsxs(e.Button,{className:M.button,onClick:p=>{p.stopPropagation(),s(!0)},size:"l",children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Plus",fill:"#ff3f19"}),e.jsxRuntimeExports.jsx("span",{children:"Create Page Blank"})]})]})]})},Ke="_zoom_a77cn_1",Qe={zoom:Ke},Ye=()=>{const[t,o]=j.useState(),s=()=>{o(Number(Math.round(window.devicePixelRatio*50).toFixed(0)))};return j.useEffect(()=>(s(),window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}),[]),e.jsxRuntimeExports.jsxs("div",{className:Qe.zoom,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"MagnifyingGlassMinus",width:20,height:20}),e.jsxRuntimeExports.jsxs("span",{children:[t," %"]})]})},Je=()=>e.jsxRuntimeExports.jsxs("div",{className:Me.settings,children:[e.jsxRuntimeExports.jsx($e,{}),e.jsxRuntimeExports.jsx(Xe,{}),e.jsxRuntimeExports.jsx(Ye,{})]}),Ze="_theme_3wxbf_1",et={theme:Ze},tt=()=>e.jsxRuntimeExports.jsxs("div",{className:et.theme,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Check",width:18,height:18}),e.jsxRuntimeExports.jsx("div",{children:"Current Theme"})]}),st=()=>{const{themeSettings:t}=e.useThemeSettingsStore(),{settings:o}=e.useSettingsStore(),[s,r]=j.useState(null),[a,i]=j.useState(!1),{pages:n}=e.usePagesStore(),{blocks:l}=e.useLayersStore();function c(u,S){return S.map(C=>Object.values(C.value.blockSettings).filter(k=>k.type===u).map(k=>k.value).flat()).flat().map(C=>C.listingId)}function g(u,S){return c(u,S).some(C=>C)}function x(u,S){const h=c(u,S);return Array.isArray(h)&&h.length>0?Math.max(...h):0}function m(u){const S=Object.keys(n).find(h=>n[h].name===u);return S?n[S]:null}const p=()=>{if(a)s&&clearTimeout(s);else{const S=Object.keys(l).map(h=>{const C=m(h);return{name:C?C.name:h,path:h==="home"?"/":(C==null?void 0:C.path)||h,layout:{...l[h]},neededProductIds:[...c("ProductId",Object.values(l[h]))],neededCategoryIds:[...c("CategoryId",Object.values(l[h]))],neededAnnouncementIds:[...c("AnnouncementId",Object.values(l[h]))],neededListingIds:[...c("listings",Object.values(l[h]))],neededFaqs:g("Faqs",Object.values(l[h])),neededReviewCount:x("ReviewCount",Object.values(l[h])),seo:{pageTitle:C?C.seo.title:"",pageDescription:C?C.seo.description:""}}});e.updateSettings("POST","save",{themeSettings:t,settings:o,updatedPages:S})}i(!0);const u=setTimeout(()=>{i(!1)},2e3);r(u)};return e.jsxRuntimeExports.jsxs("div",{className:Y.header,children:[e.jsxRuntimeExports.jsxs("div",{className:Y.left,children:[e.jsxRuntimeExports.jsx(Be,{}),e.jsxRuntimeExports.jsx(Fe,{})]}),e.jsxRuntimeExports.jsx("div",{className:Y.center,children:e.jsxRuntimeExports.jsx(Je,{})}),e.jsxRuntimeExports.jsxs("div",{className:Y.right,children:[e.jsxRuntimeExports.jsx(tt,{}),e.jsxRuntimeExports.jsx(ve,{}),e.jsxRuntimeExports.jsx(e.Button,{onClick:p,children:"Save"})]})]})},ot="_exit_2ce42_1",nt="_text_2ce42_10",ae={exit:ot,text:nt},rt=()=>e.jsxRuntimeExports.jsxs("div",{className:ae.exit,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"SignOut",width:20,height:20}),e.jsxRuntimeExports.jsx("span",{className:ae.text,children:"Exit"})]}),it="_navbar_2ac63_1",at="_main_2ac63_6",lt="_block_2ac63_13",ct="_active_2ac63_30",J={navbar:it,main:at,block:lt,active:ct},ut=()=>{const{activeBlock:t,setActiveBlock:o}=e.useNavbarStore(),{setActiveBlock:s}=e.useBlocksStore(),{setCurrentBlock:r}=e.useLayersStore(),{setActiveBlock:a}=e.useThemeSettingsStore();function i(n){s(null),o(n),r(null),a(null)}return e.jsxRuntimeExports.jsxs("div",{className:J.navbar,children:[e.jsxRuntimeExports.jsx(rt,{}),e.jsxRuntimeExports.jsx("div",{className:J.main,children:e.navbarBlocks.map(n=>e.jsxRuntimeExports.jsxs("div",{className:e.clx(J.block,{[J.active]:t.icon===n.icon}),onClick:()=>i(n),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:n.icon,fill:t.icon===n.icon?"#252525":"#757575"}),e.jsxRuntimeExports.jsx("span",{children:n.name})]},n.icon))})]})},mt="_preview_jui5n_1",pt="_main_jui5n_9",dt="_content_jui5n_19",xt="_loading_jui5n_26",ht="_loader_jui5n_34",gt="_spin_jui5n_1",V={preview:mt,main:pt,content:dt,loading:xt,loader:ht,spin:gt},jt="_header_1t64j_1",St="_circles_1t64j_14",Ct="_circle_1t64j_14",_t="_red_1t64j_30",bt="_green_1t64j_34",wt="_yellow_1t64j_38",kt="_input_1t64j_42",ft="_main_1t64j_51",vt="_text_1t64j_59",H={header:jt,circles:St,circle:Ct,red:_t,green:bt,yellow:wt,input:kt,main:ft,text:vt},Rt="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='0.5'%20width='16'%20height='16'%20fill='url(%23pattern0_4042_718)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_4042_718'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_4042_718'%20transform='scale(0.015625)'/%3e%3c/pattern%3e%3cimage%20id='image0_4042_718'%20width='64'%20height='64'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAONJREFUeF7t20EOhEAIRFG4/6F7DvEnYeFzryQIv6pBd2behOu9dPvsbog+k+NLgArQAqmJcw9iAAhSgZKB3IJkkAySQTJ4CiE+gA8oBeg0mH3Ai084P89HhqwEqIA209ICsQdjAeaZIgaAYKxBDMCAYy8fXwAIgiAIcoJpJEYGI4VjB3YrbC9gL2AvkCB43cM5PgZgAAZgQFnNZAhdGykQBEEQBEEQDBmgAm2glM/z+QUYisYUGoldO7kY32IEAzCg6RgIRgjFAsw+AgRBMNYgBmCAT2TCYfoPPz/HCqQCX1eBHzHnv7C7WhBSAAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",Et=["red","yellow","green"],yt=()=>e.jsxRuntimeExports.jsxs("div",{className:H.header,children:[e.jsxRuntimeExports.jsx("div",{className:H.circles,children:Et.map(t=>e.jsxRuntimeExports.jsx("div",{className:e.clx(H.circle,{[H.red]:t==="red",[H.yellow]:t==="yellow",[H.green]:t==="green"})},t))}),e.jsxRuntimeExports.jsxs("div",{className:H.input,children:[e.jsxRuntimeExports.jsxs("div",{className:H.main,children:[e.jsxRuntimeExports.jsx("img",{src:Rt,alt:""}),e.jsxRuntimeExports.jsx("span",{className:H.text,children:"lorem.ipsum"}),e.jsxRuntimeExports.jsx(e.Icon,{name:"Lock",fill:"#757575",width:15,height:16})]}),e.jsxRuntimeExports.jsx(e.Icon,{name:"Copy",width:20,height:20})]})]}),Bt="_content_92dk8_1",Pt="_block_92dk8_6",At="_active_92dk8_13",Lt="_name_92dk8_17",Tt="_empty_92dk8_31",Nt="_icon_92dk8_42",Ft="_title_92dk8_53",Dt="_text_92dk8_59",Mt="_sections_92dk8_65",Ht="_section_92dk8_65",Z={content:Bt,block:Pt,active:At,name:Lt,empty:Tt,icon:Nt,title:Ft,text:Dt,sections:Mt,section:Ht},It="_sidebar_1f3hk_1",$t="_content_1f3hk_12",Ot="_button_1f3hk_22",Ut="_moveButton_1f3hk_30",Gt="_border_1f3hk_34",qt="_deleteButton_1f3hk_38",P={sidebar:It,content:$t,button:Ot,moveButton:Ut,border:Gt,deleteButton:qt},zt=()=>{const{activeBlock:t}=e.usePreviewStore(),{blocks:o,removeBlock:s,moveBlock:r,duplicateBlock:a}=e.useLayersStore(),{currentPage:i,pages:n}=e.usePagesStore(),l=Object.keys(o[n[i].name]),c=l.indexOf(t),g=()=>{c>0&&r(n[i].name,c,c-1)},x=()=>{c<l.length-1&&r(n[i].name,c,c+1)},m=()=>{a(n[i].name,t)};return e.jsxRuntimeExports.jsx("div",{className:P.sidebar,children:e.jsxRuntimeExports.jsxs("div",{className:P.content,children:[e.jsxRuntimeExports.jsx("button",{onClick:g,className:e.clx(P.button,P.moveButton),disabled:c===0,children:e.jsxRuntimeExports.jsx(e.Icon,{name:"ArrowUp"})}),e.jsxRuntimeExports.jsx("button",{onClick:x,className:e.clx(P.button,P.moveButton),disabled:c===l.length-1,children:e.jsxRuntimeExports.jsx(e.Icon,{name:"ArrowDown"})}),e.jsxRuntimeExports.jsx("div",{className:P.border}),e.jsxRuntimeExports.jsx("button",{onClick:m,className:e.clx(P.button,P.moveButton),children:e.jsxRuntimeExports.jsx(e.Icon,{name:"Copy"})}),e.jsxRuntimeExports.jsx("div",{className:P.border}),e.jsxRuntimeExports.jsx("button",{onClick:()=>s(n[i].name,t),className:e.clx(P.button,P.deleteButton),children:e.jsxRuntimeExports.jsx(e.Icon,{name:"Trash",hoverable:!0})})]})})},pe=({render:t,block:o})=>t(o),Wt=()=>{const{footer:t}=e.useLayersStore(),{settings:o}=e.useSettingsStore(),{pageContext:s}=e.usePagesStore();return t==null?void 0:t.renderBlock(o,s)},Vt=()=>{const{header:t}=e.useLayersStore(),{settings:o}=e.useSettingsStore(),{pageContext:s}=e.usePagesStore();return t==null?void 0:t.renderBlock(o,s)},Xt=j.memo(()=>{const{setActiveBlock:t,activeBlock:o}=e.usePreviewStore(),{blocks:s}=e.useBlocksStore(),{blocks:r}=e.useLayersStore(),{settings:a}=e.useSettingsStore(),{currentPage:i,pages:n,setIsOpenSelectModal:l}=e.usePagesStore(),c=j.useRef(o);j.useEffect(()=>{c.current=o},[o]),j.useEffect(()=>{const m=()=>{c.current&&t(null)};return document.body.addEventListener("click",m),()=>{document.body.removeEventListener("click",m)}},[]);const g=m=>{const p=new s[m.name];return Object.assign(p,m.value),p.renderBlock(a)},x=j.useCallback(m=>g(m),[r,a]);return e.jsxRuntimeExports.jsxs("div",{onClick:m=>{m.stopPropagation(),l(!1)},className:Z.content,children:[e.jsxRuntimeExports.jsx(Vt,{}),r[n[i].name]&&Object.keys(r[n[i].name]).map(m=>e.jsxRuntimeExports.jsxs("div",{onClick:()=>t(m),className:e.clx(Z.block,{[Z.active]:o===m}),children:[o===m&&e.jsxRuntimeExports.jsx("div",{className:Z.name,children:r[n[i].name][m].name}),o===m&&e.jsxRuntimeExports.jsx(zt,{}),e.jsxRuntimeExports.jsx(pe,{render:x,block:r[n[i].name][m]})]})),e.jsxRuntimeExports.jsx(Wt,{})]})}),Kt="_results_f488n_1",Qt="_name_f488n_8",Yt="_product_f488n_15",ee={results:Kt,name:Qt,product:Yt},Jt="_search_1s0qp_1",Zt="_input_1s0qp_12",le={search:Jt,input:Zt},es=()=>e.jsxRuntimeExports.jsxs("label",{className:le.search,children:[e.jsxRuntimeExports.jsx("input",{type:"text",placeholder:"Search for sections",className:le.input}),e.jsxRuntimeExports.jsx(e.Icon,{name:"MagnifyingGlass",fill:"#757575"})]}),de=()=>{const{blocks:t,setActiveBlock:o}=e.useBlocksStore(),{hideModal:s}=e.useSubmodalStore();function r(a){o(a),s()}return e.jsxRuntimeExports.jsxs("div",{className:ee.add,children:[e.jsxRuntimeExports.jsx(es,{}),e.jsxRuntimeExports.jsx("div",{className:ee.results,children:Object.keys(t).map(a=>e.jsxRuntimeExports.jsxs("div",{className:ee.product,onClick:()=>r(a),children:[e.jsxRuntimeExports.jsx("span",{className:ee.name,children:a}),e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretRight"})]},a))})]})},ts=()=>{const{modalPosition:t,color:o,initialColor:s,setShowModal:r,hue:a,saturation:i,brightness:n,dragging:l,setDragging:c,setHue:g,setSaturation:x,setBrightness:m,colorChange:p,setColor:u,update:S}=e.useColorPickerStore(),h=d=>{const{offsetX:b,offsetY:_}=d.nativeEvent;c(!0),f(b,_,d.currentTarget)},C=d=>{if(l){const b=document.querySelector(`.${e.styles.colorMap}`),{left:_,top:v}=b.getBoundingClientRect(),w=d.clientX-_,O=d.clientY-v;f(w,O,b)}},k=()=>{c(!1)},f=(d,b,_)=>{const{width:v,height:w}=_.getBoundingClientRect(),O=Math.max(0,Math.min(d/v*100,100)),K=Math.max(0,Math.min(100-b/w*100,100));x(O),m(K),R(O,K)},R=(d,b)=>{const _=y(a,d,b);p(_),u(_)},N=(d,b,_)=>{b/=100,_/=100;const v=Q=>(Q+d/60)%6,w=Q=>_*(1-b*Math.max(0,Math.min(v(Q),4-v(Q),1))),O=Math.round(255*w(5)),K=Math.round(255*w(3)),ge=Math.round(255*w(1));return{r:O,g:K,b:ge}},E=(d,b,_)=>{const v=w=>w.toString(16).padStart(2,"0");return`#${v(d)}${v(b)}${v(_)}`},y=(d,b,_)=>{const{r:v,g:w,b:O}=N(d,b,_);return E(v,w,O)};j.useEffect(()=>{const d=_=>C(_),b=()=>k();return l?(document.addEventListener("mousemove",d),document.addEventListener("mouseup",b)):(document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",b)),()=>{document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",b)}},[l]);function B(){S(o),r(!1)}function $(){r(!1),p(s)}return e.jsxRuntimeExports.jsxs("div",{className:e.styles.modal,onClick:d=>d.stopPropagation(),style:{top:`${t.top}px`,left:`${t.left}px`},children:[e.jsxRuntimeExports.jsx("div",{children:"Color"}),e.jsxRuntimeExports.jsx("div",{className:e.styles.colorMap,onMouseDown:h,style:{background:`
3
3
  linear-gradient(to top, black, transparent),
4
4
  linear-gradient(to right, hsl(${a}, 100%, 100%), hsl(${a}, 100%, 50%))
5
- `},children:e.jsxRuntimeExports.jsx("div",{className:e.styles.indicator,style:{position:"absolute",left:`${i}%`,top:`${100-n}%`,transform:"translate(-50%, -50%)"}})}),e.jsxRuntimeExports.jsx("div",{className:e.styles.hueSlider,children:e.jsxRuntimeExports.jsx("input",{type:"range",min:"0",max:"360",value:a,onChange:d=>{g(Number(d.target.value)),R(i,n)},className:e.styles.slider})}),e.jsxRuntimeExports.jsxs("div",{className:e.styles.buttons,children:[e.jsxRuntimeExports.jsx(e.Button,{onClick:$,className:e.clx(e.styles.applyButton,e.styles.cancelButton),children:"Cancel"}),e.jsxRuntimeExports.jsx(e.Button,{onClick:B,className:e.styles.applyButton,children:"Apply"})]})]})},ss=()=>{const{onPreview:t}=e.usePreviewStore(),{hoverBlockId:o,isModalVisible:s,isPreviewVisible:r}=e.useSubmodalStore(),{settings:a}=e.useSettingsStore(),{blocks:i}=e.useBlocksStore(),{blocks:n}=e.useLayersStore(),{currentPage:l,pages:c}=e.usePagesStore(),{showModal:g}=e.useColorPickerStore(),[x,m]=j.useState(!0);j.useEffect(()=>{t&&setTimeout(()=>{m(!1)},100)},[t]);const p=u=>{const S=new i[u.name];return Object.assign(S,u.value),S.renderBlock(a)};return e.jsxRuntimeExports.jsxs("div",{className:V.preview,children:[s&&e.jsxRuntimeExports.jsx(e.Submodal,{children:e.jsxRuntimeExports.jsx(de,{})}),r&&o&&e.jsxRuntimeExports.jsx(e.Submodal,{children:e.jsxRuntimeExports.jsx(pe,{render:p,block:n[c[l].name][o]})}),g&&e.jsxRuntimeExports.jsx(ts,{}),t&&e.jsxRuntimeExports.jsxs("div",{className:V.main,children:[e.jsxRuntimeExports.jsx(yt,{}),e.jsxRuntimeExports.jsx("div",{className:V.content,children:x?e.jsxRuntimeExports.jsx("div",{className:V.loading,children:e.jsxRuntimeExports.jsx("div",{className:V.loader})}):e.jsxRuntimeExports.jsx(Xt,{})})]})]})},os="_sidebar_1r5sp_1",ns="_title_1r5sp_10",rs="_active_1r5sp_18",ce={sidebar:os,title:ns,active:rs},is="_layers_62wod_1",as="_block_62wod_8",ls="_dragging_62wod_23",cs="_active_62wod_31",us="_add_62wod_35",ms="_button_62wod_47",ps="_empty_62wod_60",ds="_title_62wod_72",xs="_icon_62wod_79",hs="_text_62wod_83",gs="_highlight_62wod_89",W={layers:is,block:as,dragging:ls,active:cs,add:us,button:ms,empty:ps,title:ds,icon:xs,text:hs,highlight:gs},js="_block_1d6lb_1",ue={block:js},Ss=()=>{const{setCurrentBlock:t}=e.useLayersStore(),{activeBlock:o}=e.usePreviewStore();function s(r){t(r)}return e.jsxRuntimeExports.jsxs("div",{className:e.clx(ue.block,{[ue.active]:o==="header"}),onClick:()=>s("header"),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Cards"}),e.jsxRuntimeExports.jsx("span",{children:"Header"})]})},Cs="_block_1d6lb_1",me={block:Cs},_s=()=>{const{activeBlock:t}=e.usePreviewStore(),{setCurrentBlock:o}=e.useLayersStore();function s(r){o(r)}return e.jsxRuntimeExports.jsxs("div",{className:e.clx(me.block,{[me.active]:t==="footer"}),onClick:()=>s("footer"),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Cards"}),e.jsxRuntimeExports.jsx("span",{children:"Footer"})]})},bs=({id:t,name:o,index:s,moveBlock:r,onClick:a})=>{const{currentPage:i,pages:n}=e.usePagesStore(),{activeBlock:l}=e.usePreviewStore(),{showPreview:c,hidePreview:g,showModal:x,hideModal:m,clearHideTimeout:p,startHideTimeout:u,hoverBlockId:S,isModalVisible:h}=e.useSubmodalStore(),{setPositionBlock:C}=e.useLayersStore(),[k,f]=j.useState(!1),R=()=>{h&&m(),c(t),f(!0),p()},N=d=>{d.stopPropagation(),g(),x(t),p(),C(s+1)},E=()=>{h?u():(f(!1),g())};j.useEffect(()=>{h||f(!1)},[h]);const[,y]=e.useDrop({accept:"block",hover(d){d.index!==s&&(r(n[i].name,d.index,s),d.index=s)}}),[{isDragging:B},$]=e.useDrag({type:"block",item:{id:t,index:s},collect:d=>({isDragging:d.isDragging()})});return e.jsxRuntimeExports.jsxs("div",{ref:d=>$(y(d)),className:e.clx(W.block,{[W.dragging]:B,[W.active]:!B&&l===t}),onClick:()=>a(t),onMouseEnter:R,onMouseLeave:E,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Cards"}),e.jsxRuntimeExports.jsx("span",{children:o}),(k||S===t)&&!B&&e.jsxRuntimeExports.jsx("div",{className:W.add,children:e.jsxRuntimeExports.jsx("button",{className:W.button,onClick:d=>N(d),children:e.jsxRuntimeExports.jsx(e.Icon,{name:"Plus",fill:"#fff"})})})]})},ws=()=>{const{blocks:t,setCurrentBlock:o,moveBlock:s}=e.useLayersStore(),{currentPage:r,pages:a}=e.usePagesStore(),{setMouseOverModal:i,setHoverBlockId:n}=e.useSubmodalStore();function l(c){o(c),i(!1),n(null)}return e.jsxRuntimeExports.jsxs("div",{className:W.layers,children:[e.jsxRuntimeExports.jsx(Ss,{}),e.jsxRuntimeExports.jsx(e.DndProvider,{backend:e.HTML5Backend,children:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t[a[r].name]&&Object.keys(t[a[r].name]).map((c,g)=>e.jsxRuntimeExports.jsx(bs,{id:c,name:t[a[r].name][c].name,index:g,moveBlock:s,onClick:l},c))})}),e.jsxRuntimeExports.jsx(_s,{})]})},ks=({isHeader:t})=>{const{header:o,footer:s}=e.useLayersStore(),{pageContext:r}=e.usePagesStore();return t?o==null?void 0:o.renderSettings(r):s==null?void 0:s.renderSettings(r)},fs=()=>{const{settings:t}=e.useSettingsStore();return t==null?void 0:t.renderSettings()},vs="_theme_1xj36_1",Rs="_block_1xj36_6",Es="_name_1xj36_20",ne={theme:vs,block:Rs,name:Es},ys=()=>{const{setActiveBlock:t}=e.useThemeSettingsStore();function o(s){t(s)}return e.jsxRuntimeExports.jsx("div",{className:ne.theme,children:Se.map(s=>e.jsxRuntimeExports.jsxs("div",{onClick:()=>o(s),className:e.clx(ne.block),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:s.icon}),e.jsxRuntimeExports.jsx("span",{className:ne.name,children:s.name}),e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretRight"})]},s.icon))})},Bs="_back_1lk1m_1",Ps="_render_1lk1m_8",As="_open_1lk1m_23",Ls="_close_1lk1m_50",Ts="_clicked_1lk1m_54",Ns="_title_1lk1m_58",Fs="_button_1lk1m_65",Ds="_loading_1lk1m_70",Ms="_settings_1lk1m_74",Hs="_buttons_1lk1m_80",Is="_deleteButton_1lk1m_86",F={back:Bs,render:Ps,open:As,close:Ls,clicked:Ts,title:Ns,button:Fs,loading:Ds,settings:Ms,buttons:Hs,deleteButton:Is},$s=({block:t})=>{if(!t)return null;const{pageContext:o}=e.usePagesStore();return t.renderSettings(o)},Os=t=>{var b;const{isAdd:o}=t,[s,r]=j.useState(!1),{setActiveBlock:a}=e.useNavbarStore(),{sourceBlocks:i,activeBlock:n,setActiveBlock:l,currentInstance:c,setCurrentInstance:g}=e.useBlocksStore(),{blocks:x,addBlock:m,editBlock:p,currentBlock:u,setCurrentBlock:S,removeBlock:h,setPositionBlock:C,setHeader:k,setFooter:f,header:R,footer:N}=e.useLayersStore(),{currentPage:E,pages:y}=e.usePagesStore();function B(_=!1){!o&&c&&!_&&p(y[E].name,u,{name:x[y[E].name][u].name,value:c}),l(null),S(null),setTimeout(()=>{r(!1)},150),g(null)}function $(){B(),a({name:"Layers",icon:"TreeStructure"}),g(null)}function d(){if(o)return new i[n];{const _=x[y[E].name][u];return new i[_.name](_.value.blockSettings)}}return j.useEffect(()=>{if(n||u&&!["header","footer"].includes(u)){const _=d();g(_)}else g(null)},[n,u]),j.useEffect(()=>{u==="header"&&k(R)},[u,R]),j.useEffect(()=>{u==="footer"&&f(N)},[u,N]),e.jsxRuntimeExports.jsxs("div",{className:e.clx(F.render,{[F.open]:u||n,[F.close]:!u&&!n,[F.clicked]:s}),children:[e.jsxRuntimeExports.jsxs("div",{className:F.back,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:()=>B()}),e.jsxRuntimeExports.jsx("h3",{className:F.title,children:n||x[y[E].name]&&((b=x[y[E].name][u])==null?void 0:b.name)||u&&T(u)||"Loading"})]}),e.jsxRuntimeExports.jsxs("div",{className:F.settings,children:[c&&e.jsxRuntimeExports.jsx($s,{block:c}),u&&["header","footer"].includes(u)&&e.jsxRuntimeExports.jsx(ks,{isHeader:u==="header"}),!n&&!u&&e.jsxRuntimeExports.jsx("div",{className:F.loading,children:"Loading"})]}),e.jsxRuntimeExports.jsxs("div",{className:F.buttons,children:[o&&e.jsxRuntimeExports.jsx(e.Button,{style:{width:"100%"},onClick:()=>{r(!0),["header","footer"].includes(u)?u==="header"?k(R):f(N):(m(y[E].name,{name:n,value:c}),C(null)),$()},children:"Add Section"}),!o&&!["header","footer"].includes(u)&&e.jsxRuntimeExports.jsx("button",{onClick:()=>{r(!0),h(y[E].name,u),B(!0)},className:F.deleteButton,children:e.jsxRuntimeExports.jsx(e.Icon,{name:"Trash",hoverable:!0})})]})]})},Us="_settings_1r85j_1",Gs="_open_1r85j_16",qs="_close_1r85j_20",zs="_header_1r85j_24",Ws="_title_1r85j_30",Vs="_addButton_1r85j_37",X={settings:Us,open:Gs,close:qs,header:zs,title:Ws,addButton:Vs},Xs="_wrapper_n1a7x_1",Ks="_category_n1a7x_5",Qs="_categoryTitle_n1a7x_10",Ys="_color_n1a7x_16",Js="_content_n1a7x_24",Zs="_preview_n1a7x_32",U={wrapper:Xs,category:Ks,categoryTitle:Qs,color:Ys,content:Js,preview:Zs},eo=()=>{const{themeSettings:t,updateColor:o}=e.useThemeSettingsStore();async function s(a,i,n){o(a,i,n)}const r=j.useMemo(()=>{const a={};return Object.entries(t.colors).forEach(([i,n])=>{Object.entries(n).forEach(([l,c])=>{a[c]||(a[c]=[]),a[c].push(`${i}-${l}`)})}),Object.keys(a).filter(i=>a[i].length>1)},[t.colors]);return e.jsxRuntimeExports.jsx("div",{className:U.wrapper,children:Object.entries(t.colors).map(([a,i])=>e.jsxRuntimeExports.jsxs("div",{className:U.category,children:[e.jsxRuntimeExports.jsx("h2",{className:U.categoryTitle,children:T(a)}),Object.entries(i).map(([n,l])=>e.jsxRuntimeExports.jsxs("div",{className:U.color,children:[e.jsxRuntimeExports.jsxs("div",{className:U.content,children:[e.jsxRuntimeExports.jsx("div",{className:U.preview,style:{background:l}}),e.jsxRuntimeExports.jsx(e.ColorPicker,{title:T(n),initialColor:l,onChange:c=>s(a,n,c)})]}),r.includes(l)&&e.jsxRuntimeExports.jsx(e.Tip,{type:"warning",message:"To avoid contrast problems, please use a different color",style:{marginBottom:12}})]},n))]},a))})},to="_wrapper_kb55x_2",so="_category_kb55x_6",oo="_categoryTitle_kb55x_11",no="_color_kb55x_17",ro="_name_kb55x_23",io="_content_kb55x_28",ao="_label_kb55x_34",lo="_input_kb55x_45",co="_title_kb55x_71",uo="_field_kb55x_79",mo="_alignments_kb55x_89",po="_lineField_kb55x_95",xo="_style_kb55x_101",ho="_header_kb55x_108",D={wrapper:to,category:so,categoryTitle:oo,color:no,name:ro,content:io,label:ao,input:lo,title:co,field:uo,alignments:mo,lineField:po,style:xo,header:ho},go=["left","center","right"],jo=["solid","dashed"],te=t=>{const{title:o,children:s,rightAddon:r}=t;return e.jsxRuntimeExports.jsxs("div",{className:D.field,children:[e.jsxRuntimeExports.jsxs("div",{className:D.header,children:[e.jsxRuntimeExports.jsx("h4",{children:o}),r]}),s]})},So=()=>{const{themeSettings:t,updateInput:o}=e.useThemeSettingsStore(),s=j.useMemo(()=>t.inputs,[t]),r=(i,n,l)=>{o(i,n,l)},a=i=>n=>{o(i,n,"color")};return e.jsxRuntimeExports.jsxs("div",{className:D.wrapper,children:[e.jsxRuntimeExports.jsxs(te,{title:"General",children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Height (px)",value:String(s.general.height),onChange:i=>r("general",i,"height"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Input,{label:"Style name",value:s.general.name,onChange:i=>r("general",i,"name")}),e.jsxRuntimeExports.jsx(e.Select,{label:"Font Size (px)",onChange:i=>r("general",i,"size"),value:String(s.general.size),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.general.color),onChange:a("general"),title:"Font Color",labelStyle:"secondary"})]}),e.jsxRuntimeExports.jsxs(te,{title:"Field Fill",rightAddon:e.jsxRuntimeExports.jsx("div",{className:D.switch,children:e.jsxRuntimeExports.jsx(e.Switch,{onChange:i=>r("field",i,"active"),current:s.field.active})}),children:[e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.field.color),onChange:a("field"),title:"Color",labelStyle:"secondary"}),e.jsxRuntimeExports.jsx(e.Input,{label:"Opacity (%)",value:String(s.field.opacity),onChange:i=>r("field",i,"opacity"),type:"number",min:0})]}),e.jsxRuntimeExports.jsxs(te,{title:"Border",rightAddon:e.jsxRuntimeExports.jsx("div",{className:D.switch,children:e.jsxRuntimeExports.jsx(e.Switch,{onChange:i=>r("border",i,"active"),current:s.border.active})}),children:[e.jsxRuntimeExports.jsxs("div",{className:D.lineField,children:[e.jsxRuntimeExports.jsxs("div",{className:D.style,children:[e.jsxRuntimeExports.jsx("span",{className:D.title,children:"Style"}),e.jsxRuntimeExports.jsx(e.Picker,{items:jo,selectedItem:s.border.style,onSelect:i=>r("border",i,"style"),getIconName:i=>i==="solid"?"Minus":"Selection"})]}),e.jsxRuntimeExports.jsx(e.Input,{label:"Radius (px)",value:String(s.border.radius),onChange:i=>r("border",i,"radius"),type:"number",min:0})]}),e.jsxRuntimeExports.jsx(e.Input,{label:"Thickness (px)",value:String(s.border.thickness),onChange:i=>r("border",i,"thickness"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.border.color),onChange:a("border"),title:"Color",labelStyle:"secondary"})]}),e.jsxRuntimeExports.jsxs(te,{title:"Label",children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Line Height (px)",value:String(s.label.height),onChange:i=>r("label",i,"height"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Select,{label:"Font Size (px)",onChange:i=>r("label",i,"size"),value:String(s.label.size),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.label.color),onChange:a("label"),title:"Color",labelStyle:"secondary"}),e.jsxRuntimeExports.jsxs("div",{className:D.alignments,children:[e.jsxRuntimeExports.jsx("h4",{className:D.title,children:"Alignment Type"}),e.jsxRuntimeExports.jsx(e.Picker,{items:go,selectedItem:s.label.alignment,onSelect:i=>r("label",i,"alignment"),getIconName:i=>i==="center"?"AlignCenterHorizontal":i==="left"?"AlignLeft":"AlignRight"})]})]})]})},Co="_wrapper_k9on2_1",_o="_category_k9on2_5",bo="_categoryTitle_k9on2_10",wo="_font_k9on2_16",ko="_content_k9on2_36",fo="_icon_k9on2_42",vo="_paragraph_k9on2_51",Ro="_deleteIcon_k9on2_55",Eo="_iconButton_k9on2_62",I={wrapper:Co,category:_o,categoryTitle:bo,font:wo,content:ko,icon:fo,paragraph:vo,deleteIcon:Ro,iconButton:Eo},yo=t=>{const{font:o,size:s,id:r,category:a}=t,{setActiveFont:i}=e.useThemeSettingsStore();return e.jsxRuntimeExports.jsxs("div",{className:I.font,onClick:()=>i(r),children:[e.jsxRuntimeExports.jsx("div",{className:e.clx(I.icon,{[I.paragraph]:a==="paragraph"}),children:e.jsxRuntimeExports.jsx(e.Icon,{name:a==="paragraph"?"TextB":"TextH"})}),e.jsxRuntimeExports.jsxs("div",{className:I.content,children:[e.jsxRuntimeExports.jsx("h2",{className:I.categoryTitle,children:T(r)}),e.jsxRuntimeExports.jsx("span",{className:I.value,children:`${o}, ${s}px`})]})]})},Bo=()=>{const{themeSettings:t,setActiveFont:o,activeBlock:s}=e.useThemeSettingsStore();j.useEffect(()=>(r(),()=>{r()}),[]);function r(){o(null)}if(s!=null&&s.name)return e.jsxRuntimeExports.jsx("div",{className:I.wrapper,children:Object.entries(t.fonts).map(([a,i])=>e.jsxRuntimeExports.jsxs("div",{className:I.category,children:[e.jsxRuntimeExports.jsx("h2",{className:I.categoryTitle,children:T(a)}),Object.entries(i).map(([n,l])=>e.jsxRuntimeExports.jsx(yo,{id:n,category:a,...l},n))]},a))})},Po="_wrapper_94fpv_1",Ao="_open_94fpv_16",Lo="_close_94fpv_20",To="_header_94fpv_24",No="_title_94fpv_31",Fo="_options_94fpv_37",Do="_clicked_94fpv_44",G={wrapper:Po,open:Ao,close:Lo,header:To,title:No,options:Fo,clicked:Do},Mo=()=>{const{activeBlock:t,setActiveFont:o,activeFont:s,themeSettings:r,updateFont:a}=e.useThemeSettingsStore(),{fonts:i}=e.useFontsStore(),[n,l]=j.useState(null);function c(){o(null)}function g(m,p){n&&s&&a(n,s,p,m)}const x=j.useMemo(()=>s?r.fonts.heading[s]?(l("heading"),r.fonts.heading[s]):r.fonts.paragraph[s]?(l("paragraph"),r.fonts.paragraph[s]):(l(null),null):null,[s,r]);return e.jsxRuntimeExports.jsxs("div",{className:e.clx(G.wrapper,{[G.open]:(t==null?void 0:t.name)==="Fonts"&&s,[G.close]:(t==null?void 0:t.name)!=="Fonts"||!s}),children:[e.jsxRuntimeExports.jsxs("div",{className:G.header,onClick:c,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0}),e.jsxRuntimeExports.jsx("span",{className:G.title,children:"Font Style"})]}),s&&x&&e.jsxRuntimeExports.jsxs("div",{className:G.options,children:[e.jsxRuntimeExports.jsx(e.Select,{label:"Font",value:x.font,onChange:m=>g(m,"font"),options:[...i.filter(m=>m!==x.font)]}),e.jsxRuntimeExports.jsx(e.Select,{label:"Size",value:String(x.size),onChange:m=>g(m,"size"),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.Select,{label:"Weight",value:String(x.weight),onChange:m=>g(m,"weight"),options:e.weightOptions})]})]})},Ho="_wrapper_94fpv_1",Io="_open_94fpv_16",$o="_close_94fpv_20",Oo="_header_94fpv_24",Uo="_title_94fpv_31",Go="_options_94fpv_37",qo="_clicked_94fpv_44",q={wrapper:Ho,open:Io,close:$o,header:Oo,title:Uo,options:Go,clicked:qo},xe=()=>{const{activeBlock:t,themeSettings:o,updateBorder:s,setActiveBlock:r}=e.useThemeSettingsStore();function a(l,c){s(c,l)}function i(){r(null)}const n=j.useMemo(()=>o.borders,[o]);return e.jsxRuntimeExports.jsxs("div",{className:e.clx(q.wrapper,{[q.open]:(t==null?void 0:t.name)==="Borders",[q.close]:(t==null?void 0:t.name)!=="Borders"}),children:[e.jsxRuntimeExports.jsxs("div",{className:q.header,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:i}),e.jsxRuntimeExports.jsx("span",{className:q.title,children:"Borders Style"})]}),e.jsxRuntimeExports.jsxs("div",{className:q.options,children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Border Radius (px)",value:String(n.radius),onChange:l=>a(Number(l),"radius"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Input,{label:"Border Thickness (px)",value:String(n.thickness),onChange:l=>a(Number(l),"thickness"),type:"number",min:0})]})]})},zo="_wrapper_1j33r_1",Wo="_open_1j33r_16",Vo="_close_1j33r_20",Xo="_header_1j33r_24",Ko="_title_1j33r_31",Qo="_options_1j33r_37",Yo="_clicked_1j33r_44",Jo="_label_1j33r_48",Zo="_alignments_1j33r_55",en="_blocks_1j33r_61",tn="_alignment_1j33r_55",sn="_active_1j33r_75",A={wrapper:zo,open:Wo,close:Vo,header:Xo,title:Ko,options:Qo,clicked:Yo,label:Jo,alignments:Zo,blocks:en,alignment:tn,active:sn},on=["left","center","right"],he=()=>{const{activeBlock:t,themeSettings:o,updateButton:s,setActiveBlock:r}=e.useThemeSettingsStore();function a(l,c){s(c,l)}function i(){r(null)}const n=j.useMemo(()=>o.buttons,[o]);return e.jsxRuntimeExports.jsxs("div",{className:e.clx(A.wrapper,{[A.open]:(t==null?void 0:t.name)==="Buttons",[A.close]:(t==null?void 0:t.name)!=="Buttons"}),children:[e.jsxRuntimeExports.jsxs("div",{className:A.header,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:i}),e.jsxRuntimeExports.jsx("span",{className:A.title,children:"Buttons Style"})]}),n&&e.jsxRuntimeExports.jsxs("div",{className:A.options,children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Height (px)",value:String(n.height),onChange:l=>a(l,"height"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Select,{label:"Font Size (px)",value:String(n.size),onChange:l=>a(l,"size"),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.Input,{label:"Border Radius (px)",value:String(n.radius),onChange:l=>a(Number(l),"radius"),type:"number",min:0}),e.jsxRuntimeExports.jsxs("div",{className:A.alignments,children:[e.jsxRuntimeExports.jsx("h4",{className:A.label,children:"Alignment Type"}),e.jsxRuntimeExports.jsx("div",{className:A.blocks,children:on.map(l=>e.jsxRuntimeExports.jsx("div",{className:e.clx(A.alignment,{[A.active]:n.alignment===l}),onClick:()=>{a(l,"alignment")},children:e.jsxRuntimeExports.jsx(e.Icon,{name:l==="center"?"AlignCenterHorizontal":l==="left"?"AlignLeft":"AlignRight",fill:n.alignment===l?"#252525":"#757575"})},l))})]})]})]})},nn=()=>{const{activeBlock:t}=e.useThemeSettingsStore();return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[(t==null?void 0:t.name)==="Fonts"&&e.jsxRuntimeExports.jsx(Mo,{}),(t==null?void 0:t.name)==="Borders"&&e.jsxRuntimeExports.jsx(xe,{}),(t==null?void 0:t.name)==="Buttons"&&e.jsxRuntimeExports.jsx(he,{})]})},rn=()=>{const{activeBlock:t,setActiveBlock:o}=e.useThemeSettingsStore(),{activeBlock:s}=e.useNavbarStore();function r(){o(null)}return e.jsxRuntimeExports.jsxs("div",{className:e.clx(X.settings,{[X.open]:t,[X.close]:!t||s.name!=="Theme"}),children:[e.jsxRuntimeExports.jsxs("div",{className:X.header,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:r}),e.jsxRuntimeExports.jsx("span",{className:X.title,children:t==null?void 0:t.name})]}),(t==null?void 0:t.name)==="Fonts"&&e.jsxRuntimeExports.jsx(Bo,{}),(t==null?void 0:t.name)==="Colors"&&e.jsxRuntimeExports.jsx(eo,{}),(t==null?void 0:t.name)==="Inputs"&&e.jsxRuntimeExports.jsx(So,{}),(t==null?void 0:t.name)==="Borders"&&e.jsxRuntimeExports.jsx(xe,{}),(t==null?void 0:t.name)==="Borders"&&e.jsxRuntimeExports.jsx(he,{}),e.jsxRuntimeExports.jsx(nn,{})]})},an=()=>{const{activeBlock:t}=e.useNavbarStore(),{activeBlock:o}=e.useBlocksStore();function s(){switch(t.name){case"Layers":return"Layers";case"Add":return"Add Sections";case"Theme":return"Theme Settings";case"Settings":return"Settings"}}return e.jsxRuntimeExports.jsxs("div",{className:ce.sidebar,children:[e.jsxRuntimeExports.jsx("h3",{className:ce.title,children:s()}),t.name==="Layers"&&e.jsxRuntimeExports.jsx(ws,{}),t.name==="Add"&&e.jsxRuntimeExports.jsx(de,{}),e.jsxRuntimeExports.jsx(Os,{isAdd:!!o}),e.jsxRuntimeExports.jsx(rn,{}),t.name==="Theme"&&e.jsxRuntimeExports.jsx(ys,{}),t.name==="Settings"&&e.jsxRuntimeExports.jsx(fs,{})]})},ln="_wrapper_jjfwh_1",cn="_header_jjfwh_12",un="_content_jjfwh_21",mn="_buttons_jjfwh_29",pn="_cancel_jjfwh_35",dn="_label_jjfwh_40",xn="_description_jjfwh_41",hn="_preview_jjfwh_49",gn="_block_jjfwh_55",jn="_slug_jjfwh_63",Sn="_title_jjfwh_69",L={wrapper:ln,header:cn,content:un,buttons:mn,cancel:pn,label:dn,description:xn,preview:hn,block:gn,slug:jn,title:Sn},Cn=()=>{var B,$,d,b,_,v;const{setIsOpenModal:t,pages:o,createPage:s,updatePage:r,isEdit:a,setIsEdit:i,editedPage:n,setEditedPage:l}=e.usePagesStore(),{createPage:c,updatePage:g}=e.useLayersStore(),[x,m]=j.useState(n?(B=o[n])==null?void 0:B.path:""),[p,u]=j.useState(n?($=o[n])==null?void 0:$.name:""),[S,h]=j.useState(n?(d=o[n])==null?void 0:d.seo.description:""),[C,k]=j.useState(n?(b=o[n])==null?void 0:b.visibility:"public");function f(){m(""),u(""),h(""),k("public"),i(!1),l(null)}function R(){f(),t(!1)}function N(w){return w[0]==="/"?w:"/"+w}function E(){s({path:N(x),name:p||x,icon:"File",seo:{title:p,description:S},visibility:C}),c(p),R()}function y(){g(o[n].name,p||x),r(n,{path:N(x),name:p||x,icon:o[n].icon||"file",seo:{title:p,description:S},visibility:C}),R()}return e.jsxRuntimeExports.jsxs("div",{className:L.wrapper,onClick:w=>w.stopPropagation(),children:[e.jsxRuntimeExports.jsxs("div",{className:L.header,children:[e.jsxRuntimeExports.jsxs("h2",{children:[a?"Edit":"Create"," Blank Page"]}),e.jsxRuntimeExports.jsx(e.Icon,{name:"X",fill:"#757575",hoverable:!0,onClick:R})]}),e.jsxRuntimeExports.jsxs("div",{className:L.content,children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Page Slug",onChange:w=>m(w),value:x,placeholder:"path-to-page",disabled:!!(n&&((_=o[n])!=null&&_.name)&&e.defaultPageNames.includes(o[n].name)),required:!0,regex:"^.+$"}),e.jsxRuntimeExports.jsx(e.Input,{label:"Page Title",onChange:w=>u(w),value:p,placeholder:"Contact us",disabled:!!(n&&((v=o[n])!=null&&v.name)&&e.defaultPageNames.includes(o[n].name))}),e.jsxRuntimeExports.jsx(e.Textarea,{label:"Description",onChange:w=>h(w),value:S,placeholder:"Contact us at any time of the day or night. You are always welcome",maxLength:150}),e.jsxRuntimeExports.jsx(e.Radio,{label:"Visibility",defaultValue:C,options:[{value:"public",label:"Public"},{value:"private",label:"Private"}],onChange:w=>k(w)}),e.jsxRuntimeExports.jsxs("div",{className:L.preview,children:[e.jsxRuntimeExports.jsx("span",{className:L.label,children:"Preview"}),e.jsxRuntimeExports.jsxs("div",{className:L.block,children:[e.jsxRuntimeExports.jsx("span",{className:L.slug,children:x||"yoursite.url"}),e.jsxRuntimeExports.jsx("span",{className:L.title,children:p||"My Blank Page"}),e.jsxRuntimeExports.jsx("span",{className:L.description,children:S||"It is My Description"})]})]})]}),e.jsxRuntimeExports.jsxs("div",{className:L.buttons,children:[e.jsxRuntimeExports.jsx(e.Button,{className:L.cancel,onClick:R,children:"Cancel"}),e.jsxRuntimeExports.jsx(e.Button,{onClick:a?y:E,disabled:x.length===0,children:a?"Update":"Create"})]})]})},_n="_layout_kjedu_1",bn="_main_kjedu_8",wn="_content_kjedu_15",re={layout:_n,main:bn,content:wn},kn=()=>{const{isOpenModal:t,setIsOpenModal:o}=e.usePagesStore(),{openModal:s,setOpenModal:r}=e.useChooseImageStore();return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs("div",{className:re.layout,children:[e.jsxRuntimeExports.jsx(ut,{}),e.jsxRuntimeExports.jsxs("main",{className:re.main,children:[e.jsxRuntimeExports.jsx(st,{}),e.jsxRuntimeExports.jsxs("div",{className:re.content,children:[e.jsxRuntimeExports.jsx(an,{}),e.jsxRuntimeExports.jsx(ss,{})]})]})]}),t&&e.jsxRuntimeExports.jsx(e.Modal,{close:o,children:e.jsxRuntimeExports.jsx(Cn,{})}),s&&e.jsxRuntimeExports.jsx(e.Modal,{close:r,children:e.jsxRuntimeExports.jsx(e.ChooseImageModal,{})})]})};async function z(t,o){const s=localStorage.getItem("shopId")||void 0,r=`${Ce}/${t}/builder/shops/${s}/${o}`,a=localStorage.getItem("accessToken")||void 0;return(await e.axios.get(r,{headers:{Authorization:`Bearer ${a}`}})).data}async function fn(){try{const[t,o,s,r,a,i]=await Promise.allSettled([z("v1","general"),z("v1","faqs"),z("v1","listings"),z("v1","products"),z("v1","reviews"),z("v1","categories")]);return{general:t,faqs:o,listings:s,products:r,reviews:a,categories:i}}catch(t){throw console.error("Error fetching page data:",t),t}}async function vn(){try{const{data:t}=await e.axios.get(`${_e}?key=undefined`);return t.items}catch(t){throw console.error("Error fetching page data:",t),t}}function Rn(){const{editBlock:t,currentBlock:o,blocks:s,header:r,setHeader:a,footer:i,setFooter:n}=e.useLayersStore.getState(),{currentPage:l,pages:c}=e.usePagesStore.getState(),{currentInstance:g,activeBlock:x}=e.useBlocksStore.getState();!x&&g&&(o==="header"&&a(r),o==="footer"&&n(i),t(c[l].name,o,{name:s[c[l].name][o].name,value:g}))}const En=t=>{const{blocks:o,settings:s,header:r,footer:a}=t,{setBlocks:i,setSourceBlocks:n}=e.useBlocksStore(),{fonts:l,setFonts:c}=e.useFontsStore(),{setSettings:g}=e.useSettingsStore(),{setPageContext:x}=e.usePagesStore(),{setHeader:m,setFooter:p}=e.useLayersStore();return j.useEffect(()=>{const u={};Object.keys(o).map(h=>{u[h]=o[h]}),n(u),i(u),m(r),p(a),g(s),(async()=>{if(l.length===0){const k=await vn();c([...k.map(f=>f.family)])}let h={listings:[],products:[],reviews:[],categories:[],faqs:[],general:[]};const C=await fn();Object.keys(C).map(k=>{const f=k;h[f]=C[f].value.data}),x(h)})()},[]),e.jsxRuntimeExports.jsx(kn,{})};exports.Builder=En;exports.hotReload=Rn;exports.iconNames=be;
5
+ `},children:e.jsxRuntimeExports.jsx("div",{className:e.styles.indicator,style:{position:"absolute",left:`${i}%`,top:`${100-n}%`,transform:"translate(-50%, -50%)"}})}),e.jsxRuntimeExports.jsx("div",{className:e.styles.hueSlider,children:e.jsxRuntimeExports.jsx("input",{type:"range",min:"0",max:"360",value:a,onChange:d=>{g(Number(d.target.value)),R(i,n)},className:e.styles.slider})}),e.jsxRuntimeExports.jsxs("div",{className:e.styles.buttons,children:[e.jsxRuntimeExports.jsx(e.Button,{onClick:$,className:e.clx(e.styles.applyButton,e.styles.cancelButton),children:"Cancel"}),e.jsxRuntimeExports.jsx(e.Button,{onClick:B,className:e.styles.applyButton,children:"Apply"})]})]})},ss=()=>{const{onPreview:t}=e.usePreviewStore(),{hoverBlockId:o,isModalVisible:s,isPreviewVisible:r}=e.useSubmodalStore(),{settings:a}=e.useSettingsStore(),{blocks:i}=e.useBlocksStore(),{blocks:n}=e.useLayersStore(),{currentPage:l,pages:c}=e.usePagesStore(),{showModal:g}=e.useColorPickerStore(),[x,m]=j.useState(!0);j.useEffect(()=>{t&&setTimeout(()=>{m(!1)},100)},[t]);const p=u=>{const S=new i[u.name];return Object.assign(S,u.value),S.renderBlock(a)};return e.jsxRuntimeExports.jsxs("div",{className:V.preview,children:[s&&e.jsxRuntimeExports.jsx(e.Submodal,{children:e.jsxRuntimeExports.jsx(de,{})}),r&&o&&e.jsxRuntimeExports.jsx(e.Submodal,{children:e.jsxRuntimeExports.jsx(pe,{render:p,block:n[c[l].name][o]})}),g&&e.jsxRuntimeExports.jsx(ts,{}),t&&e.jsxRuntimeExports.jsxs("div",{className:V.main,children:[e.jsxRuntimeExports.jsx(yt,{}),e.jsxRuntimeExports.jsx("div",{className:V.content,children:x?e.jsxRuntimeExports.jsx("div",{className:V.loading,children:e.jsxRuntimeExports.jsx("div",{className:V.loader})}):e.jsxRuntimeExports.jsx(Xt,{})})]})]})},os="_sidebar_1r5sp_1",ns="_title_1r5sp_10",rs="_active_1r5sp_18",ce={sidebar:os,title:ns,active:rs},is="_layers_62wod_1",as="_block_62wod_8",ls="_dragging_62wod_23",cs="_active_62wod_31",us="_add_62wod_35",ms="_button_62wod_47",ps="_empty_62wod_60",ds="_title_62wod_72",xs="_icon_62wod_79",hs="_text_62wod_83",gs="_highlight_62wod_89",W={layers:is,block:as,dragging:ls,active:cs,add:us,button:ms,empty:ps,title:ds,icon:xs,text:hs,highlight:gs},js="_block_1d6lb_1",ue={block:js},Ss=()=>{const{setCurrentBlock:t}=e.useLayersStore(),{activeBlock:o}=e.usePreviewStore();function s(r){t(r)}return e.jsxRuntimeExports.jsxs("div",{className:e.clx(ue.block,{[ue.active]:o==="header"}),onClick:()=>s("header"),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Cards"}),e.jsxRuntimeExports.jsx("span",{children:"Header"})]})},Cs="_block_1d6lb_1",me={block:Cs},_s=()=>{const{activeBlock:t}=e.usePreviewStore(),{setCurrentBlock:o}=e.useLayersStore();function s(r){o(r)}return e.jsxRuntimeExports.jsxs("div",{className:e.clx(me.block,{[me.active]:t==="footer"}),onClick:()=>s("footer"),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Cards"}),e.jsxRuntimeExports.jsx("span",{children:"Footer"})]})},bs=({id:t,name:o,index:s,moveBlock:r,onClick:a})=>{const{currentPage:i,pages:n}=e.usePagesStore(),{activeBlock:l}=e.usePreviewStore(),{showPreview:c,hidePreview:g,showModal:x,hideModal:m,clearHideTimeout:p,startHideTimeout:u,hoverBlockId:S,isModalVisible:h}=e.useSubmodalStore(),{setPositionBlock:C}=e.useLayersStore(),[k,f]=j.useState(!1),R=()=>{h&&m(),c(t),f(!0),p()},N=d=>{d.stopPropagation(),g(),x(t),p(),C(s+1)},E=()=>{h?u():(f(!1),g())};j.useEffect(()=>{h||f(!1)},[h]);const[,y]=e.useDrop({accept:"block",hover(d){d.index!==s&&(r(n[i].name,d.index,s),d.index=s)}}),[{isDragging:B},$]=e.useDrag({type:"block",item:{id:t,index:s},collect:d=>({isDragging:d.isDragging()})});return e.jsxRuntimeExports.jsxs("div",{ref:d=>$(y(d)),className:e.clx(W.block,{[W.dragging]:B,[W.active]:!B&&l===t}),onClick:()=>a(t),onMouseEnter:R,onMouseLeave:E,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"Cards"}),e.jsxRuntimeExports.jsx("span",{children:o}),(k||S===t)&&!B&&e.jsxRuntimeExports.jsx("div",{className:W.add,children:e.jsxRuntimeExports.jsx("button",{className:W.button,onClick:d=>N(d),children:e.jsxRuntimeExports.jsx(e.Icon,{name:"Plus",fill:"#fff"})})})]})},ws=()=>{const{blocks:t,setCurrentBlock:o,moveBlock:s}=e.useLayersStore(),{currentPage:r,pages:a}=e.usePagesStore(),{setMouseOverModal:i,setHoverBlockId:n}=e.useSubmodalStore();function l(c){o(c),i(!1),n(null)}return e.jsxRuntimeExports.jsxs("div",{className:W.layers,children:[e.jsxRuntimeExports.jsx(Ss,{}),e.jsxRuntimeExports.jsx(e.DndProvider,{backend:e.HTML5Backend,children:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:t[a[r].name]&&Object.keys(t[a[r].name]).map((c,g)=>e.jsxRuntimeExports.jsx(bs,{id:c,name:t[a[r].name][c].name,index:g,moveBlock:s,onClick:l},c))})}),e.jsxRuntimeExports.jsx(_s,{})]})},ks=({isHeader:t})=>{const{header:o,footer:s}=e.useLayersStore(),{pageContext:r}=e.usePagesStore();return t?o==null?void 0:o.renderSettings(r):s==null?void 0:s.renderSettings(r)},fs=()=>{const{settings:t}=e.useSettingsStore();return t==null?void 0:t.renderSettings()},vs="_theme_1xj36_1",Rs="_block_1xj36_6",Es="_name_1xj36_20",ne={theme:vs,block:Rs,name:Es},ys=()=>{const{setActiveBlock:t}=e.useThemeSettingsStore();function o(s){t(s)}return e.jsxRuntimeExports.jsx("div",{className:ne.theme,children:Se.map(s=>e.jsxRuntimeExports.jsxs("div",{onClick:()=>o(s),className:e.clx(ne.block),children:[e.jsxRuntimeExports.jsx(e.Icon,{name:s.icon}),e.jsxRuntimeExports.jsx("span",{className:ne.name,children:s.name}),e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretRight"})]},s.icon))})},Bs="_back_1lk1m_1",Ps="_render_1lk1m_8",As="_open_1lk1m_23",Ls="_close_1lk1m_50",Ts="_clicked_1lk1m_54",Ns="_title_1lk1m_58",Fs="_button_1lk1m_65",Ds="_loading_1lk1m_70",Ms="_settings_1lk1m_74",Hs="_buttons_1lk1m_80",Is="_deleteButton_1lk1m_86",F={back:Bs,render:Ps,open:As,close:Ls,clicked:Ts,title:Ns,button:Fs,loading:Ds,settings:Ms,buttons:Hs,deleteButton:Is},$s=({block:t})=>{if(!t)return null;const{pageContext:o}=e.usePagesStore();return t.renderSettings(o)},Os=t=>{var b;const{isAdd:o}=t,[s,r]=j.useState(!1),{setActiveBlock:a}=e.useNavbarStore(),{sourceBlocks:i,activeBlock:n,setActiveBlock:l,currentInstance:c,setCurrentInstance:g}=e.useBlocksStore(),{blocks:x,addBlock:m,editBlock:p,currentBlock:u,setCurrentBlock:S,removeBlock:h,setPositionBlock:C,setHeader:k,setFooter:f,header:R,footer:N}=e.useLayersStore(),{currentPage:E,pages:y}=e.usePagesStore();function B(_=!1){!o&&c&&!_&&p(y[E].name,u,{name:x[y[E].name][u].name,value:c}),l(null),S(null),setTimeout(()=>{r(!1)},150),g(null)}function $(){B(),a({name:"Layers",icon:"TreeStructure"}),g(null)}function d(){if(o)return new i[n];{const _=x[y[E].name][u];return new i[_.name](_.value.blockSettings)}}return j.useEffect(()=>{if(n||u&&!["header","footer"].includes(u)){const _=d();g(_)}else g(null)},[n,u]),j.useEffect(()=>{u==="header"&&k(R)},[u,R]),j.useEffect(()=>{u==="footer"&&f(N)},[u,N]),e.jsxRuntimeExports.jsxs("div",{className:e.clx(F.render,{[F.open]:u||n,[F.close]:!u&&!n,[F.clicked]:s}),children:[e.jsxRuntimeExports.jsxs("div",{className:F.back,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:()=>B()}),e.jsxRuntimeExports.jsx("h3",{className:F.title,children:n||x[y[E].name]&&((b=x[y[E].name][u])==null?void 0:b.name)||u&&T(u)||"Loading"})]}),e.jsxRuntimeExports.jsxs("div",{className:F.settings,children:[c&&e.jsxRuntimeExports.jsx($s,{block:c}),u&&["header","footer"].includes(u)&&e.jsxRuntimeExports.jsx(ks,{isHeader:u==="header"}),!n&&!u&&e.jsxRuntimeExports.jsx("div",{className:F.loading,children:"Loading"})]}),e.jsxRuntimeExports.jsxs("div",{className:F.buttons,children:[o&&e.jsxRuntimeExports.jsx(e.Button,{style:{width:"100%"},onClick:()=>{r(!0),["header","footer"].includes(u)?u==="header"?k(R):f(N):(m(y[E].name,{name:n,value:c}),C(null)),$()},children:"Add Section"}),!o&&!["header","footer"].includes(u)&&e.jsxRuntimeExports.jsx("button",{onClick:()=>{r(!0),h(y[E].name,u),B(!0)},className:F.deleteButton,children:e.jsxRuntimeExports.jsx(e.Icon,{name:"Trash",hoverable:!0})})]})]})},Us="_settings_1r85j_1",Gs="_open_1r85j_16",qs="_close_1r85j_20",zs="_header_1r85j_24",Ws="_title_1r85j_30",Vs="_addButton_1r85j_37",X={settings:Us,open:Gs,close:qs,header:zs,title:Ws,addButton:Vs},Xs="_wrapper_n1a7x_1",Ks="_category_n1a7x_5",Qs="_categoryTitle_n1a7x_10",Ys="_color_n1a7x_16",Js="_content_n1a7x_24",Zs="_preview_n1a7x_32",U={wrapper:Xs,category:Ks,categoryTitle:Qs,color:Ys,content:Js,preview:Zs},eo=()=>{const{themeSettings:t,updateColor:o}=e.useThemeSettingsStore();async function s(a,i,n){o(a,i,n)}const r=j.useMemo(()=>{const a={};return Object.entries(t.colors).forEach(([i,n])=>{Object.entries(n).forEach(([l,c])=>{a[c]||(a[c]=[]),a[c].push(`${i}-${l}`)})}),Object.keys(a).filter(i=>a[i].length>1)},[t.colors]);return e.jsxRuntimeExports.jsx("div",{className:U.wrapper,children:Object.entries(t.colors).map(([a,i])=>e.jsxRuntimeExports.jsxs("div",{className:U.category,children:[e.jsxRuntimeExports.jsx("h2",{className:U.categoryTitle,children:T(a)}),Object.entries(i).map(([n,l])=>e.jsxRuntimeExports.jsxs("div",{className:U.color,children:[e.jsxRuntimeExports.jsxs("div",{className:U.content,children:[e.jsxRuntimeExports.jsx("div",{className:U.preview,style:{background:l}}),e.jsxRuntimeExports.jsx(e.ColorPicker,{title:T(n),initialColor:l,onChange:c=>s(a,n,c)})]}),r.includes(l)&&e.jsxRuntimeExports.jsx(e.Tip,{type:"warning",message:"To avoid contrast problems, please use a different color",style:{marginBottom:12}})]},n))]},a))})},to="_wrapper_kb55x_2",so="_category_kb55x_6",oo="_categoryTitle_kb55x_11",no="_color_kb55x_17",ro="_name_kb55x_23",io="_content_kb55x_28",ao="_label_kb55x_34",lo="_input_kb55x_45",co="_title_kb55x_71",uo="_field_kb55x_79",mo="_alignments_kb55x_89",po="_lineField_kb55x_95",xo="_style_kb55x_101",ho="_header_kb55x_108",D={wrapper:to,category:so,categoryTitle:oo,color:no,name:ro,content:io,label:ao,input:lo,title:co,field:uo,alignments:mo,lineField:po,style:xo,header:ho},go=["left","center","right"],jo=["solid","dashed"],te=t=>{const{title:o,children:s,rightAddon:r}=t;return e.jsxRuntimeExports.jsxs("div",{className:D.field,children:[e.jsxRuntimeExports.jsxs("div",{className:D.header,children:[e.jsxRuntimeExports.jsx("h4",{children:o}),r]}),s]})},So=()=>{const{themeSettings:t,updateInput:o}=e.useThemeSettingsStore(),s=j.useMemo(()=>t.inputs,[t]),r=(i,n,l)=>{o(i,n,l)},a=i=>n=>{o(i,n,"color")};return e.jsxRuntimeExports.jsxs("div",{className:D.wrapper,children:[e.jsxRuntimeExports.jsxs(te,{title:"General",children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Height (px)",value:String(s.general.height),onChange:i=>r("general",i,"height"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Input,{label:"Style name",value:s.general.name,onChange:i=>r("general",i,"name")}),e.jsxRuntimeExports.jsx(e.Select,{label:"Font Size (px)",onChange:i=>r("general",i,"size"),value:String(s.general.size),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.general.color),onChange:a("general"),title:"Font Color",labelStyle:"secondary"})]}),e.jsxRuntimeExports.jsxs(te,{title:"Field Fill",rightAddon:e.jsxRuntimeExports.jsx("div",{className:D.switch,children:e.jsxRuntimeExports.jsx(e.Switch,{onChange:i=>r("field",i,"active"),current:s.field.active})}),children:[e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.field.color),onChange:a("field"),title:"Color",labelStyle:"secondary"}),e.jsxRuntimeExports.jsx(e.Input,{label:"Opacity (%)",value:String(s.field.opacity),onChange:i=>r("field",i,"opacity"),type:"number",min:0})]}),e.jsxRuntimeExports.jsxs(te,{title:"Border",rightAddon:e.jsxRuntimeExports.jsx("div",{className:D.switch,children:e.jsxRuntimeExports.jsx(e.Switch,{onChange:i=>r("border",i,"active"),current:s.border.active})}),children:[e.jsxRuntimeExports.jsxs("div",{className:D.lineField,children:[e.jsxRuntimeExports.jsxs("div",{className:D.style,children:[e.jsxRuntimeExports.jsx("span",{className:D.title,children:"Style"}),e.jsxRuntimeExports.jsx(e.Picker,{items:jo,selectedItem:s.border.style,onSelect:i=>r("border",i,"style"),getIconName:i=>i==="solid"?"Minus":"Selection"})]}),e.jsxRuntimeExports.jsx(e.Input,{label:"Radius (px)",value:String(s.border.radius),onChange:i=>r("border",i,"radius"),type:"number",min:0})]}),e.jsxRuntimeExports.jsx(e.Input,{label:"Thickness (px)",value:String(s.border.thickness),onChange:i=>r("border",i,"thickness"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.border.color),onChange:a("border"),title:"Color",labelStyle:"secondary"})]}),e.jsxRuntimeExports.jsxs(te,{title:"Label",children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Line Height (px)",value:String(s.label.height),onChange:i=>r("label",i,"height"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Select,{label:"Font Size (px)",onChange:i=>r("label",i,"size"),value:String(s.label.size),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.ColorPicker,{initialColor:T(s.label.color),onChange:a("label"),title:"Color",labelStyle:"secondary"}),e.jsxRuntimeExports.jsxs("div",{className:D.alignments,children:[e.jsxRuntimeExports.jsx("h4",{className:D.title,children:"Alignment Type"}),e.jsxRuntimeExports.jsx(e.Picker,{items:go,selectedItem:s.label.alignment,onSelect:i=>r("label",i,"alignment"),getIconName:i=>i==="center"?"AlignCenterHorizontal":i==="left"?"AlignLeft":"AlignRight"})]})]})]})},Co="_wrapper_k9on2_1",_o="_category_k9on2_5",bo="_categoryTitle_k9on2_10",wo="_font_k9on2_16",ko="_content_k9on2_36",fo="_icon_k9on2_42",vo="_paragraph_k9on2_51",Ro="_deleteIcon_k9on2_55",Eo="_iconButton_k9on2_62",I={wrapper:Co,category:_o,categoryTitle:bo,font:wo,content:ko,icon:fo,paragraph:vo,deleteIcon:Ro,iconButton:Eo},yo=t=>{const{font:o,size:s,id:r,category:a}=t,{setActiveFont:i}=e.useThemeSettingsStore();return e.jsxRuntimeExports.jsxs("div",{className:I.font,onClick:()=>i(r),children:[e.jsxRuntimeExports.jsx("div",{className:e.clx(I.icon,{[I.paragraph]:a==="paragraph"}),children:e.jsxRuntimeExports.jsx(e.Icon,{name:a==="paragraph"?"TextB":"TextH"})}),e.jsxRuntimeExports.jsxs("div",{className:I.content,children:[e.jsxRuntimeExports.jsx("h2",{className:I.categoryTitle,children:T(r)}),e.jsxRuntimeExports.jsx("span",{className:I.value,children:`${o}, ${s}px`})]})]})},Bo=()=>{const{themeSettings:t,setActiveFont:o,activeBlock:s}=e.useThemeSettingsStore();j.useEffect(()=>(r(),()=>{r()}),[]);function r(){o(null)}if(s!=null&&s.name)return e.jsxRuntimeExports.jsx("div",{className:I.wrapper,children:Object.entries(t.fonts).map(([a,i])=>e.jsxRuntimeExports.jsxs("div",{className:I.category,children:[e.jsxRuntimeExports.jsx("h2",{className:I.categoryTitle,children:T(a)}),Object.entries(i).map(([n,l])=>e.jsxRuntimeExports.jsx(yo,{id:n,category:a,...l},n))]},a))})},Po="_wrapper_94fpv_1",Ao="_open_94fpv_16",Lo="_close_94fpv_20",To="_header_94fpv_24",No="_title_94fpv_31",Fo="_options_94fpv_37",Do="_clicked_94fpv_44",G={wrapper:Po,open:Ao,close:Lo,header:To,title:No,options:Fo,clicked:Do},Mo=()=>{const{activeBlock:t,setActiveFont:o,activeFont:s,themeSettings:r,updateFont:a}=e.useThemeSettingsStore(),{fonts:i}=e.useFontsStore(),[n,l]=j.useState(null);function c(){o(null)}function g(m,p){n&&s&&a(n,s,p,m)}const x=j.useMemo(()=>s?r.fonts.heading[s]?(l("heading"),r.fonts.heading[s]):r.fonts.paragraph[s]?(l("paragraph"),r.fonts.paragraph[s]):(l(null),null):null,[s,r]);return e.jsxRuntimeExports.jsxs("div",{className:e.clx(G.wrapper,{[G.open]:(t==null?void 0:t.name)==="Fonts"&&s,[G.close]:(t==null?void 0:t.name)!=="Fonts"||!s}),children:[e.jsxRuntimeExports.jsxs("div",{className:G.header,onClick:c,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0}),e.jsxRuntimeExports.jsx("span",{className:G.title,children:"Font Style"})]}),s&&x&&e.jsxRuntimeExports.jsxs("div",{className:G.options,children:[e.jsxRuntimeExports.jsx(e.Select,{label:"Font",value:x.font,onChange:m=>g(m,"font"),options:[...i.filter(m=>m!==x.font)]}),e.jsxRuntimeExports.jsx(e.Select,{label:"Size",value:String(x.size),onChange:m=>g(m,"size"),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.Select,{label:"Weight",value:String(x.weight),onChange:m=>g(m,"weight"),options:e.weightOptions})]})]})},Ho="_wrapper_94fpv_1",Io="_open_94fpv_16",$o="_close_94fpv_20",Oo="_header_94fpv_24",Uo="_title_94fpv_31",Go="_options_94fpv_37",qo="_clicked_94fpv_44",q={wrapper:Ho,open:Io,close:$o,header:Oo,title:Uo,options:Go,clicked:qo},xe=()=>{const{activeBlock:t,themeSettings:o,updateBorder:s,setActiveBlock:r}=e.useThemeSettingsStore();function a(l,c){s(c,l)}function i(){r(null)}const n=j.useMemo(()=>o.borders,[o]);return e.jsxRuntimeExports.jsxs("div",{className:e.clx(q.wrapper,{[q.open]:(t==null?void 0:t.name)==="Borders",[q.close]:(t==null?void 0:t.name)!=="Borders"}),children:[e.jsxRuntimeExports.jsxs("div",{className:q.header,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:i}),e.jsxRuntimeExports.jsx("span",{className:q.title,children:"Borders Style"})]}),e.jsxRuntimeExports.jsxs("div",{className:q.options,children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Border Radius (px)",value:String(n.radius),onChange:l=>a(Number(l),"radius"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Input,{label:"Border Thickness (px)",value:String(n.thickness),onChange:l=>a(Number(l),"thickness"),type:"number",min:0})]})]})},zo="_wrapper_1j33r_1",Wo="_open_1j33r_16",Vo="_close_1j33r_20",Xo="_header_1j33r_24",Ko="_title_1j33r_31",Qo="_options_1j33r_37",Yo="_clicked_1j33r_44",Jo="_label_1j33r_48",Zo="_alignments_1j33r_55",en="_blocks_1j33r_61",tn="_alignment_1j33r_55",sn="_active_1j33r_75",A={wrapper:zo,open:Wo,close:Vo,header:Xo,title:Ko,options:Qo,clicked:Yo,label:Jo,alignments:Zo,blocks:en,alignment:tn,active:sn},on=["left","center","right"],he=()=>{const{activeBlock:t,themeSettings:o,updateButton:s,setActiveBlock:r}=e.useThemeSettingsStore();function a(l,c){s(c,l)}function i(){r(null)}const n=j.useMemo(()=>o.buttons,[o]);return e.jsxRuntimeExports.jsxs("div",{className:e.clx(A.wrapper,{[A.open]:(t==null?void 0:t.name)==="Buttons",[A.close]:(t==null?void 0:t.name)!=="Buttons"}),children:[e.jsxRuntimeExports.jsxs("div",{className:A.header,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:i}),e.jsxRuntimeExports.jsx("span",{className:A.title,children:"Buttons Style"})]}),n&&e.jsxRuntimeExports.jsxs("div",{className:A.options,children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Height (px)",value:String(n.height),onChange:l=>a(l,"height"),type:"number",min:0}),e.jsxRuntimeExports.jsx(e.Select,{label:"Font Size (px)",value:String(n.size),onChange:l=>a(l,"size"),options:e.sizeOptions}),e.jsxRuntimeExports.jsx(e.Input,{label:"Border Radius (px)",value:String(n.radius),onChange:l=>a(Number(l),"radius"),type:"number",min:0}),e.jsxRuntimeExports.jsxs("div",{className:A.alignments,children:[e.jsxRuntimeExports.jsx("h4",{className:A.label,children:"Alignment Type"}),e.jsxRuntimeExports.jsx("div",{className:A.blocks,children:on.map(l=>e.jsxRuntimeExports.jsx("div",{className:e.clx(A.alignment,{[A.active]:n.alignment===l}),onClick:()=>{a(l,"alignment")},children:e.jsxRuntimeExports.jsx(e.Icon,{name:l==="center"?"AlignCenterHorizontal":l==="left"?"AlignLeft":"AlignRight",fill:n.alignment===l?"#252525":"#757575"})},l))})]})]})]})},nn=()=>{const{activeBlock:t}=e.useThemeSettingsStore();return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[(t==null?void 0:t.name)==="Fonts"&&e.jsxRuntimeExports.jsx(Mo,{}),(t==null?void 0:t.name)==="Borders"&&e.jsxRuntimeExports.jsx(xe,{}),(t==null?void 0:t.name)==="Buttons"&&e.jsxRuntimeExports.jsx(he,{})]})},rn=()=>{const{activeBlock:t,setActiveBlock:o}=e.useThemeSettingsStore(),{activeBlock:s}=e.useNavbarStore();function r(){o(null)}return e.jsxRuntimeExports.jsxs("div",{className:e.clx(X.settings,{[X.open]:t,[X.close]:!t||s.name!=="Theme"}),children:[e.jsxRuntimeExports.jsxs("div",{className:X.header,children:[e.jsxRuntimeExports.jsx(e.Icon,{name:"CaretLeft",hoverable:!0,onClick:r}),e.jsxRuntimeExports.jsx("span",{className:X.title,children:t==null?void 0:t.name})]}),(t==null?void 0:t.name)==="Fonts"&&e.jsxRuntimeExports.jsx(Bo,{}),(t==null?void 0:t.name)==="Colors"&&e.jsxRuntimeExports.jsx(eo,{}),(t==null?void 0:t.name)==="Inputs"&&e.jsxRuntimeExports.jsx(So,{}),(t==null?void 0:t.name)==="Borders"&&e.jsxRuntimeExports.jsx(xe,{}),(t==null?void 0:t.name)==="Borders"&&e.jsxRuntimeExports.jsx(he,{}),e.jsxRuntimeExports.jsx(nn,{})]})},an=()=>{const{activeBlock:t}=e.useNavbarStore(),{activeBlock:o}=e.useBlocksStore();function s(){switch(t.name){case"Layers":return"Layers";case"Add":return"Add Sections";case"Theme":return"Theme Settings";case"Settings":return"Settings"}}return e.jsxRuntimeExports.jsxs("div",{className:ce.sidebar,children:[e.jsxRuntimeExports.jsx("h3",{className:ce.title,children:s()}),t.name==="Layers"&&e.jsxRuntimeExports.jsx(ws,{}),t.name==="Add"&&e.jsxRuntimeExports.jsx(de,{}),e.jsxRuntimeExports.jsx(Os,{isAdd:!!o}),e.jsxRuntimeExports.jsx(rn,{}),t.name==="Theme"&&e.jsxRuntimeExports.jsx(ys,{}),t.name==="Settings"&&e.jsxRuntimeExports.jsx(fs,{})]})},ln="_wrapper_jjfwh_1",cn="_header_jjfwh_12",un="_content_jjfwh_21",mn="_buttons_jjfwh_29",pn="_cancel_jjfwh_35",dn="_label_jjfwh_40",xn="_description_jjfwh_41",hn="_preview_jjfwh_49",gn="_block_jjfwh_55",jn="_slug_jjfwh_63",Sn="_title_jjfwh_69",L={wrapper:ln,header:cn,content:un,buttons:mn,cancel:pn,label:dn,description:xn,preview:hn,block:gn,slug:jn,title:Sn},Cn=()=>{var B,$,d,b,_,v;const{setIsOpenModal:t,pages:o,createPage:s,updatePage:r,isEdit:a,setIsEdit:i,editedPage:n,setEditedPage:l}=e.usePagesStore(),{createPage:c,updatePage:g}=e.useLayersStore(),[x,m]=j.useState(n?(B=o[n])==null?void 0:B.path:""),[p,u]=j.useState(n?($=o[n])==null?void 0:$.name:""),[S,h]=j.useState(n?(d=o[n])==null?void 0:d.seo.description:""),[C,k]=j.useState(n?(b=o[n])==null?void 0:b.visibility:"public");function f(){m(""),u(""),h(""),k("public"),i(!1),l(null)}function R(){f(),t(!1)}function N(w){return w[0]==="/"?w:"/"+w}function E(){s({path:N(x),name:p||x,icon:"File",seo:{title:p,description:S},visibility:C}),c(p),R()}function y(){g(o[n].name,p||x),r(n,{path:N(x),name:p||x,icon:o[n].icon||"file",seo:{title:p,description:S},visibility:C}),R()}return e.jsxRuntimeExports.jsxs("div",{className:L.wrapper,onClick:w=>w.stopPropagation(),children:[e.jsxRuntimeExports.jsxs("div",{className:L.header,children:[e.jsxRuntimeExports.jsxs("h2",{children:[a?"Edit":"Create"," Blank Page"]}),e.jsxRuntimeExports.jsx(e.Icon,{name:"X",fill:"#757575",hoverable:!0,onClick:R})]}),e.jsxRuntimeExports.jsxs("div",{className:L.content,children:[e.jsxRuntimeExports.jsx(e.Input,{label:"Page Slug",onChange:w=>m(w),value:x,placeholder:"path-to-page",disabled:!!(n&&((_=o[n])!=null&&_.name)&&e.defaultPageNames.includes(o[n].name)),required:!0,regex:"^.+$"}),e.jsxRuntimeExports.jsx(e.Input,{label:"Page Title",onChange:w=>u(w),value:p,placeholder:"Contact us",disabled:!!(n&&((v=o[n])!=null&&v.name)&&e.defaultPageNames.includes(o[n].name))}),e.jsxRuntimeExports.jsx(e.Textarea,{label:"Description",onChange:w=>h(w),value:S,placeholder:"Contact us at any time of the day or night. You are always welcome",maxLength:150}),e.jsxRuntimeExports.jsx(e.Radio,{label:"Visibility",defaultValue:C,options:[{value:"public",label:"Public"},{value:"private",label:"Private"}],onChange:w=>k(w)}),e.jsxRuntimeExports.jsxs("div",{className:L.preview,children:[e.jsxRuntimeExports.jsx("span",{className:L.label,children:"Preview"}),e.jsxRuntimeExports.jsxs("div",{className:L.block,children:[e.jsxRuntimeExports.jsx("span",{className:L.slug,children:x||"yoursite.url"}),e.jsxRuntimeExports.jsx("span",{className:L.title,children:p||"My Blank Page"}),e.jsxRuntimeExports.jsx("span",{className:L.description,children:S||"It is My Description"})]})]})]}),e.jsxRuntimeExports.jsxs("div",{className:L.buttons,children:[e.jsxRuntimeExports.jsx(e.Button,{className:L.cancel,onClick:R,children:"Cancel"}),e.jsxRuntimeExports.jsx(e.Button,{onClick:a?y:E,disabled:x.length===0,children:a?"Update":"Create"})]})]})},_n="_layout_kjedu_1",bn="_main_kjedu_8",wn="_content_kjedu_15",re={layout:_n,main:bn,content:wn},kn=()=>{const{isOpenModal:t,setIsOpenModal:o}=e.usePagesStore(),{openModal:s,setOpenModal:r}=e.useChooseImageStore();return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs("div",{className:re.layout,children:[e.jsxRuntimeExports.jsx(ut,{}),e.jsxRuntimeExports.jsxs("main",{className:re.main,children:[e.jsxRuntimeExports.jsx(st,{}),e.jsxRuntimeExports.jsxs("div",{className:re.content,children:[e.jsxRuntimeExports.jsx(an,{}),e.jsxRuntimeExports.jsx(ss,{})]})]})]}),t&&e.jsxRuntimeExports.jsx(e.Modal,{close:o,children:e.jsxRuntimeExports.jsx(Cn,{})}),s&&e.jsxRuntimeExports.jsx(e.Modal,{close:r,children:e.jsxRuntimeExports.jsx(e.ChooseImageModal,{})})]})};async function z(t,o){const s=localStorage.getItem("shopId")||void 0,r=`${Ce}/${t}/builder/shops/${s}/${o}`,a=localStorage.getItem("accessToken")||void 0;return(await e.axios.get(r,{headers:{Authorization:`Bearer ${a}`}})).data}async function fn(){try{const[t,o,s,r,a,i]=await Promise.allSettled([z("v1","general"),z("v1","faqs"),z("v1","listings"),z("v1","products"),z("v1","reviews"),z("v1","categories")]);return{general:t,faqs:o,listings:s,products:r,reviews:a,categories:i}}catch(t){throw console.error("Error fetching page data:",t),t}}async function vn(){try{const{data:t}=await e.axios.get(`${_e}?key=AIzaSyAEsTbjAPUz_TeuFCq4z4LPK9w_vst0Pfw`);return t.items}catch(t){throw console.error("Error fetching page data:",t),t}}function Rn(){const{editBlock:t,currentBlock:o,blocks:s,header:r,setHeader:a,footer:i,setFooter:n}=e.useLayersStore.getState(),{currentPage:l,pages:c}=e.usePagesStore.getState(),{currentInstance:g,activeBlock:x}=e.useBlocksStore.getState();!x&&g&&(o==="header"&&a(r),o==="footer"&&n(i),t(c[l].name,o,{name:s[c[l].name][o].name,value:g}))}const En=t=>{const{blocks:o,settings:s,header:r,footer:a}=t,{setBlocks:i,setSourceBlocks:n}=e.useBlocksStore(),{fonts:l,setFonts:c}=e.useFontsStore(),{setSettings:g}=e.useSettingsStore(),{setPageContext:x}=e.usePagesStore(),{setHeader:m,setFooter:p}=e.useLayersStore();return j.useEffect(()=>{const u={};Object.keys(o).map(h=>{u[h]=o[h]}),n(u),i(u),m(r),p(a),g(s),(async()=>{if(l.length===0){const k=await vn();c([...k.map(f=>f.family)])}let h={listings:[],products:[],reviews:[],categories:[],faqs:[],general:[]};const C=await fn();Object.keys(C).map(k=>{const f=k;h[f]=C[f].value.data}),x(h)})()},[]),e.jsxRuntimeExports.jsx(kn,{})};exports.Builder=En;exports.hotReload=Rn;exports.iconNames=be;
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap";._icon_bsuj2_1 path{fill:var(--icon-fill)}._hoverable_bsuj2_5{cursor:pointer}._rotated_bsuj2_9{transform:rotate(180deg)}._button_3jsln_1{padding:10px 16px;border-radius:12px;cursor:pointer;font-size:16px}._button_3jsln_1:disabled{opacity:.7;cursor:auto}._primary_3jsln_13{color:#fff;background-color:#ff3f19}._secondary_3jsln_18{color:#757575;background-color:#f8f8f8}._content_3jsln_23{display:flex;align-items:center;gap:4px}._wrapper_wp7u5_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_wp7u5_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_wp7u5_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:7px 11px;font-size:16px;line-height:24px;border:1px solid var(--background-color)}._input_wp7u5_17::placeholder{color:#c2c2c2}._input_wp7u5_17:disabled{background-color:var(--background-color);opacity:.7}._required_wp7u5_36{border:1px solid #ff3f19}._paddingless_wp7u5_40{padding:0}._content_wp7u5_44{display:flex;align-items:center;gap:8px}._borderless_wp7u5_50{border-radius:0;border:none}._wrapper_1v1ye_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1v1ye_9{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._select_1v1ye_17{width:100%;background-color:var(--background-color);border-radius:12px;padding:10px 12px;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}._icon_1v1ye_30{transition:.2s}._rotate_1v1ye_34{transform:rotate(180deg)}._content_1v1ye_38{position:relative}._options_1v1ye_42{position:absolute;top:45px;width:100%;background-color:var(--background-color);border-radius:12px;font-size:14px;line-height:20px;display:flex;flex-direction:column;max-height:200px;z-index:10;overflow-y:scroll;cursor:pointer}._option_1v1ye_42{padding:10px 12px;border-radius:12px}._option_1v1ye_42:hover{background-color:#e6e6e6}._addon_1v1ye_66{display:flex;align-items:center;gap:6px}._wrapper_3w2ni_1{display:flex;width:fit-content;gap:8px;align-items:center;border-radius:12px;line-height:20px;color:#252525;font-size:14px;font-weight:400}._switch_3w2ni_13{width:40px;height:24px;background-color:#ccc;border-radius:25px;display:flex;align-items:center;padding:2px;cursor:pointer;transition:background-color .2s}._switch_3w2ni_13._active_3w2ni_24{background:#ff3f19}._switch_3w2ni_13 ._toggle_3w2ni_27{width:14px;height:14px;background-color:#fff;border-radius:16px;transition:transform .2s;transform:translate(2px)}._switch_3w2ni_13._active_3w2ni_24 ._toggle_3w2ni_27{transform:translate(18px)}._background_3w2ni_39{background-color:#f8f8f8}._padding_3w2ni_43{padding:8px}._wrapper_1inu5_1{border:var(--default-border);width:fit-content;height:fit-content;max-height:500px;max-width:500px;min-width:300px;padding:10px;left:10px;top:10px;position:absolute;z-index:1000;background-color:#fff;display:flex;border-radius:8px;justify-content:center;align-items:center;overflow:hidden}._blocks_1op3c_1{display:flex;align-items:center;gap:8px}._block_1op3c_1{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1op3c_18{border:1px solid #ff3f19}._applyButton_1cqw4_2{flex:0 1 50%;font-weight:400}._cancelButton_1cqw4_7{background-color:#f8f8f8;color:var(--accent-color)}._content_1cqw4_12{display:flex;flex-direction:column;width:100%}._label_1cqw4_18{padding:8px 12px;border-radius:8px;display:flex;align-items:center;position:relative;gap:8px;width:100%;background-color:var(--background-color);cursor:pointer}._colorValue_1cqw4_30{width:20px;height:20px;padding:2.5px;border-radius:2px}._modal_1cqw4_37{left:15px;width:288px;overflow-y:auto;z-index:100000000;position:fixed;background-color:#fff;border-radius:12px;padding:10px;border:1px solid #e6e6e6;height:400px;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:24px;font-weight:700}._colorMap_1cqw4_56{position:relative;width:100%;height:300px;cursor:pointer;border-radius:4px}._indicator_1cqw4_64{position:absolute;width:20px;height:20px;border:4px solid white;border-radius:50%;pointer-events:none}._hueSlider_1cqw4_73{width:80%;left:30px;height:8px;position:absolute;bottom:80px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red,red);border-radius:5px}input[type=range]{-webkit-appearance:none;height:8px;outline:none;border-radius:5px;position:relative;display:flex;justify-content:center}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border:5px solid #fff;border-radius:50%;cursor:pointer}._slider_1cqw4_102{width:100%;cursor:pointer}._buttons_1cqw4_107{display:flex;gap:5px;width:100%}._name_1cqw4_113{line-height:20px;padding:0 4px 4px}._secondary_1cqw4_118{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._input_1cqw4_126{line-height:20px;font-size:14px;font-weight:400}._modal_1qb2a_1{position:fixed;top:0;left:0;right:0;bottom:0;background:#2525253d;z-index:100000;display:flex;padding:20px;justify-content:center;align-items:center;overflow:hidden}._wrapper_1qvfi_1{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%;position:relative}._label_1qvfi_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._textarea_1qvfi_18{width:100%;background-color:var(--background-color);border-radius:12px;padding:8px 12px;font-size:16px;line-height:24px;resize:none;min-height:80px}._textarea_1qvfi_18::placeholder{color:#c2c2c2}._length_1qvfi_33{position:absolute;bottom:12px;right:12px;color:#c2c2c2;line-height:20px}._wrapper_1fcne_2{display:flex;flex-direction:column;gap:6px;justify-content:start;width:100%}._label_1fcne_10{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._options_1fcne_18{display:flex;gap:20px}._radioLabel_1fcne_23{display:flex;align-items:center;cursor:pointer;position:relative}._radio_1fcne_23{position:absolute;opacity:0;cursor:pointer}._custom_1fcne_36{height:20px;width:20px;border-radius:50%;border:1px solid #e6e6e6;display:inline-block;margin-right:8px;position:relative}._radio_1fcne_23:checked+._custom_1fcne_36{border-color:#ff3f19;background:#ffeae5}._custom_1fcne_36:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background-color:#e53e3e;opacity:0}._radio_1fcne_23:checked+._custom_1fcne_36:after{opacity:1}._option_1fcne_18{font-size:16px;line-height:24px;font-weight:400}._tip_pl6k0_1{display:flex;align-items:center;padding:8px;border-radius:12px;gap:8px}._text_pl6k0_9{flex:1 1 auto;line-height:20px;font-size:14px}._warning_pl6k0_15{background:#faf8e6;color:#c1972a}._error_pl6k0_20{background:#ffc3b7;color:#ff3f19}._hide_pl6k0_25{display:none}._customCheckbox_1b69m_1{display:inline-block;cursor:pointer;position:relative}._checkboxBox_1b69m_7{display:inline-block;width:20px;height:20px;border:1px solid #e6e6e6;border-radius:6px;position:relative}._checkboxBox_1b69m_7._checked_1b69m_16{background:#ffeae5;border:1px solid #ff3f19}._icon_1b69m_21{position:absolute;top:3px;left:3px}._wrapper_tm686_2{display:flex;flex-direction:column;gap:6px;width:100%}._label_tm686_9{color:#757575;font-weight:400;font-size:14px;line-height:20px}._icon_tm686_16{padding:4px;background-color:#fff;border:1px solid #f0f0f0;display:flex;justify-content:center;align-items:center;border-radius:6px}._text_tm686_26{font-weight:400;font-size:16px;line-height:24px;color:#ff3f19}._content_tm686_33{display:flex;align-items:center;gap:6px;cursor:pointer;background-color:#f8f8f8;border-radius:12px;padding:6px 8px}._modal_tm686_43{background-color:#f8f8f8;border:1px solid #f0f0f0;border-radius:16px;width:100%;max-width:640px}._top_tm686_51{padding:16px 24px;display:flex;align-items:center;justify-content:space-between}._title_tm686_58{color:#252525;font-weight:400;font-size:18px;line-height:24px}._modalContent_tm686_65{padding:16px 24px;border-top-left-radius:16px;border-top-right-radius:16px;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;background-color:#fff}._images_tm686_74{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;gap:10px;overflow-y:scroll;max-height:390px}._add_tm686_83{display:flex;flex-direction:column;gap:8px;padding:43px 16px;border:1px dashed #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._description_tm686_95{text-align:center;color:#252525;font-size:14px;line-height:20px}._description_tm686_95 span:last-child{padding-top:4px}._bottom_tm686_105{display:flex;justify-content:end;align-items:center;width:100%;background-color:#fff;border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding:16px 24px 12px;gap:6px}._cancel_tm686_117{background-color:var(--background-color);color:var(--accent-color)}._highlight_tm686_122{color:#ff3f19;cursor:pointer}._accent_tm686_127{color:var(--accent-color)}._image_tm686_74{position:relative;padding:43px 16px;border:1px solid #e6e6e6;justify-content:center;align-items:center;border-radius:16px;aspect-ratio:1/1}._selected_tm686_141{border:1px solid #ff3f19}._checkbox_tm686_145{position:absolute;top:12px;left:12px}._loading_tm686_151{position:relative;padding:43px 16px;border:1px solid #e6e6e6;background-color:#f8f8f8;justify-content:center;align-items:center;display:flex;border-radius:16px;aspect-ratio:1/1}._spinner_tm686_163{width:24px;height:24px;border:2px solid #ff3f19;border-top-color:#f8f8f8;border-radius:50%;animation:_spin_tm686_163 1s linear infinite}@keyframes _spin_tm686_163{to{transform:rotate(360deg)}}._buttons_1gn8m_1{display:flex;align-items:center;gap:16px}._button_1gn8m_1{cursor:pointer;padding:10px}._devices_hxl12_1{display:flex;gap:4px;background:var(--background-color);padding:4px;border-radius:16px}._device_hxl12_1{padding:6px 8px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:12px;border:1px solid var(--background-color)}._device_hxl12_1:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_hxl12_23{background-color:#fff}._active_hxl12_23:hover{border:1px solid var(--background-color);box-shadow:none}._header_wxpoz_1{position:absolute;top:0;left:0;width:100%;padding:11px 22px;line-height:20px;border-bottom:var(--default-border);display:flex;align-items:center;justify-content:space-between;gap:24px;z-index:50000}._left_wxpoz_16,._right_wxpoz_17{display:flex;align-items:center;gap:24px}._preview_vijvm_2{display:flex;align-items:center;gap:4px;color:var(--accent-color);line-height:20px;padding:10px 16px;cursor:pointer;border:1px solid #fff;border-radius:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._preview_vijvm_2:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_vijvm_22{background-color:var(--background-color)}._active_vijvm_22:hover{border:1px solid #fff;box-shadow:none}._settings_q79q3_1{display:flex;gap:20px;align-items:center;color:var(--accent-color)}._language_1mbvp_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._text_1mbvp_11{padding-right:4px;color:var(--main-color)}._pages_x8pw2_1{position:relative}._default_x8pw2_5{display:flex;align-items:center;gap:4px;padding:10px 12px;background-color:var(--background-color);border-radius:8px;cursor:pointer;position:relative}._text_x8pw2_16{padding-right:4px;color:var(--main-color);flex:1 1 auto}._modal_x8pw2_22{position:absolute;top:45px;width:320px;left:0;z-index:100;background-color:#fff;border:1px solid #e6e6e6;border-radius:8px;padding:8px 12px;display:flex;flex-direction:column}._page_x8pw2_1{display:flex;align-items:center;gap:8px;padding:12px 8px;border-radius:8px;cursor:pointer}._hoverable_x8pw2_45{background-color:var(--background-color)}._separator_x8pw2_49{border-bottom:1px solid #f0f0f0}._button_x8pw2_53{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:start;gap:8px;padding:16px 8px 12px;transition:.2s}._button_x8pw2_53:hover{background-color:var(--background-color)}._zoom_a77cn_1{display:flex;align-items:center;gap:4px;background-color:var(--background-color);padding:10px 12px;border-radius:12px;cursor:pointer}._theme_3wxbf_1{display:flex;align-items:center;gap:4px;padding:9px 12px;background:#e5fadd;color:#338b13;border-radius:100px}._exit_2ce42_1{border-bottom:var(--default-border);display:flex;gap:8px;align-items:center;padding:22px;cursor:pointer}._text_2ce42_10{color:#252525;line-height:20px}._navbar_2ac63_1{width:100px;border-right:var(--default-border)}._main_2ac63_6{display:flex;flex-direction:column;gap:8px;padding:16px 12px}._block_2ac63_13{display:flex;align-items:center;flex-direction:column;gap:4px;color:var(--accent-color);line-height:20px;padding:12px 24px;cursor:pointer;border:1px solid #fff;border-radius:16px}._block_2ac63_13:hover{border:var(--default-border);box-shadow:0 0 1px #dfdfdf}._active_2ac63_30{background-color:var(--background-color);color:#252525}._active_2ac63_30:hover{border:1px solid #fff;box-shadow:none}._preview_jui5n_1{width:100%;background-color:var(--background-color);padding:16px 32px 0;position:relative;z-index:500}._main_jui5n_9{width:100%;display:flex;flex-direction:column;overflow-y:auto;height:100%;position:relative;z-index:1}._content_jui5n_19{background-color:#fff;border:var(--default-border);border-bottom:none;height:100%}._loading_jui5n_26{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._loader_jui5n_34{border:4px solid rgba(0,0,0,.1);border-left-color:#fff;border-radius:50%;width:40px;height:40px;animation:_spin_jui5n_1 1s linear infinite}@keyframes _spin_jui5n_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._header_1t64j_1{display:flex;width:100%;padding:18px;justify-content:center;border:var(--default-border);background-color:#fff;border-top-left-radius:16px;border-top-right-radius:16px;border-bottom:none;z-index:5}._circles_1t64j_14{left:28px;top:28px;position:absolute;display:flex;align-items:center;gap:8px}._circle_1t64j_14{width:12px;height:12px;border-radius:50%;border:.5px solid #e6e6e6}._red_1t64j_30{background:#ff5f57}._green_1t64j_34{background:#28c840}._yellow_1t64j_38{background:#febc2e}._input_1t64j_42{background-color:var(--background-color);padding:6px 8px;display:flex;max-width:480px;width:100%;border-radius:6px}._main_1t64j_51{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:4px}._text_1t64j_59{font-weight:600;font-size:12px;line-height:16px;margin:0 0 0 4px}._content_92dk8_1{width:100%;height:100%}._block_92dk8_6{position:relative;cursor:pointer;border-left:1px solid #e6e6e6;border-right:1px solid #e6e6e6}._active_92dk8_13{border:2px solid #ff3f19}._name_92dk8_17{z-index:10;position:absolute;top:-28px;left:-2px;border-top-left-radius:8px;border-top-right-radius:8px;color:#fff;background:#ff3f19;padding:4px 12px;line-height:20px;text-align:center}._empty_92dk8_31{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}._icon_92dk8_42{width:64px;height:64px;background-color:var(--background-color);display:flex;border-radius:50%;justify-content:center;align-items:center;margin:0 0 8px}._title_92dk8_53{font-weight:700;font-size:24px;line-height:32px}._text_92dk8_59{font-size:16px;line-height:24px;color:var(--accent-color)}._sections_92dk8_65{padding:0 20px;margin:20px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:24px}._section_92dk8_65{cursor:pointer;display:flex;gap:10px;max-width:288px;width:100%;align-items:center;justify-content:space-between;padding:24px;background-color:var(--background-color);border-radius:24px;color:var(--accent-color)}._sidebar_1f3hk_1{position:absolute;display:flex;height:fit-content();flex-direction:column;right:10px;z-index:20;padding:10px;cursor:auto}._content_1f3hk_12{height:100%;border:1px solid #e6e6e6;border-radius:8px;background-color:#fff;padding:8px;max-width:60px;width:100%}._button_1f3hk_22{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._moveButton_1f3hk_30:hover{background-color:var(--background-color)}._border_1f3hk_34{border-bottom:var(--default-border)}._deleteButton_1f3hk_38:hover{background-color:#dd6363;color:#fff}._results_f488n_1{display:flex;flex-direction:column;padding:8px;gap:20px}._name_f488n_8{color:var(--main-color);font-weight:600;font-size:16px;line-height:24px}._product_f488n_15{display:flex;align-items:center;justify-content:space-between;cursor:pointer}._search_1s0qp_1{background:var(--background-color);padding:8px 12px;display:flex;align-items:center;border-radius:12px;width:100%;gap:10px;margin:8px 0}._input_1s0qp_12{width:100%;font-size:16px;line-height:24px;color:#252525}._input_1s0qp_12::placeholder{color:#c2c2c2}._sidebar_1r5sp_1{max-width:320px;width:100%;padding:16px;border-right:var(--default-border);height:100%;position:relative}._title_1r5sp_10{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px;padding-bottom:8px}._active_1r5sp_18{display:flex;align-items:center;gap:8px}._layers_62wod_1{display:flex;flex-direction:column;position:relative;height:100%}._block_62wod_8{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_62wod_8:hover{background-color:var(--background-color)}._dragging_62wod_23{box-shadow:0 2.1px 4.36px #00000004;box-shadow:0 5.3px 10.22px #00000005;border:var(--default-border);box-shadow:0 10.81px 19.93px #00000006;cursor:grabbing}._active_62wod_31{background:#ffeae5}._add_62wod_35{z-index:2;position:absolute;display:flex;justify-content:center;align-items:center;bottom:0;left:0;border-bottom:2px solid #ff3f19;width:100%}._button_62wod_47{position:relative;display:flex;justify-content:center;align-items:center;top:12px;background-color:#ff3f19;width:24px;height:24px;border-radius:50%;padding:4px}._empty_62wod_60{display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;align-items:center;text-align:center;gap:4px;color:var(--accent-color)}._title_62wod_72{font-size:16px;line-height:24px;font-weight:700;color:var(--accent-color)}._icon_62wod_79{margin:0 0 12px}._text_62wod_83{font-size:16px;font-weight:400;line-height:24px}._highlight_62wod_89{color:#ff3f19;cursor:pointer}._block_1d6lb_1{position:relative;display:flex;align-items:center;gap:4px;font-size:16px;line-height:24px;padding:8px 12px;border-radius:8px;cursor:pointer}._block_1d6lb_1:hover{background-color:var(--background-color)}._theme_1xj36_1{display:flex;flex-direction:column}._block_1xj36_6{justify-content:start;display:flex;align-items:center;gap:8px;width:100%;padding:16px 8px;cursor:pointer;border-radius:8px}._block_1xj36_6:hover{background-color:var(--background-color)}._name_1xj36_20{flex:1 1 auto}._back_1lk1m_1{display:flex;align-items:center;gap:8px;padding-bottom:8px}._render_1lk1m_8{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:501}._open_1lk1m_23{animation:.2s _open_1lk1m_23 forwards}@keyframes _open_1lk1m_23{0%{transform:translate(320px);z-index:1}99%{z-index:1}to{z-index:5000;transform:translate(0)}}@keyframes _close_1lk1m_50{0%{z-index:1;transform:translate(0)}to{z-index:1;transform:translate(320px)}}._close_1lk1m_50{animation:.2s _close_1lk1m_50 forwards}._clicked_1lk1m_54{opacity:0}._title_1lk1m_58{color:var(--main-color);font-weight:700;font-size:20px;line-height:24px}._button_1lk1m_65{align-self:center;flex:1}._loading_1lk1m_70{flex:1 1 auto}._settings_1lk1m_74{flex:1 1 auto;overflow-y:scroll;overflow-x:hidden}._buttons_1lk1m_80{justify-content:flex-end;display:flex;gap:10px}._deleteButton_1lk1m_86{display:flex;align-items:center;border-radius:8px;padding:8px;transition:.2s background-color}._deleteButton_1lk1m_86:hover{background-color:#dd6363;color:#fff}._settings_1r85j_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:3}._open_1r85j_16{transform:translate(0)}._close_1r85j_20{transform:translate(320px)}._header_1r85j_24{display:flex;align-items:center;gap:8px}._title_1r85j_30{font-weight:700;font-size:20px;line-height:24px;flex:1 1 auto}._addButton_1r85j_37{color:#ff3f19;display:flex;align-items:center;gap:4px;cursor:pointer}._wrapper_n1a7x_1{overflow-y:scroll}._category_n1a7x_5{display:flex;flex-direction:column}._categoryTitle_n1a7x_10{font-weight:600;font-size:16px;line-height:24px}._color_n1a7x_16{display:flex;flex-direction:column}._color_n1a7x_16:not(:last-child){border-bottom:1px solid #f0f0f0}._content_n1a7x_24{padding:12px 0;gap:8px;display:flex;align-items:center;flex:1 1 auto}._preview_n1a7x_32{width:39px;height:39px;flex:0 0 39px;padding:5px;border-radius:50%;border:1px solid #e6e6e6}._wrapper_kb55x_2{overflow-y:scroll}._category_kb55x_6{display:flex;flex-direction:column}._categoryTitle_kb55x_11{font-weight:600;font-size:16px;line-height:24px}._color_kb55x_17{gap:8px;display:flex;flex-direction:column}._name_kb55x_23{line-height:20px;padding:0 4px 4px}._content_kb55x_28{display:flex;flex-direction:column;width:100%}._label_kb55x_34{padding:8px 12px;border-radius:12px;display:flex;align-items:center;gap:5px;width:100%;background-color:var(--background-color);cursor:pointer}._input_kb55x_45[type=color]{width:20px;height:20px;padding:1px}._input_kb55x_45{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:100%;border:none;padding:0;cursor:pointer;border-radius:50%}._input_kb55x_45::-webkit-color-swatch{border-radius:50%;border:none}._input_kb55x_45::-webkit-color-swatch-wrapper{padding:0;border-radius:50%}._title_kb55x_71{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._field_kb55x_79{display:flex;flex-direction:column;gap:10px;padding:16px 0}._field_kb55x_79:not(:last-child){border-bottom:1px solid #f0f0f0}._alignments_kb55x_89{display:flex;flex-direction:column;gap:10px}._lineField_kb55x_95{display:flex;justify-content:space-between;align-items:center}._style_kb55x_101{flex:1 0 50%;display:flex;flex-direction:column;gap:8px}._header_kb55x_108{display:flex;align-items:center;justify-content:space-between}._wrapper_k9on2_1{overflow-y:scroll}._category_k9on2_5{display:flex;flex-direction:column}._categoryTitle_k9on2_10{font-weight:600;font-size:16px;line-height:24px}._font_k9on2_16{padding:12px 0;gap:8px;display:flex;align-items:center;position:relative;flex:1 1 auto;cursor:pointer}._font_k9on2_16:hover{background-color:#f8f8f8;border-radius:8px}._font_k9on2_16:not(:last-child){border-bottom:var(--default-border)}._font_k9on2_16:not(:last-child):hover{border-bottom:1px solid #f8f8f8}._content_k9on2_36{display:flex;flex-direction:column;width:100%}._icon_k9on2_42{padding:8px;border-radius:8px;background-color:#f8f8f8;display:flex;align-items:center;justify-content:center}._paragraph_k9on2_51{padding:12px}._deleteIcon_k9on2_55{position:absolute;right:10px;width:20px;height:20px}._iconButton_k9on2_62{width:32px;height:32px}._wrapper_94fpv_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_94fpv_16{transform:translate(0)}._close_94fpv_20{transform:translate(320px)}._header_94fpv_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_94fpv_31{font-weight:700;font-size:20px;line-height:24px}._options_94fpv_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_94fpv_44{opacity:0}._wrapper_1j33r_1{display:flex;flex-direction:column;gap:8px;height:100%;transition:.2s transform;position:absolute;top:0;left:0;padding:16px;width:100%;background:#fff;z-index:5}._open_1j33r_16{transform:translate(0)}._close_1j33r_20{transform:translate(320px)}._header_1j33r_24{display:flex;align-items:center;gap:8px;margin:0 0 10px}._title_1j33r_31{font-weight:700;font-size:20px;line-height:24px}._options_1j33r_37{display:flex;flex-direction:column;gap:10px;flex:1 1 auto}._clicked_1j33r_44{opacity:0}._label_1j33r_48{font-size:14px;font-weight:400;line-height:20px;color:var(--accent-color)}._alignments_1j33r_55{display:flex;flex-direction:column;gap:10px}._blocks_1j33r_61{display:flex;align-items:center;gap:8px}._alignment_1j33r_55{padding:8px;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1j33r_75{border:1px solid #ff3f19}._wrapper_jjfwh_1{display:flex;flex-direction:column;gap:20px;background:#fff;max-width:640px;width:100%;padding:16px 24px;border-radius:16px}._header_jjfwh_12{display:flex;justify-content:space-between;align-items:center;font-size:24px;font-weight:700;line-height:32px}._content_jjfwh_21{display:flex;flex-direction:column;gap:10px;overflow-y:scroll;max-height:500px}._buttons_jjfwh_29{display:flex;justify-content:end;gap:12px}._cancel_jjfwh_35{background-color:var(--background-color);color:var(--accent-color)}._label_jjfwh_40,._description_jjfwh_41{width:100%;color:var(--accent-color);line-height:20px;font-size:14px;font-weight:400}._preview_jjfwh_49{display:flex;flex-direction:column;gap:10px}._block_jjfwh_55{padding:24px;display:flex;flex-direction:column;border:1px solid var(--background-color);border-radius:8px}._slug_jjfwh_63{line-height:20px;color:#ff3f19;margin-bottom:4px}._title_jjfwh_69{font-weight:600;font-size:16px;line-height:24px}._layout_kjedu_1{width:100%;height:100%;display:flex;position:relative}._main_kjedu_8{display:flex;flex-direction:column;width:100%;position:relative}._content_kjedu_15{position:relative;padding-top:64px;height:100%;display:flex}*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}*{padding:0;margin:0;border:0}*,*:before,*:after{box-sizing:border-box}:focus,:active{outline:none}a:focus,a:active{outline:none}nav,footer,header,aside{display:block}html,body{width:100%;line-height:1;font-size:16px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%}input,button,textarea{font-family:inherit}input::-ms-clear{display:none}button{background-color:transparent;cursor:pointer}button::-moz-focus-inner{padding:0;border:0}a,a:visited,a:hover{text-decoration:none}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6,a{font-size:inherit}a{color:inherit}*{-webkit-tap-highlight-color:transparent}input{border:none;background:none;outline:none;padding:0}input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:40px;height:40px;border:none;background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}*{-ms-overflow-style:none;scrollbar-width:none}* ::-webkit-scrollbar{display:none}:root{--default-border: 1px solid #f0f0f0;--accent-color: #757575;--main-color: #252525;--background-color: #f8f8f8}#root{height:100vh}body,html{background-color:#fff;font-family:Archivo,sans-serif;max-height:100vh;overflow:hidden}._wrapper_1g82c_2{display:flex;flex-direction:column;gap:10px}._alignmentBlock_1g82c_8{padding:10px 0 16px;display:flex;flex-direction:column;gap:6px}._title_1g82c_15{font-weight:700;line-height:24px;font-size:16px;color:#252525}._subtitle_1g82c_22{color:#757575;font-size:14px;line-height:20px;font-weight:400}._alignmentContent_1g82c_29{display:flex;justify-content:space-between;align-items:stretch}._alignments_1g82c_35{border-radius:12px;background:#f8f8f8;display:grid;gap:4px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);flex:0 0 50%}._alignment_1g82c_8{cursor:pointer;display:flex;height:100%;width:100%;align-items:center;justify-content:center}._circle_1g82c_54{width:6px;height:6px;border-radius:50%;background-color:#c2c2c2}._paddings_1g82c_61{border-radius:12px;display:grid;gap:4px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}._padding_1g82c_61{width:68px;display:flex;align-items:center;gap:4px;background:#f8f8f8;border-radius:12px;padding:10px 8px}._input_1g82c_79{width:100%}._subtitle_2zbxx_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_2zbxx_8,._text_2zbxx_9{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._top_2zbxx_16{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_2zbxx_23{display:flex;flex-direction:column;gap:6px}._typeTexts_3zlec_1{display:flex;align-items:center;gap:8px}._block_3zlec_7{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_3zlec_18{border:1px solid #ff3f19}._subtitle_11qr1_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_11qr1_8,._text_11qr1_9,._productsBlock_11qr1_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_11qr1_10{position:relative}._top_11qr1_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_11qr1_29{display:flex;flex-direction:column;gap:6px}._typeTexts_11qr1_35{display:flex;align-items:center;gap:8px}._block_11qr1_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_11qr1_52{border:1px solid #ff3f19}._products_11qr1_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_11qr1_10{display:flex;align-items:center;gap:8px;width:100%}._button_11qr1_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._disabled_11qr1_80{color:#757575}._image_11qr1_84{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_11qr1_91{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_11qr1_102{flex:1 1 100%}._buttons_11qr1_106{display:flex;align-items:center;gap:8px}._modal_11qr1_112{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_11qr1_112 ._top_11qr1_22{display:flex;align-items:center;justify-content:space-between}._link_11qr1_130{display:flex;flex-direction:column;gap:8px}._modalOptions_11qr1_136{display:flex;flex-direction:column;gap:10px}._other_1wtgi_1{display:flex;flex-direction:column;gap:6px}._subtitle_1wtgi_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._items_1wtgi_14{display:flex;flex-direction:column;gap:8px}._subtitle_41klp_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_41klp_8,._text_41klp_9,._productsBlock_41klp_10,._buttonsBlock_41klp_11{padding:10px 0 16px;display:flex;flex-direction:column}._buttonsBlock_41klp_11{position:relative}._top_41klp_21{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_41klp_28{display:flex;flex-direction:column;gap:6px}._typeTexts_41klp_34{display:flex;align-items:center;gap:8px}._block_41klp_40{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_41klp_51{border:1px solid #ff3f19}._products_41klp_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_41klp_10{display:flex;align-items:center;gap:8px;width:100%}._button_41klp_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_41klp_79{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_41klp_86{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_41klp_97{flex:1 1 100%}._buttons_41klp_11{display:flex;align-items:center;gap:8px}._modal_41klp_107{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_41klp_107 ._top_41klp_21{display:flex;align-items:center;justify-content:space-between}._other_41klp_124{display:flex;flex-direction:column;gap:6px}._options_41klp_130{display:flex;flex-direction:column;gap:15px}._subtitle_1y5sw_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1y5sw_8,._text_1y5sw_9,._productsBlock_1y5sw_10,._buttonsBlock_1y5sw_11{padding:10px 0 16px;display:flex;flex-direction:column;border-bottom:1px solid #f0f0f0}._buttonsBlock_1y5sw_11{position:relative}._top_1y5sw_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1y5sw_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1y5sw_35{display:flex;align-items:center;gap:8px}._block_1y5sw_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1y5sw_52{border:1px solid #ff3f19}._products_1y5sw_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1y5sw_10{display:flex;align-items:center;gap:8px;width:100%}._button_1y5sw_11{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1y5sw_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1y5sw_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1y5sw_98{flex:1 1 100%}._buttons_1y5sw_11{display:flex;align-items:center;gap:8px}._modal_1y5sw_108{position:fixed;background-color:#fff;right:-300px;z-index:10000;max-width:276px;width:100%;bottom:20px;padding:16px;border-radius:12px}._modal_1y5sw_108 ._top_1y5sw_22{display:flex;align-items:center;justify-content:space-between}._other_1y5sw_125{display:flex;flex-direction:column;gap:6px}._options_1y5sw_131{display:flex;flex-direction:column;gap:15px}._wrapper_tn7gb_1{display:flex;flex-direction:column;gap:6px}._subtitle_tn7gb_7{color:#757575;font-size:14px;line-height:20px;font-weight:400}._content_tn7gb_14{display:flex;align-items:center;gap:10px;width:100%}._range_tn7gb_21{position:relative;flex:1}._track_tn7gb_26{position:absolute;width:95%;height:6px;background-color:#f0f0f0;border-radius:9999px;z-index:1}._progress_tn7gb_35{position:absolute;height:6px;width:100%;background-color:#ff3f19;transition:width .2s;border-radius:9999px;z-index:1}._dots_tn7gb_45{position:absolute;display:flex;justify-content:space-between;width:100%}._dot_tn7gb_45{width:14px;height:14px;border-radius:50%;transition:transform .2s;position:relative;top:-4px;left:0;z-index:1}._dot_tn7gb_45._active_tn7gb_62{background-color:#ff3f19;transform:scale(1)}._dot_tn7gb_45:not(._active_tn7gb_62){background-color:#e5e7eb;transform:scale(.9)}._dot_tn7gb_45:hover{transform:scale(1.1)}._input_tn7gb_74{position:absolute;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:pointer}._input_tn7gb_74::-webkit-slider-thumb,._input_tn7gb_74::-moz-range-thumb{-webkit-appearance:none!important;-moz-appearance:none;appearance:none;width:0;height:0}._countBlock_tn7gb_88{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f8f8f8;border-radius:12px}._count_tn7gb_88{font-size:16px;font-weight:400;line-height:24px}._controls_tn7gb_103{display:flex;flex-direction:column}._button_tn7gb_108{transition:background-color .2s}._button_tn7gb_108:hover{background-color:#f3f4f6}._button_tn7gb_108:disabled{opacity:.5}._subtitle_1nl8x_1{color:#757575;font-size:14px;line-height:20px;font-weight:400}._header_1nl8x_8,._text_1nl8x_9,._productsBlock_1nl8x_10{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px;width:100%}._productsBlock_1nl8x_10{position:relative}._top_1nl8x_22{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}._itemsBlock_1nl8x_29{display:flex;flex-direction:column;gap:6px}._typeTexts_1nl8x_35{display:flex;align-items:center;gap:8px}._block_1nl8x_41{padding:8px;display:flex;align-items:center;justify-content:center;border:1px solid #f8f8f8;background-color:#f8f8f8;border-radius:12px;cursor:pointer}._active_1nl8x_52{border:1px solid #ff3f19}._products_1nl8x_10{width:100%;display:flex;flex-direction:column;gap:8px}._product_1nl8x_10{display:flex;align-items:center;gap:8px;width:100%}._button_1nl8x_70{background:inherit;color:#ff3f19;display:flex;align-items:center;justify-content:center;gap:6px;width:100%}._image_1nl8x_80{border-radius:8px;border:1px solid #f0f0f0;background-color:#fff;padding:4px}._info_1nl8x_87{border-radius:12px;display:flex;gap:4px;justify-content:space-between;align-items:center;flex:1 1 auto;background-color:#f8f8f8;padding:8px 12px}._name_1nl8x_98{flex:1 1 100%}._buttons_1nl8x_102{display:flex;align-items:center;gap:8px}._modal_1nl8x_108{position:fixed;background-color:#fff;border:1px solid #f0f0f0;right:-300px;top:0;z-index:10000;max-width:276px;width:100%;padding:16px;border-radius:12px}._modal_1nl8x_108 ._top_1nl8x_22{display:flex;align-items:center;justify-content:space-between}._link_1nl8x_126{display:flex;flex-direction:column;gap:8px}._modalOptions_1nl8x_132{display:flex;flex-direction:column;gap:10px}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- import { j as e, I as p, k as Ie, c as v, l as Y, m as L, n as B, o as le, B as Q, p as H, q as J, r as Ge, s as Se, t as K, w as qe, x as _e, y as Fe, z as U, e as ke, D as ze, H as We, u as Ve, d as Xe, f as ie, g as Ke, a as M, b as se, A as Ce, S as ve, P as je, E as De, F as Qe, T as Ye, R as Je, G as Ze, M as Be, i as et, J as Me } from "./index-Ca7u1mPN.js";
2
+ import { j as e, I as p, k as Ie, c as v, l as Y, m as P, n as B, o as le, B as Q, p as H, q as J, r as Ge, s as Se, t as K, w as qe, x as _e, y as Fe, z as O, e as ke, D as ze, H as We, u as Ve, d as Xe, f as ie, g as Ke, a as M, b as se, A as Ce, S as ve, P as je, E as De, F as Qe, T as Ye, R as Je, G as Ze, M as Be, i as et, J as Me } from "./index-Ca7u1mPN.js";
3
3
  import _, { useMemo as He } from "react";
4
4
  const tt = [
5
5
  {
@@ -135,15 +135,15 @@ const tt = [
135
135
  height: 20
136
136
  }
137
137
  )
138
- ] }), vt = "_pages_x8pw2_1", jt = "_text_x8pw2_16", Bt = "_modal_x8pw2_22", yt = "_page_x8pw2_1", At = "_hoverable_x8pw2_45", Lt = "_separator_x8pw2_49", Pt = "_button_x8pw2_53", q = {
138
+ ] }), vt = "_pages_x8pw2_1", jt = "_text_x8pw2_16", Bt = "_modal_x8pw2_22", yt = "_page_x8pw2_1", At = "_hoverable_x8pw2_45", Pt = "_separator_x8pw2_49", Lt = "_button_x8pw2_53", q = {
139
139
  pages: vt,
140
140
  default: "_default_x8pw2_5",
141
141
  text: jt,
142
142
  modal: Bt,
143
143
  page: yt,
144
144
  hoverable: At,
145
- separator: Lt,
146
- button: Pt
145
+ separator: Pt,
146
+ button: Lt
147
147
  }, E = (t) => t ? t.replace(/_/g, " ").split(" ").map((o) => o.charAt(0).toUpperCase() + o.slice(1)).join(" and ") : "", Tt = () => {
148
148
  const {
149
149
  currentPage: t,
@@ -155,7 +155,7 @@ const tt = [
155
155
  deletePage: s,
156
156
  isOpenSelectModal: l,
157
157
  setIsOpenSelectModal: c
158
- } = L(), { deletePage: S } = B(), [m, u] = _.useState("");
158
+ } = P(), { deletePage: S } = B(), [m, u] = _.useState("");
159
159
  return _.useEffect(() => {
160
160
  const h = () => {
161
161
  c(!1);
@@ -319,7 +319,7 @@ const tt = [
319
319
  ),
320
320
  /* @__PURE__ */ e.jsx("div", { children: "Current Theme" })
321
321
  ] }), Et = () => {
322
- const { themeSettings: t } = H(), { settings: o } = J(), [n, r] = _.useState(null), [i, a] = _.useState(!1), { pages: s } = L(), { blocks: l } = B();
322
+ const { themeSettings: t } = H(), { settings: o } = J(), [n, r] = _.useState(null), [i, a] = _.useState(!1), { pages: s } = P(), { blocks: l } = B();
323
323
  function c(d, x) {
324
324
  return x.map(
325
325
  (b) => Object.values(b.value.blockSettings).filter((j) => j.type === d).map((j) => j.value).flat()
@@ -384,9 +384,9 @@ const tt = [
384
384
  /* @__PURE__ */ e.jsx(Q, { onClick: h, children: "Save" })
385
385
  ] })
386
386
  ] });
387
- }, Ot = "_exit_2ce42_1", Ut = "_text_2ce42_10", Ae = {
388
- exit: Ot,
389
- text: Ut
387
+ }, Ut = "_exit_2ce42_1", Ot = "_text_2ce42_10", Ae = {
388
+ exit: Ut,
389
+ text: Ot
390
390
  }, It = () => /* @__PURE__ */ e.jsxs("div", { className: Ae.exit, children: [
391
391
  /* @__PURE__ */ e.jsx(
392
392
  p,
@@ -506,8 +506,8 @@ const tt = [
506
506
  moveButton: Bn,
507
507
  border: yn,
508
508
  deleteButton: An
509
- }, Ln = () => {
510
- const { activeBlock: t } = Y(), { blocks: o, removeBlock: n, moveBlock: r, duplicateBlock: i } = B(), { currentPage: a, pages: s } = L(), l = Object.keys(o[s[a].name]), c = l.indexOf(t), S = () => {
509
+ }, Pn = () => {
510
+ const { activeBlock: t } = Y(), { blocks: o, removeBlock: n, moveBlock: r, duplicateBlock: i } = B(), { currentPage: a, pages: s } = P(), l = Object.keys(o[s[a].name]), c = l.indexOf(t), S = () => {
511
511
  c > 0 && r(s[a].name, c, c - 1);
512
512
  }, m = () => {
513
513
  c < l.length - 1 && r(s[a].name, c, c + 1);
@@ -558,14 +558,14 @@ const tt = [
558
558
  }
559
559
  )
560
560
  ] }) });
561
- }, $e = ({ render: t, block: o }) => t(o), Pn = () => {
562
- const { footer: t } = B(), { settings: o } = J(), { pageContext: n } = L();
561
+ }, $e = ({ render: t, block: o }) => t(o), Ln = () => {
562
+ const { footer: t } = B(), { settings: o } = J(), { pageContext: n } = P();
563
563
  return t == null ? void 0 : t.renderBlock(o, n);
564
564
  }, Tn = () => {
565
- const { header: t } = B(), { settings: o } = J(), { pageContext: n } = L();
565
+ const { header: t } = B(), { settings: o } = J(), { pageContext: n } = P();
566
566
  return t == null ? void 0 : t.renderBlock(o, n);
567
567
  }, Nn = _.memo(() => {
568
- const { setActiveBlock: t, activeBlock: o } = Y(), { blocks: n } = K(), { blocks: r } = B(), { settings: i } = J(), { currentPage: a, pages: s, setIsOpenSelectModal: l } = L(), c = _.useRef(o);
568
+ const { setActiveBlock: t, activeBlock: o } = Y(), { blocks: n } = K(), { blocks: r } = B(), { settings: i } = J(), { currentPage: a, pages: s, setIsOpenSelectModal: l } = P(), c = _.useRef(o);
569
569
  _.useEffect(() => {
570
570
  c.current = o;
571
571
  }, [o]), _.useEffect(() => {
@@ -601,7 +601,7 @@ const tt = [
601
601
  }),
602
602
  children: [
603
603
  o === u && /* @__PURE__ */ e.jsx("div", { className: ge.name, children: r[s[a].name][u].name }),
604
- o === u && /* @__PURE__ */ e.jsx(Ln, {}),
604
+ o === u && /* @__PURE__ */ e.jsx(Pn, {}),
605
605
  /* @__PURE__ */ e.jsx(
606
606
  $e,
607
607
  {
@@ -612,7 +612,7 @@ const tt = [
612
612
  ]
613
613
  }
614
614
  )),
615
- /* @__PURE__ */ e.jsx(Pn, {})
615
+ /* @__PURE__ */ e.jsx(Ln, {})
616
616
  ]
617
617
  }
618
618
  );
@@ -620,16 +620,16 @@ const tt = [
620
620
  results: Fn,
621
621
  name: Dn,
622
622
  product: Mn
623
- }, Hn = "_search_1s0qp_1", $n = "_input_1s0qp_12", Le = {
623
+ }, Hn = "_search_1s0qp_1", $n = "_input_1s0qp_12", Pe = {
624
624
  search: Hn,
625
625
  input: $n
626
- }, Rn = () => /* @__PURE__ */ e.jsxs("label", { className: Le.search, children: [
626
+ }, Rn = () => /* @__PURE__ */ e.jsxs("label", { className: Pe.search, children: [
627
627
  /* @__PURE__ */ e.jsx(
628
628
  "input",
629
629
  {
630
630
  type: "text",
631
631
  placeholder: "Search for sections",
632
- className: Le.input
632
+ className: Pe.input
633
633
  }
634
634
  ),
635
635
  /* @__PURE__ */ e.jsx(
@@ -681,26 +681,26 @@ const tt = [
681
681
  c(!0), y(f, w, g.currentTarget);
682
682
  }, b = (g) => {
683
683
  if (l) {
684
- const f = document.querySelector(`.${U.colorMap}`), { left: w, top: A } = f.getBoundingClientRect(), k = g.clientX - w, X = g.clientY - A;
684
+ const f = document.querySelector(`.${O.colorMap}`), { left: w, top: A } = f.getBoundingClientRect(), k = g.clientX - w, X = g.clientY - A;
685
685
  y(k, X, f);
686
686
  }
687
687
  }, j = () => {
688
688
  c(!1);
689
689
  }, y = (g, f, w) => {
690
690
  const { width: A, height: k } = w.getBoundingClientRect(), X = Math.max(0, Math.min(g / A * 100, 100)), ce = Math.max(0, Math.min(100 - f / k * 100, 100));
691
- m(X), u(ce), P(X, ce);
692
- }, P = (g, f) => {
691
+ m(X), u(ce), L(X, ce);
692
+ }, L = (g, f) => {
693
693
  const w = N(i, g, f);
694
694
  h(w), d(w);
695
- }, O = (g, f, w) => {
695
+ }, U = (g, f, w) => {
696
696
  f /= 100, w /= 100;
697
- const A = (de) => (de + g / 60) % 6, k = (de) => w * (1 - f * Math.max(0, Math.min(A(de), 4 - A(de), 1))), X = Math.round(255 * k(5)), ce = Math.round(255 * k(3)), Ue = Math.round(255 * k(1));
698
- return { r: X, g: ce, b: Ue };
697
+ const A = (de) => (de + g / 60) % 6, k = (de) => w * (1 - f * Math.max(0, Math.min(A(de), 4 - A(de), 1))), X = Math.round(255 * k(5)), ce = Math.round(255 * k(3)), Oe = Math.round(255 * k(1));
698
+ return { r: X, g: ce, b: Oe };
699
699
  }, T = (g, f, w) => {
700
700
  const A = (k) => k.toString(16).padStart(2, "0");
701
701
  return `#${A(g)}${A(f)}${A(w)}`;
702
702
  }, N = (g, f, w) => {
703
- const { r: A, g: k, b: X } = O(g, f, w);
703
+ const { r: A, g: k, b: X } = U(g, f, w);
704
704
  return T(A, k, X);
705
705
  };
706
706
  _.useEffect(() => {
@@ -718,7 +718,7 @@ const tt = [
718
718
  return /* @__PURE__ */ e.jsxs(
719
719
  "div",
720
720
  {
721
- className: U.modal,
721
+ className: O.modal,
722
722
  onClick: (g) => g.stopPropagation(),
723
723
  style: {
724
724
  top: `${t.top}px`,
@@ -729,7 +729,7 @@ const tt = [
729
729
  /* @__PURE__ */ e.jsx(
730
730
  "div",
731
731
  {
732
- className: U.colorMap,
732
+ className: O.colorMap,
733
733
  onMouseDown: C,
734
734
  style: {
735
735
  background: `
@@ -740,7 +740,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
740
740
  children: /* @__PURE__ */ e.jsx(
741
741
  "div",
742
742
  {
743
- className: U.indicator,
743
+ className: O.indicator,
744
744
  style: {
745
745
  position: "absolute",
746
746
  left: `${a}%`,
@@ -751,7 +751,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
751
751
  )
752
752
  }
753
753
  ),
754
- /* @__PURE__ */ e.jsx("div", { className: U.hueSlider, children: /* @__PURE__ */ e.jsx(
754
+ /* @__PURE__ */ e.jsx("div", { className: O.hueSlider, children: /* @__PURE__ */ e.jsx(
755
755
  "input",
756
756
  {
757
757
  type: "range",
@@ -759,17 +759,17 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
759
759
  max: "360",
760
760
  value: i,
761
761
  onChange: (g) => {
762
- S(Number(g.target.value)), P(a, s);
762
+ S(Number(g.target.value)), L(a, s);
763
763
  },
764
- className: U.slider
764
+ className: O.slider
765
765
  }
766
766
  ) }),
767
- /* @__PURE__ */ e.jsxs("div", { className: U.buttons, children: [
767
+ /* @__PURE__ */ e.jsxs("div", { className: O.buttons, children: [
768
768
  /* @__PURE__ */ e.jsx(
769
769
  Q,
770
770
  {
771
771
  onClick: V,
772
- className: v(U.applyButton, U.cancelButton),
772
+ className: v(O.applyButton, O.cancelButton),
773
773
  children: "Cancel"
774
774
  }
775
775
  ),
@@ -777,7 +777,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
777
777
  Q,
778
778
  {
779
779
  onClick: F,
780
- className: U.applyButton,
780
+ className: O.applyButton,
781
781
  children: "Apply"
782
782
  }
783
783
  )
@@ -785,8 +785,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
785
785
  ]
786
786
  }
787
787
  );
788
- }, On = () => {
789
- const { onPreview: t } = Y(), { hoverBlockId: o, isModalVisible: n, isPreviewVisible: r } = _e(), { settings: i } = J(), { blocks: a } = K(), { blocks: s } = B(), { currentPage: l, pages: c } = L(), { showModal: S } = Fe(), [m, u] = _.useState(!0);
788
+ }, Un = () => {
789
+ const { onPreview: t } = Y(), { hoverBlockId: o, isModalVisible: n, isPreviewVisible: r } = _e(), { settings: i } = J(), { blocks: a } = K(), { blocks: s } = B(), { currentPage: l, pages: c } = P(), { showModal: S } = Fe(), [m, u] = _.useState(!0);
790
790
  _.useEffect(() => {
791
791
  t && setTimeout(() => {
792
792
  u(!1);
@@ -811,8 +811,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
811
811
  /* @__PURE__ */ e.jsx("div", { className: re.content, children: m ? /* @__PURE__ */ e.jsx("div", { className: re.loading, children: /* @__PURE__ */ e.jsx("div", { className: re.loader }) }) : /* @__PURE__ */ e.jsx(Nn, {}) })
812
812
  ] })
813
813
  ] });
814
- }, Un = "_sidebar_1r5sp_1", In = "_title_1r5sp_10", Gn = "_active_1r5sp_18", Pe = {
815
- sidebar: Un,
814
+ }, On = "_sidebar_1r5sp_1", In = "_title_1r5sp_10", Gn = "_active_1r5sp_18", Le = {
815
+ sidebar: On,
816
816
  title: In,
817
817
  active: Gn
818
818
  }, qn = "_layers_62wod_1", zn = "_block_62wod_8", Wn = "_dragging_62wod_23", Vn = "_active_62wod_31", Xn = "_add_62wod_35", Kn = "_button_62wod_47", Qn = "_empty_62wod_60", Yn = "_title_62wod_72", Jn = "_icon_62wod_79", Zn = "_text_62wod_83", eo = "_highlight_62wod_89", oe = {
@@ -868,7 +868,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
868
868
  }
869
869
  );
870
870
  }, ro = ({ id: t, name: o, index: n, moveBlock: r, onClick: i }) => {
871
- const { currentPage: a, pages: s } = L(), { activeBlock: l } = Y(), {
871
+ const { currentPage: a, pages: s } = P(), { activeBlock: l } = Y(), {
872
872
  showPreview: c,
873
873
  hidePreview: S,
874
874
  showModal: m,
@@ -877,9 +877,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
877
877
  startHideTimeout: d,
878
878
  hoverBlockId: x,
879
879
  isModalVisible: C
880
- } = _e(), { setPositionBlock: b } = B(), [j, y] = _.useState(!1), P = () => {
880
+ } = _e(), { setPositionBlock: b } = B(), [j, y] = _.useState(!1), L = () => {
881
881
  C && u(), c(t), y(!0), h();
882
- }, O = (g) => {
882
+ }, U = (g) => {
883
883
  g.stopPropagation(), S(), m(t), h(), b(n + 1);
884
884
  }, T = () => {
885
885
  C ? d() : (y(!1), S());
@@ -908,7 +908,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
908
908
  [oe.active]: !F && l === t
909
909
  }),
910
910
  onClick: () => i(t),
911
- onMouseEnter: P,
911
+ onMouseEnter: L,
912
912
  onMouseLeave: T,
913
913
  children: [
914
914
  /* @__PURE__ */ e.jsx(p, { name: "Cards" }),
@@ -917,7 +917,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
917
917
  "button",
918
918
  {
919
919
  className: oe.button,
920
- onClick: (g) => O(g),
920
+ onClick: (g) => U(g),
921
921
  children: /* @__PURE__ */ e.jsx(
922
922
  p,
923
923
  {
@@ -931,7 +931,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
931
931
  }
932
932
  );
933
933
  }, ao = () => {
934
- const { blocks: t, setCurrentBlock: o, moveBlock: n } = B(), { currentPage: r, pages: i } = L(), { setMouseOverModal: a, setHoverBlockId: s } = _e();
934
+ const { blocks: t, setCurrentBlock: o, moveBlock: n } = B(), { currentPage: r, pages: i } = P(), { setMouseOverModal: a, setHoverBlockId: s } = _e();
935
935
  function l(c) {
936
936
  o(c), a(!1), s(null);
937
937
  }
@@ -951,7 +951,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
951
951
  /* @__PURE__ */ e.jsx(so, {})
952
952
  ] });
953
953
  }, io = ({ isHeader: t }) => {
954
- const { header: o, footer: n } = B(), { pageContext: r } = L();
954
+ const { header: o, footer: n } = B(), { pageContext: r } = P();
955
955
  return t ? o == null ? void 0 : o.renderSettings(r) : n == null ? void 0 : n.renderSettings(r);
956
956
  }, lo = () => {
957
957
  const { settings: t } = J();
@@ -992,7 +992,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
992
992
  deleteButton: vo
993
993
  }, jo = ({ block: t }) => {
994
994
  if (!t) return null;
995
- const { pageContext: o } = L();
995
+ const { pageContext: o } = P();
996
996
  return t.renderSettings(o);
997
997
  }, Bo = (t) => {
998
998
  var f;
@@ -1006,9 +1006,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1006
1006
  setPositionBlock: b,
1007
1007
  setHeader: j,
1008
1008
  setFooter: y,
1009
- header: P,
1010
- footer: O
1011
- } = B(), { currentPage: T, pages: N } = L();
1009
+ header: L,
1010
+ footer: U
1011
+ } = B(), { currentPage: T, pages: N } = P();
1012
1012
  function F(w = !1) {
1013
1013
  !o && c && !w && h(N[T].name, d, {
1014
1014
  name: m[N[T].name][d].name,
@@ -1038,10 +1038,10 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1038
1038
  } else
1039
1039
  S(null);
1040
1040
  }, [s, d]), _.useEffect(() => {
1041
- d === "header" && j(P);
1042
- }, [d, P]), _.useEffect(() => {
1043
- d === "footer" && y(O);
1044
- }, [d, O]), /* @__PURE__ */ e.jsxs(
1041
+ d === "header" && j(L);
1042
+ }, [d, L]), _.useEffect(() => {
1043
+ d === "footer" && y(U);
1044
+ }, [d, U]), /* @__PURE__ */ e.jsxs(
1045
1045
  "div",
1046
1046
  {
1047
1047
  className: v(I.render, {
@@ -1074,7 +1074,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1074
1074
  width: "100%"
1075
1075
  },
1076
1076
  onClick: () => {
1077
- r(!0), ["header", "footer"].includes(d) ? d === "header" ? j(P) : y(O) : (u(N[T].name, {
1077
+ r(!0), ["header", "footer"].includes(d) ? d === "header" ? j(L) : y(U) : (u(N[T].name, {
1078
1078
  name: s,
1079
1079
  value: c
1080
1080
  }), b(null)), V();
@@ -1102,11 +1102,11 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1102
1102
  ]
1103
1103
  }
1104
1104
  );
1105
- }, yo = "_settings_1r85j_1", Ao = "_open_1r85j_16", Lo = "_close_1r85j_20", Po = "_header_1r85j_24", To = "_title_1r85j_30", No = "_addButton_1r85j_37", ae = {
1105
+ }, yo = "_settings_1r85j_1", Ao = "_open_1r85j_16", Po = "_close_1r85j_20", Lo = "_header_1r85j_24", To = "_title_1r85j_30", No = "_addButton_1r85j_37", ae = {
1106
1106
  settings: yo,
1107
1107
  open: Ao,
1108
- close: Lo,
1109
- header: Po,
1108
+ close: Po,
1109
+ header: Lo,
1110
1110
  title: To,
1111
1111
  addButton: No
1112
1112
  }, Fo = "_wrapper_n1a7x_1", Do = "_category_n1a7x_5", Mo = "_categoryTitle_n1a7x_10", Ho = "_color_n1a7x_16", $o = "_content_n1a7x_24", Ro = "_preview_n1a7x_32", Z = {
@@ -1177,9 +1177,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1177
1177
  },
1178
1178
  i
1179
1179
  )) });
1180
- }, Oo = "_wrapper_kb55x_2", Uo = "_category_kb55x_6", Io = "_categoryTitle_kb55x_11", Go = "_color_kb55x_17", qo = "_name_kb55x_23", zo = "_content_kb55x_28", Wo = "_label_kb55x_34", Vo = "_input_kb55x_45", Xo = "_title_kb55x_71", Ko = "_field_kb55x_79", Qo = "_alignments_kb55x_89", Yo = "_lineField_kb55x_95", Jo = "_style_kb55x_101", Zo = "_header_kb55x_108", G = {
1181
- wrapper: Oo,
1182
- category: Uo,
1180
+ }, Uo = "_wrapper_kb55x_2", Oo = "_category_kb55x_6", Io = "_categoryTitle_kb55x_11", Go = "_color_kb55x_17", qo = "_name_kb55x_23", zo = "_content_kb55x_28", Wo = "_label_kb55x_34", Vo = "_input_kb55x_45", Xo = "_title_kb55x_71", Ko = "_field_kb55x_79", Qo = "_alignments_kb55x_89", Yo = "_lineField_kb55x_95", Jo = "_style_kb55x_101", Zo = "_header_kb55x_108", G = {
1181
+ wrapper: Uo,
1182
+ category: Oo,
1183
1183
  categoryTitle: Io,
1184
1184
  color: Go,
1185
1185
  name: qo,
@@ -1578,9 +1578,9 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1578
1578
  ]
1579
1579
  }
1580
1580
  );
1581
- }, Ls = "_wrapper_1j33r_1", Ps = "_open_1j33r_16", Ts = "_close_1j33r_20", Ns = "_header_1j33r_24", Fs = "_title_1j33r_31", Ds = "_options_1j33r_37", Ms = "_clicked_1j33r_44", Hs = "_label_1j33r_48", $s = "_alignments_1j33r_55", Rs = "_blocks_1j33r_61", Es = "_alignment_1j33r_55", Os = "_active_1j33r_75", $ = {
1582
- wrapper: Ls,
1583
- open: Ps,
1581
+ }, Ps = "_wrapper_1j33r_1", Ls = "_open_1j33r_16", Ts = "_close_1j33r_20", Ns = "_header_1j33r_24", Fs = "_title_1j33r_31", Ds = "_options_1j33r_37", Ms = "_clicked_1j33r_44", Hs = "_label_1j33r_48", $s = "_alignments_1j33r_55", Rs = "_blocks_1j33r_61", Es = "_alignment_1j33r_55", Us = "_active_1j33r_75", $ = {
1582
+ wrapper: Ps,
1583
+ open: Ls,
1584
1584
  close: Ts,
1585
1585
  header: Ns,
1586
1586
  title: Fs,
@@ -1590,8 +1590,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1590
1590
  alignments: $s,
1591
1591
  blocks: Rs,
1592
1592
  alignment: Es,
1593
- active: Os
1594
- }, Us = ["left", "center", "right"], Oe = () => {
1593
+ active: Us
1594
+ }, Os = ["left", "center", "right"], Ue = () => {
1595
1595
  const { activeBlock: t, themeSettings: o, updateButton: n, setActiveBlock: r } = H();
1596
1596
  function i(l, c) {
1597
1597
  n(c, l);
@@ -1651,7 +1651,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1651
1651
  ),
1652
1652
  /* @__PURE__ */ e.jsxs("div", { className: $.alignments, children: [
1653
1653
  /* @__PURE__ */ e.jsx("h4", { className: $.label, children: "Alignment Type" }),
1654
- /* @__PURE__ */ e.jsx("div", { className: $.blocks, children: Us.map((l) => /* @__PURE__ */ e.jsx(
1654
+ /* @__PURE__ */ e.jsx("div", { className: $.blocks, children: Os.map((l) => /* @__PURE__ */ e.jsx(
1655
1655
  "div",
1656
1656
  {
1657
1657
  className: v($.alignment, {
@@ -1680,7 +1680,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1680
1680
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1681
1681
  (t == null ? void 0 : t.name) === "Fonts" && /* @__PURE__ */ e.jsx(ws, {}),
1682
1682
  (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Ee, {}),
1683
- (t == null ? void 0 : t.name) === "Buttons" && /* @__PURE__ */ e.jsx(Oe, {})
1683
+ (t == null ? void 0 : t.name) === "Buttons" && /* @__PURE__ */ e.jsx(Ue, {})
1684
1684
  ] });
1685
1685
  }, Gs = () => {
1686
1686
  const { activeBlock: t, setActiveBlock: o } = H(), { activeBlock: n } = Se();
@@ -1710,7 +1710,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1710
1710
  (t == null ? void 0 : t.name) === "Colors" && /* @__PURE__ */ e.jsx(Eo, {}),
1711
1711
  (t == null ? void 0 : t.name) === "Inputs" && /* @__PURE__ */ e.jsx(ns, {}),
1712
1712
  (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Ee, {}),
1713
- (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Oe, {}),
1713
+ (t == null ? void 0 : t.name) === "Borders" && /* @__PURE__ */ e.jsx(Ue, {}),
1714
1714
  /* @__PURE__ */ e.jsx(Is, {})
1715
1715
  ]
1716
1716
  }
@@ -1729,8 +1729,8 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1729
1729
  return "Settings";
1730
1730
  }
1731
1731
  }
1732
- return /* @__PURE__ */ e.jsxs("div", { className: Pe.sidebar, children: [
1733
- /* @__PURE__ */ e.jsx("h3", { className: Pe.title, children: n() }),
1732
+ return /* @__PURE__ */ e.jsxs("div", { className: Le.sidebar, children: [
1733
+ /* @__PURE__ */ e.jsx("h3", { className: Le.title, children: n() }),
1734
1734
  t.name === "Layers" && /* @__PURE__ */ e.jsx(ao, {}),
1735
1735
  t.name === "Add" && /* @__PURE__ */ e.jsx(Re, {}),
1736
1736
  /* @__PURE__ */ e.jsx(Bo, { isAdd: !!o }),
@@ -1761,7 +1761,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1761
1761
  setIsEdit: a,
1762
1762
  editedPage: s,
1763
1763
  setEditedPage: l
1764
- } = L(), { createPage: c, updatePage: S } = B(), [m, u] = _.useState(s ? (F = o[s]) == null ? void 0 : F.path : ""), [h, d] = _.useState(s ? (V = o[s]) == null ? void 0 : V.name : ""), [x, C] = _.useState(
1764
+ } = P(), { createPage: c, updatePage: S } = B(), [m, u] = _.useState(s ? (F = o[s]) == null ? void 0 : F.path : ""), [h, d] = _.useState(s ? (V = o[s]) == null ? void 0 : V.name : ""), [x, C] = _.useState(
1765
1765
  s ? (g = o[s]) == null ? void 0 : g.seo.description : ""
1766
1766
  ), [b, j] = _.useState(
1767
1767
  s ? (f = o[s]) == null ? void 0 : f.visibility : "public"
@@ -1769,15 +1769,15 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1769
1769
  function y() {
1770
1770
  u(""), d(""), C(""), j("public"), a(!1), l(null);
1771
1771
  }
1772
- function P() {
1772
+ function L() {
1773
1773
  y(), t(!1);
1774
1774
  }
1775
- function O(k) {
1775
+ function U(k) {
1776
1776
  return k[0] === "/" ? k : "/" + k;
1777
1777
  }
1778
1778
  function T() {
1779
1779
  n({
1780
- path: O(m),
1780
+ path: U(m),
1781
1781
  name: h || m,
1782
1782
  icon: "File",
1783
1783
  seo: {
@@ -1785,11 +1785,11 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1785
1785
  description: x
1786
1786
  },
1787
1787
  visibility: b
1788
- }), c(h), P();
1788
+ }), c(h), L();
1789
1789
  }
1790
1790
  function N() {
1791
1791
  S(o[s].name, h || m), r(s, {
1792
- path: O(m),
1792
+ path: U(m),
1793
1793
  name: h || m,
1794
1794
  icon: o[s].icon || "file",
1795
1795
  seo: {
@@ -1797,7 +1797,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1797
1797
  description: x
1798
1798
  },
1799
1799
  visibility: b
1800
- }), P();
1800
+ }), L();
1801
1801
  }
1802
1802
  return /* @__PURE__ */ e.jsxs(
1803
1803
  "div",
@@ -1816,7 +1816,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1816
1816
  name: "X",
1817
1817
  fill: "#757575",
1818
1818
  hoverable: !0,
1819
- onClick: P
1819
+ onClick: L
1820
1820
  }
1821
1821
  )
1822
1822
  ] }),
@@ -1885,7 +1885,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1885
1885
  Q,
1886
1886
  {
1887
1887
  className: R.cancel,
1888
- onClick: P,
1888
+ onClick: L,
1889
1889
  children: "Cancel"
1890
1890
  }
1891
1891
  ),
@@ -1906,7 +1906,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1906
1906
  main: sr,
1907
1907
  content: rr
1908
1908
  }, ar = () => {
1909
- const { isOpenModal: t, setIsOpenModal: o } = L(), { openModal: n, setOpenModal: r } = Ze();
1909
+ const { isOpenModal: t, setIsOpenModal: o } = P(), { openModal: n, setOpenModal: r } = Ze();
1910
1910
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1911
1911
  /* @__PURE__ */ e.jsxs("div", { className: fe.layout, children: [
1912
1912
  /* @__PURE__ */ e.jsx(Vt, {}),
@@ -1914,7 +1914,7 @@ linear-gradient(to right, hsl(${i}, 100%, 100%), hsl(${i}, 100%, 50%))
1914
1914
  /* @__PURE__ */ e.jsx(Et, {}),
1915
1915
  /* @__PURE__ */ e.jsxs("div", { className: fe.content, children: [
1916
1916
  /* @__PURE__ */ e.jsx(qs, {}),
1917
- /* @__PURE__ */ e.jsx(On, {})
1917
+ /* @__PURE__ */ e.jsx(Un, {})
1918
1918
  ] })
1919
1919
  ] })
1920
1920
  ] }),
@@ -1955,7 +1955,7 @@ async function ir() {
1955
1955
  async function lr() {
1956
1956
  try {
1957
1957
  const { data: t } = await Me.get(
1958
- `${st}?key=undefined`
1958
+ `${st}?key=AIzaSyAEsTbjAPUz_TeuFCq4z4LPK9w_vst0Pfw`
1959
1959
  );
1960
1960
  return t.items;
1961
1961
  } catch (t) {
@@ -1971,14 +1971,14 @@ function hr() {
1971
1971
  setHeader: i,
1972
1972
  footer: a,
1973
1973
  setFooter: s
1974
- } = B.getState(), { currentPage: l, pages: c } = L.getState(), { currentInstance: S, activeBlock: m } = K.getState();
1974
+ } = B.getState(), { currentPage: l, pages: c } = P.getState(), { currentInstance: S, activeBlock: m } = K.getState();
1975
1975
  !m && S && (o === "header" && i(r), o === "footer" && s(a), t(c[l].name, o, {
1976
1976
  name: n[c[l].name][o].name,
1977
1977
  value: S
1978
1978
  }));
1979
1979
  }
1980
1980
  const gr = (t) => {
1981
- const { blocks: o, settings: n, header: r, footer: i } = t, { setBlocks: a, setSourceBlocks: s } = K(), { fonts: l, setFonts: c } = De(), { setSettings: S } = J(), { setPageContext: m } = L(), { setHeader: u, setFooter: h } = B();
1981
+ const { blocks: o, settings: n, header: r, footer: i } = t, { setBlocks: a, setSourceBlocks: s } = K(), { fonts: l, setFonts: c } = De(), { setSettings: S } = J(), { setPageContext: m } = P(), { setHeader: u, setFooter: h } = B();
1982
1982
  return _.useEffect(() => {
1983
1983
  const d = {};
1984
1984
  Object.keys(o).map((C) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@billgangcom/theme-lib",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"